EtherCAT Diagnostics: The Working Counter Is Telling You Where to Look
Quick answer / TL;DR: Short answer: a working counter shortfall means at least one device did not process the frame. Check in this order: device state, because a device not in Operational mode will not increment the counter; physical layer errors, because a corrupted frame fails at the device where it arrives; configuration mismatch, because an expected device is absent; and DC drift, which affects timing rather than counter values.
The shield's path: drain, panel bond, rack, building earth.The working counter is the most useful number in EtherCAT and the most misread. It counts how many devices successfully processed the frame, so a shortfall means the frame reached the wire but did not reach a device's processing logic.
Engineers see a working counter error and replace the cable. Sometimes that is right, and often it is not, because the same symptom comes from four different causes with four different fixes.
This article sets out what the counter measures, the four causes in the order worth checking, and the diagnostic data that separates them.
Each slave increments the working counter when it processes a frame addressed to it. The master compares the returned value against the expected value, so the difference localises the fault to a device or a segment.
That localisation is the point. A counter shortfall is not a general failure, it is a pointer.
The Four Causes
| Cause | Counter behaviour | What it implicates |
|---|
| Device not in OP state | Consistent shortfall at one device | Configuration or startup sequence |
| Physical layer error | Intermittent shortfall, CRC errors rise | Cable, connector, termination |
| Missing device | Permanent shortfall of a fixed amount | Wiring or a dead device |
| DC drift | Counter normal, sync error reported | Reference clock or delay compensation |
The distinction between consistent and intermittent is the fastest way to split the list. A shortfall that is always the same size points at a device that is absent or misconfigured. A shortfall that moves points at the physical layer.
The Order Worth Following
- Read the device state first, because a device outside Operational will not increment the counter regardless of the cable
- Check CRC and lost-frame counters per port, which localise a physical fault to a segment
- Compare the configured device list against the devices that actually responded
- Only then examine timing and DC, which do not usually change the counter
The most common wasted afternoon is cable replacement before reading the device state. A device in Safe-Operational passes a cable test perfectly and still fails the counter.
Real-World Applications
A machine reports a working counter error after a maintenance stop. The device state shows one drive in Safe-Operational because a configuration parameter was not restored, and the cable is untouched.
A conveyor shows intermittent counter errors that move between devices. The CRC counters point at one segment, and the fault is a connector that was not fully seated after a repair.
A retrofit shows a constant shortfall equal to two devices. The configured list includes two drives that were removed from the machine, and the configuration was never updated.
A high-axis-count machine shows normal counters with sporadic sync errors. The reference clock device is at the far end of the line, and moving it changes the drift behaviour.
Standards and Verification
EtherCAT is specified in IEC 61158 and IEC 61784-2, with the EtherCAT Technology Group publishing diagnostic guidance. Copper channels are certified under ISO/IEC 11801 and TIA-568, and industrial installation practice follows IEC 61918.
Verification should capture the working counter, the CRC and lost-frame counters per port, the device state list, and the DC deviation. Those four readings separate all four causes.
Record the healthy baseline at commissioning. A counter value that is normal only compared to itself is not a baseline.
Building a Baseline That Is Useful
A baseline is only useful if it records the readings that change when something drifts, at the moment the machine was known good.
Record the working counter for each frame, the CRC counters per port on every device, the state transitions at startup, and the DC deviation across the network.
Record them again after the first production week, because a machine that was good on the bench and good in production are different claims.
When a fault appears, the comparison is between two measured states rather than between a measurement and an expectation.
The Reports That Save Time
Most masters expose a topology view and a per-port error count. Both are worth exporting to a file that lives with the machine documentation.
The topology view answers the question of what is connected. The error counters answer the question of where the signal degrades.
Neither answers why, and neither needs to. The why becomes obvious once the where is known.
Related reading: EtherCAT cable selection — blogs/news/ethercat-cable
Related reading: EtherCAT ring redundancy — blogs/news/ethercat-ring-redundancy
Related reading: Industrial Ethernet certification test — blogs/news/industrial-ethernet-certification-test
A working counter error is a location, not a verdict. Read the device state before you touch the cable.
Frequently Asked Questions
What does a working counter error mean?
At least one device did not process the frame it was expected to process. It localises the fault rather than identifying it.
Does a working counter error always mean a cable fault?
No. A device outside Operational mode, a missing device or a configuration mismatch produce the same symptom with no cable fault at all.
How do I tell a cable fault from a configuration fault?
Configuration faults give a consistent shortfall of a fixed size. Cable faults give an intermittent shortfall that moves, and CRC counters rise.
What is DC drift?
A deviation in the distributed clock synchronisation. It affects timing accuracy rather than the working counter, and it points at the reference clock or delay compensation.
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.