Explainer
Why an RS-485 device that lacks Modbus RTU stays silent
Short answer
RS-485 sets voltage levels and wiring, not message content. A meter that only speaks its native protocol never answers a Modbus RTU request, and no change of baud rate, parity, address or termination changes that. Either program the native protocol in the PLC or place a documented dual-protocol gateway with an explicit register map; expect silence, not an error code, as the symptom.

On this page
Two devices on one RS-485 pair can share copper and share nothing else. RS-485 defines the electrical signalling; Modbus RTU and every vendor-native protocol define the messages that ride on it. A meter that answers only its native protocol — the TRM202 family, which documents the OWEN protocol, is the case in point — never replies to a Modbus RTU request, and no change of baud rate, parity, slave address or termination will make it. The fix is either to speak the native protocol from the PLC or to put a documented dual-protocol gateway between the meter bus and the PLC. Expect silence, not an error code, as the symptom that sends you down this path.
An RS-485 bus guarantees wiring, not words #
EIA-485, the standard behind every RS-485 port, specifies differential voltage levels, common-mode range, driver loading and the multidrop arrangement of nodes on a twisted pair. It does not specify a single byte of message content. Frame layout, function codes, device addressing and the frame-check field all live in the application protocol, and each protocol defines its own.
That is why a correctly wired bus with a protocol mismatch looks exactly like a correctly wired bus: termination in place, biasing right, polarity consistent — and still no reply. The electrical layer passes every frame faithfully; the meter simply does not parse the frames the PLC sends. Wiring work, a slower line, fresh termination resistors: none of it can repair a conversation that was never in the same language. Once a gateway exists, message-layer mistakes such as register offset and word order dominate the fault list; before one exists, the message layer itself is the whole fault.
Why no framing change can translate the frames #
A Modbus RTU master sends a slave address, a function code, a register range and a frame check, and expects a reply from a device whose documentation claims Modbus RTU slave support. Changing the baud rate or parity changes only how bytes are serialized on the wire; both ends must still agree on the frame grammar. Changing the slave address just points the same unparseable frame at a different number. Termination affects signal quality on a bus where a conversation is already happening; on a bus where the slave never recognizes the frame, perfect signal quality still yields no reply.
What the master logs in this situation is a response timeout: no device holding that address understood the request, so nothing transmitted. Read that silence as data, not as noise. An exception code, by contrast, proves a Modbus slave heard the request and refused it — a genuinely different fault. Clean wiring plus a well-formed request plus a timeout is the signature of the RS-485 protocol mismatch.
The two fixes that work #
| Piece | Role on the bus | Protocol it speaks |
|---|---|---|
| S7-200 | Requests data as Modbus RTU master | Modbus RTU |
| Protocol gateway | Native client on the meter side, Modbus RTU slave on the PLC side | Native protocol and Modbus RTU |
| Four TRM202 meters | Answer polls with measured values | OWEN protocol |
The first fix is to implement the native protocol in the PLC itself. On an S7-200 that means a custom serial program in freeport mode: build the native request, validate the reply, handle errors, and convert the payload into engineering values. It works, but it consumes your own engineering time and it owns the port — the same port-sharing limit that affects the Modbus library applies, as covered in why an S7-200 cannot share one RS-485 port with a PC and Modbus (article:why-an-s7-200-cannot-share-one-rs-485-port-with-a-pc-and-modbus).
The second fix is a gateway: an active device that completes native-protocol transactions with each meter, stores the returned values, and serves them as a Modbus RTU slave to the PLC. The distinction from a converter matters — a passive level converter changes the electrical interface and nothing else, which is the same reason a legacy serial device needs a real gateway and not just an adapter (article:why-a-legacy-serial-plc-needs-a-gateway-for-modbus-rtu). Put the meters and the gateway on their own segment, one protocol, consistent framing taken from the meter documentation, a unique native address per meter, termination at the segment ends, and keep that segment separate from the PLC segment unless the gateway documentation explicitly provides the port arrangement for combining them. For the PLC-side segment wiring on this controller, the S7-200 Port 0 wiring page covers pins, termination and biasing (article:s7-200-port-0-modbus-rtu-wiring-pins-3-8-termination).
The register map that makes a gateway trustworthy #
A gateway earns trust only if its translation table is explicit, row by row, and each row carries its own commissioning test:
- Register class and address. Configuration tools often show a human-oriented register number while the wire carries a zero-based offset; the one-based convention behind that mismatch is exactly what turns into an illegal-address error, as explained in why Modbus error 8189 needs 400001 added to the register address (article:why-modbus-error-8189-needs-400001-added-to-the-register-address). Test each register with an independent Modbus client before the PLC reads it.
- Data type and word order. A value spanning two registers decodes wrong, but plausibly wrong, when the words are swapped. Test by comparing the decoded number against the gateway's own value.
- Scaling. Raw counts and engineering units differ by a documented multiplier. Test by reading a known indicated value on the meter display and checking the mapped register after scaling.
- Quality point per device. One status register per meter, set on poll timeout and cleared on a valid reply, so one failed meter cannot take healthy readings down with it.
One safety note before this data drives anything: wire the quality point into the PLC logic, because an interlock fed from a stale register that still looks plausible is how a failed meter goes unnoticed while the machine runs.
Timing four meters behind a gateway at 9600 baud #
Inputs for the worked case — four meters behind one gateway, read over Modbus RTU, with example PLC-side serial settings of 9600 baud, 8 data bits, no parity, one stop bit (an example set; take the real values from your device documentation and recompute):
- four TRM202 meters behind one gateway (the case);
- one read per meter: Modbus function code 0x03 for two holding registers, which is an 8-byte request and a 9-byte response including the 2-byte frame check in each;
- the Modbus RTU silence gap of at least 3.5 character times between frames;
- 10 bits per character at those example settings.
Rule in words: character time equals bits per character divided by the bit rate; one transaction costs the request plus a gap plus the response plus a gap; the full cycle is one transaction times the number of meters.
Arithmetic:
- character time = 10 bits ÷ 9600 bit/s = 1.04 ms
- silence gap = 3.5 × 1.04 ms = 3.65 ms
- request = 8 × 1.04 ms = 8.33 ms
- response = 9 × 1.04 ms = 9.38 ms
- one meter = 8.33 + 3.65 + 9.38 + 3.65 = 25 ms
- four meters = 4 × 25 ms = 100 ms
Result: about 100 ms to cycle all four mapped values on the PLC-side segment at those example settings. Doubling the line to 19200 baud halves the byte times and the cycle drops to about 50 ms — the same rule recomputes it.
Decision: against a 1 s data-refresh target, the 100 ms cycle leaves a tenfold margin, so the gateway's Modbus side is not your bottleneck. The timing to verify is the gateway's native-side poll cycle of the meters, which runs at whatever pace the meter documentation allows. And note what the same arithmetic says about polling the meters directly: there is no valid response term in it at all — the first missing reply is the timeout that reveals the mismatch.
The decision for each case #
- The PLC can speak the native protocol — vendor library, or you have the time and skill to build and test freeport communication: program it. One segment, no added hardware, and you keep full control of retry and conversion behavior.
- Protocol development is out of reach for the project: place a gateway. Require that its documentation names both protocols, give it its own meter segment, and hold it to the register map above — class and offset, data type, word order, scaling, and a quality point per meter — before the PLC reads anything from it.
- A converter is on the bench and someone calls it the fix: reject it. It solves the electrical layer you already had working and leaves the message layer, which is the actual fault, untouched.
- The symptom check that starts every one of these jobs: clean wiring, a well-formed request, and a response timeout with no exception code means a protocol mismatch, and no amount of bus work will change the answer.
Questions asked
Does an RS-485-to-Ethernet converter solve the protocol mismatch?
No. A converter, whether serial to serial, serial to USB or serial to Ethernet, changes the electrical interface or carries the same bytes to another network, but the bytes stay in the device's native protocol. The PLC would then need Modbus TCP code against a server that still does not speak Modbus. Only an active gateway that runs the native protocol on one side and serves Modbus registers on the other changes what the PLC reads.
Why does my master log a timeout instead of a Modbus exception code?
An exception code is sent by a Modbus slave that understood the frame but could not serve it. A device that does not parse Modbus RTU at all never recognizes the address or the frame check, so it transmits nothing. Silence followed by a response timeout is therefore the expected symptom of a protocol mismatch, while a clear exception code actually confirms a Modbus slave is present and listening.
Can the meters and the PLC share one RS-485 segment?
Electrically the drivers can share the pair, but the frames cannot share it usefully: a Modbus RTU poll and a native-protocol request from another master would collide on a wire that has no arbitration. Keep the meter segment and the PLC segment separate and let the gateway join them, so each segment runs one protocol at one consistent set of framing settings.
What should the PLC do with a mapped value when one meter stops answering?
Treat it as invalid. The gateway should set a per-device quality or status point when a poll times out, and the PLC program should stop using that measurement until quality returns. Presenting the last good value as current hides a failed meter: the register still looks plausible on a screen while the process runs on stale data.


