Device synchronization

The EL2521-xxxx can be synchronized via

Distributed clocks (DC)

Device synchronization 1:

EtherCAT and distributed clocks

A basic introduction into EtherCAT and distributed clocks can is available for download from the Beckhoff website: "Distributed clocks system description".

The EL2521 supports the distributed clocks function. In order for the EL2521 to be able to make the current process data available in time before the arrival of the querying EtherCAT datagram, a suitable signal must be generated cyclically within the terminal. This signal can be triggered in the EL2521 by two events: the SyncManager (SM) and the Distributed Clocks (DC). Under operation mode selection the following options are available (see Fig. "DC tab"):

Device synchronization 2:
DC tab (Distributed Clocks)

When "DC Synchron" operation mode is activated TwinCAT selects settings that ensure reliable operation of the EL2521 with current data. This means that the processing of the current process data is started by the SYNC0 signal at highly constant intervals and in good time – i.e. with an adequate safety buffer – before the retrieving EtherCAT datagram.

If necessary, the SYNC0 signal can be shifted along the time axis to the right/later or left/earlier in associated dialogs by specifying a "User defined Shift Time", see Fig. "Advanced distributed clocks (DC) settings, EL2521 Terminal".

Note

Attention! Risk of device damage!

The mentioned notes and information should be used advisedly. The EtherCAT master automatically allocates SYNC0 and SYNC1 settings that support reliable and timely process data acquisition. User intervention at this point may lead to undesired behavior. If these settings are changed in the System Manager, no plausibility checks are carried out on the software side. Correct function of the terminal with all conceivable setting options cannot be guaranteed.

EL2521 DC settings

Device synchronization 3:
Advanced settings for distributed clocks (DC), EL2521 Terminal

Default setting

The cyclic writing of the outputs is triggered by the SYNC0 pulse (interrupt) from the DC in the EL2521. The EtherCAT master sets the "Sync Unit Cycle" time value to the PLC cycle time and therefore the EtherCAT cycle time as standard. According to figure "Advanced settings distributed": 4000 µs = 4 ms because TwinCAT is in Config mode.

DC settings for EtherCAT master

Higher-level distributed clocks parameters can be modified under advanced settings for the EtherCAT master. See also basic introduction into EtherCAT and downloading distributed clocks: "Distributed clocks system description".

Device synchronization 4:
EtherCAT Master, EtherCAT tab, Advanced Settings
Device synchronization 5:
EtherCAT Master, Advanced Settings, Distributed Clocks