Semantic Error: The resource must contain at least one task.
In your project, a resource ('IEC 61131-3' node in the PLANT) is defined which does not yet contain a task.
The task configuration and the assignment of programs to a task is done using the 'Tasks and Events' editor.- Double-click the error message to open the 'Tasks and Events' editor of the 'PLCnext' node in the PLANT. The suspected table line is marked.
- In the 'Tasks and Events' table, left-click into the 'Enter task / event ...' field and enter a name for the task. Confirm your entry by pressing <Enter>. A cyclic task with default properties is added to the table. As no program instance is yet assigned to the new task, an error is reported in the Error List and the task is highlighted in red.
- Configure your task by selecting the task/event type and the corresponding properties.
- Assign at least one program instance to the task by dragging the program POU from the COMPONENTS area onto the table line in the 'Tasks and Events' editor or by selecting the program from the 'Program Type' field.
Further Info
For further information on tasks and how to edit them refer to the topic "Task Configuration". |