Troubleshooting
Why an EL6224 IO-Link sensor is not recognized on ctrlX CORE
Short answer
Your EL6224 is fine on EtherCAT; the sensor is not recognized because ctrlX WORKS does not import IODD files or the Beckhoff-specific mechanisms other tools use. Skip the device repository import and configure the EL6224 by hand: a CoE startup entry for the sensor's port, written on the Pre-Operational to Safe-Operational transition, and a UINT input PDO entry at the matching process data index.
On this page
An EL6224 that scans in on EtherCAT while the sensor behind it stays unrecognized is not a wiring fault and not a bad terminal. ctrlX WORKS currently imports no IODD files and includes none of the Beckhoff-specific mechanisms that let other engineering tools configure IO-Link masters automatically, so the sensor's port is never told to run IO-Link and the device repository rejects the sensor's description. The fix is to configure the EL6224 by hand: one CoE startup entry for the sensor's port, written during the Pre-Operational to Safe-Operational transition, and one UINT input PDO entry at the process data index that belongs to that port. This article gives the index table, the placement arithmetic, the persistence test, and the decision for each way out.
Why the sensor is not recognized #
The EL6224 is a 4-port IO-Link master terminal: up to four IO-Link devices hang off it, one per port, each over a point-to-point connection. A terminal that scans in proves the EtherCAT station and nothing about the ports behind it.
Two description types meet at that failed import. The EtherCAT slave description, the XML the device repository takes, tells the engineering tool how to configure the EL6224 as a bus slave. The sensor's IODD describes the IO-Link device behind that slave: identity, parameters, process data layout. Same file-extension family, different consumers, so the message that the type could not be found is the repository correctly refusing to file a sensor description as an EtherCAT slave description. The same mismatch is behind why an IODD file will not plug into a PROFINET IO-Link master: an IODD speaks to IO-Link tooling, not to an EtherCAT slave store.
The sensor also has no EtherCAT identity of its own, so loading its description anywhere in the repository cannot create bus data for it: its data crosses the EL6224's port, and the port only runs IO-Link once the master's port configuration says so. On the ctrlX WORKS builds current when this setup was reported, neither IODD import nor those Beckhoff-specific mechanisms existed, and the feature was reported as in development with no release date. If a newer release notes IODD support, retest the import; the manual route below works either way.
Rule out the physical path first #
Working EL1008 and EL2002 terminals prove the ctrlX CORE to EK1100 leg and nothing beyond it. Clear the field side before touching port configuration:
- Record which EL6224 port the sensor is plugged into. Every index in this article follows that recorded port; guessing it is how settings land on an empty channel.
- Measure the sensor's supply at its connector under load and check conductor assignments against the wiring diagrams of the terminal and the sensor.
- Confirm the EL6224 scans in with healthy status and leave the working digital terminals' configuration untouched while you diagnose.
- Check the sensor itself — here a SICK DR35-B15522 distance sensor — on a known-good IO-Link master or with its own commissioning tool, so a dead sensor cannot masquerade as a configuration fault.
Proceed when the sensor has its required supply and the recorded port is the port you will configure.
Configure the EL6224 port in the CoE startup list #
The EL6224 gives each port its own parameter block: 0x8000 for port 1, 0x8010 for port 2, 0x8020 for port 3 and 0x8030 for port 4. Add the recorded port's entry to the slave's Startup list as a write on the Pre-Operational to Safe-Operational transition, so the master applies it every time the station comes up, before cyclic data flows. TwinCAT automates exactly this block with integrated IO-Link tooling; the manual route is the same configuration done by hand. The EL6224 documentation lists, per terminal revision, the subindex and value that put a port into IO-Link operation: enter the entry its startup parameter list shows for the recorded port, and no others.
Download the changed configuration only with the machine in a state where a wrong or frozen sensor value cannot start anything, because until the mapping is right the process data can sit at zero or hold stale values.
If the slave stays in Pre-Operational after activation or a startup write is refused, the EtherCAT PREOP guide to troubleshooting CoE and PDO assignment walks those failure modes case by case. Proceed when activation completes and the slave reaches Safe-Operational and Run.
Map a UINT into the input process data #
Each port also has its own input PDO index: 0x1A00 through 0x1A03 for ports 1 through 4. Add one UINT entry to the index of the recorded port and point the entry's content at that port's data object: 0x6000:01 on port 1, and each following port adds 0x10, giving 0x6010:01, 0x6020:01 and 0x6030:01. For a distance sensor the default content is the distance value, so one UINT carries the measurement.
| EL6224 port | Startup block (PreOp to SafeOp) | Input PDO index | PDO content entry |
|---|---|---|---|
| 1 | 0x8000 | 0x1A00 | 0x6000:01 |
| 2 | 0x8010 | 0x1A01 | 0x6010:01 |
| 3 | 0x8020 | 0x1A02 | 0x6020:01 |
| 4 | 0x8030 | 0x1A03 | 0x6030:01 |
A device that reports more than one data point, an RFID head for example, does not fit a single UINT: size its mapping from its own process data layout and add the entries it needs. If the mapping tree looks strange in the editor, the display is usually the culprit — why ctrlX I/O Engineering shows bits instead of byte mapping nodes covers that case. An entry on screen is not yet a setting; the next section is the test.
Example: placing port 3's distance word in the process image #
Assume the sensor sits on port 3 and all four ports are mapped, one UINT each. A UINT is 16 bits, so each port contributes 2 bytes, and the EL6224 input image is 4 ports x 2 bytes = 8 bytes. The input image concatenates the PDO entries in index order: port 1 takes bytes 0 to 1, port 2 bytes 2 to 3, port 3 bytes 4 to 5 and port 4 bytes 6 to 7. The distance word therefore starts at (3 - 1) x 2 = byte offset 4.
Verify by moving the target and reading the UINT at offset 4: a word that tracks the distance proves the port runs IO-Link and the content entry points at the right object, while a constant value on a moving target means the port never started, sending you back to the startup entry. If you map only occupied ports, recompute the same way: total image size is 2 bytes x the number of mapped UINT entries, and the word starts at 2 x its position in the mapping, counted from zero.
Prove the settings persist #
The vanishing-edits symptom — values entered under process data gone after switching tabs — is the tool discarding an uncommitted entry, not EtherCAT rejecting it. The test: complete the startup entry and the PDO entry, activate and download the configuration, reopen both tabs and confirm the entries are still there, then read live process data. An entry that survives a tab switch and a download is a commissioned setting; an entry that disappears every time means this build will not hold manual mappings, so stop re-entering it and take another route, because re-typing the same values cannot fix persistence. Proceed when the entries survive activation and the live word tracks the sensor.
Choose between the remaining routes #
The manual route delivers process data now and gives no parameter access: startup and PDO entries carry cyclic data only, and the acyclic IO-Link mechanisms are the layer the ctrlX tooling does not yet include, so teaching and parameter changes stay off the bus on this route.
- Measurement is all you need: take the same sensor family with an analog or switching output onto standard input terminals; the description problem disappears and IO-Link diagnostics go with it.
- Parameters or teaching over the bus are required: pick a master with a published ctrlX CORE integration and keep the wiring pattern from route an IO-Link master to a ctrlX CORE over EtherCAT, or evaluate CODESYS IO-Link SL, documented as compatible with the EL6224, with its target support limits on a ctrlX CORE set out in CODESYS IO-Link SL target support limits on ctrlX CORE; confirm its licensing and target support for your setup before adopting it.
- The EL6224 itself is missing from the scan: fix the station first, because everything in this article starts from a terminal that scans in healthy.
Decision: EL6224 visible, sensor not recognized, import errors — enter the startup entry and the UINT mapping from the table and run on the manual route. Parameter work over the bus required — change masters or tooling. Only the measurement needed — leave IO-Link entirely.
Questions asked
Will this get easier once ctrlX WORKS supports IODD import?
Yes, and nothing you did becomes wrong. IODD support plus the master mechanisms would let the tool write the port configuration and process data mapping from the device description, making the hand-entered startup and PDO entries redundant. Until such a release ships, the manual entries are the working path; afterwards you can delete them and configure from the description instead. The stated status for the feature was work in progress, with no release date.
Can I teach or parameterize the sensor over the bus with this configuration?
No. Startup entries and PDO mapping carry cyclic process data only. Parameter access travels acyclically through the master's IO-Link mechanisms, which is precisely the layer ctrlX WORKS does not yet include for these terminals. Set parameters with the sensor's onboard controls or its own commissioning tool, or move to a master with a published ctrlX CORE integration if parameter work over the bus is a requirement.
The EL6224 itself does not appear in the bus scan — same problem?
No, and this article's fix does not apply yet. An invisible terminal is a station-level fault: supply to the coupler, E-Bus contacts between terminals, terminal order, or a damaged terminal. Get the terminal scanning in and healthy first; only then do the port configuration, the description question and the process data mapping in this article become relevant.
Why does my distance value look wrong when I watch the raw bytes?
EtherCAT moves process data little-endian, so a UINT lands low byte first. A reading of 3500 (hex 0x0DAC) sits as AC 0D at that word's offset; a variable typed as UINT at the correct offset shows 3500. If you assemble the bytes yourself in high-byte-first order you get 44045 instead, so map the word as a UINT at the computed offset and let the type handle the byte order.