Confidential Documentation
Agenda
When:
Day DD/MM/YYYY
Where:
Place
Who:
What:
Duration:
HH:MM hours
Level:
Basic
c o d e e -v o lu tio n
Confidential Documentation
Modules Contents
What is RS232
RS-232 Signals
RS-232 Speed
RS-232 SW settings
What is RS-485
RS-485 Network
RS-485 Half-duplex
RS-485 Full-duplex
RS-232 vs RS-458
c o d e e -v o lu tio n
Confidential Documentation
What is RS-232
c o d e e -v o lu tio n
Confidential Documentation
RS-232 Signals
Architecturally RS-232 is a
bi-directional point to point
link.
(serial port - PC side)
c o d e e -v o lu tio n
Confidential Documentation
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
c o d e e -v o lu tio n
Confidential Documentation
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.
c o d e e -v o lu tio n
Confidential Documentation
RS-232 Speed
c o d e e -v o lu tio n
Confidential Documentation
RS-232 sw settings
+ 25
- 25
c o d e e -v o lu tio n
Confidential Documentation
What is RS-485
What is RS-485?
RS-485 is a EIA standard interface which is very common in the
data acquisition world
c o d e e -v o lu tio n
Confidential Documentation
c o d e e -v o lu tio n
Confidential Documentation
RS-485 Network
SLAVE-1
MASTER
SLAVE-2
SLAVE-3
c o d e e -v o lu tio n
Confidential Documentation
RS-485 Half-duplex
RTX485+
RTX485TX
ENABLE
RX
485GND
TX
ENABLE
Slave 1
RX
TX
ENABLE
Slave 2
RX
TX
ENABLE
RX
Slave N
Master
c o d e e -v o lu tio n
Confidential Documentation
RS-485 Full-duplex
TX485+
TX
ENABLE
RX
TX485-
TX
ENABLE
RX485+
RX
RX485485GND
Other device
Scanner
c o d e e -v o lu tio n
Confidential Documentation
RS-232 vs RS-485
c o d e e -v o lu tio n
Confidential Documentation
RS-232 vs RS-485
RS-232
RS-485
Mode of Operation
SINGLE-ENDED DIFFERENTIAL
N/A
N/A
+/-6mA @ +/-2v
+/-100uA
Confidential Documentation
Hardware (RTS-CTS)
Software XON/XOFF
c o d e e -v o lu tio n
Confidential Documentation