EasyManua.ls Logo

SEW-Eurodrive IPOS plus - Variable Interrupts with MOVIDRIVE B; Calling up the Variable Interrupt

SEW-Eurodrive IPOS plus
384 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Manual – IPOSplus®
49
5
Variable interrupts with MOVIDRIVE
®
B
Task Management and Interrupts
5.7 Variable interrupts with MOVIDRIVE
®
B
All interrupts in MOVIDRIVE
®
B units are the same as those used in MOVIDRIVE
®
A
(see section "Task Management for MOVIDRIVE
®
A and B"), plus 4 additional variable
interrupts.
The interrupts for specific variable values can, for example, respond to
A quantity value
All timers 0, 1 and 2
The fact that an axis position of its own a or different axis has been reached
A change in an I/O signal
A certain inverter status (H473)
New data that is to be received or sent by the SBus
5.7.1 Calling up the variable interrupt
Compiler: _SetVarInterrupt(pData ,myfunction);
Activates a variable interrupt with the data structure as of the variable pData, which runs
the myfunction function, when the interrupt event occurs.
Assembler: VARINT Hxx, Mxx
Activates a variable interrupt with the data structure as of variable Hxx, which performs
the commands as of the Mxx label, when the interrupt event occurs.
The following properties and functions of the variable interrupt can be defined in the data
structure (see also the command _SetVarInterrupt or VARINT):
The task to be interrupted - task 2 or task 3
Sequential number of the interrupt (0... 3)
Reference variable and the value to be compared with each other
Type of the mathematical comparison (==, <, edge...)
Processing time: either as long as the condition is fulfilled or once each time the
condition is fulfilled (edge-triggered)
Priority of the interrupt
Value of the reference variable used to trigger the interrupt
P
i
f
kVA
Hz
n
P
i
f
kVA
Hz
n

Table of Contents