A task is a time unit in the processing of a user program (IEC application). Task parameters define how and how fast the CPU executes the user program.
This project uses only one cyclic task.
In the device tree, the objects “Task configuration” and “Task” are created automatically with the project.
This project uses only one cyclic task.
-
Double-click “Task” in the device tree.
A tab opens in the editor view.
For this project you will use only one cyclic task. Keep the default settings for the task.
Priority
Defines how the CPU prioritizes tasks when multiple tasks are configured. Priority 0 ... 15 = real-time tasks, priority 16 = non-real-time task.
Type
Defines how the CPU executes the task, depending on the process requirements.
Interval
Defines the execution interval for cyclic tasks. It is usually set in milliseconds using IEC time syntax.
Watchdog
Monitors whether the task exceeds the allowed execution time.
Calls
Defines the POUs that are called and executed within the task.

