Lenze PMSS1000 Simple Servo Instrukcja Użytkownika Strona 55

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 72
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 54
Indexer-Programmer-Manual.pdf REV 1.3
Example:
V0=0
V1=0
EVENT InEvent INPUT 1 RISE
V0 = V0+1 ;count
ENDEVENT
;
EVENT period TIME 1000 ;1000 ms = 1Sec
V3=V0-V1 ;new count - old count = number of pulses per
;second
V0=V1 ;save as old count
;-------------------------------------------------------------------------------------------------------------------------
EVENT InEvent ON
EVENT period ON
{program statements}
END
ENDEVENT End of Event handler Statement
Purpose Indicates end of the event handler
Syntax ENDEVENT
Remarks
See Also EVENT, EVENT ON, EVENT OFF
Example:
EVENT InputRise INPUT RISE
V0=V+1
ENDEVENT
55
Przeglądanie stron 54
1 2 ... 50 51 52 53 54 55 56 57 58 59 60 ... 71 72

Komentarze do niniejszej Instrukcji

Brak uwag