— RS-232, RS-422 & RS-485

(Module 2 · Modbus Serial Protocols — The Original Workhorses)

Target Reader Automation engineers, embedded developers, and students who must design or debug real Modbus links—cable in hand, scope on the bench, plant downtime ticking in the background.


Chapter Map

§TopicWhy it matters
4.1Serial Comms RefresherBit-frame anatomy, voltage vs. current loops
4.2RS-232Point-to-point legacy still found inside control panels
4.3RS-422Full-duplex differential; niche but perfect for motion controls
4.4RS-485The industrial standard—half/full duplex, multidrop, long runs
4.5Engineering RS-485: wiring, termination, biasing, EMCWhere most field faults hide
4.6Practical Design ChecklistA single-page audit before you leave site

(Diagram ID placeholders appear like [Fig-4-x])


4.1 Serial Communication Refresher

4.1.1 Framing Basics

ElementDefault RTU Example @ 9600 bit/s
Start≥ 3.5 char idle (silence)
Data bits8 (Normal); 7 for ASCII
ParityEven / Odd / None
Stop bits1 (RTU), 1 or 2 (ASCII)

[Fig-4-1] Bit-level oscilloscope capture showing start, 8-E-1 framing, annotated 1.5 & 3.5 char gaps.

4.1.2 Voltage vs. Differential Signalling

  • RS-232 = single-ended ± 3–15 V referenced to signal ground → noise magnet.
  • RS-422/485 = differential (A/B lines) → immune to ± 6 V common-mode noise.

Field insight A ground loop of only 200 mV can destroy RS-232 data; RS-485 typically tolerates ± 7 V DC and ± 12 V transient.


4.2 RS-232 — The Original Point-to-Point Workhorse

AttributeValue
Bus topologyOne TX, one RX, one GND — strictly 1 : 1
Cable length15 m @ 19 200 bit/s typical; 50 ft rule of thumb
Voltage windowLogic 1 ≤ – 3 V, Logic 0 ≥ + 3 V
Max nodes1 pair
Typical connectorsDB-9, DB-25, panel screw-terminal on modern PLCs

4.2.1 When RS-232 Is Still Useful

  • Inside a cabinet where noise is minimal and point-to-point is acceptable (e.g., laptop ↔ VFD during commissioning).
  • Isolated converter cables (USB-to-RS-232 w/ opto-isolation) for quick diagnostics.

Pitfall Null-modem vs. straight-through confusion.
Quick test: jumper pins 2-3 on PLC side; echo visible = wrong cable.


4.3 RS-422 — The Quiet Performer

FeatureNote
Full-duplexSeparate differential pairs A/B (TX) & Y/Z (RX)
Node count1 driver → 10 receivers (multi-drop listen only)
Distance1200 m @ 100 kbit/s with Cat-5e or Belden 9841
Noise margin± 7 V common-mode

4.3.1 Ideal Use-Cases

  • High-speed deterministic motion controllers needing simultaneous TX & RX.
  • Long-haul single-master PLC talking to multiple remote read-only I/O panels.

Tip If you need more than one talker on the bus, jump straight to RS-485.


4.4 RS-485 — King of the Industrial Floor

VariantWiresDuplexTypical Use
2-wire (Half-duplex)A/BHalf95 % of Modbus RTU networks
4-wireTX(A′/B′) + RX(A/B)FullFlame scanners, motion axes needing streaming data

4.4.1 Electrical Cheat-Sheet

ParameterValue
Driver output1.5 V min differential into 54 Ω
Receiver threshold± 200 mV
Bus loading32 unit loads (UL) max (classic), 256 for “fractional UL” transceivers
Common-mode tolerance–7 V … +12 V

[Fig-4-2] Diagram: Multi-drop 2-wire bus with addresses 1…31, master at ID 0 pointing arrows both directions (half-duplex).

4.4.2 Why Half-Duplex Wins

  • One twisted pair → cheaper cable, fewer terminations.
  • Master polls → half-duplex still yields deterministic latency.

4.5 Engineering RS-485 Links

4.5.1 Cabling & Topology

RuleRationale
Daisy-chain only (no star tees)Avoid signal reflections & stub capacitance
Balanced twisted pair, 120 Ω characteristicMatches standard termination
Shield grounded at one end (cabinet)Breaks ground loops but drains noise

Never connect shield to both ends and to instrument GND—induces hum loops.

4.5.2 Termination Math

  • End-to-end termination = one 120 Ω resistor at each physical end.
  • For 4-wire full-duplex: two pairs ⇒ four terminators.

Quick-calc Max line impedance mismatch reflection coefficientΓ=ZL−Z0ZL+Z0\Gamma = \frac{Z_L – Z_0}{Z_L + Z_0}

Keeping ZLZ_L (terminator) ± 10 % of Z0Z_0 (cable) keeps ∣Γ∣<0.05|\Gamma| < 0.05.

4.5.3 Fail-Safe Biasing

Without traffic the line floats; noise can mimic start-bit → phantom frames.

ComponentTypical Value (24 V bus)Purpose
Pull-up (RPU) on B680 Ω – 1 kΩForces Mark (Logic 1)
Pull-down (RPD) on A680 Ω – 1 kΩ– ditto –

Bias voltage target: +200 mV ≤ VABV_{AB} ≤ +400 mV idle.

[Fig-4-3] Schematic: RS-485 transceiver with termination + bias resistors explicitly labelled, showing DC idle differential.

Tip Only one bias network per segment. Duplicate bias = excess load, weak swing.

4.5.4 Grounding & Isolation

  • Provide a 0 V reference conductor (COM).
  • Isolate at least one end (opto or transformer) when devices sit > 250 m apart or on separate earth grids.
  • Surge arrestors (TVS diodes) at panel entry for outdoor runs.

4.5.5 EMC Proven Tricks

  1. Route RS-485 away from VFD output cables; cross at 90 °.
  2. Tie shield to drive chassis near noisy equipment, still ground at cabinet.
  3. Use ferrite clamp cores on long leads entering control cabinet.

4.6 Design & Commissioning Checklist

✔︎TaskPass Criteria
Cable = twisted pair, 120 ΩVerified with TDR or vendor datasheet
Daisy-chain topologyNo unterminated stubs > 10 cm
Termination resistors120 Ω ± 5 % at both ends (2-wire)
Single bias networkIdle differential > +200 mV
Node count ≤ 32 UL (or spec)Datasheets confirm “1/8 UL” transceivers if > 32
Ground reference conductor< 1 Ω between far ends; isolation if > 250 m
Shield ground schemeOne-end only unless spec requires both
Scope verificationEye-diagram clear; no reflections > 15 %
Configuration parity/baudSame on every slave; master tested

Print this table, laminate it, and tape it inside your toolbox lid.


Key Takeaways

  1. RS-232 = simplest, shortest, point-to-point → laptop service cable.
  2. RS-422 = differential full-duplex; specialised for high-speed one-to-many read-only.
  3. RS-485 = differential half-duplex multi-drop; de facto Modbus workhorse.
  4. Robust RS-485 requires correct termination and single bias; 80 % of “Modbus not working” calls stem from violating those two rules.
  5. Use the nine-point checklist before declaring a link “commissioned.”

Visual Assets to Create

IDDescriptionFormat
Fig-4-1Scope capture annotated with T1.5 / T3.5 timingPNG
Fig-4-2Multi-drop RS-485 bus with master, slaves, terminationSVG
Fig-4-3RS-485 transceiver schematic inc. bias & surgeSVG
Fig-4-4Cable cross-section showing twisted pair + shield drainPNG

Up Next

With the physical layer mastered, Chapter 5: Modbus RTU — Efficient Binary Communication will drill into the frame byte order, CRC math, and timing tweaks that let RS-485 networks hum along at 115 kbit/s across a 1-kilometre factory. Keep the scope handy.

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Posts

Chapter 19 – Systematic Modbus Troubleshooting

— Layer-by-Layer from Wire to Application (Module 6 · Troubleshooting & Diagnostics – Mastering Modbus Problem Solving) Learning objectives Recognise the tell-tale symptoms of the most frequent Modbus failures. Apply a structured,…