Lenze PMSS1000 Simple Servo Manual de usuario Pagina 55

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 72
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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
Vista de pagina 54
1 2 ... 50 51 52 53 54 55 56 57 58 59 60 ... 71 72

Comentarios a estos manuales

Sin comentarios