![SEW-Eurodrive IPOS plus Скачать руководство пользователя страница 50](http://html1.mh-extra.com/html/sew-eurodrive/ipos-plus/ipos-plus_manual_1250042050.webp)
50
Manual – IPOSplus®
5
Variable interrupts with MOVIDRIVE
®
B
Task Management and Interrupts
The behavior of the interrupt can by adapted dynamically during runtime, by either
• Changing the data structure and then calling the command again (necessary if, for
example, the CompVar value used for the comparison changes) or
• calling the command with a different data structure but with the same value in
variable H+1 (IntNum).
5.7.2
IPOS access to the internal interrupt control
Information as to whether a variable interrupt has been requested can be seen in the
IPOS
plus®
program in the variable uVarEventRequest (H530 bit 0 to 3). These "Request"
bits can also be written in the IPOS
plus®
program.
In this way, for example, the request bit can be set for test purposes during initial startup
up regardless of the actual interrupt condition and a variable interrupt can be triggered
(as long as the corresponding variable interrupt has been activated beforehand).
A variable interrupt can be used to configure time-controlled program processing, for ex-
ample, the cyclical calculation of acceleration from a speed.
In addition, when a high-priority variable interrupt is being processing, you can delete a
pending, lower-priority interrupt by deleting the corresponding request bit.
Sample
The transport axis of a filling machine should head for a metering unit using DO01 when
it moves past the position 5° on the machine. The output should be deactivated 200 ms
later irrespective of the speed and axis position.
INFORMATION
The data structure of the command is described in the system function (Compiler –
functions / Assembler – commands).
uVarEventRequest H530.0
Request for variable interrupt 0
uVarEventRequest H530.1
Request for variable interrupt 1
uVarEventRequest H530.2
Request for variable interrupt 2
uVarEventRequest H530.3
Request for variable interrupt 3
P
i
f
kVA
Hz
n
P
i
f
kVA
Hz
n