Lenze PMSS1000 Simple Servo Uživatelský manuál Strana 55

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 72
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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
Zobrazit stránku 54
1 2 ... 50 51 52 53 54 55 56 57 58 59 60 ... 71 72

Komentáře k této Příručce

Žádné komentáře