Lenze PMSS1000 Simple Servo User Manual

Page 54

Advertising
background image

Indexer-Programmer-Manual.pdf REV 1.3

Following statements can't be used within event's handler:

MOVE,MOVED,MOVEP,MOVEDR,MOVEPR,MDV,
MOTION SUSPEND

MOTION

RESUME

STOP

MOTION

DO

UNTIL

GOTO

GOSUB

GEAR

ON/OFF

HALT

VELOCITY

ON/OFF

WAIT

WHILE


While GOTO or GOSUB are restricted, a special JUMP statement can be used for program flow change

from within event handler. See JUMP statement description in Language Reference
section.


Remarks:
For syntax 1 and 2:
Event occurs when input with <name/number> transition from L to H occurs for syntax 1 and from H to L
occurs for syntax 2.
For syntax 3:
Event occurs when specified in <period> period of time has expired. This event can be used as periodic
event to check for some conditions.
For syntax 4
Event occurs when expression in <expression> evaluates to true. Expression can be any valid arithmetic
or logical expression or combination of two. This event can be used when implementing soft limit switches
or change program flow based on some conditions. Any variable (user and system) and constants can be
used in expression.

See Also:

ENDEVENT, EVENT ON, EVENT OFF

54

Advertising