![SEW-Eurodrive IPOS plus Manual Download Page 343](http://html1.mh-extra.com/html/sew-eurodrive/ipos-plus/ipos-plus_manual_1250042343.webp)
Manual – IPOSplus®
343
23
Set commands
Assembler – Commands
Structure
Example 1
Interrupt branch in the event of a unit fault
In the sample program, binary input DO01 is toggled after a 2 sec pause. The program
branches to the interrupt routine immediately if a unit fault occurs. The system returns
(RET) to the main program as soon as there is a "high" signal at terminal DI02. To reset
the fault, the parameter for input DI02 should be set to "Reset".
MQX unit errors can set the interrupt to ERROR. Unit errors from the connected
MOVIMOT
®
cannot trigger the interrupt.
Command structure
Mxxx SETINT X1, Myyy
Mxxx: Label
(optional)
X1:
DISABLE
Deactivating the interrupt, the jump flag (Mxx) is of no importance.
ERROR
Triggers an interrupt in case of a unit fault. The interrupt routine runs cyclically until the
error has been removed, at which point, the routine is left using the RET command.
Depending on the set fault reaction (
parameter group 830
or
SETFR
command), pro-
cessing of the interrupt routine will result in a behavior other than the one described
above:
•
No interrupt is performed if the faults in parameter group 830 are set to "No
response" or if the SETFR command is set to NO RESPONSE.
•
The program is restarted (see the SETFR command) after acknowledgment of the
fault, if the fault response (
parameter group 830
or the
SETFR
command) is set
to "...,
FAULT
". Any reference ID that has been set is lost.
TIMER 0
Triggers an interrupt when the time set in Timer 0 H489 has elapsed. An "auto reload"
with the system variable H485 takes place after Timer 0 has elapsed. This reload
value determined the time with which the interrupt routine is executed cyclically.
TOUCH PROBE
Triggers an interrupt when there is a change of signal level on the touch probe termi-
nal DI02, if the touch probe was activated for terminal DI02 (parameter P601 = IPOS
INPUT) and the TOUCHP command was transmitted.
Myyy:
Start label of the interrupt routine.
515392779
P
i
f
kVA
Hz
n
P
i
f
kVA
Hz
n