The Multi-Task System
122
Operating Manual XCA 1100 / XCA 1200
●
Version 12/17
9.2
User tasks
Attention!
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 operating system tasks are displaced.
Observe the description in section Task Priorities.
User tasks are all tasks that can be inserted by the application
programmer.
The default task is also on the user task level. It is the user task with
the lowest priority. The default task is executed when no other user
task is active.
You can use various types of user task.
9.2.1
Cyclical tasks
Cyclical tasks execute the programs assigned to them within a defined
interval under a user-defined priority.
In MULTIPROG you can give the individual tasks a priority between 0
and 31. Task 0 has the highest priority, task 31 the lowest. The task
with the highest priority is called first. The user-task priorities are
mapped to the priority levels of the real-time operating system (see
section Task Priorities).
If the watchdog time of a cyclical task is higher than the set interval
time and task execution has not been completed, one or more
execution cycles will be omitted.