What Pins Do I Use for 2- and 4- Wire Transmission with RS-485?
I am using RS-485 serial communication, what pins do I need to connect for 2- and 4- wire transmission?
For 2- wire and 4- wire transmission, you need to use TXD+, TXD-, RXD+, and RXD-. The + and - represent two separate wires which enable differential communication across the cable.
In 4-wire transmission (full duplex), 4 wires run from TXD or RXD on the master to the corresponding TXD or RXD on the slave(s). This allows simultaneous bi-directional communication.
Half-DuplexIn 2-wire transmission (half-duplex), TXD+ and RXD+ on the master are wired together to TXD+ and RXD+ on the slave(s). TXD- and RXD- on the master are wired together to TXD- and RXD- on the slave(s). Only one pair of cables connects the master and the slave(s). Since the RS-485 protocol requires communication to flow in one direction at a time, 2-wire half-duplex mode results in non-simultaneous bi-directional communication.
The pinout for a DB-9 connector is shown below:
KnowledgeBase 41OICGAC: How to Connect and Configure a 2-Wire Device With RS-485
KnowledgeBase 17M6L0TI: What Are the Different Transceiver Modes on the NI RS-485 Serial Cards?
Product Manuals: Serial Quick Reference Guide (July 2013)
Example Program: How to Do Serial I/O and Change Transceiver Modes Programmatically using Visual C++
White Paper: RS-232, RS-422, RS-485 Serial Communication General Concepts
Report Date: 09/27/2004
Last Updated: 06/22/2017
Document ID: 3DQBQ0OY