Requirement: The open project includes a program-type POU and a “Task Configuration” with a “Task” object has been inserted below “Application” in the device tree.
-
Double-click the task object below “Task Configuration” in the device tree.
The “Configuration” tab of the task object opens.
-
In the “Type” dropdown list., click “Cyclic”.
The “Interval (e.g. t#200ms)” input field appears.
-
Enter
t#300ms
in the “Interval (e.g. t#200ms)” input field. -
Click “Add Call”.
The Input Assistant opens.
-
In “Input Assistant Categories” -> “Programs”, click the desired POU and then click “OK”.
CODESYS inserts the selected POU into the POU list of the “Configuration” tab and below the task object in the device tree.
When the application is executed from the controller, CODESYS executes the selected POU in cyclical intervals of
300 ms
.