Remote Processing Coorporation RPC-320 Dokumentacja Strona 60

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 186
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 59
Commands - 30
DELAY
Statement
SYNTAX: DELAY n
PURPOSE: To create a precision delay. The resolution is 5 mS (10 ms on 9 Mhz systems).
REMARKS: Program execution is suspended during the delay period. Interrupt service will be delayed until the
end of the delay period. For breakable delays, use a FOR/NEXT loop.
For applications which require high accuracy, the execution of the DELAY statement itself and the
number of interrupts occurring must be considered.
If a delay of 0 is specified, the delay will be less than 0.5 mS.
NOTE: This command uses a 5 mS system clock (10 ms in 9 Mhz systems). The actual delay can
vary by 0.005 (0.010) seconds. Background tasks are latched but not serviced during the delay
period. Pressing <ESC> will abort the delay and stop the program.
RELATED: None
EXAMPLE: 10 DELAY .5 delays 1/2 second
10 DELAY 3.25 delays 3.25 seconds
ERROR: <Data negative> – for n
<Time > 327.67> - for n
Przeglądanie stron 59
1 2 ... 55 56 57 58 59 60 61 62 63 64 65 ... 185 186

Komentarze do niniejszej Instrukcji

Brak uwag