Datalink Control Protocol 2
Datalink Control Protocol 2
Chapter 23
Electronic Communications Sytems , Fifth Editon
By: Wayne Tomasi
1
CLASSIFICATONS OF
DLCP
CHARACTER
ORIENTED PROTOCOLS
CLASSIFICATONS OF
DLCP
BIT-ORIENTED
PROTOCOLS
CLASSIFICATONS OF
DLCP
ASYNCHRONOUS
PROTOCOLS
PROTOCOLS
ASYNCHRONOUS DLCP
XMODEM
Developed by Ward Christiansen in 1979
The first file transfer protocol (FTP)
ASYNCHRONOUS DLCP
XMODEM
PROCEDURAL SEQUENCE
ASYNCHRONOUS DLCP
XMODEM
S
O
H
FRAME FORMAT
8
8
Bit Bit
s
s
8
Bit
s
8
Bit
s
Start of
Heading
Header
Field
(Sequence
Number
with Complementary
Redundancy)
Data Field
128 bytes
Fixed
length
C
R
C
Error
Detectio
n
(8 bits)
ASYNCHRONOUS DLCP
YMODEM
Similar to XMODEM except for the following:
1. The information field has a capacity of 1024
bytes.
2. Two CAN characters are required to abort a
transmission.
3. ITU-T-CRC 16 is used to calculate the frame
check sequence.
4. Multiple frames can be sent in succession and
then acknowledged with a single ACK or NAK
characters (Sliding window flow control)
8
SYNCHRONOUS DLCP
BINARY
SYNCHRONOUS COMMUNICATION
(BSC)
A synchronous character-oriented data-link protocol
developed by IBM
Also called bisync or bisynchronous
communication
Each data transmission is preceded by a unique
synchronization character sent twice
SYNCHRONOUS DLCP
BSC
FRAME FORMAT
SY SY
N N
Poll
Messag Selection
e
Message
Acknowledgeme
nt
Bisync
ASCII
: 16H
Field
Synchronization
(00010110)
Characters
Transmitted in Pairs
EBCDIC : 32H
(00110010)
10
BSC POLLING
SEQUENCES
GENERAL
PA SY SY E
D
N
N
O
T
POLLING SEQUENCE
PA SY SY SP SP
D
N
N
A
A
PAD. Pad
Leading Pad (55H or
AAH)
Trailing Pad (FFH)
EOT. End of Transmission
ENQ. Inquiry (Line
Turnaround)
E
N
Q
PA
D
SYN. Synchronization
Character
SPA. Station Polling Address
. General Poll
11
BSC POLLING
SEQUENCES
SPECIFIC
PA SY SY E
D
N
N
O
T
POLLING SEQUENCE
PA SY SY SP SP
D
N
N
A
A
D
A
PAD. Pad
Leading Pad (55H or
AAH)
Trailing Pad (FFH)
EOT. End of Transmission
ENQ. Inquiry (Line
Turnaround)
D
A
E
N
Q
PA
D
SYN. Synchronization
Character
SPA. Station Polling
Address
DA. Device Address
12
BSC POLLING
SEQUENCES
POLLING
PA
D
PAD. Pad
Leading Pad (55H or
AAH)
Trailing Pad (FFH)
EOT. End of Transmission
SYN. Synchronization
Character
13
BSC SELECTION
SEQUENCES
SELECTION
PA SY SY E
D
N
N
O
T
SEQUENCE
PA SY SY SS
D
N
N
A
PAD. Pad
Leading Pad (55H or
AAH)
Trailing Pad (FFH)
EOT. End of Transmission
ENQ. Inquiry (Line
Turnaround)
SS
A
D
A
D
A
E
N
Q
PA
D
SYN. Synchronization
Character
SSA. Station Selection
Address
DA. Device Address
14
BSC SELECTION
SEQUENCES
SELECTION
SEQUENCE
POSITIVE ACK
PA SY SY D
D
N
N
LE
PA
D
PAD. Pad
Leading Pad (55H or
AAH)
Trailing Pad (FFH)
SYN. Synchronization
Character
DLE. Data Link Escape
15
BSC SELECTION
SEQUENCES
SELECTION
Reverse Interrupt)
PA SY SY D
D
N
N
LE
PA
D
PAD. Pad
Leading Pad (55H or
AAH)
Trailing Pad (FFH)
SYN. Synchronization
Character
DLE. Data Link Escape
16
BSC MESSAGE
SEQUENCES
MESSAGE
SEQUENCE
PA SY SY S
D
N
N
O
H
Headin
g
PAD. Pad
Leading Pad (55H or
AAH)
Trailing Pad (FFH)
SYN. Synchronization
Character
SOH. Start of Heading
STX. Start of Text
ST
X
Messag
e
ET
X
B
C
C
PA
D
BSC MESSAGE
SEQUENCES
PA SY SY D
D
N
N
LE
PA
D
PA
D
FOR EVENNUMBERED
BLOCKS
FOR ODDNUMBERED
BLOCKS
18
BSC MESSAGE
SEQUENCES
PA
D
PAD. Pad
Leading Pad (55H or
AAH)
Trailing Pad (FFH)
SYN. Synchronization
Character
NAK. Negative
Acknowledgement
19
BSC TRANSPARENCY
A process that disables the BSC
controllers capability to identify
data link control characters
Used for communication with
devices that use non-ASCII and nonEBCDIC codes such as those in
microprocessor controlled security
alarm systems or environmental
monitoring systems
Transparent mode is activated when
the STX character is preceded by a
20
OTHER DLE
APPLICATIONS
1.
2.
3.
21
Hex Use
1070 Indicates that text was received without errors. Also is a positive response
1061 (acknowledgement) to an ENQ (bid) on a point-to-point line. In 3780 Bisynchronous
Communications, this positive acknowledgement alternates between 1070 (even)
and 1061(odd).
DISC (Disconnect)
22
37
26
03
FF
Indicates the end of a transmission for the sending system. This is also sent when
the sending system exhausts its retry limit of sending an ENQ to a remote system
without a response.
Indicates the end of a block of data, but not the last block transmitted (more data
will be coming from the station that transmits this).
Indicates the end of a message if ETBs are used (text is transmitted in blocks).
Also can indicate the end of the last block of text transmitted (completed text
transmission)
ITB (Intermediate Text 1F
Divides a block of text into smaller groups of text (Intermediate Text Blocks) for
Block)
error checking.
NAK
3D
Indicates a Not Ready condition (most common), or indicates that an error
occurred. Also is sent as a negative response to a line bid or switched line security
identification.
Pad (Leading Pad
55 or At least 2 leading pad characters are transmitted to synchronize the clocks at the
Character)
AA transmitting and receiving stations.
A trailing pad character ensures that all bits of the last character of a message are
transmitted.
23
107C
01
02
32
022D
106B
24
(END)