What EtherCAT is
EtherCAT (Ethernet for Control Automation Technology) is a real-time industrial Ethernet protocol that links a machine controller to its drives, I/O modules and sensors. Beckhoff Automation developed it and introduced it in April 2003. The EtherCAT Technology Group (ETG), founded in November 2003, has maintained it since, and the protocol is published in the international standards IEC 61158 and IEC 61784.
EtherCAT exists to solve a timing problem. A controller that coordinates several servo axes has to update every drive within the same fraction of a millisecond, cycle after cycle. Office Ethernet cannot promise that, because switches queue frames and any device may transmit at any moment. EtherCAT keeps the cable, connectors and frame format of Ethernet but changes how frames are handled. The ETG describes the result as cycle times of 100 µs or less, with jitter of 1 µs or less.
The ETG now calls the controller the MainDevice and each field device a SubDevice, where older documents say master and slave.
How EtherCAT works: processing on the fly
On an EtherCAT segment only the MainDevice sends frames. Each frame travels down the line through every SubDevice in turn. As it passes, a device reads the data addressed to it and inserts its own inputs into the same frame, and the frame is delayed only by the hardware it passes through. The last device detects that nothing is connected beyond it and sends the frame back to the controller, using the other direction of the full-duplex cable. One frame therefore serves many devices, where a polled network needs a request and a reply for each.
-
//
Standard frames. Process data travels directly in an IEEE 802.3 Ethernet frame marked with EtherType 0x88A4, with no IP, TCP or UDP layer in the cyclic path.
-
//
Device controller chips. Each SubDevice handles frames in an EtherCAT SubDevice Controller, which may be an ASIC, an FPGA or part of a microcontroller.
-
//
Distributed clocks. The time of the first clock-equipped device is passed to all the others every cycle, which keeps their clocks aligned to well under 1 µs.
-
//
Built-in diagnostics. A working counter in each datagram shows whether every addressed device took part, and error counters in each device show the controller where a fault began.
Topology, cabling and addressing
EtherCAT needs no switches. Devices have two or more ports and pass the frame along, so a network can be wired as a line, tree, star or daisy chain, and one segment can hold up to 65,535 devices. Standard industrial Ethernet cable links devices up to 100 m apart in 100BASE-TX mode, and fiber covers longer distances. On machines the cable often ends in M12 D-coded connectors.
There are no address switches to set. At start-up the MainDevice identifies each SubDevice by its position and gives it a configured address. Connecting the last device back to a second Ethernet port on the controller turns the line into a ring, so communication survives a broken cable.
An ordinary Ethernet device cannot be plugged into the middle of the line. It connects through a switch port on an EtherCAT device, which tunnels its traffic through the segment.
EtherCAT vs standard Ethernet
EtherCAT and office Ethernet share their cabling and frame format, but they move data in different ways. The table shows what changes.
| Feature | Standard Ethernet | EtherCAT |
|---|---|---|
| Who starts a frame | Any device, at any time | Only the MainDevice |
| How frames are handled | Switches receive each frame, then forward it | Each device reads and writes as the frame passes |
| Network hardware | Switches between devices | No switches; the devices form the line |
| Addressing | MAC and IP addresses | By position, then an address assigned at start-up |
| Timing | Best effort | Cycle times of 100 µs or less, jitter of 1 µs or less |
| Device interface | Any Ethernet controller | A standard port on the controller; an EtherCAT chip in each field device |
| Typical use | IT, video and supervisory data | Motion control, fast I/O and measurement |
EtherCAT is usually chosen for motion control, fast I/O and test systems. Our page on EtherNet/IP compares the four most common industrial Ethernet protocols side by side.
Profiles and extensions
EtherCAT reuses established device profiles, and the ETG has added several options to the base protocol.
-
//
CoE. The CAN application protocol over EtherCAT provides the same communication mechanisms as CANopen, so device profiles such as the CiA 402 drive profile can be reused.
-
//
SoE, EoE and FoE. A servo drive profile, tunnelling for ordinary Ethernet traffic and file access to a device.
-
//
Safety over EtherCAT. A safety protocol standardized in IEC 61784-3, for safety functions up to SIL 3 on the same cable as standard data.
-
//
EtherCAT P and EtherCAT G. EtherCAT P adds two 24 V supplies to the data cable. EtherCAT G, accepted by the ETG in 2019, raises the rate to 1 Gbit/s, and G10 to 10 Gbit/s.
Running an EtherCAT master on an industrial PC
The ETG states that an EtherCAT MainDevice has a single hardware requirement, an Ethernet port, and that no special interface card is needed. The master is software. That is why EtherCAT is closely tied to PC-based control: Beckhoff’s TwinCAT, CODESYS-based runtimes and open-source masters for Linux, such as the IgH EtherCAT Master and SOEM, each turn a computer into the controller.
The computer still has to be chosen with care. Give the EtherCAT segment its own Ethernet port, and a second if you want cable redundancy. Many masters get their best timing from a driver written for particular Ethernet controllers, so check the controller in the PC against the list your software supports. The cycle is only as steady as the operating system beneath it, which usually means a real-time Linux kernel or a real-time operating system with processor cores reserved for control.
Our industrial PCs and DIN rail PCs include fanless systems with two or more Ethernet ports, which suits a controller in the machine cabinet. Where a manufacturer lists EtherCAT support, the product page says so. For fault-finding, Wireshark includes an EtherCAT protocol interpreter, so a PC can also capture and decode the traffic.
Quick answers on EtherCAT
EtherCAT: common questions
Is EtherCAT the same as Ethernet?
No, but it is built on it. EtherCAT uses Ethernet cable, connectors and frames, but its devices process each frame as it passes instead of switching it. Ordinary Ethernet devices join through a switch port, not directly in the line.
Is EtherCAT faster than Ethernet?
Not in raw bit rate. Standard EtherCAT runs at 100 Mbit/s. It updates devices sooner because one frame serves the whole line, giving cycle times of 100 µs or less. EtherCAT G raises the bit rate to 1 Gbit/s.
Who invented EtherCAT?
Beckhoff Automation. It introduced EtherCAT in April 2003. The EtherCAT Technology Group, founded that November, now maintains and promotes the technology.
Does an EtherCAT master need special hardware?
No. A standard Ethernet port and master software are enough. The devices on the line do need an EtherCAT controller chip, which their makers build in.
What are the limitations of EtherCAT?
It is a dedicated control network. One controller owns each segment, every device in the line must be an EtherCAT device and other Ethernet traffic has to be tunnelled. It is designed for machine-level control, with plant-wide data normally on the factory network above it.
We supply industrial and DIN rail PCs for PC-based control with the operating system, storage and network ports configured as standard, ready for the EtherCAT master software you have chosen.