RS485 wiring problems are the root cause of most Modbus RTU failures in the field. The protocol itself is simple and robust — but it's unforgiving of wiring mistakes. Here's everything you need to get it right first time.
Correct Bus Topology
RS485 Modbus must be wired as a daisy chain (bus topology). Not a star. Not a tree. The cable goes from device 1 to device 2 to device 3, in series. Each "stub" (the short cable from the bus to a device) should be as short as possible — ideally under 30cm.
If you run separate cables from a central point to each device (star topology), the signal reflections at each unterminated cable end will corrupt every frame. This works for Ethernet but is fatal for RS485. If your site was wired as a star, you need to re-cable as a daisy chain or add RS485 repeaters.
The A/B Polarity Problem
There is no universal standard for RS485 pin labelling. Some manufacturers call the non-inverting line "A" and others call it "B". The TIA/EIA-485 standard says A is inverting (-) and B is non-inverting (+), but many devices label them backwards.
If communication fails completely, just swap A and B. It won't damage anything and solves the problem roughly 30% of the time. If swapping makes it work, label your cables immediately so the next engineer doesn't "fix" it.
Termination Resistors
Install a 120Ω resistor between the two data lines at both physical ends of the bus. Not at every device — just the two devices at opposite ends of the cable. Many modern devices have a built-in termination resistor with a DIP switch or jumper to enable it.
Without termination, the bus might work fine on the bench with 1m of cable, then fail in the field with 50m of cable. Reflections from unterminated ends corrupt frames and cause CRC errors.
Signal Grounding
RS485 needs a common ground reference between all devices. Use a third wire (in addition to A and B) connected to the signal ground terminal on each device. Without this, the common-mode voltage between devices can exceed the RS485 receiver's tolerance (typically ±7V), causing communication failure.
Common Field Wiring Mistakes
- Using Cat5/6 for long runs without shielding — Works for Ethernet but RS485 in industrial environments needs shielded cable
- Running RS485 in the same conduit as power cables — EMI from VFDs and motor cables destroys signal integrity
- Termination at every device — Only terminate at the two ends. Internal devices should have termination disabled
- Shield grounded at both ends — This creates a ground loop. Ground the shield at one end only
- Stub cables over 1m — Keep taps from the main bus to each device as short as possible
Diagnose wiring issues with ModBus Pro
ModBus Pro's built-in request logging shows response times and communication errors per device. Spot which device on the bus has the worst connection — usually the one with the longest stub or the missing ground wire.
Download Free