Icontrol on/offenables interface control statement, Icontrol on/off, Enables interface control statement – Lenze PMSS1000 Simple Servo User Manual
Page 60

Indexer-Programmer-Manual.pdf REV 1.3
Syntax
JUMP
any
valid
program
label
Remarks
Can be used in EVENT handler only.
See Also
EVENT
Example:
{Statements…}
EVENT ExternalFault INPUT IN_A3 FALL
JUMP ExecuteStop
;start execute program from ;label
ENDEVENT
{statements}
StartMotion:
EVENT ExternalFault ON
ENABLE
MOVED 20
MOVED
-100
{statements}
END
ExecuteStop:
STOP
MOTION
;Motion
stopped
here
DISABLE
;drive
disabled
CALL WaitExternalFaultClear ;wait untill external fault
;is clear
GOTO
StartMotion
ICONTROL ON/OFF
Enables interface control
Statement
Purpose
Enables/Disables interface control. Effects flag #27 in DSTATUS register
F_ICONTROLOFF.
in DSTATUS register. All interface motion commands and commands changing any
outputs will be disabled. See Host interface commands manual for details. This command
is useful when program processing critical states (like limit switches for example) and
can’t be disturbed by interface (usually asynchronous body to the program state/event)
Syntax
ICONTROL ON
Enables Interface control
ICONTROL
OFF Disables
interface
control
Remarks
After reset interface control is enabled by default.
See Also
60