Argox PA-20 Basic Programming Manual Manual de usuario Pagina 33

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 143
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de 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).
Vista de pagina 32
1 2 ... 28 29 30 31 32 33 34 35 36 37 38 ... 142 143

Comentarios a estos manuales

Sin comentarios