Commissioning
64
Operating Manual XCA 1100 / XCA 1200
●
Version 12/17
6.7.3
Task Structure for Interrupt Processing
For the Interrupt enable, a cyclic task with the name
XUIOTsk
is
created that is assigned to the POU
UBE32_Interrupt
(
Figure51:
Cyclic task
"XUIO" with POU
"UBE32_Interrupt"
The following task settings are selected as an example (
Figure52:
Settings for cyclic task
Finally, event tasks are created that are started independent of the
interrupt and are assigned by the interrupt processing POUs
(
Figure53:
Create the event tasks for
the interrupts
Two event tasks were created here:
I_E0:EVENT
for interrupt via input bit 0 with POU
Interrupt0
I_E3:EVENT
for interrupt via input bit 3 with POU
Interrupt3