IMDHMIControls LibraryShop main store

Troubleshooting

EtherNet/IP remote I/O fails on one controller, not another

Industrial networks Published 6 min read

Short answer

Treat the adapter as proven good and work the two controller projects instead: record the CODESYS version plus the Ethernet and EtherNet/IP scanner component versions on both, move the failing project toward the working one one difference at a time, and retest against the same adapter after each change. Only a matched software set that still fails puts controller hardware back in scope.

On this page
  1. What the substitution already proves
  2. The three version readings to capture first
  3. Worked example: a failing project on scanner 4.6.0 against a working 3.5.16.2 install
  4. Change one difference at a time
  5. What the failure pattern tells you
  6. The decision for each case
  7. Questions asked

When the same EtherNet/IP adapter connects to an older controller on the bench and refuses the newer one, you have already run the most valuable test in fieldbus troubleshooting: the substitution that clears the device everyone suspects first. Treat the adapter as proven and work the two controller projects instead. Read three version strings out of each project — the CODESYS version, the Ethernet component version and the EtherNet/IP scanner component version — then move the failing project toward the working one a single difference at a time, retesting against the same adapter after every change. The case behind this article is a UR20-FBC-EIP coupler that connected on the first try to the older controller and would not start on the newer one. This article gives the readings to capture, a worked comparison, the retest discipline, and the decision each outcome forces.

What the substitution already proves #

The working pair shows the same adapter completing an EtherNet/IP implicit connection — connection request accepted, assemblies mapped, data cycling — with a project built on older software. A device that does that is not the fault, and the hours already spent with the coupler vendor's support were spent on the wrong side of the link.

Keep the working pair untouched from here on. It is the reference: every change happens on the failing project, and every retest uses the same adapter, the same wiring and the same switch port. The moment two things change between tests, the result can no longer isolate a cause.

Test result What it proves What it does not prove
Adapter connects on the older controller The adapter, its EDS import and its assembly mapping complete a real connection That both projects hold the same EDS revision and connection parameters
Adapter fails on the newer controller The fault lives in this controller, its project or the interaction between them Which of the three it is — that is what the version comparison finds

The three version readings to capture first #

The difference between two CODESYS projects that look identical on screen usually sits in version strings. Capture these on both projects before changing anything:

  1. The CODESYS version that built and downloaded each project, down to service pack and patch level.
  2. The Ethernet component version in each project, shown at the network interface node in the device tree.
  3. The EtherNet/IP scanner component version in each project, shown at the scanner node under that interface.

CODESYS publishes a Device Reader project in its store for verifying a runtime's installed device versions and license state in one report; run it on both controllers and file the two reports side by side. Component versions live in the device repository, and each project selects one installed version per device — which is exactly how two projects that look the same can run different scanner stacks. Whether the CODESYS runtime lives in a dedicated controller or inside an operator panel, the readings and the method are identical.

Worked example: a failing project on scanner 4.6.0 against a working 3.5.16.2 install #

The version strings below are a worked example, not a measurement of anyone's cabinet. Both are real released component versions, and the pair shows how the comparison runs.

Inputs and where each comes from #

Working project, read from its device tree and cross-checked against its Device Reader report: CODESYS 3.5.16.2, Ethernet component version recorded, EtherNet/IP scanner component recorded — call it the working scanner version. The connection starts on power-up against the same adapter.

Failing project, read the same way: CODESYS at a later service pack than 3.5.16.2, Ethernet component version equal to the working project's, EtherNet/IP scanner component 4.6.0. A public CODESYS report from 2024 questions whether the 4.6.0 component causes exceptions on a scanner configured with 18 adapter devices, so this version is a legitimate first candidate.

The rule #

Compare the three readings and rank them: the scanner component is the software that actually terminates the adapter's connection, so it outranks the runtime level as the first single change. Change exactly one reading toward the working values, retest against the same adapter, and only then move to the next.

The arithmetic #

  • Readings compared: three per project, six strings in total.
  • Differences found: two — the runtime level and the scanner component version.
  • First change: scanner component only. Select the working scanner version in the device repository and touch nothing else.
  • Retest: one cold start, one adapter, same wiring and switch port.
  • Result: the connection establishes on the failing controller with its own hardware.

Result and decision #

The scanner component version was the controlling difference. Pin that version on the controller, record why, and hold the runtime-level difference as the next candidate if the fault returns. Had the retest still failed, the next single change would have taken the CODESYS runtime level toward the working one, and the adapter would have stayed ruled out until a matched software set still refused to connect.

Change one difference at a time #

Put the machine in a safe state before the download and restart: a remote I/O connection that comes up mid-test can drive outputs on live equipment.

  1. Change one reading: in the failing project, select the working project's version for exactly one component — no IP edits, no connection-parameter edits, no EDS re-import in the same test.
  2. Restart the way it will really start: power-cycle the controller rather than starting the application manually, because a boot-time failure hides behind a manual start.
  3. Test against the same adapter, the same wiring and the same switch port. Never swap hardware between tests.
  4. Record the result with the complete version set that produced it: connected, refused or dropped, and how long it ran.
  5. Conclude one change before starting the next; a failed candidate is a finding, not a lost afternoon.
  6. Only when the failing project matches the working one on all three readings and still fails does hardware come back into scope — and the closing test is the same adapter reconnecting on the older controller one more time.

What the failure pattern tells you #

  • Never starts, target refuses or times out: software difference first — the version set, then the connection parameters and assembly mapping copied line by line from the working project.
  • Starts, then drops after a fixed run time: check the scanner license before anything else. The EtherNet/IP Scanner SL is activated on a license container, and an unlicensed scanner falls back to demo mode — see why the CODESYS EtherNet/IP scanner runs in demo mode for what that looks like. The Device Reader report shows the license state.
  • Runs until reboot, then fails: startup configuration on the target, not the adapter. Public CODESYS reports include a Raspberry Pi runtime whose scanner ran until every restart; check the application autostart and the controller's IP persistence.
  • Scanner never brings the adapter up on a ctrlX CORE runtime: that pairing has a dedicated checklist, why a ctrlX CORE EtherNet/IP adapter connection stays down.

The decision for each case #

  • Adapter connects on one controller and not another: the adapter stays in service. Align the failing project's three readings to the working reference, one component at a time, retesting after each change against the same adapter.
  • All three readings match and the connection still fails: the software stack is exonerated. Suspect the runtime installation or the controller hardware, and re-prove the adapter on the older controller before ordering anything.
  • Connection drops on a timer: license container, not the wire.
  • Connection dies at every reboot: target startup and IP persistence, not the adapter.

Questions asked

Where do I read the Ethernet and EtherNet/IP scanner component versions in a CODESYS project?

Open the device tree: the Ethernet interface node under the controller and the scanner node beneath it each report the device version selected for the project. For a single file covering a whole runtime, run the Device Reader project CODESYS distributes through its store; it prints the installed devices and their versions for that runtime.

Does the connection on the older controller prove the EDS file is fine?

It proves the EDS import, the assembly mapping and the adapter itself completed one real connection, which clears most EDS faults. It does not prove both projects imported the same EDS revision or use the same connection parameters. Export the scanner settings from the working project and put them line by line beside the failing project's before changing a single version.

Can I install the same newest CODESYS release on both controllers to fix it?

Moving both sides to one release can be the right end state, but run it after the comparison, never instead of it. Changing both projects at once alters several components together, and a failure then names no culprit. Reach the known-good matched pair, record the version set that connects, and schedule a single upgrade with its own retest.

The scanner connects on both controllers but drops repeatedly on the newer one. What changes in the search?

An intermittent drop moves the search from version mismatch toward license state and timing. Check the scanner's license container first, because a scanner without a license falls back to demo mode, then compare the requested packet interval and connection type configured in each project against the adapter's documented values. Move the switch port last, one change per test.

When does the network itself become the suspect?

Only after a matched software pair still fails with the same adapter and wiring. EtherNet/IP implicit exchanges use UDP multicast alongside the TCP connection, and public CODESYS reports describe multicast trouble on specific runtime targets, so a managed switch with multicast handling or a different port is the final controlled change before hardware is blamed.

Keep reading

  • Explainer

    Designing a 1734-AENT Point I/O fiber ring on EtherNet/IP

    Yes — enable IGMP snooping on all seventeen switches: the input data a 1734-AENT adapter produces is multicast, so without it every switch floods the ring and all sixteen adapters reject each other's packets. Full-duplex switching ends collisions but not congestion, each fiber span must meet its own optic's distance limit, and ring recovery must beat four times the RPI.

    Industrial networks

  • Troubleshooting

    Fix EtherNet/IP I/O between a ctrlX adapter and a Rockwell scanner

    Start at the Studio 5000 module status: a connection that never establishes points to the IP path or the assembly fields, while a connection with wrong or frozen data points to swapped input/output instances or the task interval. Match instance numbers and byte counts at both ends, instance 100 for consumed data with configuration instance 102 at length 0 in the documented example, and set the adapter I/O task interval equal to the scanner's RPI, 4 ms at priority 20 to 39.

    Industrial networks

  • Selection guide

    Using a MicroLogix 1100 as a remote I/O station over EtherNet/IP

    Yes, when the station benefits from local logic and the LCD: you get 10 digital inputs, 6 digital outputs, two 10-bit voltage analog inputs and up to four expansion cards, reached over EtherNet/IP by explicit messaging one request at a time. Pick a conventional I/O adapter instead when you need cyclic implicit I/O or current inputs finer than about 19.5 µA per count.

    Controllers and I/O