beckhoff — 11.2.7.4 Sync Unit Assignment

Reference | I/O Devices 11. Select the EtherCAT device in the tree view of the system manager and open the 'EtherCAT' tab on the right: In the list view of this page we can see that one frame containing two EtherCAT commands is sent by the master. The first command is a LRW(Logical Read Write) command and is responsible for reading the inputs and writing to the outputs of one or more slave devices. The column 'Sync Unit' specifies the Sync Unit this command is assigned to. Because we have not yet assigned any Sync Units, the default Sync Unit is used. Because all variables are mapped to Task2, the value 'Cycle (ms)' is set to 5ms, the cycle time of Task2.

The expected working counter (WC) is set to 3, one for each slave device. This is the case because the connected slaves devices have only input variables. 12. Next we will add two Sync Units and will assign one to the process data of the first EL1004(Term 2) and the others to Term 3 and Term4 . Press the button 'Sync Unit Assignment...' on the EtherCAT page to open the 'Sync Unit Assignment' dialog : TwinCAT 2 218 Version: 1.7