The XCx Multi-Tasking System
Operating Manual XCx 300 / 500 / 540 Version 09/08
97
8.4
Task Priorities
The table gives an overview of recommended task priorities and their
relationship to important reserved firmware tasks (tfwLAGE,
tfwCANhigh, tfwIPO).
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
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).
Schleicher controllers support 18 user tasks (priority
levels 0..16 and the default task).
Tasks with priority >= 16 are executed with priority 16.