Distributed Clocks

Distributed Clocks 1:

DC support in the EtherCAT master

The distributed clock unit of the EL6695 has the DC system time, but no sync/latch unit. The corresponding initialization routine is supported by TwinCAT 3 from b4018.4, TwinCAT 2 from b2248.

The EL6695 configuration can be viewed under the tab. For the data exchange it has the default setting “no synchronization” (“FreeRun”).

Distributed Clocks 2:
Distributed Clocks: no synchronization

Since the EL6695 contains two complete EtherCAT slaves, the two distributed clock units are basically independent of each other. The EL6695 supports two DC synchronization mechanisms:

Distributed Clocks 5:
Distributed Clocks: Selecting the external reference clock (on the primary side in this example)

This setting is only required on the “SyncSlave” side.

On the “SyncMaster” side an EL3104 (DC-capable) may be entered, for example:

Distributed Clocks 6:
Distributed Clocks: Selecting the EL3104 as “SyncMaster” (on the secondary side in this example)
Distributed Clocks 7:

Local control procedure not supported

Unlike the EL6692, the EL6695 does not support the local control procedure “ControlValue for DC MasterClock”. EtherCAT masters should implement the timestamp procedure referred to above.

Since the EL6695 does not use the time information of the distributed clock internally but only forwards it to the other side, the use of special DC registers in the ESC is not required and not supported. In many EtherCAT devices with DC support, the master writes to DC registers 0x09A0, 0x0990, 0x0980, 0x09A8 during the status transition from PreOp to SafeOp. The EL6695 does not have these registers, which is why a write attempt during startup results in error messages from the EtherCAT master, e.g. “Init Cmd failed: set DC cycle time”.

Distributed Clocks 8:
Distributed Clocks: Error Messages

With the EL6695, the EtherCAT master should therefore avoid writing to these registers, or it does not evaluate the WcState of the write command. In the EL6695-ESI this DC feature is identified through the flag TimeLoopControlOnly = TRUE, which the EtherCAT master can follow.