IO-Link is a short-distance, bidirectional, digital, point-to-point link between one master port and exactly one device, standardised as IEC 61131-9 and maintained by PROFIBUS and PROFINET International. Because the topology has no shared medium, there is no addressing, no bus arbitration and no baud-rate negotiation between devices: the master port is configured deliberately, and the device obeys. Almost every "IO-Link problem" reported on a running machine is therefore a port configuration or a parameter-storage problem, not a network problem, which is why a competent technician fixes them in minutes while a fieldbus mindset keeps looking for the wrong fault.

This guide covers the parts that actually decide whether a port comes up: the three transmission rates, the cycle-time budget, the cable limit, port class A versus B, and the data storage behaviour that makes a sensor swap painless or catastrophic.

An IO-Link system is a master plus one or more devices. The master is the interface to the higher-level controller - a PLC over PROFINET, EtherNet/IP, EtherCAT or a simpler fieldbus - and each master port talks to one device only. A port can also host a hub that concentrates conventional switching sensors, but the hub is still a single IO-Link device on that port.

The standard defines four data types on the link: process data, value status, device data and event data. Process data is the cyclic payload the PLC actually uses; everything else exists to make that payload trustworthy - a value status bit tells the PLC whether the process value is valid, device data carries parameters, and events carry diagnostics.

Three practical consequences follow, and each of them breaks a habit carried over from fieldbus work:

  • There is no device address to set. The physical port is the address. Moving a device to another port means re-addressing it in the PLC, not on the device.
  • Devices are not hot-swap identical until the master writes parameters. A replacement sensor of the same type comes up with factory defaults, and its measuring range, switching points or filter settings may not match the one it replaced.
  • A port failure is isolated. One dead device costs one port. This is the main engineering reason to prefer IO-Link over an analogue 4-20 mA channel: an analogue channel that drifts cannot tell you it drifted, while IO-Link carries the value status with the value.

The three baud rates and the 400 microsecond floor

IO-Link runs at one of three fixed transmission rates, selected per port by the master:

Diagram of an IO-Link master with four ports: port one a photo sensor at COM2 with a 2 millisecond cycle, port two a pressure switch at COM2 with 3 milliseconds, port three a class B valve at COM3 set to 1 millisecond which is below its 2.4 millisecond minimum and flagged as an error, port four an IO hub at COM1 with 5 milliseconds, alongside notes on the 400 microsecond transmission floor and the 20 metre cable limit
Figure 1: Port 3 is configured below its device minimum. The port still reports data; what it does not report is that it is retrying.

RateBit rateTypical usePractical consequence
COM14.8 kbaudLong cable, electrically noisy cabinetsSlowest cycle, most tolerant
COM238.4 kbaudDefault for most digital sensorsBalanced
COM3230.4 kbaudFast sensors, short cycle requirements400 µs minimum transmission time

The 230.4 kbaud rate has a minimum transmission time of 400 microseconds, which is the physical floor of the link - not the cycle time of your application. The configured cycle time is always longer, because it must also accommodate the master's processing and the device's response time, and the device datasheet states the minimum cycle time it can support. A common commissioning mistake is to set a 1 ms cycle on a device whose minimum is 2.4 ms: the master accepts the setting, the port reports data, and the diagnostics quietly show retries.

Choose the rate from the device's minimum cycle time and the cable length, not from ambition:

Port cycle budget (per port, not per master)
  = master processing
  + device minimum cycle time (datasheet)
  + margin for retries on a noisy segment

If a device reports a minimum cycle time of 2 ms at COM3, setting 2 ms leaves zero margin for a single retry and produces intermittent events under load. Set 3 to 4 ms and the port becomes boring, which is what a production port should be.

Port classes, connectors and the 20 metre limit

Cabling is unshielded, three or five conductor, and not longer than 20 metres. The connector is standardised - M5, M8 or M12 depending on port class - and the pin assignment follows IEC 60947-5-2.

Port classConnectorPinsExtra conductorWhen to use
Class AM5, M8 or M12Up to 4NoneStandard sensors and actuators
Class BM12 only5Additional supply for high-current devicesValves, actuators, devices needing galvanically separated auxiliary power

Class B exists because a device may need more current than a class A port can deliver, or may need its auxiliary supply separated from the communication supply so that switching a valve does not disturb the link. Using a class B device on a class A port is not a configuration error that the master can always detect; it simply fails, often intermittently, under load.

The 20 metre limit is not conservative marketing. The link is unshielded by design, so the limit is an EMC claim: within 20 metres in an industrial cabinet the signal survives the switching noise the standard assumes. Running 35 metres "because it works on the bench" produces a port that fails when a neighbouring VFD starts. If the distance is longer, put the master closer and run the fieldbus or industrial Ethernet the longer distance instead - those are shielded and designed for it.

IODD, parameter data and the data storage mechanism

Every device type is described by an IODD - an IO Device Description in XML - which the engineering tool uses to present parameters with names, ranges and units instead of raw indices. The IODD is not installed on the device; it lives in the engineering tool and the master. A device that is not in the IODD catalogue can still be used, but commissioning it means writing raw parameter indices by hand, which is where transcription errors enter.

Data storage is the mechanism that makes a sensor swap safe. When enabled, the master keeps a copy of the device's parameters. On replacement, the master detects a device with the same identity but factory-default parameters and writes the stored set back, so the sensor behaves like the one it replaced. Two conditions break it:

  1. The replacement is a different order code. The master compares the device identity; a functionally similar but differently ordered sensor will not receive the stored parameters, and the port comes up in a default state.
  2. Data storage was disabled on the port. Many masters ship with it configurable per port. If it was disabled during initial commissioning "to avoid surprises", the first sensor failure after two years will produce a machine that runs with the wrong measuring range.

Enable data storage at commissioning, verify it by pulling one sensor and watching the port log, and record the order codes in the maintenance documentation. That single test at commissioning is worth more than any spare part stocked later.

Commissioning sequence that survives a device swap

A repeatable sequence, in order, for each port:

  1. Confirm the device's minimum cycle time from its datasheet, then set the port cycle time at least one millisecond above it.
  2. Set the transmission rate to the lowest rate that satisfies the cycle requirement - COM2 unless there is a reason.
  3. Load the correct IODD in the engineering tool and check that the parameter names resolve, not just the indices.
  4. Write parameters, then read them back from the device rather than trusting the tool's cache.
  5. Enable data storage on the port and verify it by swapping one device while the master is live.
  6. Map the value status bit into the PLC alongside the process value, and alarm on it - a value without its status is an analogue channel with extra steps.
  7. Record order codes, cycle time, rate and parameter set in the machine documentation.

Step 6 is the one most often skipped, and it defeats the main advantage of the standard. If the PLC ignores value status, an invalid process value enters a calculation or a trend and the plant cannot tell whether a number was measured or invented. IO-Link gives you the flag for free; not wiring it is a choice to lose it.

Setting expectations prevents architecture mistakes:

  • It does not replace safety functions. Safety over IO-Link exists through a separate certified mechanism, and a standard port carries no safety integrity claim. Interlocks belong on safety-rated hardware, not on a standard port.
  • It does not span long distances. Twenty metres is the documented limit; it is a cabinet-and-machine link, not a plant backbone.
  • It does not offer determinism comparable to a motion bus. Cycle time is per port and configured, but nothing in the standard claims the jitter behaviour of EtherCAT for closing a fast loop.
  • It does not eliminate engineering. The IODD makes parameters visible, not correct. Choosing the switching point, the filter constant and the measuring range is still an instrument engineering task.

Used for what it is - a short, single-device, diagnostic-rich link at the sensor level - IO-Link removes an entire class of analogue troubleshooting. Used as a fieldbus replacement, it produces a master with thirty ports that all need individual engineering and a technician who cannot find the fault because they are still looking for the bus.

For the layer above, see EtherNet/IP and CIP networking and the industrial edge gateway selection guide. For the analogue signal it replaces, see HART on a 4-20 mA loop and Pt100 lead resistance.