Commissioning
EL125x, EL2258
133
Version: 2.5
6.7
Distributed Clocks settings
Determination of the current Distributed Clock time
If the current distributed clock time is required in a PLC cycle, this can
1. be linked via an input variable of the EtherCAT master
2. displayed directly by the terminal as a 64-bit system time
Note
Functions for data types with 64-bit width
A selection of functions for handling 64-bit numbers is available under Beckhoff TwinCAT in
the TcUtilities.lib library. Longer execution times are required here than is the case with
standard, 32-bit data types.
A data type with a width of 64-bits is defined in TcEthercat.lib as T_DCTIME or in TcUtili-
ties.lib as T_LARGE_INTEGER.
1. Via the EtherCAT master
The EtherCAT master can display a copy of the current master distributed clock. To this end activate the
setting "Show DC System Time (64 bit)" in the
EtherCAT device
-->
EtherCAT tab
-->
Advanced Settings
-->
Distributed Clocks
(Fig.
Activation of the master distributed clock display
).
Fig. 168: Activation of the master distributed clock display