beckhoff — 11.2.7.5 Advanced Settings

Reference | I/O Devices No Sync: In this mode no synchronization of the EtherCAT devices takes place. Topology Only: In this mode no synchronization of the EtherCAT devices takes place, but the topology is calculated by the master. The master needs to know the topology to be able to calculate the delay time between the slaves. As a consequence, this calculation is always performed in the "Sync Slave" and "Sync Master" mode. Sync Slave: In this mode synchronization of the EtherCAT devices takes place, and the EtherCAT master is used as reference clock. As a consequence the Master sends a BWR(Broad cast write) command cyclically to distribute the system time to all slaves.

Because the master clock is not as accurate as the clock of an EtherCAT slave device one should normally prefer the 'Sync Master' mode and set the first EtherCAT device as reference clock. Sync Master: In this mode synchronization of the EtherCAT devices takes place, and the EtherCAT slave right to "Sync Master" is set as reference clock. As a consequence, the master cyclically sends an EtherCAT command to read out the system time of the "Sync master" device and distributes this time to all other slave devices. The "Sync Master" mode is disabled if no device is set as reference clock.

To activate this mode one has to configure a slave device as a reference clock device ( see Distributed Clock Settings [ } 371] ). The first three Sync modes are disabled if a reference clock device is set. To be able to select one of these modes no slave device is allowed to be set as reference clock: 1. Select the "Sync Master" device in the tree view of the System Manager 2. Go to the EtherCAT tab and press the "Advanced Settings..." button. This opens the Advanced Settings dialog. 3. Select the entry "DistributedClocks/Settings" in the tree view of the dialog. 4. Uncheck the entry "Reference Clock Device" TwinCAT 2 228 Version: 1.7