IMDHMIControls LibraryShop main store

Troubleshooting

Why an EtherNet/IP adapter does not receive scanner outputs

Industrial networks Published 7 min read By IMDHMI controls team

Short answer

When an EtherNet/IP adapter receives your scanner's inputs but never applies the outputs, the adapter is the last suspect. Verify a changing value enters the scanner's output image, confirm cyclic output frames actually leave the bound Ethernet interface, and make sure nothing else holds the Exclusive owner connection. A five-second capture against the connection interval turns a guessing match into a count.

On this page
  1. Why the adapter is the last suspect
  2. Discovery is not the cyclic connection
  3. Bind the scanner to the interface that reaches the adapter
  4. Prove a changing value reaches the scanner output image
  5. Match the Exclusive owner connection to the EDS
  6. Worked example: a 20 ms output interval watched for 5 seconds
  7. The decision for each case
  8. Questions asked

When an EtherNet/IP adapter shows your scanner its inputs but never applies your outputs, suspect the PC side before the device. The exact case behind this article is a TwinCAT 3 runtime on a laptop, a TC3 EIP Scanner object, an EDS imported from the device, and an Exclusive owner connection added to send outputs and receive inputs: the adapter's data reaches the PLC, the PLC's data never reaches the adapter, and the same configuration works on the supplier's controller. That pattern clears the device and points at three places: the value's entry into the scanner's output image, the interface the scanner is bound to, and the connection itself. Work them in that order.

Why the adapter is the last suspect #

A target that produces valid cyclic input data and answers a scan is alive, and the supplier controller running the same configuration over the same cable proves the device produces and consumes. The failure therefore sits on the PC side, in one of three places:

  • a PLC value that never enters the scanner's output image, so the scanner has nothing to send;
  • a scanner bound to an interface that cannot carry its cyclic traffic, or a runtime that is not producing frames at all;
  • a connection the adapter does not accept as its controlling one, because of assembly definition or ownership.

Each suspect has a direct test, and the tests run fastest in that order.

Discovery is not the cyclic connection #

Finding the device in a scan and importing its EDS establish reachability and a description, not an operating connection. The scan travels as explicit messages; the Exclusive owner connection exchanges its data as implicit messages in a separate session with its own state. That distinction is exactly what why an imported EDS does not prove EtherNet/IP cyclic I/O works through.

After downloading the configuration, confirm the runtime and the PLC program are actually running rather than merely connected from the engineering tool, and read the connection state in the scanner's diagnostics before changing any setting. Then prove the input direction is truly live: toggle a harmless adapter-side input and watch the PLC image update repeatedly, because a value that only sits visible online can be a stale image rather than a fresh one.

Bind the scanner to the interface that reaches the adapter #

A laptop carries several Ethernet-class interfaces: the wired port, Wi-Fi, virtual adapters from virtualization tools, VPN tunnels. Discovery can succeed through whichever route answers while the scanner's cyclic traffic uses the interface chosen in the scanner's Adapter setting, a configuration item the vendor documents separately from the device setup. Check that the Adapter setting names the physical port that has link lights at both ends and a cable you have verified, not just a plausible description in a dropdown list.

The runtime's real-time Ethernet driver binds to individual interfaces, and a missing or disabled binding on the chosen port stops cyclic traffic even while the engineering tool still talks to the device. Confirm the scanner function is installed and licensed the way the vendor documents it — Beckhoff supplies the TwinCAT 3 scanner as software extension TF6281 — and treat any reduced runtime state as a suspect of its own; why the CODESYS EtherNet/IP scanner runs in demo mode is the same fault class on another platform. While you are there, match the adapter address, the PC interface address, the subnet mask, and any second device sharing the adapter's address.

Prove a changing value reaches the scanner output image #

A connected adapter cannot transmit a value that never enters the scanner's output image. Unlinked variables, wrong offsets and bit positions, an inactive task, or a later write that overwrites the test value all leave the transmitted bytes frozen while the input image keeps updating normally. Work down this list:

  1. Pick a test field that cannot start motion or energize a load; if every output is wired to actuation, bring the driven equipment to a safe stopped state first.
  2. Confirm the PLC variable is linked to the intended field of the slave's output image, with the type, byte offset and bit you expect.
  3. Watch the application variable and the mapped image together while the program changes the value.
  4. Search the program for initialization logic, interlocks or later assignments that overwrite the value after your test write.
  5. Confirm the task that updates the image runs at its configured rate.

If the variable changes but the image does not, the network was never the fault. This is the mirror image of why an Ethernet/IP gateway process image needs an application copy, where the image waits on data the application never delivers. The image-versus-physical split is not specific to one runtime either: on Siemens controllers the same division appears as split between the process image and physical I/O in cyclic interrupt OBs.

Match the Exclusive owner connection to the EDS #

The Exclusive owner connection is the controlling connection: the only connection type that drives the target's outputs, and one that a target serves exactly once. In the connection's own terms, O→T is the data the scanner produces and the adapter consumes as its input assembly, while T→O is the data returning to you as scanner inputs. The assembly instance numbers and the byte lengths of both directions come from the EDS, and a connection added by hand can name an instance or a length the device does not serve. Read the connection points from the EDS itself, as fixing EtherNet/IP EDS Exclusive owner connection path errors walks through, and compare the complete output layout against the working controller's connection rather than the total byte count alone.

Then settle ownership. If the supplier controller is still powered and cycling, it holds the one Exclusive owner connection, and your laptop can at best listen; power it down or stop its scanner before testing outputs from the PC.

Worked example: a 20 ms output interval watched for 5 seconds #

The inputs, each with its source: the requested packet interval of the Exclusive owner connection, read from your own project's connection settings — 20 ms here is an example value, not a vendor default; a capture window of 5 s on the interface the scanner is bound to; and a capture filter for UDP port 2222, the fixed port EtherNet/IP implicit I/O traffic uses, narrowed to frames addressed to the adapter's MAC address.

The rule in words: an established implicit connection repeats its output frame at the requested packet interval, so the expected number of output frames in a capture window is the window divided by the interval.

The arithmetic: 5 s ÷ 0.020 s = 250 output frames.

The result: roughly 250 frames leaving the laptop toward the adapter's MAC address across the window, with a comparable number of the adapter's own frames arriving in return.

The decision: zero output frames while the connection reports established convicts the laptop runtime — correct the interface binding or the license state and repeat the capture. The full count proves the laptop side only, so if the adapter still ignores the data, repeat the capture from a mirror port beside the adapter before convicting the device. A count well under the prediction — below about 125 frames in this window — marks an unstable connection to fix before any deeper test.

The decision for each case #

Each symptom lands on one fix:

  • The mapped image never changes: fix the variable-to-image link, the task rate, or the later write that overwrites the value, and leave the network alone.
  • The image changes and no output frames leave the laptop: the runtime is not producing. Correct the scanner's Adapter setting, the interface's real-time driver binding and the license state.
  • Frames leave at the expected rate and the adapter ignores them: the laptop is proven. Stop the controller that still owns the connection and re-verify the assembly instances and both directions' byte lengths against the EDS.
  • Two laptops fail the same way while the supplier controller passes: the difference is per machine — binding, interface, license — not the project, so split the fault by running the frame count on each PC.

Only when the capture shows clean output frames arriving at the adapter that the device still refuses does the adapter itself become the suspect.

Questions asked

Why did the scan find the adapter if the cyclic connection never worked?

Discovery and cyclic I/O are separate services. The scan and the EDS read travel as explicit messages over TCP port 44818, while the Exclusive owner connection exchanges its data as implicit messages over UDP port 2222 in its own session. A successful scan proves the IP settings and reachability; it proves nothing about whether the implicit connection was accepted or is producing.

Can a second scanner watch the same adapter while another owns it?

Yes. A target serves extra connections as input-only or listen-only types, which deliver the adapter's own data but carry no commands toward it. That is the quiet failure behind a laptop that connects happily while a supplier controller is still powered and cycling: the new connection can end up listening instead of owning. Stop the owning scanner before judging your output path.

Does the capture window length matter?

Only through the arithmetic. The expected frame count scales linearly with the window: double the capture time at the same interval and the expected count doubles. Short windows are fine for a quick check; longer ones catch an intermittent connection a short capture misses. Compare the frames you counted against the count the interval predicts for the window you used.

Keep reading

  • Troubleshooting

    Why an NI scanner reads but cannot write to a ctrlX adapter

    A working read proves one path only: the write from the NI scanner uses an EtherNet/IP service that the CODESYS EtherNet/IP package at 4.2.0.0 on the ctrlX side does not implement, so the adapter refuses it with Service not supported. Update the package to 4.4.0.0 or later, with 4.4.1.0 listed in the collaboration room, and close with one bounded write test.

    Industrial networks

  • Troubleshooting

    Why explicit and implicit EtherNet/IP messaging do not interwork

    Explicit messaging is request/response CIP over TCP between a client and a server; implicit messaging is a scheduled I/O connection between a scanner and an adapter. The four roles are implemented and configured independently, so one endpoint can lack exactly the mode the other needs, and a reachable IP address proves nothing. Match each endpoint's documented roles, assemblies and byte lengths before you blame the network.

    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

Why an iQ-R built-in Ethernet port is not an EtherNet/IP scanner