The Multi-Task System
Operating Manual XCA 1100 / XCA 1200
●
Version 12/17
129
9.4
Task Priorities
The table gives an overview of recommended task priorities and their
relationship to important reserved firmware tasks (
tfwLAGE,
tfwCANhigh, tfwIPO
).
Warning!
Incorrectly or inappropriately selected user task settings for type,
priority, interrupt mode, etc.
– especially in conjunction with
longer program runtimes
– can lead to controller malfunction
when essential firmware tasks are displaced (
tfwLAGE,
tfwCANhigh, tfwIPO
).
Check and adapt the task assignment and task time setting
MULTIPROG
Priority
RTOS*
priority
(default)
RTOS*
task name
Application
0
30
Any
E.g. user task (event 0)
1
31
Any
E.g. user task (event 1)
2
32
Any
E.g. user task (event 4)
3
33
tfwLAGE
Reserved for position controller task
(XCN only)
4
34
Any
E.g. user task (event 4, 5)
5
35
tfwCANhigh
Reserved for CAN stack task
(option CAN_HIGH_PRIO = 1)
6
36
Any
E.g. user task (event 5, 6)
7
37
tfwIPO
Reserved for IPO task (XCN only)
8
38
Any
E.g. user task (event 5)
9
39
tfwCANhigh
Reserved for CAN stack task
(option CAN_HIGH_PRIO = 0)
10
40
Any
E.g. user task (event 5)
11..15
41..45
Any
E.g. cyclical user tasks
16..31
46
Any
E.g. other cyclical user tasks
Default
127
default
Background task
*
R
eal
T
ime
O
perating
S
ystem
Table 40: The Multi-Tasking System, task priorities
Note
The system supports 18 user tasks (priority levels 0..16 and the
default task). Tasks with priority
≥ 16 are executed with priority
16.