DB9 DIN Rail Terminal Block for Serial Communication Wiring

May 19, 2026

Leave a message

Sub-Pillar Guide

DB9 DIN Rail Terminal Block for Serial Communication Wiring

DB9 DIN rail terminal blocks convert a 9-pin D-sub connector into individually numbered screw or spring terminals on a 35 mm DIN rail. This guide covers pinout references for RS-232, RS-485, and RS-422, step-by-step wiring instructions, termination resistor placement, and selection criteria for industrial serial communication applications.

TL;DR - Key Takeaways
  • A DB9 DIN rail terminal block passively breaks 9 pins to screw/spring terminals for easier serial wiring.
  • RS-232, RS-485, and RS-422 use different pin assignments on the same DB9 connector.
  • RS-485 requires 120 Ω termination at each end of the bus - a terminal block makes this easy to add.
  • The most common wiring error is reversing RS-485 A/B polarity.
  • Always verify the device's pinout - manufacturers do not all follow the same standard.

Definition: A DB9 DIN rail terminal block is a passive module that converts a standard 9-pin D-sub (DE-9) connector into nine individually numbered screw or spring terminals, mounted on a 35 mm DIN rail for easy serial communication wiring, testing, and maintenance.

What Is a DB9 DIN Rail Terminal Block?

A DB9 DIN rail terminal block takes a standard 9-pin D-sub connector (formally called DE-9) and maps each pin to a dedicated screw or spring terminal on a DIN rail module. One side accepts a DB9 plug or socket; the other side provides 9 numbered terminals for landing field wires.

Like all interface terminal blocks, it is purely passive. It does not convert between RS-232 and RS-485, does not change voltage levels, and does not add any protocol intelligence. Pin 1 on the DB9 goes to Terminal 1. That is the entire function.

The real value shows up during commissioning and maintenance. When an RS-485 bus goes down, a technician can probe individual terminals with a multimeter, check polarity, measure resistance, or add a termination resistor - all without unscrewing the D-sub connector or disassembling wiring behind a panel.

DB9 DIN Rail Terminal Block for Serial Communication Wiring

DB9 DIN Rail Terminal Block: 9 Pins to 9 Terminals

DB9 terminal block installed on DIN rail for RS485 serial wiring

DB9 Module Used for RS-485 Bus Wiring

DB9 Pinout: RS-232 vs RS-485 vs RS-422

The same DB9 connector is used for three very different serial protocols. The pinout differs significantly between them. This is the most common source of wiring errors - always check the device documentation before connecting.

Pin RS-232 (DTE) RS-485 (Common) RS-422 Signal Direction
1 DCD (Data Carrier Detect) - (not used) TX- (Transmit -) Input / Output
2 RXD (Receive Data) - (not used) TX+ (Transmit +) Input / Output
3 TXD (Transmit Data) A / D+ (Data +) RX+ (Receive +) Output / Bus
4 DTR (Data Terminal Ready) - (not used) RX- (Receive -) Output / Input
5 GND (Signal Ground) GND (Signal Ground) GND (Signal Ground) Common
6 DSR (Data Set Ready) - (not used) - (not used) Input
7 RTS (Request to Send) - (not used) - (not used) Output
8 CTS (Clear to Send) B / D- (Data -) - (not used) Input / Bus
9 RI (Ring Indicator) - (not used) - (not used) Input

⚠️ Critical warning: The RS-485 pinout shown above (Pin 3 = A/D+, Pin 8 = B/D-) is the most common convention but not universal. Some manufacturers swap A and B, or use different pin numbers entirely. Always check the device's datasheet before wiring.

Key differences between the three protocols:

Feature RS-232 RS-485 RS-422
Topology Point-to-point Multi-drop bus (up to 32 nodes) Point-to-point or multi-drop (1 TX, up to 10 RX)
Duplex Full duplex Half duplex (2-wire) Full duplex (4-wire)
Max distance 15 m (50 ft) 1200 m (4000 ft) 1200 m (4000 ft)
Max speed 115.2 kbps (typical) 10 Mbps 10 Mbps
Signaling Single-ended (±3V to ±15V) Differential Differential
Termination needed? No Yes (120 Ω each end) Yes (100-120 Ω at receiver)

How to Wire a DB9 Terminal Block: Step-by-Step

The process is straightforward but requires careful attention to pin assignment. A single swapped wire can make the entire bus silent.

Step 1: Confirm protocol and pinout

  • Determine if the device uses RS-232, RS-485, or RS-422
  • Check the device datasheet for exact pin assignments
  • Identify which pins are signal, which are ground, which are unused
  • Note the gender (male or female) of the DB9 on the device

Step 2: Prepare the cable

  • For RS-232: standard multi-conductor cable (3-wire minimum: TX, RX, GND)
  • For RS-485: twisted pair shielded cable (2-wire: A, B + GND)
  • For RS-422: two twisted pairs + GND (4-wire + GND)
  • Strip conductor ends 8-10 mm

Step 3: Wire to terminals

  • Connect each conductor to its correct terminal number
  • For RS-485: wire A/D+ to Pin 3 terminal, B/D- to Pin 8 terminal, GND to Pin 5
  • Tighten screw terminals to 0.2-0.5 Nm
  • Connect shield/drain wire to ground terminal or DIN rail ground bar

Step 4: Terminate and test

  • For RS-485: add 120 Ω resistor between A and B at each bus end
  • Test continuity from DB9 pin to terminal
  • Measure resistance between A and B (should read 60 Ω if both ends terminated)
  • Power up and verify communication

RS-485 Termination and Polarity: The Two Most Common Errors

Termination: Why 120 Ω?

RS-485 uses a differential signal on a bus topology. Without proper termination, signal reflections at the cable ends cause data corruption, especially at higher baud rates or longer distances. The standard termination is a 120 Ω resistor placed between the A and B lines at each physical end of the bus.

A DIN rail terminal block makes termination simple: just place a 120 Ω resistor across the A (Pin 3) and B (Pin 8) terminals at each end. No soldering, no modifying the connector.

Rules:

  • Terminate ONLY at the two physical ends of the bus
  • Do NOT terminate at middle nodes
  • With both 120 Ω resistors in place, you should measure approximately 60 Ω between A and B (two 120 Ω resistors in parallel)
  • If you measure 120 Ω, one end is not terminated
  • If you measure less than 50 Ω, you may have too many termination resistors

Polarity: A/B Confusion

The naming of RS-485 signals is notoriously inconsistent across manufacturers:

  • Some call it A/B, others call it D+/D-, others use +/-
  • Some manufacturers define A as the non-inverting line (positive idle), others define A as inverting
  • The TIA/EIA-485 standard defines A as the inverting terminal, but many devices do the opposite

⚠️ Practical advice: Do not rely on A/B naming alone. If communication fails after wiring, the FIRST thing to try is swapping A and B. This fixes the problem in roughly 40% of RS-485 commissioning issues.

Pro tip: With a DB9 terminal block, swapping A and B takes 30 seconds - just move the two wires between Terminal 3 and Terminal 8. Without a terminal block, you would need to re-crimp or re-solder the connector.

Applications: Where DB9 Terminal Blocks Are Used

DB9 serial communication remains dominant in industrial environments where Ethernet is overkill, legacy equipment must be maintained, or fieldbus protocols require it.

  • Modbus RTU over RS-485 - The most common industrial serial protocol. Used for energy meters, VFDs, temperature controllers, and I/O modules.
  • PLC serial ports - Programming and communication ports on Siemens S7-200, Mitsubishi FX, Allen-Bradley MicroLogix, and similar PLCs.
  • CNC machines - DNC (Distributed Numerical Control) file transfer, serial parameter upload/download.
  • Weighing and dosing systems - Scale indicators, batch controllers, and filling machines.
  • Barcode and RFID readers - Serial output from fixed-mount scanners in production lines.
  • Building automation (BACnet MS/TP) - RS-485 bus for HVAC controllers, VAV boxes, and lighting controls.
  • Access control and security panels - RS-485 bus connecting door controllers and card readers.

Selection Criteria

When specifying a DB9 DIN rail terminal block, consider these factors:

Criterion Options Notes
Connector gender Male (plug) / Female (socket) Must mate with device's existing port
Terminal type Screw / Spring Spring resists vibration loosening
Wire gauge range 0.14 - 1.5 mm² (26 - 16 AWG) Match to your cable
Mounting screws With / Without locking screws Locking prevents accidental disconnect
Shielding Metal shell / Plastic shell Metal for EMI-sensitive RS-485
Labeling Printed pin numbers / Blank Pre-printed saves commissioning time

Common Wiring Problems

These are the issues we encounter most frequently in field support for DB9 terminal block installations:

  1. A/B polarity reversed. Communication completely fails. Solution: swap the two wires on the terminal block (30-second fix).
  2. Missing termination resistor. Works at short distances but fails at longer runs or higher baud rates. Random CRC errors. Solution: add 120 Ω between A and B at both bus ends.
  3. Termination at every node. Over-termination collapses the signal voltage. Solution: remove all termination resistors except the two at the physical bus ends.
  4. GND not connected. RS-485 is differential but still needs a common reference. Without GND, the common-mode voltage can exceed receiver limits. Solution: always connect Pin 5 (GND) between devices.
  5. Using the wrong DB9 gender. Device has female port, you ordered male terminal block - or vice versa. Solution: confirm gender before ordering (the terminal block's DB9 must be the OPPOSITE gender of the device's port).
  6. RS-232 distance too long. RS-232 is only rated for 15 meters. Beyond that, signal degrades rapidly. Solution: use RS-485 for distances over 15 m.

📚 Full Troubleshooting Guide

For symptom-based diagnosis of all terminal block wiring issues: Common DIN Rail Terminal Block Wiring Problems and How to Fix Them

Frequently Asked Questions

What is the difference between DB9 and DE-9?

They are the same connector. "DB9" is the common (incorrect) name; "DE-9" is the technically correct designation based on the D-sub shell size. In practice, everyone says DB9 and everyone understands what it means.

Can I use one DB9 terminal block for both RS-232 and RS-485?

The terminal block itself is protocol-agnostic - it just passes pins to terminals. However, the wiring on the terminal side will be different for each protocol. You cannot use the same wiring for both without reconfiguring.

How many devices can I connect on one RS-485 bus?

Standard RS-485 supports up to 32 unit loads on a single bus. With high-impedance receivers (1/8 unit load), you can reach 256 devices. The bus must be terminated with 120 Ω at each physical end regardless of the number of devices.

Do I need a shielded DB9 terminal block for RS-485?

If the RS-485 cable runs near motors, VFDs, or power cables, a metal-shell DB9 module with proper shield termination is recommended. In electrically quiet environments (office building BMS, for example), a plastic-shell module is usually fine.

Why does my RS-485 work at short distance but fail at longer runs?

This is almost always a termination problem. At short distances, reflections are small enough to not corrupt data. As distance increases, unterminated bus ends cause signal reflections that overlap with data bits. Add 120 Ω termination at both ends and the problem typically resolves.

Need a DB9 DIN Rail Terminal Block?

Tell us your protocol (RS-232 / RS-485 / RS-422), connector gender, terminal type, and quantity. Our team will confirm compatibility and reply within 24 hours.

  • Male and female DB9 versions in stock
  • Screw terminal and spring terminal options
  • Custom pinout mapping available for non-standard devices
  • Bulk pricing for system integrators
📩 Contact Us

Source DB9 DIN Rail Terminal Blocks

Premier Cable manufactures DB9 DIN rail interface modules for RS-232, RS-485, and RS-422 applications. Male and female connectors available. Standard pass-through and custom pin assignments supported.

Author: [Engineer Name] - Product Engineer, Premier Cable

Reviewed by: [Senior Engineer Name] - Field Application Engineer

Last Updated: May 2026

Send Inquiry