Explainer
Why the PLCnext IO-Link library will not run with a third-party master
Short answer
The PLCnext IO-Link library only runs against Phoenix Contact IO-Link master hardware, so no block or setting makes it drive a SICK or ifm master. IEC 61131-9 standardizes the master port to the device, not the fieldbus layout, so each master's own PROFINET cyclic mapping plus its documented acyclic parameter service is the supported route. The library becomes an option only if the project changes to a Phoenix Contact master.
On this page
No — the IO-Link library that ships for PLCnext Engineer runs only against Phoenix Contact IO-Link master hardware, and no block, setting or project change turns it into an adapter for anyone else's master. IEC 61131-9, the standard behind IO-Link, specifies the link from a master port to its device and stops there; how a master lays its data into the PROFINET cycle is each vendor's own design. That boundary decides the whole question: the SICK IOLG2PN-03208R01 or the ifm AL1402 on an AXC F 2152 is driven through its own documented cyclic process-data layout plus its documented acyclic parameter service, and the PLCnext IO-Link library becomes an option only if the project changes to a Phoenix Contact master.
What the IOL_BASIC library is written for #
The blocks in the IOL_BASIC library, IOL_COM among them, are built around the byte layout of Phoenix Contact's IO-Link masters, and the library documentation names Phoenix Contact modules such as the AXL E PN IOL8 DI4 M12 6M as the hardware it is written for. Point IOL_COM at a SICK or ifm master and it will not activate. That refusal is the block's documented hardware boundary doing its job, so stop debugging the block: no execution order, firmware version or wiring trick brings it up behind third-party hardware.
The communication blocks SICK supplies sit on the other side of the same line: they are written for TIA Portal and do not load into PLCnext Engineer. Their value on a PLCnext project is as interface documentation. Read them to learn which cyclic fields and which parameter services the master offers, then implement those accesses yourself against the layout in the SICK manual.
What IEC 61131-9 fixes and what it leaves to each vendor #
IO-Link is standardized as IEC 61131-9. It ends at the master port. Nothing in it defines how a master presents its ports' data to a fieldbus controller, and that gap is exactly where this compatibility problem lives.
Because the fieldbus presentation is not standardized, every master vendor designs it: which PROFINET modules exist, which byte of the cycle carries which field, which record index answers a parameter read. Phoenix Contact's documentation on configuring IO-Link systems for PROFINET makes the consequence explicit: masters from other vendors are supported through the general GSDML mechanisms only. A library therefore cannot be vendor-neutral — it can only encode one vendor's layout, and the PLCnext IO-Link library encodes Phoenix Contact's. Stretching the library over a third-party master is not a configuration task but a design impossibility.
The 256-byte ceiling on the eight-port AXL E PN IOL8 DI4 M12 6M #
The inputs, each with its source: eight IO-Link ports, declared in the master's own product name and cited in the library documentation as example hardware; 32 bytes of process input data per port, the per-port maximum that IO-Link v1.1 defines for each direction. For contrast, a v1.0 device can demand no more than 16 bytes of process input data and 2 bytes of process output data.
The rule in words: the worst-case cyclic device input data on a master equals the number of ports multiplied by the per-port process input data maximum.
The arithmetic: 8 ports × 32 bytes = 256 bytes. With a full set of v1.0 devices the same multiplication gives 8 × 16 bytes = 128 bytes.
The result: the device-data portion of this master's cyclic input area can never exceed 256 bytes, and the same multiplication bounds the output direction. The port-status and diagnostic bytes the master adds on top of device data are its own design and are listed in its documentation.
The decision, with its threshold: when you select the input submodule for the port group in PLCnext Engineer, any module whose device-data portion exceeds 256 bytes is the wrong module — go back to the manual's table. Within the ceiling the exact width is Phoenix Contact's layout, which is precisely what IOL_COM encodes. Run the same multiplication for the SICK IOLG2PN-03208R01 with the port count printed in its manual: ports × 32 bytes still bounds the device data, and the manual's module table, not any library, supplies the widths you actually map.
Map the cyclic data first, then add parameter access #
Order matters: a function block cannot compensate for a wrong module or a port in the wrong mode, so get the cyclic image right before touching parameters.
- Add the master to the PROFINET network in PLCnext Engineer from its GSDML device description, obtained through the manufacturer's official download, and select the modules its manual assigns to the ports you use.
- Set each occupied port to IO-Link operation. A port left in digital input mode keeps flipping its discrete bit while every IO-Link function stays dead — the working digital path proves the PROFINET connection and the I/O mapping, not the port mode.
- Decode the mapped input bytes against the device's process-data description: offsets, widths, byte order, signedness. Keep device bytes separate from the master's port-status bytes so a status change cannot masquerade as a measurement.
- Build outputs as complete command fields rather than independent bytes wherever the device documentation defines a multi-byte command.
- Add parameter access only where the application needs it, through the master's documented acyclic service.
An IODD describes a device's process data and parameters for engineering tools and people; it is not a file the controller consumes, which is why the description cannot simply be plugged in — the details are in Why an IODD file will not plug into a PROFINET IO-Link master.
The acyclic path has its own prerequisites, because record addressing, request structure and response handling are specific to each master; copying record indexes from a Phoenix Contact library block onto a SICK or ifm master fails by construction. The worked procedure is set out in Reading IO-Link ISDU parameters over PROFINET acyclic record data, and the IO-Link ISDU access requires a supported acyclic path page lists what must line up before any record read succeeds.
The same split — a fixed cyclic image plus master-specific parameter services — is what an EtherNet/IP IO-Link master exposes to your PLC on that network, so reading the master's own documentation first is a habit that carries to every fieldbus.
If a parameter write feeds anything you treat as safety-related, the whole function needs validation on the real machine; a successful read or write proves communication and nothing more.
The decision for each case #
- Installed SICK IOLG2PN-03208R01 or ifm AL1402, and the application needs process values and commands, such as driving the DV2130 lamp: keep the master, map its cyclic data from its manual, and retire IOL_COM from the project. No configuration revives the library against that hardware.
- Runtime parameter reads or writes are required: implement the master's documented acyclic service with your own blocks and budget the extra engineering; never reuse Phoenix Contact record addressing.
- The project mandates the PLCnext IO-Link library, its blocks or the community getting-started material as written: change the hardware to a Phoenix Contact IO-Link master such as the AXL E PN IOL8 DI4 M12 6M, because the library has no third-party mode.
- You need the master's parameter or diagnostic interface documented: the SICK blocks for TIA Portal serve as that documentation, even though they never load into PLCnext Engineer.
Questions asked
Does the IO-Link specification define how a master lays out its PROFINET data?
No. IEC 61131-9 specifies the point-to-point link between a master port and its device: cyclic process data, the ISDU parameter service, events and diagnostics. Everything above the master port is the master vendor's own design, so a generic GSDML integration gives the controller plain cyclic bytes and record services with no IO-Link semantics attached. The master's manual is therefore the only usable reference for a third-party device.
Can one PLCnext project run the Phoenix Contact library and a manually mapped third-party master together?
Yes, provided each master sits on the network as its own PROFINET device. The library blocks address Phoenix Contact hardware and its data layout, while the third-party master is configured and decoded from its own manual within the same project. Keep the two data spaces in separate variable groups and label port-status bytes apart from device data, so a decoding mistake on the manually mapped master cannot be misread as a library fault.
What documents do I need before mapping a third-party IO-Link master in PLCnext Engineer?
Three, all through the manufacturers' official download channels: the master's manual with its PROFINET module list, cyclic layout and acyclic service description; the master's GSDML device description matching its firmware generation; and the IODD or equivalent process-data description of every connected device, so byte positions and parameter indexes come from documentation rather than guesswork. Device descriptions from mirror sites are never acceptable.
Will older v1.0 IO-Link devices change the cyclic data size I must map?
They can only lower it. A v1.0 device carries at most 16 bytes of process input data and 2 bytes of process output data per port, well under the v1.1 allowance used in the worked example, so a fully v1.0 set of devices on an eight-port master falls to eight times 16 bytes of device input data. The master's fixed module widths still decide what you actually reserve in the PROFINET project, and those come from its manual.
Is there any way to make IOL_COM activate on a SICK or ifm master?
No. The block checks that the hardware behind it matches the Phoenix Contact layout it encodes, and that check is the documented boundary, not a fault. No parameter, firmware version or project setting changes the outcome. The supported choices are the two routes in this article: map the third-party master from its own documentation, or install a Phoenix Contact IO-Link master and run the library against the hardware it was written for.