Get Your Site Submitted for Free in the World's Largest B2B Directory!

Email Address:
* URL:
*
*Indicates Mandatory Field

Terms & Conditions

NetworkNewz
SecurityProNews
ITmanagement











RS232 Wiring Diagrams

By A.P. Lawrence
Expert Author
Article Date: 2003-03-27

Meanings of pins in DB25 order:


DB25 PinDB9 PinDescription
1FG Frame Ground
23TD Transmit data (Out)
32RD Receive data (In)
47RTS Request to Send (Out)
58CTS Clear to Send (In)
66DSR Data Set Ready (In)
75SG Signal Ground
81DCD Data Carrier Detect (In)
9+V (In)
10-V (In)
11QM (also called SSD- Secondary Send Data)(In)
12SDCD Secondary Carrier Detect (In)
13SCTS Secondary Clear to Send (In)
14STD Secondary Transmit Data (Out)
15TC Transmitter Clock (In)
16SRD Secondary Receive Data (In)
17RC Receiver Clock (In)
18Unused
19SRTS Secondary Request to Send (Out)
204DTR Data Terminal Ready (Out)
21SQ Signal Quality Detect (In)
229RI Ring Indicator (In)
23Data Rate Select (Out)
24(TC) External Transmitter Clock (Out)
25Unused


Meanings of pins in DB9 order:

DB25 PinDB9 PinDescription
81DCD Data Carrier Detect (In)
32RD Receive data (In)
23TD Transmit data (Out)
204DTR Data Terminal Ready (Out)
75SG Signal Ground
66DSR Data Set Ready (In)
47RTS Request to Send (Out)
58CTS Clear to Send (In)
229RI Ring Indicator (In)


Connecting to other devices

The unfortunate thing about RS232 is that aside from the simplest TD to RD and SG to SG hookups, and computer to modems (essentially straight through because a modem is DCE- just the reverse of a computer), everybody does it differently. For the diagrams below, leave off FG when you don't have it (DB9).

Async modems need FG (if available), SG, TD, RD, CTS, RTS, DSR, DCD and DTR at a minimum. Synchronous modems also need SCTS, STD, TC, RC, RI and (TC).

There is tremendous variance in printer wiring. If you don't know how your printer expects to be wired, you'll have to wire it just TD,RD and SG, and rely on Xon/Xiff flow control.

Some printers handshake with RTS and use DTR to indicate on-line or off-line.

ComputerPrinter (handshake DTR and CTS)
FGFG
RDTD
TDRD
DCDRTS
RTSDCD
CTS and DSRDTR
DTRCTS and DSR
SGSG


Others use DTR for everything

ComputerPrinter (handshake DTR)
FGFG
RDTD
TDRD
CTS, DCD and DSRDTR
DTRCTS, DCD and DSR
SGSG


Okidata printers have an unusual setup:

ComputerOkidata Serial Printer
FGFG
RDTD
TDRD
CTSQM
DSRDTR and DSR
SGSG


Connecting a computer to another computer needs only TD, RD and SG if you are using Xon/Xoff flow control.


ComputerTerminal or Computer
FGFG
RDTD
TDRD
RTSCTS
CTSRTS
DCD and DSRDTR
DTRDCD and DSR
SGSG


See also Serial Wiring and Serial Printers

About the Author:
A.P. Lawrence provides SCO Unix and Linux consulting services http://www.pcunix.com




NetWorkNewz
is an iEntry, Inc. ® publication © 1998-2008 All Rights Reserved Privacy Policy and Legal