Create task
How to create a task:
1.
In the context menu of the Task configuration, select the Add object/Task command.
A task is created.
2.
Enter a cycle time for the created task.
If the EtherCAT master is used:
The task cycle time of the main program part must correspond to the set DC cycle time.
The task priority of the EtherCAT BusCycleTask must have the highest priority so that it cannot be displaced by other IEC tasks and lose its synchronism.
3.
In the context menu for Application, select the command Add Object.
A program block is created in the application.
4.
Select the Add call button.
A dialog opens.
5.
Select the program call under Application and confirm with OK.
Create PLC program