Page review information
Edition covered
ETG (EtherCAT Technology Group) / IEC 61158 — exact governing edition not yet recorded
Content status
Reviewed
Coverage
Covers EtherCAT segment design, ESI/master configuration, the state machine, and working-counter diagnostics; EtherCAT G, EAP, and Safety-over-EtherCAT (FSoE) are noted only at overview level
Last reviewed
August 2026
Primary reference
The official published standard — required for final decisions

Confirm the applicable specification revision, device firmware, vendor implementation, network architecture, cybersecurity requirements, and project-specific constraints before applying anything on this page.

Overview

EtherCAT (Ethernet for Control Automation Technology) is managed by the EtherCAT Technology Group (ETG) and standardized within IEC 61158. Its defining idea is processing on the fly. The master sends one Ethernet frame down the line; as that frame passes through each slave, the slave’s dedicated hardware reads the outputs addressed to it and inserts its inputs into the same frame — all in the time it takes the frame to pass through the node, without buffering the whole packet. The frame reaches the last device, turns around, and returns to the master.

Because the data for the whole segment rides in one (or a few) frames processed at wire speed, EtherCAT achieves very short cycle times and low jitter. Distributed clocks (DC) give the slaves a shared, precisely synchronized time reference, so outputs can be applied and inputs latched at the same instant across many nodes — the basis for tight multi-axis coordination.

The point to hold onto: EtherCAT uses the Ethernet physical layer, but it is not switched, standard Ethernet. There are no managed switches inside an EtherCAT segment and no IP addressing on the process data. The slaves themselves contain the ports and the on-the-fly processing hardware — this is a fundamental difference from EtherNet/IP or PROFINET, which run over ordinary switched Ethernet infrastructure.

flowchart LR
    M[EtherCAT Master<br/>on-board NIC] --> S1[Slave 1<br/>servo drive]
    S1 --> S2[Slave 2<br/>fast I/O]
    S2 --> S3[Slave 3<br/>fast I/O]
    S3 --> S4[Slave 4<br/>servo drive]
    S4 -. "frame turns at the last port<br/>and returns to master" .-> M

Physically a line (or a tree with branches); logically a single ring — the frame goes out through every node and comes back.

Where It Is Used

Scope notes: this page covers the common copper 100BASE-TX EtherCAT segment with standard process data. Variants and extensions — EtherCAT G (gigabit), the EtherCAT Automation Protocol (EAP) for master-to-master, and Safety-over-EtherCAT (FSoE) — have their own rules and validation scope and are not covered here. Verify against ETG and vendor documentation.

Network Design

Configuration

  1. Import ESI files — the EtherCAT Slave Information file (XML) describes each slave’s objects, process-data options, and mailbox capabilities. Load the correct ESI for every device type into the master’s engineering tool, and verify the ESI matches the device firmware/revision — object dictionaries differ between revisions.
  2. Scan the bus / build the configuration — let the master scan the physically connected segment, or build it offline from ESI files, then reconcile the two. The master assembles the process image: which bytes of the cyclic frame belong to which slave’s inputs and outputs.
  3. Set process data (PDO) mapping per device where the ESI allows options — pick the assemblies/PDOs that match how the application uses the device (e.g., a drive’s cyclic-synchronous position vs velocity mode).
  4. Configure station alias / addressing for devices that need a fixed identity independent of position, so a replacement slotted into the same place is recognized correctly.
  5. Configure distributed clocks — enable DC on the devices that require synchronization, choose the reference clock, and set the sync signal (e.g., SYNC0) periods to match the control cycle.
  6. Record per device — device type and revision, ESI file/version, station alias, DC role and sync period, PDO mapping, and the physical position/port in the segment. This register is what makes a 03:00 slave swap routine.

Commissioning Checks

Diagnostics

Work in layers: physical (link/activity, port error counters), then the state machine (did each slave reach OP), then cyclic health (the working counter), then device-level object diagnostics.

Working counter (WKC) is the key health indicator. Each datagram in the frame increments the working counter as slaves that are addressed successfully read/write their data. The master knows the expected WKC for a fully healthy segment; a WKC lower than expected means a slave did not contribute — it dropped out, is in the wrong state, or has a mapping problem. Watch WKC first when cyclic data looks wrong.

Slave state tells you where a stuck device is: a slave that will not leave PREOP or SAFEOP usually has a mailbox/configuration or DC problem rather than a wiring fault. The master’s error registers expose lost-frame and CRC counters per port, which localize a marginal cable or connector to a specific link in the chain — a rising CRC count on one port points straight at that segment of cable.

Read all of this through the master’s diagnostic interface — that is where WKC, per-slave state, and per-port error counters are exposed.

On packet capture: generic Wireshark on a standard laptop NIC has real limits here. EtherCAT process traffic is not switched IP traffic you can pick up from a spare switch port — there are no switches, and the frames are consumed and returned on the line. Capturing meaningfully usually requires the right point and tooling (for example, capturing at the master’s NIC where supported, or a purpose-built EtherCAT analysis tool/tap), not a laptop plugged into the segment. Wireshark does include an EtherCAT dissector, so a capture taken at a valid point can be decoded — the constraint is getting the capture, which differs fundamentally from switched-Ethernet port mirroring. If you do decode a valid capture (verify filter names against the Wireshark version in use):

ecat
ecat_mailbox

What capture will not give you easily: per-port CRC counts and live slave-state/WKC — those come from the master’s diagnostics, which is the faster route for most EtherCAT faults anyway.

Common Faults

Symptom Likely causes First checks
A slave stuck in PREOP or SAFEOP, will not reach OP DC/sync config, mailbox/object mismatch, ESI vs firmware mismatch, invalid PDO mapping Master’s per-slave state and error text; compare ESI version to device firmware
Working counter lower than expected A slave not contributing — dropped out, wrong state, or mapping error Which slave’s WKC is short in the master diagnostics; check that slave’s state
Everything downstream of a point disappears Cable/connector break or device power loss on the line (line topology consequence) Which slave is the last one seen; port error counters either side of the gap; check power
Distributed-clock sync errors Wrong reference clock, non-DC device in a DC-required position, sync period vs cycle mismatch DC configuration; confirm the reference and that DC-required devices support it
Rising CRC / lost-frame count on one port Marginal cable, poor connector, EMC on that segment Per-port error counters in the master; inspect/replace that specific cable
Replacement slave not recognized Missing/incorrect station alias, different device revision, wrong ESI Station-alias setting; device revision vs project; reload correct ESI
Intermittent dropouts under machine motion EMC coupling on a cable run, marginal connector, or a device fault under load Correlate drop timestamps with motion; per-port CRC; segregation from drive cables
Trust Boundary — Engineering Judgment Required

This site is an independent educational reference for industrial automation standards. It paraphrases and organizes guidance in original language; it is not a substitute for the official published standards, professional engineering judgment, or legal review, and content has not been independently verified against current published editions.

Items marked Review pending await technical review against the identified edition. Items marked Planned have no reviewed source material behind them. Do not rely on this site for compliance determinations, safety-critical design decisions, or legal interpretation.