Information on the Task Configuration

Overview

The task configuration defines one or several tasks for controlling the processing of an application program. Thus, task configuration is an essential object for an application and must be available in the Applications Tree.

Description of the Task Configuration Tree

At the topmost position of a task configuration tree, there is the entry Task Configuration G-SE-0025869.1.gif-high.gif. Below there are the defined tasks, each represented by the task name. The POU calls of the particular tasks are displayed in the task configuration tree.

You can edit the task tree (add, copy, paste, or remove tasks) by the appropriate commands usable for the Applications tree. For example, for adding a new task, select the Task Configuration node, click the green plus button, and execute the command Task.... Alternatively, you can right-click the Task Configuration node, and execute the command Add Object > Task....

Configure the particular tasks in the task editor which additionally provides a monitoring view in online mode. The options available for task configuration depend on the controller platform.

Task configuration in Applications tree

G-SE-0025879.2.gif-high.gif

 

 

Tasks

A task is used to control the processing of an IEC program. It is defined by a name, a priority and by a type determining which condition will trigger the start of the task. You can define this condition by a time (cyclic, freewheeling) or by an internal or external event which will trigger the task; for example, the rising edge of a global project variable or an interrupt event of the controller.

For each task, you can specify a series of program POUs that will be started by the task. If the task is executed in the present cycle, these programs will be processed for the length of 1 cycle.

The combination of priority and condition will determine in which chronological order the tasks will be executed.

For each task, you can configure a time control (watchdog). The possible settings depend on the specific controller platform.