Troubleshooting
Why an NI scanner reads but cannot write to a ctrlX adapter
Short answer
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.
On this page
Your NI scanner reads the ctrlX CORE all day and every write comes back with "Service not supported". On this pairing that symptom has a known cause: the CODESYS EtherNet/IP package on the controller side, at release 4.2.0.0, does not implement the service the NI scanner uses for writes, and a compliant adapter refuses a service it does not implement. The repair is a package update to 4.4.0.0 or later; 4.4.1.0 is the release that was listed in the collaboration room when the fix was reported. Nothing on the scanner side has to change. Below is what the working read really proves, the version comparison that settles the repair, the update steps, and the single bounded write that closes the job.
What the working read proves #
A completed read and a refused write are two different operations, so the read was never evidence for the write. EtherNet/IP carries both as explicit-message service requests, and the CIP specification from ODVA that sits underneath allows a target to implement services one at a time: a target that receives a service it does not implement refuses it with the general status "Service not supported" instead of guessing. Explicit reads, like those covered for reading EtherNet/IP module register data with explicit messaging, and the write that follows them are separate services even when they address the same data item.
What the passing read does confirm:
- The Ethernet path, the IP addressing and the TCP connection to the ctrlX CORE.
- The CIP session and the identity exchange with the adapter.
- That the adapter implements the read service the scanner issues.
- That the targeted data is mapped and readable on the ctrlX side.
What it cannot confirm is the one thing the write needs: that the adapter implements the scanner's write service. On the failing installation it does not, which is why the write is refused while the read keeps working.
The refusal comes from the package version #
The refusal is reported with the CODESYS EtherNet/IP package at release 4.2.0.0 on the ctrlX side: the NI scanner's write uses a service that release never implemented. The service is present in the adapter/scanner package from 4.4.0.0 onward, which turns the repair into a version decision rather than a wiring, addressing or mapping hunt.
The release shows in two places: the EtherNet/IP app installed on the controller and the library reference the engineering project resolves. Note both before you change anything, because the retest only means something when the deployed build and the installed app both carry the new release.
Working the version decision for the reported case #
The reported installation supplies every input the decision needs:
- Package release on the ctrlX side: 4.2.0.0, the release the failing installation ran.
- Write result at the scanner: the status "Service not supported", the refusal that identifies the missing service.
- First release that implements the write service: 4.4.0.0, the reported fix boundary.
- Release listed in the collaboration room: 4.4.1.0, the update the site moved to.
The rule: the adapter serves the scanner's write only if the installed package implements that service, and the service is present in the fixed release and every release after it. Decide by comparing the version fields in order, major then minor then the remaining fields, and let the first field that differs settle the comparison.
The arithmetic:
- Installed release against the boundary: major 4 against 4, equal, so move on; minor 2 against 4, lower, and the comparison stops there. The installed release predates the write service.
- Listed update against the boundary: major 4 against 4, equal; minor 4 against 4, equal; third field 1 against 0, higher. The listed update clears the bar.
Result: the refused write is the expected behavior of the installed release, and the listed update sits above the fix boundary.
Decision: below 4.4.0.0 this scanner's write keeps failing and no scanner-side setting changes that; at or above it the service is implemented. Update the package, then run the retest below.
Update the package on the ctrlX side #
The scanner keeps its configuration; the whole repair sits on the ctrlX side.
- Save a restorable copy of the project and record the package release in both places, the app on the controller and the library reference, so the working read can be recovered the same day if anything regresses.
- Get the package from the customer collaboration room, the access route covered in how access to the customer collaboration room is granted. Take the newest release your account lists rather than the oldest that clears the bar: at the time of the report that was 4.4.1.0, which also bundles scanner-stack bug fixes of its own, and later releases have followed, with the EtherNet/IP scanner app for ctrlX OS already distributed at 4.5.1.0.
- Point the project's library reference at the chosen release and install the matching app on the controller. Answer every dependency prompt deliberately; do not let the build silently keep the old reference.
- Build the project and clear every diagnostic the compiler or the library check raises before deploying.
- Download through your normal change process, then confirm the deployed build and the installed app both show the chosen release.
Retest with one bounded write #
Acceptance is judged on the value, not on the connection:
- Pick a data item that is mapped writable and whose change is safe to observe; never a production command or an output that moves the machine.
- Repeat the baseline pair: the same read and the same write, to the same item with the same test value, so the result compares directly with the failure.
- Pass only when all three agree: the scanner reports the write successful, the value in the ctrlX application changes to the commanded value, and a read-back from the scanner returns it.
- If the write reports success but the value snaps back, application logic is overwriting it, and that is a logic task rather than a communications fault.
- Record the package release and the passing read and write pair in the commissioning record.
If the write still fails #
Work the cases in this order, because each one has its own fix:
- A status other than "Service not supported" is a different fault: capture the exact text and diagnose from it instead of repeating the update.
- No reads either means the connection itself is down, and the fault path in why a ctrlX CORE EtherNet/IP adapter connection stays down applies.
- A write that succeeds at the scanner while the value never changes points at the target: verify the item is the one you intend, is mapped writable, and is not overwritten by logic.
- A deployed app still showing the old release means the update never landed on the controller; fix that before touching anything else.
- A scanner that also writes to other adapters meets a different service set on each; for an Omron target the causes are covered in why explicit writes to Omron assemblies fail over EtherNet/IP.
The order stays the same every time: package version first, mapping second, logic third.
Questions asked
Why did the same NI scanner write to an Omron adapter without trouble?
Because the service set belongs to each adapter's implementation. The Omron side implements the write service this scanner issues; the old package on the ctrlX side did not. A pass on one pairing says nothing about another, so the earlier Omron success never cleared the ctrlX combination. Only a write from the actual scanner to the actual adapter proves the pair you will run.
The updated package is not listed for my collaboration room account. Where do I get it?
Contact CODESYS directly and request the package for your controller. In the reported case the fixed release was first handed over that way, as a pre-release, before a later update appeared in the collaboration room for everyone. Take the package only from CODESYS or its distribution channels, never from an unofficial copy.
Can a different data item, size or value get around the refusal?
No. The refusal happens at the service level: the adapter rejects the service request itself, before the item, the data type or the value play any part. Changing what you write leaves the service unchanged, so the answer stays the same. Only the package update adds the missing service.
How do I confirm the controller runs the new release after the update?
Check the installed EtherNet/IP app on the controller, not only the engineering project, and note the library release the build resolved. A project rebuilt against the new library with the old app still installed reproduces the original refusal, so both must show the fixed release before the retest counts.


