-

Semantic Error: The task must contain at least one program instance.

In a task, no program instance is yet declared, i.e., no program POU is executed in the context of this task. A task may contain several program instances.

Assigning a program instance to a task, is done in the 'Tasks and Events' editor of the 'PLCnext' PLANT node. Refer to the topic "Task Configuration" for a detailed procedure.

Note
Program POUs that are not assigned to any task (by assigning a program instance to the task) are not executed when running the controller application.