Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
COMMUNICATION I
Outline
CONCEPT
Pararel vs Serial
Asycronous
Syncronous
RS-422 STANDARD
2
Pelatihan Industrial Data Communications
Concept
Serial Communication
Transmitter Receiver
Parallel Communication
3
Pelatihan Industrial Data Communications
Concept
11 01 0 01 0
Transmitter Receiver
4
Pelatihan Industrial Data Communications
Concept
Parallel Transmission
• All bits in register move out at once,
over individual lines
• Faster data rate than serial
• Typically higher price
• Used usually only for short
distances, often within equipment
1
1
0
1
Transmitter Receiver Transmitter 0 Receiver
0
1
0
K (ASCII Code = 4B hex)
5
Pelatihan Industrial Data Communications
Asynchronous Communication
transm itter
using “start - stop” signal.
receiver
Data are sent in frame of 5-8
bits. si g n a l g ro u n d
+ separated clock of
transmitter & receiver, tra n sm i t re ce i ve
precisely equal clock-rate of cl o ck cl o ck
is not necessary
+ simple equipment and lower K ( ASCII Code = 4B hex)
price
+ can handle communication
between slow and fast
equipment
- Low data-rate, requires
overhead (start bit, stop bit,
parity) in every transmitted
character
Transmission is tied to a
common clock.
data Clock-rate is given either by
Transmitter
transmitter or by receiver,
Receiver
signal ground or embedded in the data
signal
clock + High data-rate, data are
sent in packet frame
- Higher price
Modem Modem
Computer PSTN (Public Switching Computer
+ RS-232 Telephone Network) DCE + RS-232
DCE
DTE DTE
A B
Simplex: uni-directional
Simplex
9
Pelatihan Industrial Data Communications
Multipoint Communication
Multidrop Communication
One master, many slaves
Two way communication: slaves can also
transmit response
11
Pelatihan Industrial Data Communications
RS232 Mechanical Specification
DB25 connector
12
Pelatihan Industrial Data Communications
RS232 Electrical Specification
Transmitter Receiver
+15,0 V +15,0 V
‘0’
‘0’
+5,0 V
+3,0 V
-3,0 V
-5,0 V
‘1’ ‘1’
-15,0 V -15,0 V
13
Pelatihan Industrial Data Communications
RS232 Functional Specification
14
Pelatihan Industrial Data Communications
RS232 Procedural Specification
(handshaking example)
............ Logic1
PIN 7
RTS
Logic 0
PIN 8
Transmitter CTS Receiver
Transmitter Receiver
PIN 3
TXD DATA
Time
15
Pelatihan Industrial Data Communications
EIA/RS-485 Standard
Terminator, to prevent reflection
R = Receiver G = Generator
RS-485Features
multi drop connection, up to 32 device
a pair of cable (2 wires) for half-duplex communication
two pair of cables (4 wires) for full-duplex communication
16
Pelatihan Industrial Data Communications
Termination
A B
P Q R
19
Pelatihan Industrial Data Communications
RS-422 STANDARD
Serial transmission
Balanced, differential signal
RS-485 RS-422
Multi-drop Multi-point
Up to 32 devices Up to 10 slave