PortDock

RS-485 wiring checks — five things to look at when replies are missing or garbled

A/B polarity, termination, biasing, common ground and topology. RS-485 wiring problems and their symptoms, before you blame the software.

Tools for this guideSerial Windows program · freeModbus Master Windows program · freeRS-485 Termination & Bias Calculator web · no installWiring Diagram Maker web · no install

RS-485 signals with the voltage difference between two wires, so it survives long, noisy runs. A small wiring mistake, however, shows up as «no reply» or «occasional CRC errors», which look like software problems. Check these before you blame the program.

1. A/B polarity

Wire names differ by vendor: A/B, D+/D−, Data+/Data−, and one vendor's A is often another's B. If nothing answers at all, swapping the two wires is the fastest test. Reversed polarity does not damage the devices.

2. Termination (120 Ω)

Put a 120 Ω resistor at the two physical ends of the line only. One at every device, or none at all, causes reflections that corrupt bytes on long lines and at high speeds. Short runs (a few metres) at 9600 bps often work without it, so problems may appear only after the cable is extended.

Two-wire RS-485 bus: one master and three slaves chained on A, B and GND, with 120 Ω termination resistors across A–B at both ends of the line
A two-wire RS-485 bus. Devices are chained on A, B and GND; the 120 Ω terminators sit at the two ends of the line only.

3. Biasing (fail-safe)

When nobody transmits, a floating line lets receivers read noise as data, producing stray bytes (often 00 or FF). Check that the master or the adapter provides bias resistors (pull-up/pull-down). Many USB-RS485 adapters enable them with a switch or jumper.

4. Common ground

«Two wires are enough» is a common belief, but if the devices' ground potentials differ, the receivers' common-mode range can be exceeded, breaking communication or even damaging devices. Connecting a third wire for signal ground is the safe choice.

5. Topology: daisy chain

RS-485 expects devices to be chained one after another. Star wiring or long stubs create reflections. With standard transceivers the usual limits are 32 devices (unit loads) per line and about 1200 m at low speeds.

RS-485 topologies compared: a daisy chain terminated at both ends is correct; star wiring from one point and a long stub are wrong
The correct daisy chain and two layouts that cause reflections — a star and a long stub.

Find it by symptom

SymptomCheck first
No reply at allA/B polarity, address, baud rate, parity, adapter direction control
Every byte I send comes straight backHalf-duplex echo — adapter setting, or ignore own transmission in software
Occasional CRC errorsTermination, ground, cable length vs speed, inverter noise nearby
Garbage bytes (00, FF) while idleBias resistors
Only nearby devices workTermination, topology (stubs), number of devices

Direction control in half duplex

Two-wire RS-485 sends and receives on the same pair, so the transmitter must be enabled only while sending. Most current USB adapters do this automatically; older ones switch direction with the RTS line, and the software must toggle RTS at exactly the right moment. If the start of replies is cut off, suspect this.

Order of checks on a new line

Check the adapter first

In the connection test of PortDock Serial's «Check connection…» (or Port Inspector), choose «2-wire RS-485 echo» to see whether the adapter receives what it sends. If it does, your own bytes showing up before the reply are how that adapter works, not a fault. Disconnect devices from the line before the test.

To check termination and bias values, the «RS-485 Termination & Bias Calculator» takes the pull-up, pull-down and termination resistors and shows whether the idle differential voltage clears the 200 mV threshold.

Published 2026-10-17