IMDHMIControls LibraryShop main store

Troubleshooting

Why EtherCAT analog I/O fails after an ESI update

Industrial networks Published 6 min read By IMDHMI controls team

Short answer

An ESI file only describes a module to the engineering tool; it never updates the EtherCAT Master runtime, so mixing description versions cannot fix a coupler that fails its state transition. Enable Slaves have to reach master state, read the first failing slave in Bus Diagnosis, then update the whole software set: the reported installation, running ctrlX Works 1.12.10 with EtherCAT Master App 1.12.3 and ESI 1.12.0, operated only after the update to release 1.20.

On this page
  1. What an ESI file changes and what it does not
  2. Why mixed ESI versions look like progress
  3. The state transition that actually fails
  4. Capture the failure in Bus Diagnosis
  5. Match the symptom to its cause
  6. Update the whole software set
  7. Prove the bus before trusting the values
  8. Questions asked

If your bus coupler stops working the moment you import the newest ESI files, the device descriptions are the messenger, not the fault. An ESI file tells the engineering tool what a module is; it never updates the EtherCAT Master that has to initialize the physical device, so no mix of older and newer description files can repair a coupler that fails its state transition. For the reported installation — ctrlX Works 1.12.10, EtherCAT Master App 1.12.3, ESI files 1.12.0 — the only remedy that worked was updating the software set to release 1.20. The steps below show how to confirm that diagnosis on your machine, capture it properly, and update once instead of iterating on files.

What an ESI file changes and what it does not #

An EtherCAT Slave Information file is an XML description of a device family: vendor and product identity, revision numbers, mailbox and sync manager parameters, and the process data layouts the module can offer. The engineering tool reads it to configure the device and to generate the initialization sequence. Without it the tool cannot even name the module — that is the separate failure covered in why EtherCAT analog inputs are unknown without ESI device description files. A successful import proves only that the description registered with the tool. The master application still has to write initialization data into the real hardware and accept its state transitions, and if the installed runtime cannot handle what the new description selects, the import makes things worse, not better.

Why mixed ESI versions look like progress #

An older description often carries a simpler identity or a smaller process data set, and an old runtime may happen to support exactly that, so a few analog modules come up and it feels like progress. It is coincidence, not compatibility: the thermocouple configuration keeps failing because its initialization crosses the same unsupported path. A mixed set also destroys auditability — later, nobody can tell which file each configured entry resolved to, and a re-import can silently change the answer. The moment one combination boots half the assembly and no combination boots all of it, you are looking at a runtime between releases, and further file experiments cannot close that gap.

The state transition that actually fails #

The EtherCAT state machine, defined in the ETG specification (ETG.1000), walks every slave through INIT, PREOP, SAFEOP and OP. Cyclic process data exchange runs only in OP; in SAFEOP inputs are valid but outputs remain disabled, and below SAFEOP there is no process data at all. The master requests a state and each slave reports the one it actually reached. A coupler that is visible on the bus but parked in PREOP delivers nothing, and from the PLC that looks exactly like dead analog I/O — the fault is communication, not scaling. When the diagnostic shows a slave halted between the first two operational states, why an EtherCAT I/O slave fails the PREOP to SAFEOP transition covers that step in detail.

Capture the failure in Bus Diagnosis #

  1. Record the installed versions before anything changes: the engineering package (for example ctrlX Works), the EtherCAT Master App, the ESI package and the controller software. Keep them attached to the diagnostic capture.
  2. Walk the physical assembly in order and compare each module's identity and revision with the configured entries.
  3. Enable Slaves have to reach master state in the master configuration. The setting turns the requested state into an explicit requirement during the run; it exposes a mismatch, it does not repair one.
  4. Start the master, open Bus Diagnosis, and identify the first slave in bus order that has not reached the requested state.
  5. Save the complete message — requested state, actual state, reported error, affected device. Failures further down the bus are usually consequences of that first one.
  6. Only if discovery itself is unstable, with devices appearing and vanishing between attempts, check coupler power, module seating and the EtherCAT connections first. Stable identities plus a repeatable transition failure point at configuration and release compatibility, which is the case the update below fixes.

Match the symptom to its cause #

The table routes the four symptoms this fault produces; the right-hand column is the next action.

What you observe What it usually means What to do next
Coupler fails right after an ESI change The description selects identity, revision or init data the installed runtime rejects Capture Bus Diagnosis, first failing slave
Some analog modules run with older descriptions only The old runtime supports the simpler description; partial success, not compatibility Treat as release incompatibility; plan the update
Adding thermocouple inputs stops the bus The first failing slave is often upstream of the symptom Diagnose in bus order before touching wiring
Every slave reaches OP but values are wrong Channel configuration, mapping, scaling or sensor — not the bus Run the acceptance checks below

Update the whole software set #

  1. Back up the project, the version inventory and the diagnostic capture before changing anything.
  2. Read the release documentation for the release you target: confirm support for the coupler and each analog and thermocouple module, and the engineering, controller and master versions it requires. Choose the coherent set, not one component whose number merely looks newer.
  3. Perform the documented update sequence for each component. A newer ESI import is not a substitute for the runtime update.
  4. Import the description set that belongs to that release, so no experimental older/newer mix remains, and check which description each device entry actually selects.
  5. Reconcile the migrated project: module order, channel configuration, process data selection and application mapping.
  6. Repeat the same diagnostic run with the hardware unchanged and compare it with the pre-update capture.

For the reported installation the decision was release 1.20: below it, with ctrlX Works 1.12.10 and EtherCAT Master App 1.12.3, no description combination ran the thermocouple assembly, and the full update did. The component that removed the fault was never isolated, so engineer to the release: standardize the machine on 1.20 or later rather than patching one application. Do the update with the machine in a safe state and the outputs disabled, and never return it to service on the strength of a clean compile — a migrated configuration can move channels.

Prove the bus before trusting the values #

Bus first: confirm every configured slave reaches its requested state and that Bus Diagnosis no longer reports the original failure. Then mapping: a migrated project can communicate correctly while the application still reads the old channel offsets; if the layout itself shows bits where the project expects bytes, that is the separate problem in why ctrlX I/O Engineering shows bits instead of byte mapping nodes. Then measurements, channel by channel:

  • Ordinary analog channel: inject a known signal inside the module's range and compare the raw value and the scaled engineering value against the configured scaling.
  • Thermocouple channel: confirm the channel configuration matches the installed sensor before judging the reading.
  • All three checks pass: the machine goes back in service. Any check fails: return to the matching step above, not to the ESI folder.

That is the whole decision path. The descriptions configure the tool; the runtime operates the hardware; when the two disagree, the runtime release is what you change, and the diagnostic capture is what proves you changed the right thing.

Questions asked

Is release 1.20 the minimum for every ctrlX EtherCAT analog installation?

Treat it as the working minimum for the coupler and analog modules in the reported case, and do not assume anything lower will do: nothing below it ran the thermocouple combination. It is not a published universal minimum, since other module sets may run on older releases. On a machine that already works, leave it alone and record the versions; on a new build or a failing one, engineer to 1.20 or later and stop testing description files.

Can I keep one older ESI file for a module that only works with it?

No. Keep one description set from the release you standardize on, and after any re-import check which description each configured device entry actually resolves to. A module that runs only with its older file while the rest need newer ones is the signature of a runtime between releases; the cure is the software update. Mixed descriptions also travel badly: the next workstation imports its own files and the half-working combination is gone.

Where do matching ESI files come from?

Use the description files published for the release you standardize on, the set that ships with the engineering package or is published by the device manufacturer for it, and keep a copy in the project archive so the configuration can be rebuilt on a fresh workstation years later. Do not collect ESI files from third-party download sites: a description is part of the released configuration, and an unverified file can carry wrong identities or process data layouts that no diagnostic will attribute to it. Importing a file registers it with the tool only.

All slaves reach OP but the thermocouple channel reads wrong. Is this the same fault?

No. Once every slave reports OP, the bus is healthy and the fault is in the channel, so no ESI or release change will correct it. Check that the configured thermocouple type matches the installed sensor, that the polarity is right at the terminal, and that the compensation setting suits the wiring; then compare the reading with a reference measurement at a known temperature. A wrong value behind a clean Bus Diagnosis is fixed in the channel setup, not in the project's device descriptions.

Keep reading

  • Troubleshooting

    Fix a GT1-DA04 analog output over a 1756-DNB scanner

    Set the DRT1-COM polled connection to 14 input bytes and 10 output bytes, put the channel word at the right byte pair — analog output channel 0 is output bytes 2–3, word 1 of five — and scale 0–6000 counts across 4–20 mA, 375 counts per mA. When the DINT image shows the value and the terminal still reads 0 mA, the fault is the DIP range or module power, not the mapping.

    Industrial networks

  • Troubleshooting

    Why an EtherCAT I/O slave fails the PREOP to SAFEOP transition

    Discovery and a generated ENI prove the slave answered identification, nothing more. A PREOP to SAFEOP failure is the slave rejecting the configured process data, and the slave's AL status code names the refused side: 0x001D for the output configuration, 0x001E for the input. Fix identity first, then PDO and sync manager lengths, then sync mode, one layer at a time.

    Industrial networks

  • Troubleshooting

    Why ctrlX I/O Engineering shows bits instead of byte mapping nodes

    The mapping tree follows the installed ESI descriptions. With only the Balluff BNI ECT-508-105-Z015's own ESI present, ctrlX I/O Engineering and native CODESYS both show bits; the byte nodes came from mixing other Balluff ESI files, a defect reported fixed in release 1.20. Map the bits now and update the tool.

    Industrial networks

Why a RevPi PROFIBUS gateway offline LED flashes red