WWW Tutorial

Download Report

Transcript WWW Tutorial

ANALOG AND DIGITAL
PHYSICAL INTERFACES
Habib Youssef, Ph.D
[email protected]
Department of Computer Engineering
King Fahd University of Petroleum and
Minerals
Dhahran, Saudi Arabia
COMPUTER NETWORK
The RS-232/CCITT V.24 and
V.28 Interface
RS-232/CCITT
V.24
Computer
Computer
Data
Modem
DTE
DCE
Out of
Band
Control
DTE : Data Terminal Equipment
DCE : Data Circuit Termination Equipment
Data
Modem
DCE
Out of
Band
Control
DTE
The RS-232/CCITT V.24 and
V.28 Interface (Cont.)
Data processing (DTE) to modem (DCE)
interface
 The CCITT V.24 Recommendation
defines the interchange circuits

» V.28 defines the electrical characteristics
The RS-232/CCITT V.24 and
V.28 Interface (Cont.)

In EIA, known as RS-232-C (the third [C] version of RS-232)
» More recent version of RS-232-D (now EIA232-D)
» Sometimes TIA-232-D
(Telecommunications Industry Association)
The RS-232/CCITT V.24 and
V.28 Interface (Cont.)

A 25-pin connector/interface
» ISO 2110 is used
» Is not part of the RS-232-C standard
Bit serial data (full duplex)
 Out of band control lines

The RS-232/CCITT V.24 and
V.28 With Null Modems
DTE
2
3
4
5
6
8
20
7
Data
DCE
Null Modem
Data
2
Data
Data
Req to Send
Req to Send
Clear to Send
Clear to Send
3
4
5
Data Set Ready
Data Set Ready
Signal Detect
Signal Detect
Data Terminal Ready
Data Terminal Ready
Signal Ground
Note : There are many variations to Null Modem Cross Connection
6
8
20
7
Pin Assignments for V.24/EIA232
Shield
Rx Data
Tx Data
1
Clear to
Send
2
14
15
4
16
Transmitter
signal element
timing
Secondary
Tx Data
DCE
Ready
Reg to
Send
3
5
17
Reserved for
testing
GND
6
18
Carrier
Detect
7
19
8
20
Reserved for
testing
9
21
10
22
Transmitter Secondary Remote
signal element RTS
Loopback
timing
Secondary
received data
Secn. CTS
Unassigned
Secn. Recv.
Line Signal
Detector
11
23
12
24
Data Signal
Rate Select
13
25
Test Mode
Transmit
Local DTE Ready
signal element
Loopback
Ring Indicator
timing
RS-232/CCITT V.24 & V.28
Related Products

It is often convenient to switch RS232/V.24 signals from a computer to one
of several devices
» For example, to different types of printers

Simple “multiple” switches are available
for this purpose
RS-232/CCITT V.24 & V.28
Related Products (Cont.)

Specialized companies have been
developed to handle the interface market
with products such as
» Multiple switches
» RS-232/V.24 cables
» Null modems
» RS-232/V.24 “gender changers”

Breakout boxes to monitor control
signals
Limitations of RS-232/V.28



An upper data rate of about 20 kbit/s
An upper cable length of about 50 to 100
feet (about 20 to 40 m)
Some products are available to extend
these, but a new approach is needed
The Evolution of RS-232-C
RS-449 signals
RS-232-C
RS-422/423 electrical (1977)
RS-442 balanced circuits
RS-443 unbalanced circuits
RS-530 (1987)
•Balanced Circuits
EIA-232-D (1987)
• Unbalanced circuits
V.35
•Balanced Circuits
Synchronous Transmission
Has a known timing relationship
between bits and characters
 Characters are sent one after the other
 The receiver recovers this timing from
transitions in the arriving data

1
0
Start
End
Characters
V.24/EIA-232 dial-up
operation
Single Ended Interchange
Circuit
Noise
Error
Recvr
Trans
Signal return
Note: V.10 is the same as X.26 or RS-423-A (unbalanced)
Differential Interchange
Circuit
Noise
Sensitive to differential
signal
Recvr
Trans
Noise was rejected
Termination resistor
Note : V.11 is the same as X.27 or RS-422-A (balanced)
CCITT X.21 Interface
Physical-level interface between DTE
and DCE
 For synchronous operations on public
data networks
 X.21 uses control transitions and ASCII
characters rather than using separate
signal lines

CCITT X.21 Interface (Cont.)

The X.21 electrical characteristics are
» CCITT X.27 (balanced; same as V.11 and
RS-422)
» CCITT X.26 (unbalanced; V.10 and RS423)
(Note: For operation above 9600 bit/s, X.27 is required)

X.21 mechanical characteristics are
» 15-pin connector per ISO Standard 4903
CCITT X.21 Interface (Cont.)
4
Switched 64
kbit/s
X.21
DSU
Bridge
CCITT X.21 Interface (Cont.)
Circuit
G
Ga
Gb
T
R
C
I
S
B
Name
Ground,Common Return
DTE Common Return
DCE Common Return
Transmit
Receive
Control
Indication
Signal Timing
Byte Timing (Optional)
Direction
To DCE / To DTE
X
X
X
X
X
X
X
X
CCITT X.21 bis
As an interim (perhaps longer term)
provision, we have X.21 bis
 X.21 bis utilizes RS-232 for use with
X.25
 Particularly used in countries where
X.21 has not yet become available

CCITT X.21 bis (Cont.)

RS-232 signals are used to represent
X.21 events
» To initiate the call

Some X.21 features are not supported
» Call progress signals
ISDN Interface
Terminal Equipment (TE)
Network Equipment (NE)
a
Power
Source 3
a
b
b
c
c
Transmit
d
d
Receive
e
e
f
f
g
g
h
h
Power
Sink2
Transmit
Receive
Power
Source 2