What IO-Link is
IO-Link is a point-to-point connection between one sensor or actuator and one port of an IO-Link master. It is standardised as IEC 61131-9. It is not a fieldbus: each device has its own cable and its own port, and the master is what sits on PROFINET, EtherNet/IP, EtherCAT or another network.
The trick is that IO-Link uses the same three wires as a normal sensor. On an M12 connector, pin 1 is +24 V, pin 3 is 0 V and pin 4 is the switching and communication line, called C/Q. When the port runs in IO-Link mode, pin 4 carries a serial data stream. When it does not, the same device can behave as a plain switching sensor on pin 4. The specification calls that SIO mode (standard I/O).
Master and device
- IO-Link master: a module with several IO-Link ports, usually four or eight, and a fieldbus or Ethernet interface toward the PLC. Each port can be set to IO-Link, digital input (DI), digital output (DQ) or deactivated.
- IO-Link device: anything that plugs into a port and talks IO-Link. That includes sensors, valve terminals, signal lamps, and I/O hubs that collect ordinary switching signals.
Balluff's network modules carry the protocol in the type code. Their documentation lists the BNI PNT-508-105-Z015 as a PROFINET IO-Link master and the BNI EIP-508-105-Z015 as an EtherNet/IP one. A hub like the BNI IOL-104-000-K006 is a device, and it needs one of those masters (from Balluff or any other maker) to do anything.
The cable: standard M12, unshielded
A device connects to the master with an unshielded 3- or 5-wire cable, at most 20 m long, with conductors of at least 0.34 mm². No shielding and no special routing rules. Sensors usually have a 4-pin M12 plug, masters a 5-pin M12 socket, so the everyday sensor cable you already stock is the IO-Link cable.
Port class A and port class B
The standard defines two kinds of master port for M12:
| Port class A | Port class B | |
|---|---|---|
| Pins 1, 3, 4 | +24 V, 0 V, C/Q | +24 V, 0 V, C/Q |
| Pin 2 | Defined by the maker, usually an extra digital channel | Additional supply voltage |
| Pin 5 | Defined by the maker | 0 V of the additional supply |
| Cable | 3, 4 or 5 wires | 5 wires needed for the extra supply |
| Typical use | Sensors, hubs | Valve terminals, actuators with higher power demand |
On class B the second supply is galvanically isolated from the first, so the power for an actuator can be switched separately from the communication. A class B device needs a class B port, so check the master's port type before you plug one in.
Speed and versions
IO-Link has three transmission rates: COM1 at 4.8 kbaud, COM2 at 38.4 kbaud and COM3 at 230.4 kbaud. The device has one fixed rate; a master to specification V1.1 supports all three and adapts on its own.
Version 1.1 added data storage: the master keeps a copy of the device's parameters and writes them into a replacement device automatically. V1.0 devices run on V1.1 masters, but a V1.1 device will not run on a V1.0 master.
Every device comes with an IODD, an XML description file listing its parameters and process data. The IO-Link Community runs a central library of them at IODDfinder.
What you gain
- Values instead of thresholds. A pressure or distance sensor sends the measured number, digitally, instead of an analog signal that picks up noise on its way to an analog card.
- Parameters from the PLC. Switching points, NO/NC and filter times are written by the master. Nobody has to press teach buttons on a sensor behind a guard.
- Fast replacement. With V1.1 data storage, a maintenance technician swaps the sensor and the master restores its settings.
- Diagnostics. A device reports a dirty lens, a short circuit or overtemperature as an event, with the port it is on.
- Fewer cables to the cabinet. One master in the field replaces a bundle of single wires, and hubs take that further.
The cost is configuration: the master needs its fieldbus description file (for PROFINET a GSD file) in the PLC project, and each port needs setting up.
IO-Link hubs: the Balluff BNI IOL-104-000-K006
A sensor hub is an IO-Link device that gathers plain switching signals. We have 16 of the Balluff BNI IOL-104-000-K006 (order code BNI0006). According to Balluff's datasheet:
- One M12 4-pin A-coded male connector goes to an IO-Link master port.
- Eight M12 5-pin A-coded female ports take ordinary sensors, with pin 4 as input 1 and pin 2 as input 2 on each, for 16 digital inputs in total.
- The inputs are PNP, IEC 61131-2 Type 2.
- IO-Link 1.0 at COM2 (38.4 kbaud), minimum cycle time 3.0 ms.
- Operating voltage 18 to 30.2 V DC, IP67 when the connectors are screwed in.
In practice that means sixteen PNP proximity switches or reed switches around a fixture reach the PLC through one cable and one master port. Because it is a V1.0 device it runs on any current master. It is an input-only hub with no configurable outputs. A Y-splitter brings two single-output sensors onto one port.
Which of our Balluff parts are IO-Link
We checked the Balluff parts on our shelf against Balluff's own documents before writing this, and the BNI0006 hub is the one we can call an IO-Link device. The BAE SA-OH-035-PP-S75G amplifier has plain PNP switching and error outputs. The BIS parts belong to Balluff's RFID system (read/write heads, processors, data carriers), and the BTL6-E500 Micropulse transducer has a 4 to 20 mA analog output. For the BSP005Y pressure sensor we found no datasheet to confirm its interface, so we make no claim either way; ask and we will read its label for you. We have no IO-Link master in stock at the moment.
Sensors with a plain PNP output still work on an IO-Link master port set to DI, so a mixed machine is no problem. The wiring for those is in PNP vs NPN sensors.
Need the hub, or want to know whether a part from an old machine is IO-Link? Send us the type code and we will look it up.
