Industrial Ethernet: EtherNet/IP, PROFINET and EtherCAT

The Ethernet physical layer, the real-time protocols, switches, VLANs, multicast and ring redundancy.

The Ethernet physical layer

Industrial Ethernet uses the same IEEE 802.3 hardware as an office network, in tougher packaging, with real-time protocols on top. Everything on the plant floor that is fast and deterministic today (EtherNet/IP, PROFINET, EtherCAT, POWERLINK, Sercos III, CC-Link IE) shares the Ethernet frame and the cable; they differ in how they use them.

StandardSpeedMediumPairs usedMax segmentNotes
10BASE-T10 Mbit/sCat3 or better2100 mOld devices; half-duplex hubs
100BASE-TX100 Mbit/sCat5e or better2 (pins 1, 2, 3, 6)100 mThe standard for field devices; 4-pin M12 D-coded
1000BASE-T1 Gbit/sCat5e or better4100 mUplinks, vision, servers; 8-pin M12 X-coded
100BASE-FX / 1000BASE-SX / LX100 Mbit/s to 1 Gbit/sFiber (multimode or single-mode)one fiber per direction2 km, 550 m, 10 kmBetween cabinets and buildings; immune to noise
Single-pair Ethernet (10BASE-T1L, 100BASE-T1)10 or 100 Mbit/sOne twisted pair11 000 m (T1L) or 15 to 40 mField-level Ethernet and Ethernet-APL for process instruments

The cable pinouts and the M12 connector are on Cabling, Grounding and Noise. Whatever the speed, the 100 m limit is for a channel with at most about 90 m of fixed cable and the rest as patch cords; flexible industrial cable has higher loss, so its limit is shorter.

Frames, addresses and switches

One Ethernet frame (IEEE 802.3)Preamble7 BSFD1 BDestination MAC6 BSource MAC6 BVLAN tag4 B (option)EtherType2 BPayload46 to 1500 BFCS4 BEtherType says what is inside the payload:0x0800IPv4: carries TCP and UDP (Modbus TCP, EtherNet/IP, OPC UA, S7)0x0806ARP: asks who has an IP address0x8100VLAN tag follows (IEEE 802.1Q)0x8892PROFINET real-time data, directly in the frame, not through IP0x88A4EtherCAT: process data, directly in the frame0x88CCLLDP: neighbor discovery (used to map the network)
An Ethernet frame and the EtherType values that say what is inside.
DeviceWorks atWhat it doesNotes
HubLayer 1Repeats every bit to every portObsolete: one collision domain, half duplex
Unmanaged switchLayer 2Learns which MAC address is on which port and forwards frames only thereFine for small networks; no diagnostics; floods multicast
Managed switchLayer 2As above, plus VLANs, multicast filtering, port mirroring, redundancy, SNMP and a web interfaceStandard for control networks
Layer 3 switch / routerLayer 3Routes between IP subnets and VLANsJoins machine networks to the plant network
FirewallLayers 3 to 7Allows or blocks traffic by address, port and sometimes protocolSee Industrial Network Security
  • Full duplex is the rule. Both directions are used at once and there are no collisions. A port forced to a fixed speed next to a port on auto-negotiate falls back to half duplex and produces errors: set both ends the same, or both to auto.
  • Auto-MDI/MDIX. Modern ports detect the cable type, so a straight patch cable works everywhere and crossover cables are rarely needed.
  • MAC address table. A switch builds it from the source addresses it sees and ages entries out after a few minutes; a frame to an unknown address is flooded to all ports.
  • Store and forward. Most switches receive a whole frame before sending it on, adding delay; some “cut-through” and real-time switches begin to forward sooner.

Managed switches and what to turn on

FeatureWhat it gives youTypical use
VLANsDivide one switch into separate networksKeep control, supervision and other traffic apart (see IP Addressing, Subnets and VLANs)
IGMP snooping and querierSend multicast only to ports that asked for itNeeded for EtherNet/IP I/O
QoS (802.1p, DSCP)Give real-time frames priority over the restPROFINET RT uses priority 6; EtherNet/IP uses DSCP
Port mirroring (SPAN)Copy the traffic of a port to another for a snifferTroubleshooting (see Sniffers, Analyzers and Serial Tools)
LLDPNeighbors announce themselves, so tools can draw the topologyPROFINET topology detection, documentation
SNMPA monitoring system reads counters and statusAlarm on link down, errors, high load
Redundancy (MRP, RSTP, PRP/HSR)Recover from a cable breakRings; see below
Port securityAllow only known MAC addresses; disable unused portsStops casual plug-in of laptops
Storm controlLimit broadcast and multicast floodsProtects against a looping cable or a faulty device
Spanning treeBlocks loops automaticallyPrevents a patch cord loop from taking the network down; keep it on unless you use a different loop protection

The real-time protocols compared

EtherNet/IPPROFINET RT / IRTEtherCATModbus TCP
Governed byODVAPROFIBUS & PROFINET InternationalEtherCAT Technology GroupModbus Organization
UsesTCP and UDP over IP; CIP application layerEthernet frames directly (RT); IP for configurationEthernet frames directly; processing on the flyTCP over IP
ModelProducer/consumer connections plus messagesCyclic IO controller and devices, acyclic recordsMaster and slaves, one frame per cycleClient and server
Typical cycle2 to 100 ms (CIP Sync and Motion faster)RT: 1 to 16 ms; IRT: 31.25 µs to 4 ms50 µs to a few ms10 to 100 ms
TopologyStar, line (DLR ring)Star, line, ring (MRP)Line, tree, ringAny
Needs special hardwareNo (device-level ASICs optional)IRT: yes; RT: noSlaves yes; master noNo
Safety optionCIP SafetyPROFIsafeSafety over EtherCAT (FSoE)None
Typical useRockwell, Omron NJ, many drivesSiemens and many othersMotion control, fast I/O, BeckhoffMeters, drives, simple devices
Device fileEDSGSDMLESI (XML)None (register map)

EtherNet/IP and CIP

EtherNet/IP is the Ethernet version of the Common Industrial Protocol (CIP), the same object model used by DeviceNet and ControlNet. A controller (the scanner) opens a connection to each device (an adapter) using explicit messaging on TCP port 44818, and the devices then exchange implicit I/O data cyclically, as UDP packets on port 2222, at the requested packet interval (RPI) that you set per connection.

Controllerscanner (PLC)Driveadapter1. Forward Open request (TCP 44818): RPI, sizes, timeout2. Reply: connection accepted3. Cyclic I/O (UDP 2222): outputs to the drive and inputs back, every RPI, unicast or multicastRPI = requested packet interval (for example 10 ms). If 4 packets in a row are missed (the timeout multiplier),the connection drops and the drive faults.
An EtherNet/IP connection: explicit set-up on TCP 44818, then cyclic I/O on UDP 2222 at the RPI.
TermMeaningPractical note
Scanner / adapterThe controller that opens connections / the device that accepts themA PLC can be a scanner to its I/O and an adapter to another PLC
ConnectionA relationship with a size, an RPI and a timeoutEach connection costs memory in both devices; a device has a maximum (for example 32 or 128)
RPIHow often each side sends: 2 to 750 ms typicalSet it to what the process needs; the PLC task and the network must keep up
Timeout multiplierHow many missed RPIs before the connection drops (typically 4)A device that loses its connection goes to its fault state
Assembly instancesThe numbered data blocks (input, output, configuration) the device exposesNeeded for a generic Ethernet module when you have no EDS file
EDS fileElectronic Data Sheet: describes the device’s connections and parametersInstall the EDS (or use the vendor’s add-on profile) matching the device’s firmware revision
Unicast and multicastCyclic data to one consumer or to a groupMulticast needs IGMP snooping; unicast is simpler for point-to-point I/O
Explicit messagesOn-demand reads and writes of parameters (MSG)Slow and unscheduled; do not use them for control data
DLRDevice Level Ring: a ring topology with fast recoveryNeeds DLR-capable devices and a ring supervisor
CIP SecurityAuthentication and encryption for CIPSupported on newer devices; plan certificates
  • Match the generation. A wrong EDS or revision gives a connection fault with “electronic keying mismatch”; choose compatible keying only if you understand the risk.
  • Do not set the RPI faster than needed. A 2 ms RPI on 100 devices loads the network and the PLC; 10 to 20 ms suits most discrete I/O.
  • Detect a lost device. Use the connection status bit in the program and raise an alarm; do not assume stale inputs are still true.
  • Switch settings. Use managed switches with IGMP snooping and a querier when using multicast.

PROFINET

PROFINET IO is Siemens’s and the PROFIBUS organization’s industrial Ethernet. An IO controller (the PLC) exchanges cyclic data with IO devices (I/O blocks, drives, field devices) using real-time (RT) frames that skip IP and TCP and go directly in the Ethernet frame with a priority tag, so devices handle them quickly. Configuration, parameters and diagnostics use ordinary IP (UDP and the DCP discovery protocol). IRT (isochronous real-time) schedules the cycle with special switch hardware for sub-millisecond, jitter-free timing in motion applications.

PROFINET RT: real-time frames have priority over the rest, in a cycle of (for example) 1 msRT cyclic data (priority)TCP/IP and other traffic (best effort)RT frames go first, but a long ordinary frame already in progress can delay them a little (jitter of tens of microseconds).PROFINET IRT: the cycle is scheduled with hardware support, so real-time data never waitsIRT reserved phase (scheduled)RT phaseopen phase: TCP/IPTypical cycle times: RT from 1 ms (down to 250 us in some devices); IRT from 31.25 us to 4 ms, jitter under 1 us. IRT needsIRT-capable switches (usually built into the devices) and a planned topology. The controller’s send clock sets the base cycle,and each device runs at that clock or a multiple of it (reduction ratio).
PROFINET RT and IRT: how the cycle is shared between real-time data and ordinary traffic.
ConceptWhat it meansPractical note
Device nameEvery IO device has a unique name (a lowercase string); the controller finds it by name and assigns its IP addressThe most common PROFINET fault: the name in the project does not match the device. Assign names with the engineering tool or a free tool such as PRONETA
GSDML fileThe device description that the engineering tool importsUse the file for the device’s firmware version
Update timeHow often the controller and each device exchange dataThe send clock (for example 1 ms) times a reduction ratio; set per device
WatchdogHow many missed updates before the device declares the controller lostDefault is 3 cycles
DCPDiscovery and Configuration Protocol: finds devices by MAC address and sets names and IPWorks on the same layer-2 segment, so a router blocks it
Conformance classes A, B, CA: basic cyclic; B: adds topology detection and diagnostics (LLDP, SNMP); C: adds IRTPick devices of a class that meets the application
Shared and system redundancyMore than one controller can use the same device; S2 and R1 redundancyHigh-availability systems
PROFIsafeSafety protocol over PROFINET (or PROFIBUS)Treats the network as a black channel; the safety devices check the data themselves
Fast start-up (FSU)Devices start in a fraction of a secondTool changers and quick-change robots

EtherCAT

EtherCAT (Ethernet for Control Automation Technology) is built for speed. The master sends one Ethernet frame that passes through every slave in turn; each slave reads its outputs and writes its inputs into the frame as it flows by, with a few nanoseconds of delay, and the last slave turns the frame around so that it comes back to the master carrying all the inputs. One frame serves 100 or more devices, so the efficiency is very high, and distributed clocks synchronize the slaves to within 100 ns for coordinated motion.

Masterone frame per cycleSlave 1driveSlave 2servoSlave 3I/OSlave 4sensorEtherCAT: one frame passes through every device and comes backsendlast slave turns the frame aroundreturn (inputs)Each slave takes its data out of the frame and puts its inputs in while the frame passes (processing on the fly, a fewnanoseconds of delay per slave), so one frame serves 100 or more devices. The master needs only a standard Ethernet port.Cycle times of 100 us or less; distributed clocks align the slaves to within 100 ns for synchronous multi-axis motion.
An EtherCAT frame passes through every slave on the way out and back.

Worked example: an EtherCAT cycle with 100 slaves

  • 100 slaves, each with 4 bytes of process data: 400 bytes. The frame is Ethernet 14 + EtherCAT header 2 + datagram header 10 + data 400 + working counter 2 + FCS 4 = 432 bytes; with the preamble and gap, 452 bytes of wire time.
  • At 100 Mbit/s the frame takes 452 × 8 ÷ 100 = 36.2 µs to send.
  • Add the delay through the slaves (about 1 µs each, forward and back through the physical layer): about 100 µs. The cycle is therefore roughly 136 µs, so a 250 µs or 500 µs cycle fits easily with time left for the master’s processing.
  • The same 100 devices on a polled protocol, one frame per device and per direction, would need 200 frames and many times the time.
  • Topology. Line, tree and star with junctions; a ring (cable redundancy) lets the master reach every slave from both ends.
  • Cable. Standard 100BASE-TX, 100 m between devices; 65 535 slaves in a segment in theory.
  • Tools. An ESI file per slave; the master configures the process data mapping; hot-connect groups allow tool changers.
  • Not routable. EtherCAT runs on its own layer-2 segment; connect to other networks through the master or a gateway.

Other Ethernet protocols

ProtocolPort or frameUsed byNotes
Modbus TCPTCP 502Almost every brandSimple client/server; see Modbus RTU, ASCII and TCP
S7 communication (ISO-on-TCP)TCP 102Siemens S7 PLCs, HMIs, driversPUT/GET access must be enabled in S7-1200/1500
FINSUDP or TCP 9600Omron PLCs and toolsNode numbers; configurable
SLMP / MC protocolTCP or UDP, port set by the userMitsubishi PLCsPort set in the Ethernet module parameters
OPC UATCP 4840EveryoneSee OPC UA, MQTT and Industrial IoT
POWERLINKEtherType 0x88ABB&R and othersOpen, polling with time slots, 200 µs cycles
Sercos IIIEtherType 0x88CDBosch Rexroth, many motion devicesReal-time ring or line with a 31.25 µs minimum cycle
CC-Link IEEtherType 0x890FMitsubishi and partnersGigabit control and field networks
MQTTTCP 1883 / 8883IoT gatewaysSee OPC UA, MQTT and Industrial IoT
HTTP, HTTPS, SNMP, SSHTCP 80, 443; UDP 161; TCP 22Device web pages, monitoring, administrationDisable the ones you do not use

Multicast, IGMP and flooding

EtherNet/IP I/O data is often sent as multicast so that several devices can consume one producer’s data. A switch that does not understand multicast treats it as a broadcast and floods it to every port, including ports with slow devices (panels, cameras, laptops) that can be overloaded by the traffic. A managed switch with IGMP snooping listens to the devices’ requests to join a multicast group, and forwards the data only to the ports that asked. Someone must also send the periodic membership queries: the IGMP querier, usually one of the managed switches.

No IGMP snooping (flooding)Producerdrive I/OSwitchPLCHMILaptopCameraIGMP snooping onProducerdrive I/OSwitchPLCHMILaptopCameraEtherNet/IP I/O uses multicast. A managed switch with IGMP snooping and an IGMP querier sends it only where it is wanted;an unmanaged switch floods it, which can overload slow devices such as cameras, laptops and panels.
Multicast flooding without IGMP snooping and filtered delivery with it.
  • Symptoms of flooding: an HMI or camera slows down or reboots when a drive network starts; an office PC on the same switch is slow.
  • Fixes: managed switches with IGMP snooping and one querier; VLANs to keep the I/O network separate; or unicast connections where the adapters support them.
  • Multicast addresses start 239.x.x.x for EtherNet/IP; each connection uses an address derived from the device.

Redundancy and rings

Normal operationblockedManagerSw 1Sw 2Sw 3Sw 4Sw 5After a cable breakbreakManagerSw 1Sw 2Sw 3Sw 4Sw 5MRP (IEC 62439-2) recovers in about 200 ms (as short as 10 ms in fast modes); RSTP in about 1 to 5 s; HSR and PRP (IEC 62439-3)send every frame both ways and lose nothing. Ring-capable devices in a PROFINET line can build the ring without extra switches.Test it: pull a cable and watch for dropped I/O. A ring nobody has tested is not redundancy.
A ring in normal operation and after a cable break.
ProtocolRecovery timeNotes
RSTP (IEEE 802.1w)About 1 to 5 seconds, longer in big networksGeneral purpose; too slow for many machines (devices time out)
MRP (IEC 62439-2)200 ms (MRP) or as little as 10 ms in fast modesPROFINET rings; one manager, many clients
DLR (ODVA)Under 3 ms for a typical ring in some implementations, otherwise tens of msEtherNet/IP rings; supervisor and nodes
HSR / PRP (IEC 62439-3)Zero: every frame is sent over both pathsPower utilities and high availability; needs special nodes
EtherCAT cable redundancyNone needed: a second port at the master closes the ringMotion systems

Test redundancy: pull a cable in a safe moment and see what happens. A ring that nobody has tested often fails at the first real break because of a setting on one switch.

Network load calculations

A network can fail by being too busy, even when each device is healthy. Estimate the load: packets per second × bits per packet, with each frame carrying 20 bytes of preamble and gap in addition to its headers.

Worked example: EtherNet/IP I/O on a 100 Mbit/s link

  • 50 drives and I/O blocks, each exchanging 100 bytes in each direction every 10 ms RPI (so 100 packets per second per connection per direction).
  • A frame is Ethernet 14 + IP 20 + UDP 8 + CIP encapsulation about 24 + data 100 + FCS 4 = 170 bytes, or 190 bytes of wire time.
  • Packets per second = 50 × 2 × 100 = 10 000. Bit rate = 10 000 × 190 × 8 = 15.2 Mbit/s, or 15 percent of a 100 Mbit/s link.
  • If the controller connects to them all through one 100 Mbit/s port, that port carries the whole load. A gigabit uplink or several controller ports spread it; at 2 ms RPI the same system would need 76 percent, impossible on one 100 Mbit/s link.

Worked example: PROFINET RT update time

  • 100 devices, each exchanging 40 bytes in each direction. A real-time frame is Ethernet 14 + VLAN 4 + frame ID 2 + data 40 + status 4 + FCS 4 = 68 bytes (padded to at least 64), so 88 bytes of wire time.
  • At a 1 ms update time: 200 000 frames per second = 141 Mbit/s: more than a 100 Mbit/s link can carry.
  • At 4 ms: 50 000 frames per second = 35.2 Mbit/s (35 percent); at 8 ms 17.6 Mbit/s (18 percent).
  • The engineering tool checks this load for you. The lesson is that a short update time for every device is not free: set fast times only for the devices that need them, and put the controller on a gigabit port where there are many.

Worked example: delay through a chain of switches

  • A 1518-byte frame takes 123 µs to send at 100 Mbit/s. A store-and-forward switch adds about that long to a maximum-size frame, plus a few microseconds of processing.
  • A real-time frame is small (about 88 bytes, 7.0 µs) so each switch adds a few microseconds to it; ten switches in line add perhaps 50 µs. A large ordinary frame queued in front of it can add up to 123 µs at each switch, which is why priority and IRT exist.

Design rules

  • Plan the topology first. Star with managed switches for flexibility; line only where devices have two ports and the application accepts the risk; rings where a break must not stop the machine.
  • Separate traffic. Put control, supervision and everything else in separate VLANs or on separate switches.
  • Use the right switches. Managed industrial switches with IGMP, QoS and diagnostics for control networks; DIN-rail, wide temperature, redundant power.
  • Respect length and device limits. 100 m per copper segment; limits on devices in a line (PROFINET lines of 10 to 20 devices are typical before the cycle suffers).
  • Keep the load low. Aim for under 30 to 50 percent of a link, and make uplinks faster than the downlinks.
  • Fix addresses and names early and write them in an address list.
  • Document and label every cable and every port.
  • Test before you rely on it. Pull cables, power-cycle switches, and check the diagnostics of each switch and device.
  • Plan security from the start: network segmentation and unused ports shut down. See Industrial Network Security.

Typical faults

SymptomLikely causeCheck
Device not found or not reachableDifferent subnet, duplicate IP, wrong cable or port, device without a name (PROFINET)Link LEDs, IP and mask on both ends, ping, device name
EtherNet/IP connection fault with a keying errorWrong EDS or revision, wrong module definitionCompare the device’s identity with the project
I/O drops out occasionallyRPI too fast for the PLC or network, a loose connector, a switch overloaded, multicast floodingSwitch port counters, connection status, cable test
Network slow, devices unreachableA broadcast storm from a loop; a failing device flooding the networkUnplug segments one by one; check spanning tree and storm control
Errors only at 100 Mbit/sA damaged cable pair (works at 10 Mbit/s but not at 100)Replace or certify the cable
Duplex mismatchLate collisions and CRC errors on a port, slow throughputSet both ends to auto-negotiate or to the same fixed setting
PROFINET device flashes a fault, or “name not assigned”Name mismatch, DCP blocked by a switch, IP not assignedAssign the name again; check VLAN and topology
EtherCAT slaves stop at one pointA broken cable or connector, a slave without power, a wrong portThe first slave that does not answer; check the cable before it
A ring does not recoverTwo managers, a disabled port, a wrong protocol on one switchThe ring status on each switch

Related

FAQ

Which is better: EtherNet/IP, PROFINET or EtherCAT?

Whichever your controller supports natively and your key devices offer. EtherNet/IP and PROFINET are general-purpose control networks; EtherCAT is strongest for fast motion and many devices. Gateways can join them, at some cost.

Can I use an office switch for industrial Ethernet?

For a small network with few devices and no real-time need, an unmanaged industrial switch is often enough. An office switch lacks the temperature range, DIN mounting and power redundancy, and an unmanaged one floods multicast. Use managed industrial switches for control networks.

Can EtherNet/IP and PROFINET run on the same network?

Yes: they are different EtherTypes and ports, and many networks carry both. Give them enough bandwidth, keep multicast under control, and put each controller’s devices in the topology that suits it.

What is the difference between RT and IRT?

RT frames get priority but still compete for the wire; typical cycles of 1 ms and up with some jitter. IRT reserves part of every cycle for scheduled real-time data, giving cycles below 1 ms and jitter under 1 µs, but needs IRT-capable switches and engineering.

How many devices can I put in a line?

Each device adds a little delay, and a break cuts off everything beyond it. PROFINET lines of 10 to 20 devices and EtherCAT lines of 100 or more are common; use rings or stars where the risk of a break matters.

Do I need Gigabit?

For field devices, 100 Mbit/s is usually enough. Gigabit helps for controller ports and uplinks, vision systems and large data transfers.

References

  • IEEE 802.3, Ethernet; IEEE 802.1Q, Bridges and Bridged Networks; IEEE 802.1w / 802.1D (spanning tree).
  • ODVA, EtherNet/IP Specification and The CIP Networks Library (odva.org); Rockwell Automation, EtherNet/IP Network Configuration (ENET-UM001).
  • PROFIBUS & PROFINET International, PROFINET Design Guideline and PROFINET Installation Guideline (profibus.com); IEC 61158-6-10.
  • EtherCAT Technology Group, EtherCAT: the Ethernet Fieldbus, ETG.1000 (ethercat.org).
  • IEC 62439, Industrial communication networks: High availability automation networks (MRP, PRP, HSR).

Last reviewed: October 2026. Speeds, lengths, node counts and menu names are typical: confirm against the specification and the manufacturer’s documentation for the devices you use.