Troubleshooting
Why an IODD file will not plug into a PROFINET IO-Link master
Short answer
Nothing is wrong with the IODD. PROFINET never consumes it as a pluggable module: the master's GSDML defines every module under Plug Device, and the IODD only describes the sensor on the IO-Link side. Configure the master's port modules or its webserver communication table, map the cyclic bytes in the PLC, and keep the IODD for parameter work.
On this page
The IODD is not broken and PROFINET is not missing a feature. An IODD describes one IO-Link sensor; PROFINET engineering reads descriptions of PROFINET devices, and the only PROFINET device in the cabinet is the master, described by its GSDML. Plug Device therefore shows the master's modules and nothing else. When an EtherCAT IO-Link master displays the sensor as a pluggable node, that comes from a bridge on that engineering path, support that generates a device from the IODD below a master it recognizes, not from anything the IODD itself does. Under PROFINET you configure the master's port modules, or the communication table in the master's webserver, and map the cyclic bytes in the PLC.
Two description files, two layers #
IO-Link is standardized as IEC 61131-9: point-to-point communication between a sensor or actuator and one port of a master. The master terminates IO-Link below and PROFINET above, so the sensor is never a PROFINET device and its description file is never a PROFINET object. Each layer carries its own description:
| File | What it describes | Which tool reads it | What it gives you |
|---|---|---|---|
| GSDML | The IO-Link master and the modules it exposes to the controller | The PROFINET engineering tool; in TIA Portal the master's GSDML builds the menu you configure the master from | Device-tree entry, module slots, cyclic I/O image |
| IODD | One IO-Link sensor or actuator on one port | IO-Link parameter tools, and engineering packages for masters they support | Parameter names and indices, process-data layout, units, diagnostics |
In the file-type hierarchy, the IODD is to IO-Link what the EDS is to EtherNet/IP and the GSDML is to PROFINET. Take the IODD from the sensor vendor or the IODDfinder registry; take the GSDML from the master vendor. No tool on one layer reads the other layer's file.
Fixes that cannot work #
- Re-importing the IODD into the device repository. A clean import proves the repository accepted the file. It adds zero PROFINET modules.
- Searching Plug Device for the sensor. That dialog lists modules valid under the PROFINET device. An entry under the repository's IO-Link branch is not one of them.
- Updating the master's GSDML to add the sensor. A newer master description can add or correct master modules. It cannot turn an IODD into one.
- Expecting the licence to switch scanning on. The IO-Link SL licence enables the package's functions for masters that expose them; it cannot add an integration interface the master's own description does not offer.
- Copying the EtherCAT workflow. The EtherCAT master path generates a sensor node from the IODD. A PROFINET master may expose only cyclic byte modules plus webserver configuration, and that is a supported design, not a fault.
Where the IODD does its real work #
The IODD's job is interpretation and parameterization of the sensor: parameter names, indices, units, scaling and diagnostic codes. In CODESYS, the IO-Link package's path is to import the IODD and generate an IO-Link device that is inserted below a supported IO-Link master object; that generated node is the bridge the EtherCAT master in your test had. Whether a specific PROFINET master gets the same bridge is decided by the package's supported-master list, not by the IODD.
Three milestones are routinely confused here: the IODD importing cleanly, the licence being active, and the master coming online on PROFINET. Each proves itself only; none of them proves the master exposes IODD integration or a device scan on the PROFINET path.
How the sensor data reaches the PLC #
The master's GSDML module list is where cyclic data enters the controller. Depending on the master family, you will find port-oriented IO-Link modules, configurable process-data modules, or generic input and output byte modules; masters configured from a webserver instead expose a communication table you define there and the controller reads back as cyclic data. The workflow in either case:
- Pick the module or table row for the physical port each sensor occupies, with the direction and status bytes the master documents.
- Record byte offset, width and direction per port, and map them to controller variables with the port number in the tag name.
- Do parameter work where the IODD is actually consumed: the master's webserver or own tool, or the package's device view for supported masters.
Parameter access rides through the master the same way the cyclic data does. Over PROFINET, ISDU reads and writes travel as acyclic record data, the pattern covered in reading IO-Link ISDU parameters over PROFINET acyclic record data. The EtherCAT equivalent goes over AoE, as in reading IO-Link parameters over EtherCAT AoE from a ctrlX PLC, and on the EtherNet/IP side what an EtherNet/IP IO-Link master exposes to your PLC is likewise port data behind the master, not sensor objects.
Worked example: E+H and Sick sensors on a TBEN-S2-4IOL over PROFINET #
Inputs, from the reported bench configuration. CODESYS V3.5 SP19 running on an Exor Exware700Q, PROFINET on Eth1. A Turck TBEN-S2-4IOL at version 3.5.9.0, added under the PROFINET controller and online. Two IO-Link sensors, an E+H pressure sensor and a Sick temperature sensor, with both IODDs imported into the device repository and visible under the IO-Link branch. The CODESYS IO-Link package installed and the IO-Link SL licence active on a dongle.
Rule. PROFINET modules come from the master's GSDML only; an IODD creates PROFINET modules at a rate of zero per file. Every sensor that must appear in the controller image travels through a port assignment on the master.
Arithmetic.
- IODDs imported: 2 (E+H pressure, Sick temperature).
- PROFINET modules those imports create: 2 × 0 = 0.
- Sensors needing cyclic data: 2, at 1 IO-Link port each = 2 port assignments, meaning two port modules from the master's catalogue or two rows of the webserver communication table.
- Byte width per sensor: defined in each IODD's process-data layout, at the offset the master's documentation assigns to that port; both values are looked up, not assumed.
Result. The repository holds 2 valid IODDs, Plug Device gains 0 sensor modules, and the two sensors enter the controller image only through the master's port configuration.
Decision. Configure the two ports through the path this master actually provides, port modules in the GSDML-derived catalogue or the webserver communication table, map the cyclic bytes to labelled variables, and do parameter work with the IODD in a tool that consumes it. Re-importing the IODDs changes nothing: 2 files × 0 modules per file = 0. If a master exposes neither port modules nor a communication table, its IO-Link ports cannot be mapped at all, and that is the point to change masters rather than keep trying imports.
Prove the chain, not just the green master #
- After download, the controller reports the configured modules with no module mismatch.
- The master's port indication shows IO-Link communication on each occupied port, not a fallback digital-input state.
- Apply a known physical change at each sensor, vent the pressure sensor, warm the temperature sensor, and watch the mapped bytes move in the expected direction and roughly the expected magnitude.
- Prove one scaled value against the sensor's local readout or a reference gauge before trusting the conversion.
- Read one parameter through the supported path and confirm that index, value and unit round-trip.
Until the byte map is proven against each IODD's process-data layout, any limit, alarm or interlock derived from those bytes is unproven too.
Questions asked
Does PROFINET support IO-Link sensors at all?
Yes, through the master. IO-Link is the IEC 61131-9 point-to-point link between a sensor and a master port, and the master is the PROFINET device that carries the values upward in its cyclic modules. The PLC never sees a sensor object, only bytes. Note that a port with no IO-Link device falls back to switching digital-input behaviour, so a port can look alive in the module image while carrying no sensor data at all.
Why does the same IODD plug in under an EtherCAT master?
Because that path ships the bridge the PROFINET path lacks: the IO-Link support generates a device from the IODD and inserts it below a master it recognizes, so the sensor appears in the plug-in dialog. A PROFINET master that exposes only GSDML modules gives the same valid file nowhere to attach. Settle it in one step by opening the package's supported-master list; if the master is absent there, no number of imports will make the sensor appear.
Can I leave the IODD out and just map raw bytes?
For cyclic data, yes, because the controller only needs the bytes the master exposes. For anything beyond that, no: parameter names, units, scaling and diagnostic codes live in the IODD. A working byte array with no documented layout is a recovery method, not a maintainable configuration; six months on, nobody will know what the third byte of a port means without it.
How do I scale the cyclic value inside the PLC?
Two documents, two jobs. The IODD's process-data layout defines how many bits the measurement occupies, whether it is signed, and the resolution per count; the master's documentation defines which bytes of which module carry that port's data. Map the bytes per the master, convert per the IODD, then prove one point against a known applied value or the sensor's local readout before trusting the scaling.
Is this a reason to change the IO-Link master?
Only if you need what the current path cannot give. If cyclic values plus webserver or port-module configuration are enough, keep the master and map the ports. If your maintenance workflow depends on sensor nodes and parameter screens inside the engineering tool, choose a master that appears on the IO-Link package's supported list, or one whose own tool consumes the IODD directly. Decide from the supported list, not from the plug-in dialog.