Lenze PMSS1000 Simple Servo Manual do Utilizador Página 55

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 72
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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 página 54
1 2 ... 50 51 52 53 54 55 56 57 58 59 60 ... 71 72

Comentários a estes Manuais

Sem comentários