Argox PA-20 Basic Programming Manual Manuale Utente Pagina 33

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 143
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 32
PT-Basic Programming Manual Ver. 1.00 32/143
OFF TIMER
Purpose
To terminate TIMER event trigger.
Syntax
OFF TIMER(N%)
Example
ON TIMER(1,200) GOSUB A1
ON TIMER(2,300) GOSUB A2
A1:
OFF TIMER(1)
RETURN
A2:
OFF TIMER(2)
RETURN
Description
To resume the event trigger, call ON TIMER… GOSUB…
N% is an integer variable in the range of 1 to 5, indicating the
timer ID.
ON COM GOSUB
Purpose
To activate COM event trigger.
Syntax
ON COM(N%) GOSUB SubLabel | SubName
Example
ON COM(1) GOSUB READ1
READ1:
OFF COM(1)
ON COM(1) GOSUB READ1
RETURN
Description
When data is received from the COM port, a specific
subroutine will be executed.
N% is an integer variable, indicating the COM port (now we
only can choose 1).
Vedere la pagina 32
1 2 ... 28 29 30 31 32 33 34 35 36 37 38 ... 142 143

Commenti su questo manuale

Nessun commento