The Multi-Task System
Operating Manual XCA 1100 / XCA 1200
●
Version 12/17
123
9.2.2
Event tasks
The operating system starts event tasks when particular events occur.
The following events are currently defined:
Internal designation
Event no.
Comments
Interrupts
PLC_EVENT_XFIO_I0
0x00
XFIO Interrupt (Input 0, XCx 3/5)
PLC_EVENT_XUIO_0
0x00
U-Bus Interrupt 0 (XCx7, UBE32 0,1I input 0)
PLC_EVENT_XFIO_I1
0x01
XFIO Interrupt (Input 1, XCx 3/5)
PLC_EVENT_XUIO_1
0x01
U-Bus Interrupt 1 (XCx7/11, UBE32 0,1I input 1)
PLC_EVENT_XUIO_2
0x02
U-Bus Interrupt 2 (XCx7/11, UBE32 0,1I input 2)
PLC_EVENT_XUIO_3
0x03
U-Bus Interrupt 3 (XCx7/11, UBE32 0,1I input 3)
Synchronisation
PLC_EVENT_POS
0x04
Position controller task (XCN only)
PLC_EVENT_CAN
0x05
- CANopen task,
- also applies for Profibus task (microLine, XCx micro)
PLC_EVENT_IPO
0x06
CNC IPO task (XCN only)
PLC_EVENT_DECO
0x07
CNC DECO task (XCN only)
PLC_EVENT_MCSIO
0x08
MCS / XCS20 I/O driver synchronisation
(microLine, XCx micro)
Reserved
0x09
PLC_EVENT_XFIO_I10
0x0A
Measurement interrupt active 0 (only XCx3/5)
PLC_EVENT_XFIO_I11
0x0B
Measurement interrupt active 1 (only XCx3/5)
Reserved
0x0C
Reserved
0x0D
Reserved
0x0E
PLC_EVENT_AC_FAIL
0x0F
AC Fail (XCx 11, ProNumeric)
Table 38: The Multi-Tasking System, event tasks
The event number is used in the MULTIPROG task setting to specify
the event that starts the event task.
The specified priority is used unless a bypass option is set by the
system. (Bypass cancels the normal task change so that the assigned
programs are executed immediately when the event occurs.)
Up to 16 events will be put in a queue. So these events are not lost,
and will be executed later. This also applies if new events occur
before the assigned event task is executed.