The short answer
EtherNet/IP
EtherNet/IP carries the Common Industrial Protocol (CIP) over standard Ethernet and TCP/IP. It has two kinds of traffic: implicit I/O connections, where a controller and a device exchange data continuously on a fixed schedule called the requested packet interval, and explicit messages, where a request is sent and a reply comes back. The switches, the addressing, and the connection budget of the controller all have to be designed for it, because a missed packet interval is a lost connection and a lost connection is faulted I/O.
Key points
- Implicit connections are scheduled, UDP-based, and time-critical; explicit messages are on-demand and TCP-based.
- The requested packet interval sets how often data is exchanged, and the connection times out after a few missed intervals.
- Every I/O connection consumes a connection from a finite budget in the controller and in the communication module.
- Multicast implicit traffic needs switches that manage it, or it floods every port.
- Produced and consumed tags exchange data between controllers with the same mechanism, and the same limits.
What it is
EtherNet/IP is an open protocol managed by ODVA, and the IP stands for Industrial Protocol, not Internet Protocol. It puts CIP, the same object model used by DeviceNet and ControlNet, on top of ordinary Ethernet, TCP, and UDP. Standard switches carry it, standard cable carries it, and a laptop with a packet capture tool can read it. That accessibility is its main advantage and, from a security point of view, its main problem.
Two kinds of traffic
- Implicit, or I/O, messaging
- A connection is opened between a controller and a device, a remote I/O adapter, a drive, a valve manifold, and both sides then send their data at a fixed interval without being asked. It runs over UDP, it is scheduled, and it is what the controller uses to read inputs and write outputs. The connection is a Class 1 connection in CIP terms.
- Explicit messaging
- A request and a response: read a parameter from a drive, write a setpoint to another controller, fetch a device identity. It runs over TCP, it is unscheduled, and it is used for configuration, diagnostics, and data that does not need to arrive every few milliseconds. A message instruction in the program is an explicit message.
The requested packet interval
Every implicit connection has a requested packet interval, the RPI, which is how often the two sides exchange data. Two milliseconds for a fast drive, twenty for a remote rack of discrete I/O, a hundred or more for something slow. The connection has a timeout of a small multiple of the RPI, and if that many packets are missed the connection drops: the device goes to its fault state and the controller sees a connection fault. A network that delays packets by tens of milliseconds, from a congested switch or a wireless hop, drops connections that the same network would happily carry as explicit messages.
The RPI is also a load. A rack at 10 ms produces a hundred packets a second in each direction, and a controller with forty such connections is handling thousands of packets a second in its communication module. Setting every RPI to the fastest value available is how a network that should have been quiet becomes one that drops connections.
Connections are a budget
A controller supports a stated number of CIP connections, and so does each communication module, and each implicit connection uses one or more of them. Remote racks, drives, HMIs, message instructions, produced and consumed tags, and every SCADA server polling the controller all draw from the same pool. A system that works with three devices and fails when the fourth is added has usually run out of connections, and the symptom is a device that will not connect rather than an error that says why. The controller diagnostics show the count in use.
Unicast, multicast, and the switch
Implicit connections can be unicast, from the producer to one consumer, or multicast, where the producer sends once and every interested consumer receives it. Multicast is efficient when several controllers consume the same data and troublesome otherwise, because a switch that does not manage multicast forwards it to every port, and every device on the network then receives every I/O packet. Managed switches with IGMP snooping and a querier confine the multicast to the ports that asked for it. Newer devices default to unicast, which sidesteps the problem for most installations.
| Requirement | Why | What goes wrong without it |
|---|---|---|
| Managed switches | IGMP snooping, port diagnostics, VLANs | Multicast floods and no visibility |
| Full duplex, fixed or correctly negotiated | Collisions delay scheduled packets | Duplex mismatch drops connections intermittently |
| Segmentation from IT traffic | A backup or a broadcast storm delays I/O | Connections drop during office network events |
| Static addressing or reserved DHCP | A device that changes address is a lost device | I/O faults after a power cycle |
| Cable and connectors rated for the environment | Vibration and moisture | Intermittent link, intermittent I/O |
Produced and consumed tags
Controllers exchange data with each other by the same implicit mechanism: one controller produces a tag, another consumes it, on an RPI. It is the cleanest way to share a few dozen values between controllers and it carries the same connection and timeout behavior as I/O. The consumed data arrives with a connection status the program should check, because a consumed tag from a controller that has gone off line holds its last value and looks perfectly healthy.
Security
Base EtherNet/IP has no authentication and no encryption. Anything that can reach the controller on the network can read tags, write tags, and change the mode. CIP Security adds certificates and encryption on devices that support it, and the practical protections for everything else are network segmentation, firewalls that permit only the specific conversations, and the keyswitch. The cybersecurity section covers the architecture.
Frequently asked questions
- What is the difference between implicit and explicit messaging?
- Implicit messaging is a scheduled, continuous exchange of I/O data on a connection with a fixed interval; it is how a controller reads and writes a remote device. Explicit messaging is a request and a reply, used for parameters, diagnostics, and occasional data.
- What RPI should I use?
- The slowest the process tolerates. A few milliseconds for motion and fast drives, ten to twenty for discrete I/O in a machine, fifty to a hundred or more for a slow process. Faster RPIs load the controller and the network for no benefit.
- Why does a device connect on the bench and not in the plant?
- Usually the network: a duplex mismatch, unmanaged multicast, an address conflict, or a switch that delays scheduled packets long enough to time out the connection. Occasionally the controller is out of connections.
- Do I need managed switches?
- For any network with implicit I/O on it, yes. Managed switches provide IGMP snooping for multicast, port diagnostics for troubleshooting, and VLANs for segmentation. Unmanaged switches work until the first multicast device or the first problem.
Related topics
- Modbus TCPModbus over Ethernet: what the MBAP header changes, why the CRC disappears, how the unit identifier works, and what does not get easier just because it is on Ethernet.
- Remote I/OExtending controller I/O to another panel or another site over a network: the adapter and the rack, the update rate and what it costs, what the outputs do when the link fails, the difference between remote I/O and a remote controller, and the wiring, addressing, and diagnostics that make it dependable.
- Ethernet Device Drops OfflineAn industrial Ethernet device that disappears and comes back. Duplex mismatch, cabling, spanning tree, and the switch counters that identify it in minutes.
- The Purdue ModelThe reference architecture most segmentation designs still start from: what each level contains, where the DMZ goes, and how it maps to a water utility.
- PLC ArchitectureHow a programmable logic controller is physically organized: the chassis, backplane, processor, I/O modules, remote racks, and what those choices mean for wiring, expansion, and failure.
- Modbus RTUSerial Modbus over RS-485: function codes, register addressing, the off-by-one that catches everyone, and the physical layer details that decide whether a bus is stable.
Direct contact
Have a controls question?
Reach Eric Sullivan directly about anything on this site, a controls or automation topic, or one of his personal projects.