Explainer
Why a servo drive Ethernet protocol mismatch blocks position reads
Short answer
An Ethernet port, green link lights and a good ping prove the cable and the IP layer, never the protocol. A drive whose Ethernet manual documents EtherNet/IP (CIP) has no Modbus server, so no register address or retry will return its position over Modbus TCP. Confirm the protocol from the exact model's manual first; when the PLC speaks only Modbus TCP, bridge through an HMI, gateway or software verified for that exact drive.

On this page
- Why won't a servo drive with an Ethernet port answer Modbus TCP?
- How do I confirm which protocol the drive speaks?
- What should I record about the position register before writing PLC logic?
- How do I convert encoder counts into millimetres?
- What are my options when the drive speaks EtherNet/IP and the PLC speaks Modbus TCP?
- How do I commission the bridge one layer at a time?
- Which fix applies to my drive and PLC combination?
- Questions asked
You were told the drive speaks Modbus TCP. The cable tests good, the link lights are green, the ping answers, and every poll still times out. None of that touches the protocol: an Ethernet port carries whatever application protocol the firmware implements, and Modbus TCP and EtherNet/IP are two different ones, mutually unintelligible above TCP. A servo drive whose Ethernet manual documents EtherNet/IP (CIP) contains no Modbus server at all, so no register address, retry count or PLC logic will ever read its position over Modbus TCP. Below is the check that settles the protocol question in minutes, the register details to record once you can read the drive, and the bridge architectures that work when the drive and the PLC speak different protocols.
Why won't a servo drive with an Ethernet port answer Modbus TCP? #
Because the port only proves the lower layers: Modbus TCP servers listen on TCP port 502, EtherNet/IP exchanges CIP messages on TCP port 44818 and UDP port 2222, and a drive documented for EtherNet/IP has no Modbus server to answer you.
Both protocols run on identical hardware — the same RJ45, the same switch, the same IP addressing — which is exactly why every physical check passes. Above the transport layer they diverge completely. Modbus TCP is a function-code-and-register model: read a register, get 16 bits. EtherNet/IP carries CIP, an object model in which data lives at a class, instance and attribute address, exchanged through explicit messages or cyclic implicit I/O connections. A Modbus frame that reaches a CIP-only drive finds no listener and is refused or dropped; the client sees a timeout, never a reply. In practice Modbus TCP dominates smaller, simpler systems while EtherNet/IP dominates larger ones, which is why a servo drive sold into controller-centric machinery often turns out to be EtherNet/IP-only even when a supplier believed otherwise.
How do I confirm which protocol the drive speaks? #
The Ethernet manual for the exact drive model and firmware revision is the only authority: it lists which protocols the port supports, how each is enabled, and the object or register map, while a verbal assurance from a supplier establishes nothing.
Get that manual from the manufacturer or its distributors, matched to the model code on the drive's nameplate, because protocol support can differ between variants of one drive family. The manual answers three questions: which protocols the port runs, whether they can run at the same time or only one at a time, and where position lives in the map.
A five-minute bench test corroborates the manual. Point a Modbus TCP client at the drive's address on port 502 and attempt one read:
- Connection refused: nothing is listening, so the drive has no Modbus server. Stop here; this is the mismatch.
- Timeout with the connection open: the address or filtering is wrong; fix addressing before concluding anything about the protocol.
- A Modbus exception response, such as code 02 for an illegal data address: a Modbus server exists and only your request was wrong — the protocol is not your problem.
If the drive answers Modbus correctly yet ignores your speed commands while it follows its analog input, the protocol is not the problem either; why servo drives ignore Modbus speed commands but follow analog covers that separate fault.
What should I record about the position register before writing PLC logic? #
Record six things from the manual's data map before the first read: the address or object path, the data type, the sign convention, the units, the scaling to engineering units, and how the value updates and signals that it is valid.
- Type: a 32-bit signed integer is common, but some drives give a 32-bit IEEE real. Reading a real as an integer produces an enormous number unrelated to travel.
- Word order: a 32-bit value crosses a Modbus map as two 16-bit registers, and devices disagree on which word comes first. A value that steps in multiples of 65,536 as the axis creeps along means the two words are swapped.
- Sign: travel in the negative direction must read negative; the positive direction follows the drive's rotation convention as seen from the drive end, which what drive end and clockwise mean in servo encoder adjustment defines.
- Units and scaling: encoder counts, tenths of a millimetre or revolutions all appear in real maps, and the manual's stated units always win over any calculation.
- Update behavior and validity: refreshed every scan or only on request, and whether a status or warning bit accompanies the value, so a faulted drive cannot pass off a frozen number as position.
How do I convert encoder counts into millimetres? #
With a direct-coupled screw, millimetres equal counts times screw lead divided by counts per revolution, and the counts per revolution include the quadrature factor of four from counting both edges of channels A and B.
Quadrature is the detail most scaling errors forget: servo controllers count the leading and trailing edges of the encoder's A and B channels, so a quadrature encoder yields four counts for every line on its disk.
Worked example, calculated from illustrative inputs and not a measurement:
- Encoder: 2500 lines per revolution with quadrature counting gives 2500 × 4 = 10,000 counts per motor revolution.
- Mechanics: ballscrew with a 10 mm lead and a 1:1 coupling, so one motor revolution moves the axis 10 mm.
- Register: 32-bit signed integer in encoder counts.
- Reading: 250,000 counts.
Resolution: 10 mm ÷ 10,000 counts = 0.001 mm per count.
Position: 250,000 counts × 0.001 mm per count = 250 mm.
Predicted change for a 25 mm move: 25 mm ÷ 0.001 mm per count = 25,000 counts — the number you hold the commissioning move to.
Range check: the 32-bit signed maximum of 2,147,483,647 counts equals about 2,147 m of travel on this screw, so no wraparound handling is needed on this axis.
If the manual states the register directly in tenths of a millimetre, none of this arithmetic applies: multiply by 0.1 mm and move on.
What are my options when the drive speaks EtherNet/IP and the PLC speaks Modbus TCP? #
Three bridges work — an HMI carrying a driver for each side, a correctly directed gateway, or software on an industrial computer — unless the PLC can add an EtherNet/IP scanner module and speak to the drive natively, which is the cleanest fix where the PLC family offers one.
- HMI bridge, reported working in production: an HMI with a native driver for the drive on one side and a Modbus TCP server connection to the PLC on the other maps the drive's position into a tag the PLC polls. One installation used the drive maker's own HMI exactly this way and ran it in production — a reported result that proves the architecture, not that any HMI reads your exact drive model. Verify the driver list covers your model and the specific parameter or object where position lives before ordering.
- Gateway, where direction is everything: protocol converters are built for one direction. A unit documented as Modbus TCP client to EtherNet/IP adapter — one such converter fronts up to 64 Modbus TCP servers — is made for an EtherNet/IP scanner reading Modbus TCP devices, the reverse of this case. You need an EtherNet/IP scanner on the drive side and a Modbus TCP server on the PLC side. A driver list naming both your drive family and your PLC family is not compatibility proof: one such evaluation stopped at the software's driver list and never became a tested installation. Get written confirmation for the exact drive model and bench the gateway before it is production.
- Software bridge: a fanless mini PC in the control cabinet runs a bridging application that scans the drive as an EtherNet/IP client and serves the value to the PLC as Modbus TCP.
If the drive's manual documents both protocols, enable Modbus TCP per its parameter procedure and skip all three.
How do I commission the bridge one layer at a time? #
Prove each boundary with the axis at standstill before anything moves: addressing and link first, then the drive-to-bridge read, then the bridge-to-PLC transfer, then a small commanded move, changing one layer at a time.
- Addressing: unique addresses for drive, bridge and PLC on a subnet each manual allows; confirm with a ping at each hop.
- Drive to bridge: select the drive's exact model in the bridge's driver list and read the documented position object. At standstill the value must be stable and match the drive's own display.
- Bridge to PLC: map the tag into the PLC and confirm the value is fresh — force the bridge offline and check the PLC flags the loss instead of holding the last number.
- Motion: with the machine's safeguards in place and motion enabled under its normal procedure — this position read is monitoring, never a safety function — command a move in the direction you recorded as positive and compare the count change against your scaling (25,000 counts for 25 mm in the worked example).
- Interruption: pull the bridge's drive-side cable mid-cycle and confirm the PLC treats the value as invalid within a timeout you set at a few times the bridge's documented scan time, so a stale position can never drive the sequence.
If the sign arrives reversed, correct it in one place only — the bridge mapping or the PLC scaling, never both.
Which fix applies to my drive and PLC combination? #
Four cases cover nearly every installation, and only the last needs a bridge: Modbus on both sides, EtherNet/IP on both sides, a drive that supports both protocols, or a true mismatch between an EtherNet/IP drive and a Modbus-only PLC.
- The manual documents Modbus TCP on the drive: there is no mismatch; the failures were addressing, port, register map or word order. Fix those, and the capabilities from there are covered in servo drive positioning over Modbus: what the network can do.
- The drive documents EtherNet/IP only and the PLC family offers an EtherNet/IP scanner module: add the module, connect natively with explicit messages or an implicit I/O connection if the drive supports one, and buy no bridge.
- The drive documents EtherNet/IP only and the PLC is locked to Modbus TCP: bridge. The HMI route has the production track record; a gateway works only in the correct direction with written model-specific support; software on an industrial computer is the flexible third.
- The manual documents both protocols: enable Modbus TCP per the manual and poll directly.
One boundary outranks all four cases: if the application needs position at servo control rates — closing a loop, not watching an axis — keep that inside the drive's own control, because a network bridge is for monitoring and slow coordination between controllers.
Questions asked
Can a firmware upgrade add Modbus TCP to a drive that shipped with EtherNet/IP only?
Plan on no. Protocol support is fixed by the drive's communication hardware and its licensed firmware stack, and a manual that does not list Modbus TCP is telling you the option does not exist for that model. If a later hardware revision of the family adds it, that is a different orderable variant, so budget the bridge instead of waiting on an upgrade the documentation does not promise.
How much will a bridge slow down my position updates?
Each bridge polls its devices sequentially, so the PLC sees a fresh value once per bridge scan cycle plus network transit time. Take the scan time from the bridge's datasheet and add the drive's own update interval; if that total is slower than the machine sequence needs, the bridge remains fine for monitoring but cannot coordinate motion, which should stay inside the drive's own control.
Is it safe to probe the drive with a Modbus scan to see what happens?
Yes, as long as you send reads only. A read request cannot alter drive parameters, and the result is diagnostic: a refused connection on port 502 means no Modbus server exists, a timeout points at filtering or a wrong address, and an exception response proves the server is present and only your register request was wrong. Never probe a live axis with writes.
What if the drive manual lists both EtherNet/IP and Modbus TCP?
Then you own the easy case: enable Modbus TCP using the manual's parameter or option-card procedure and poll directly with no bridge. Check whether the two protocols run concurrently or one disables the other, because some drives offer a choice rather than both, and any existing EtherNet/IP scanner on that drive would lose its connection the moment you switch.
Does an EtherNet/IP drive expose position without extra configuration?
Usually it is readable with an explicit message, often through the standard CIP position-sensor object that many servo drives implement, sometimes only through a vendor-specific object. The class, instance and attribute numbers come from the manual's data map, never from memory or another drive's map. Browsing the object directory confirms the drive answers; only the documentation tells you what the attribute means.


