Beruflich Dokumente
Kultur Dokumente
Communications
What is Serial?
Standards
RS-232, RS-422, and RS-485
What is RS-232
What is RS-232
What is RS-232
RS-232-C Interface
EIA
DTE
DCE
RS-232-C
DCE
RS-232-C
RS-232 Signals
Architecturally RS-232 is a
bi-directional point to point
link.
(serial port - PC side)
Voltage Levels
Valid signals are either in the range of +3 to +15 volts or the range 3
to 15 volts with respect to the "Common Ground" (GND) pin;
consequently, the range between 3 to +3 volts is not a valid RS-232
level.
For data transmission lines (TxD, RxD and their secondary channel
equivalents) logic one is defined as a negative voltage, the signal
condition is called "mark". Logic zero is positive and the signal
condition is termed "space".
Control signals have the opposite polarity: the asserted or active state
is positive voltage and the deasserted or inactive state is negative
voltage. Examples of control lines include request to send (RTS), clear
to send (CTS), data terminal ready (DTR), and data set ready (DSR
Control circuits
Voltage
0 (space)
Asserted
+3 to +15 V
1 (mark)
Deasserted
15 to 3 V
The
slew rate, or how fast the signal changes between levels, is also
controlled.
The idle state (MARK) has the signal level negative with
respect to common whereas the active state (SPACE) has the
signal level positive respest to the same reference.
Handshaking
RS-232 Speed
RS-232 sw settings
+ 25
- 25
RS-232 Signals
Pin
1
2
3
4
5
6
7
8
20
22
Signal
PGND Protective Ground
TXD Transmit Data
RXD Receive Data
RTS Ready To Send
CTS Clear To Send
DSR Data Set Ready
SG Signal Ground
CD Carrier Detect
DTR Data Terminal Ready
RI Ring Indicator
Because both ends of the RS-232 circuit depend on the ground pin
being zero volts, problems will occur when connecting machinery
and computers where the voltage between the ground pin on one
end, and the ground pin on the other is not zero. This may also
cause a hazardous ground loop.
Differential Signaling
Serial Networking
Cresnet is RS-485
RS 422
Standard
TIA/EIA-422
Physical Media
Twisted Pair
Network Topology
Point-to-point, Multi-dropped
Maximum Devices
Maximum Distance
Mode of Operation
Differential
Voltage Levels
Mark (1)
Negative Voltages
Space (0)
Positive voltages
Available Signals
SPECIFICATIONS
RS232
RS423
SINGLE
-ENDED
SINGLE
-ENDED
1 DRIVER
1 DRIVER
1 DRIVER
32 DRIVER
1 RECVR
50 FT.
10 RECVR
4000 FT.
10 RECVR
4000 FT.
32 RECVR
4000 FT.
20kb/s
100kb/s
10Mb/s100Kb/s
10Mb/s100Kb/s
+/-25V
+/-6V
-0.25V to
+6V
-7V to
+12V
+/-5V to +/15V
+/-3.6V
+/-2.0V
+/-1.5V
+/-25V
+/-6V
+/-6V
+/-6V
3k to 7k
>=450
100
54
Power On
N/A
N/A
N/A
+/-100uA
Power Off
+/-6mA @ +/2v
+/-100uA
+/-100uA
+/-100uA
30V/uS
Adjustable
N/A
N/A
+/-15V
+/-12V
-10V to
+10V
-7V to
+12V
Mode of Operation
Total Number of Drivers and Receivers on One Line (One
driver active at a time for RS485 networks)
Maximum Cable Length
+/-3V
3k to 7k
RS422
RS485
DIFFERENTI DIFFERENTI
AL
AL
4k min.
>=12k
With the introduction of "automatic" repeaters and highimpedance drivers / receivers this "limitation" can be extended
to hundreds (or even thousands) of nodes on a network.
RS485 extends the common mode range for both drivers and
receivers in the "tri-state" mode and with power off. Also,
RS485 drivers are able to withstand "data collisions" (bus
contention) problems and bus fault conditions.
What is RS-485
What is RS-485?
RS-485 is a EIA standard interface which is very common in the
data acquisition world
To solve the "data collision" problem often present in multidrop networks hardware units (converters, repeaters, microprocessor controls) can be constructed to remain in a receive
mode until they are ready to transmit data.
SPECIFICATIONS
RS232
RS423
RS422
RS485
Mode of Operation
SINGLE
-ENDED
SINGLE
-ENDED
DIFFERENTIAL
DIFFERENTIAL
1 DRIVER
1 RECVR
1 DRIVER
10 RECVR
1 DRIVER
10 RECVR
32 DRIVER
32 RECVR
50 FT.
4000 FT.
4000 FT.
4000 FT.
20kb/s
100kb/s
10Mb/s-100Kb/s
10Mb/s-100Kb/s
+/-25V
+/-6V
-0.25V to +6V
-7V to +12V
+/-5V to +/-15V
+/-3.6V
+/-2.0V
+/-1.5V
+/-25V
+/-6V
+/-6V
+/-6V
3k to 7k
>=450
100
54
Max. Driver
Current in High Power On
Z State
N/A
N/A
N/A
+/-100uA
Max. Driver
Current in High Power Off
Z State
+/-6mA @ +/2v
+/-100uA
+/-100uA
+/-100uA
30V/uS
Adjustable
N/A
N/A
+/-15V
+/-12V
-10V to +10V
-7V to +12V
+/-3V
+/-200mV
+/-200mV
+/-200mV
3k to 7k
4k min.
4k min.
>=12k Popular
Products:
Driver Output
Signal Level
(Loaded Min.)
Loaded
Driver Output
Signal Level
(Unloaded
Max)
Unloaded
RS-485 Network
SLAVE-1
MASTER
SLAVE-2
SLAVE-3
RS-485 Half-duplex
RTX485+
RTX485TX
ENABLE
RX
485GND
TX
ENABLE
TX
ENABLE
Slave 2
RX
TX
ENABLE
RX
Master
Slave 1
RX
Slave N
RS-485 Full-duplex
TX485+
TX
ENABLE
RX
TX485RX485+
TX
ENABLE
RX
RX485485GND
Other device
Scanner
RS-232 vs RS-485
RS-232 vs RS-485
RS-232
RS-485
Mode of Operation
SINGLE-ENDED DIFFERENTIAL
N/A
N/A
+/-6mA @ +/-2v
+/-15V -7V to +12V
+/-200mV
7k
12k
+/-100uA
Hardware (RTS-CTS)
Software XON/XOFF