Setting the task time.
The time with which the EtherNet/IP is to operate is specified with the SyncTask. There are two methods available in TwinCAT2 for this – the settings Standard (via Mapping) and Special Sync Task.
- Standard (via Mapping):
With this setting the task is used with which the variables are linked. That is usually the PLC task. However, if the PLC is to be stopped, for example by breakpoints, the task is no longer processed. The consequence of this is that the EtherNet/IP is also no longer triggered and the EtherNet/IP master goes into the error state. - Special Sync Task:
With this setting an additional task is used that is automatically started with TwinCAT. This runs in its own cycle and is therefore also independent of other tasks that are linked with the variables.
Set the task time for the CX8095 as follows:
- 1. In the tree view on the left-hand side, click on the EtherNet/IP adapter CCAT EIP Adapter(Slave).
- 2. Click on the Sync Task tab.
- 3. Select the option Standard (via Mapping) or Special Sync Task.
- You have successfully set a task time for the CX8095. With the option Special Sync Task you can create further I/O tasks and also parameterize them on the same tab. For example, you can change the priority and the cycle time of the task.