Configuration Error (PLCN0022): There are too many tasks defined in '...' (current : ..., max. allowed: ...).
In your project, the maximum number of tasks within the mentioned ESM is exceeded.
In the error message, the actual number of tasks per ESM and the maximum allowed number of tasks are indicated.
Remedy
- Double-click the error message to open the 'Tasks and Events' editor of the controller (under the 'PLCnext' node).
- Restructure the task configuration:
- Move tasks with their contained program instances to a free ESM (if available).
or - First move program instances to other tasks and then delete supernumerous tasks in the affected ESM.
- Move tasks with their contained program instances to a free ESM (if available).