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

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 143
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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).
Przeglądanie stron 32
1 2 ... 28 29 30 31 32 33 34 35 36 37 38 ... 142 143

Komentarze do niniejszej Instrukcji

Brak uwag