Skip to main content
SERIAL · BASICS

What Is RS-485?

RS-485 is a serial communication standard that sends data as a differential signal over a twisted pair. That makes it resistant to electrical noise and able to run long cables, up to about 1,200 m, with many devices sharing one bus. It is widely used for industrial control, Modbus RTU, building systems and PTZ camera control.

01

How RS-485 works

RS-485 is an electrical standard for serial data, published as TIA/EIA-485-A. It defines how the signal travels on the wires, not what the data means, so protocols such as Modbus RTU, Profibus DP, BACnet MS/TP and Pelco-D run on top of it. RS stood for Recommended Standard.

Instead of measuring a signal against ground, as RS-232 does, RS-485 sends each bit as the difference in voltage between two wires, usually labeled A and B or D− and D+. The receiver only looks at that difference. Electrical noise from motors, welders or power cables tends to hit both wires equally, so it cancels out. A difference of just 200 mV is enough for the receiver to read a valid bit, and the standard tolerates a common-mode voltage range of −7 V to +12 V between devices. That is why RS-485 survives long runs through factories, vehicles and outdoor installations where RS-232 would fail.

RS-485 is also multi-drop. Many transmitters and receivers can share the same pair of wires, so a single bus can link a controller to dozens of meters, drives or sensors.

02

RS-485 key specifications

Parameter RS-485 value
Signaling Differential, balanced pair
Maximum cable length Around 1,200 m (4,000 ft) at up to about 100 kbit/s
Maximum data rate Around 10 Mbit/s over short runs of about 12 m
Devices per segment 32 standard loads; up to 256 with 1/8-load transceivers
Receiver threshold ±200 mV
Common-mode range −7 V to +12 V
Cable Twisted pair, around 120 ohm characteristic impedance
Termination 120 ohm resistor at each end of the bus

Distance and speed trade off against each other. A common rule of thumb is that the data rate in bit/s multiplied by the cable length in meters should stay below about 108, and slower rates such as 9,600 or 19,200 bit/s are typical on long industrial buses.

03

Wiring an RS-485 bus

Most RS-485 faults come from wiring rather than from the equipment. A few rules keep a bus reliable.

  • //
    Daisy-chain, do not star. Run the cable from device to device in a line, with short stubs. Star and branch layouts cause reflections.
  • //
    Terminate both ends. Fit a 120 ohm resistor across A and B at the two physical ends of the bus, and nowhere else.
  • //
    Bias the idle line. Fail-safe biasing resistors hold the bus in a known state when no device is transmitting, so receivers do not read noise as data.
  • //
    Use a common reference. Run a signal ground or the cable shield as a reference between devices, so the common-mode limits are not exceeded.
  • //
    Choose 2-wire or 4-wire. Two-wire half duplex shares one pair for both directions and is the norm for Modbus. Four-wire full duplex uses separate transmit and receive pairs.
FAQ · 01
What is the difference between RS-232 and RS-485?
RS-232 is single-ended and point to point, for one device over about 15 m. RS-485 is differential and multi-drop, for many devices over up to about 1,200 m, with much better noise immunity.
Read the full FAQ —
04

RS-485 termination and biasing

Termination and biasing solve two different problems. A termination resistor matches the end of the cable to its characteristic impedance, so a signal that reaches the end is absorbed instead of reflecting back along the line and corrupting the next bits. Fit a resistor close to the cable impedance, usually 120 ohm, across A and B at the two ends of the trunk only. Extra terminators part-way along the bus load the drivers and shrink the signal.

Reflections matter most on long cables and at higher baud rates. On a few meters of cable at 9,600 baud they die away long before the receiver samples each bit, which is why an unterminated bench test can work and the same bus then fails on site. Terminating both ends is the safe default.

Biasing, also called fail-safe biasing, deals with the idle bus. Between messages every driver is switched off, and an undriven pair floats near 0 V, inside the receivers’ ±200 mV undefined band, so noise can be read as a start bit. A pull-up resistor on the non-inverting line and a pull-down on the inverting line hold the pair at least 200 mV apart, in the idle state. Typical values are a few hundred ohms, such as 560 or 680 ohm on a 5 V supply, fitted once per bus, often at the controller. Many current transceivers have fail-safe receivers that read an idle or shorted bus as a logic 1, which reduces or removes the need for external bias, so check the datasheet before adding resistors.

Watch the labels too. TIA-485 calls the inverting line A and the non-inverting line B, but many devices print them the other way round or use D+ and D−, so a bus that stays silent after wiring often has one pair swapped.

  • //
    2-wire. One pair shared by every device, half duplex, with each driver switching on only to send. This is the usual Modbus RTU layout. Add a third conductor as the signal reference, or use ports with galvanic isolation where devices sit on different earths.
  • //
    4-wire. One pair from the controller to every field device and a second pair back, full duplex. It suits a controller that polls continuously and links to RS-422 equipment, but each field device still has to switch its driver off when it is not replying.
  • //
    Matching the port. Industrial COM ports usually set 2-wire or 4-wire mode in the BIOS or with jumpers or DIP switches, and some have switchable termination and bias resistors, so the computer can sit at the end of the bus without external parts.
05

RS-485 vs RS-422

RS-422 is the close relative of RS-485. Both use differential signaling over twisted pairs and reach similar distances and speeds. The difference is the number of transmitters. RS-422 allows one driver and up to 10 receivers on a pair, so it suits point-to-point or one-to-many links, such as a computer sending data to several displays. RS-485 allows many drivers on the same pair, each switching off when it is not transmitting, which is what makes a shared multi-drop bus possible. Most RS-485 transceivers can also talk to RS-422 equipment in four-wire mode, which is why industrial COM ports usually offer both.

06

Where RS-485 is used

RS-485 remains the default physical layer wherever simple, robust links run long distances between many devices.

  • //
    Industrial automation. Modbus RTU links PLCs, drives, energy meters and sensors on one bus.
  • //
    PTZ camera control. Protocols such as Pelco-D and Pelco-P steer a PTZ camera over RS-485.
  • //
    Building systems. Access control, HVAC and lighting controllers share long cable runs, often with BACnet MS/TP.
  • //
    Vehicles and transport. Destination displays, ticketing and on-board equipment talk to a central computer.
  • //
    Energy and utilities. Inverters, battery systems and substation meters report over RS-485.
07

RS-485 on industrial computers

Industrial computers usually offer RS-485 as one mode of a combined RS-232/422/485 COM port, selected in the BIOS or with jumpers. For harsh sites, look for electrical isolation, which protects the computer from ground loops and surges, ESD protection and automatic direction control, which switches the transceiver between sending and receiving without software timing. Rugged and vehicle computers often carry serial on locking M12 connectors; our M12 A-coded FAQ covers the connector usually used. Where more ports are needed, our serial I/O modules add isolated RS-485 channels on mini PCIe or PC/104 cards. In our object tracking case study, an edge AI computer uses RS-485 to steer a PTZ camera.

08

Quick answers on RS-485

RS-485: common questions

Is RS-485 the same as Modbus?

No. RS-485 defines the electrical signal on the wires. Modbus RTU is a protocol that commonly runs over it, alongside others such as Profibus DP and BACnet MS/TP.

Is RS-485 Ethernet?

No. RS-485 is a serial bus with no IP addressing. Serial device servers and gateways connect RS-485 devices to Ethernet networks.

What cable should I use for RS-485?

Shielded twisted pair rated around 120 ohm. Dedicated RS-485 or Profibus cable is ideal; Cat5e can work on shorter runs if a pair is used for A and B.

How many devices can be on an RS-485 bus?

32 standard loads per segment. Reduced-load transceivers allow up to 256, and repeaters extend the bus further. The protocol may set its own limit, such as 247 addresses in Modbus.

Is RS-485 half or full duplex?

Either. Two-wire RS-485 is half duplex, so devices take turns to transmit. Four-wire RS-485 is full duplex, with separate pairs for each direction.

Does RS-485 need termination resistors?

On most real buses, yes. Fit 120 ohm across A and B at the two ends of the cable. Very short, slow links can work without them, but terminating both ends is the safe default.

We specify and fit isolated RS-485 ports on industrial and edge computers as standard, set the port modes and termination for your bus, and test serial communication before each system ships.