iEntry 10th Anniversary RSS Archive

IT Management Begins With Security
SecurityProNews > Articles > Network Systems > RS232 Wiring Diagrams
Search:
[ articles_network_systems ]

RS232 Wiring Diagrams



A.P. Lawrence
Contributing Writer
2003-03-27

SecurityProNews: Insider Reports Insider Reports RSS Feed


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

More articles_network_systems Articles

SecurityProNews: Insider Reports Insider Reports RSS Feed


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

Email Address:
* URL:
*
*Indicates Mandatory Field

Terms & Conditions

iEntry Featured Services: Jayde Member Services | Forums | Freeware | Advertise with Us

Virus Warnings

Subscribe to
SecurityProNews FREE!



[ more newsletters ]

article resources
Search Articles:
[advanced search]

WebProWorld.com
Get in-touch with industry experts and leaders
Post your site for review by expert and peers
Ask Security, IT, Development and Design questions

Free Membership: Join Now!

Visit WebProWorld.com

Titan Quest Forum
The #1 Titan Quest forum
Halo 3 Forum
The best Halo, Halo 2, Halo 3 forum
Nintendo Wii
Nintendo Wii news and views
Mac Software
The best in OS X freeware
Graphics Forum
Your source for graphic tutorials
SecurityProNews.com | Breaking eBusiness News Get Your IT Questions Answered - Click Here SecurityProNews News Feeds