This screen allows you to configure the tasks. Double-click the task that you want to configure in the Applications tree to access this screen.
Each configuration task has its own parameters that are independent of the other tasks.
The Configuration window is composed of four parts:
The table describes the fields of the Configuration screen:
Field Name |
Definition |
---|---|
Priority |
Configure the priority of each task with a number from 0 to 31 (0 is the highest priority, 31 is the lowest). Only one task at a time can be running. The priority determines when the task runs: oA higher priority task pre-empts a lower priority task oTasks with same priority run in turn (2 ms time-slice) NOTE: Do not assign tasks with the same priority. If there are yet other tasks that attempt to pre-empt tasks with the same priority, the result could be indeterminate and unpredicable. For important safety information, refer to Task Priorities. |
Type |
These task types are available: |
Watchdog |
To configure the watchdog, define these two parameters: oTime: enter the timeout before watchdog execution. oSensitivity: defines the number of expirations of the watchdog timer before the controller stops program execution and enters a HALT state. |
POUs |
The list of Programming Organization Units (POUs) controlled by the task is defined in the task configuration window: oTo add a POU linked to the task, use the command Add Call and select the POU in the Input Assistant editor. oTo remove a POU from the list, use the command Remove Call. oTo replace the currently selected POU of the list by another one, use the command Change Call. oPOUs are executed in the order shown in the list. To move the POUs in the list, select a POU and use the command Move Up or Move Down. NOTE: You can create as many POUs as you want. An application with several small POUs, as opposed to one large POU, can improve the refresh time of the variables in online mode. |