EtherCAT Distributed Clocks: Synchronisation Is Measured, Not Assumed
Quick answer / TL;DR: Short answer: one slave is designated the reference clock, and the master measures the propagation delay to every other slave so each can offset its local clock accordingly. Sync errors usually come from delay changes rather than from clock drift: a device added mid-line, a cable changed, or a topology altered without re-running the measurement.
The shield's path: drain, panel bond, rack, building earth.Distributed clocks are what allow EtherCAT to coordinate motion across axes that are physically far apart. Each slave keeps its own clock, and the protocol makes all of them agree with one reference.
The mechanism depends on measuring propagation delay rather than assuming it, which is why a correctly commissioned network holds synchronisation across a long line with many devices.
This article covers how the synchronisation is established, what disturbs it, and why sync errors so often appear only when the machine runs at production speed.
Each slave has a local clock. During startup the master measures the round-trip delay to each device and derives the offset needed for the local clock to represent system time.
Because the delay is measured rather than assumed, cable length is compensated automatically. That is the part people get wrong when they blame long cable for sync problems.
What Disturbs Synchronisation
| Change | Effect | Remedy |
|---|
| Device added mid-line | Delay to downstream devices changes | Re-run the measurement |
| Cable replaced with a different length | Offset for that segment is wrong | Re-run the measurement |
| Reference clock moved | All offsets are recomputed | Re-run and verify jitter |
| Network load spike | Jitter rises, frames queue | Check cycle time margin |
| Temperature drift | Small, normally compensated | Verify jitter across the operating range |
The first three are configuration events. They do not produce a cable test failure, because the cable is fine. They produce a timing difference that the application notices.
Why It Shows at Full Speed
At low speed the application tolerates jitter because the intervals between actions are long. At production speed the same jitter consumes a measurable fraction of the cycle.
- Record the jitter figure at commissioning and again after the first production week
- Re-run delay measurement after any physical change to the line
- Keep the reference clock position documented, because moving it is a configuration change
- Verify the operating temperature range rather than a single ambient reading
- Treat a rising jitter trend as a finding even when it is still within tolerance
Real-World Applications
A machine with forty axes adds a drive mid-line during a retrofit. The delay measurement is re-run, and the sync errors that appeared immediately after the addition disappear.
A printing press replaces a damaged cable with a longer one from stock. The cable passes certification, and the press develops a synchronisation fault at full speed until the measurement is re-run.
A test rig runs at low speed for weeks without issue and fails on the first production run. The jitter was present throughout and only became consequential at speed.
A machine tool relocates its reference clock to the first device in the line during a controller upgrade. All offsets change, and the commissioning procedure includes a jitter verification at several speeds.
Standards and Verification
EtherCAT is specified in IEC 61158 and IEC 61784-2, with the EtherCAT Technology Group publishing guidance on distributed clocks and synchronisation. Copper channels follow ISO/IEC 11801 and TIA-568, and industrial installation practice follows IEC 61918.
Verification is a jitter measurement across the device population at more than one speed, plus a record of the reference clock and the measured delays. A single reading at idle is not evidence.
Where a sync fault appears, check what changed physically before examining the configuration. The common causes are physical events that the configuration still describes correctly.
Measurement Discipline
The delay measurement happens once, at startup, and everything afterwards assumes it is still valid. That assumption is the source of most sync faults.
Any physical change between the reference clock and a device invalidates the compensation for that device and everything downstream of it.
The discipline is therefore simple: after any physical change, restart the measurement rather than the machine.
What Jitter Looks Like in Practice
Jitter does not announce itself. It appears as an axis arriving slightly late, a registration mark drifting a fraction, or an occasional rejected part with no obvious pattern.
Because the symptom is a quality problem rather than a fault, it is often investigated in the mechanical domain first, which is where the time is lost.
Recording a jitter figure at commissioning gives the quality investigation somewhere to start.
Where a master supports it, log the measured delay per device at commissioning. The values are a fingerprint of the physical line, and a later measurement that differs shows exactly which segment changed.
That log turns a sync investigation from a search into a comparison.
Related reading: EtherCAT diagnostics — blogs/news/ethercat-diagnostics
Related reading: EtherCAT cable selection — blogs/news/ethercat-cable
Related reading: EtherCAT cable length limits — blogs/news/ethercat-cable-length-limits
Long cable does not cause sync errors, because the delay is measured. A changed cable does, because the measurement is now describing the previous one.
Frequently Asked Questions
Do long cables cause EtherCAT sync errors?
Not by themselves. Propagation delay is measured during startup and compensated, so a correctly commissioned long line synchronises fine.
Why do sync errors appear only at production speed?
Because jitter that is negligible relative to a slow cycle becomes significant relative to a fast one. The fault was present at low speed and not consequential.
What is the reference clock?
The slave whose clock defines system time for the network. Moving it changes every offset and requires re-verification.
Do I need to re-run the measurement after replacing a cable?
Yes if the length differs. The compensation describes the previous cable, and the offset will be wrong by the difference in propagation delay.
Sourcing cables for a project, a store, or a private-label line? Contact our B2B sales team for specifications, certification evidence, and volume terms – FOB and CIF options available. Request a quote or sample.