Argox PA-20 Basic Programming Manual Instrukcja Użytkownika Strona 30

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 143
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 29
PT-Basic Programming Manual Ver. 1.00 29/143
3.5 Commands for event trapping
OFF ALL
Purpose
To terminate all the event triggers.
Syntax
OFF ALL
Example
ON ESC GOSUB ESC_PRESS
ESC_PRESS:
OFF ALL
PRINT "ESC KEY PRESS..."
ON ESC GOSUB ESC_PRESS
RETURN
Description
To resume the event trigger, call ON event GOSUB…
OFF ESC
Purpose
To terminate ESC event trigger.
Syntax
OFF ESC
Example
ON ESC GOSUB ESC_PRESS
ESC_PRESS:
OFF ESC
ON ESC GOSUB ESC_PRESS
RETURN
Description
To resume the event trigger, call ON ESC GOSUB…
OFF COM
Purpose
To terminate COM event trigger.
Syntax
OFF COM(N%)
Example
ON COM(1) GOSUB READ1
READ1:
OFF COM(1)
ON COM(1) GOSUB READ1
RETURN
Description
N% is an integer variable, indicating the COM port. Now we
only can choose 1(RS232).
To resume the event trigger, call ON COM… GOSUB…
Przeglądanie stron 29
1 2 ... 25 26 27 28 29 30 31 32 33 34 35 ... 142 143

Komentarze do niniejszej Instrukcji

Brak uwag