Configuring a TaskPermalink

You can change the settings of a task below the Task Configuration object in the editor of the task object on the “Configuration” tab.

When a new project is created with the Standard project template, a simple task configuration is prepared and the MainTask task already exists.

Changing the task

Requirement: The open project includes a POU of type ‎Program‎ and a task configuration with a task object has been inserted below the application in the device tree.

  1. In the device tree, double-click the task object below the “Task Configuration” .

    The ⮫ configuration tab of the task object opens.

  2. Select the entry “Cyclic” from the “Type” list box.

    The “Interval (e.g. t#200ms)” input field appears.

  3. Type the value ‎t#300ms‎ in the “Interval (for example, t#200ms)” field.

  4. Click the “+ Add Call” button.

    The Input Assistant opens.

  5. In the Input Assistant dialog, in the Programs category, select the desired POU and click OK to close the dialog.

    The selected POU is listed in the call stack on the “Configuration” tab and in the device tree below the task object.

    When the application is executed from the PLC, the POU selected in the task object is cyclically executed in the interval of ‎300 ms‎.