Reference – Lenze E94P PositionServo with MVOB User Manual

Page 90

Advertising
background image

88

L

PM94H201B_13xxxxxx_EN

Reference

Table 31: ENDEVENT

ENDEVENT

END of Event handler

Statement

Purpose

Indicates end of the scanned event code

Syntax

ENDEVENT

Remarks
See Also

EVENT, EVENT ON/OFF, EVENTS ON/OFF

Example:

EVENT

InputRise IN_B4 RISE

V0=V0+1

ENDEVENT

Table 32: EVENT ON/OFF

EVENT ON/OFF Turn events on or off

Statement

Purpose

Turns ON or OFF events created by an EVENT statement

Syntax

EVENT <name> ON
EVENT <name> OFF
<name> Event name

Remarks
See Also

EVENT

Example:

; Events Section

EVENT InputRise IN_B4 RISE

V0=V0+1

ENDEVENT

; Main Program

EVENT InputRise ON

; statements...

EVENT InputRise OFF

Advertising