SlideShare a Scribd company logo
DATA COMMUNICATION
PROTOCOLS in Centralised
Networks (in Master/slave
environment)
DATA COMMUNICATION PROTOCOLS in Centralised Networks
(in Master/slave environment)
✓Set of rules governing orderly exchange of information.
✓LCU controls the flow of data between application programs and
remote terminal.
✓Set of rules LCU follows are called Data Link Protocols.
✓Polling: An invitation from primary to secondary to transmit
message.
✓ A secondary can not poll a primary.
✓Selection: When primary has a data to send to a secondary, it
identifies the secondary by ‘selecting’ it.
✓ It is interrogation of secondary to determine its status
✓ - whether ready to receive a message or not.
✓ Secondary can not select a primary.
✓Secondary transmits to primary only, while primary transmits to
all.
Asynchronous Protocols
✓Use asynchronous data format and asynchronous modems.
✓Character oriented protocols.
✓Like ‘end of transmission (EOT)’ and ‘start of text (STX).
✓Character occurring anywhere can not be anything but mean the
action designated to them.
✓ e.g. 04H (EOT) if received by secondary , it clears all operations
and comes into line-monitor mode.
✓Data link characters must never occur in data.
✓Secondary station limited to single terminal/printer pair.
✓Commonly used protocols are:
✓ Bell System’s SELECTIVE CALLING SYSTEM(8A1/8B1).
✓ IBM’s ASYNCHRONOUS DATA LINK PROTOCOLS(83B).
Asynchronous Protocols
✓Polling Sequence:
!
!
!
✓3 character sequence.
✓EOT-
✓ a clearing character, clears all actions of secondary.
✓ Precedes all polling sequences.
✓ Brings all secondaries in line monitor mode.
✓DC3 –
✓ Indicates that next character is the polling address of station.
!
✓A , the polled secondary, must respond now.
E
O
T
D
C
3
A ASCII Codes
EOT – End of transmission – 00000100 – 04H
DC3 – Device control 3 -- 00010011 - 13H
Acknowledgement sequences to Polling
✓ 1.
!
✓ No message to transmit but ready to receive.
!
!
✓2.
!
✓ No message to transmit, not ready to receive either.
!
!
✓3. Formatted data sent
 

A
C
K
Asynchronous Protocols
✓Selection Sequence:
!
!
!
✓2 character sequence.
✓EOT-
✓ A clearing character, clears all actions of secondary.
✓ Precedes all selection sequences.
✓ Brings all secondaries in line monitor mode.
✓X , the selected secondary, must respond now.
E
O
T
X
Acknowledgement sequences to Selection
✓ 1.Ready to receive.
!
!
!
✓ 2.Not ready to receive. Terminal in local or printer mode
!
!
!
✓ 3. Not ready to receive but has a formatted data to transmit.
 

A
C
K
* *
Message format
!
!
!
✓SOH is start of header.
✓Header can include special data e.g. date, time, message number,
message priority till STX is received.
✓STX is start of text.
✓ It terminates header and starts data.
✓STX blinds other stations to the data. Only EOT can bring them to line
monitor mode.
S
O
H
Heading
S
T
X
Message
E
O
T
Message format-
Acknowledgement to message
A
C
K
1. Acknowledged.
No error--
N
A
K
2. Not Acknowledged.
Message has error
C
A
N
3. Cancel or abort
transmission
Asynchronous Protocols – TYPES

XMODEM
✓By Ward Christiansen in 1979.
✓FTP for telephone line communication between PC’s.
✓Half Duplex.
✓Stop/wait ARQ.
✓Message divided into characters.
✓Each character contains start bit and stop bits.
✓CRC for data only.
✓CAN sent to abort transmission.
SOH CRC
Header 128 bytes data
Start bit Stop bit
Asynchronous Protocols – TYPES

YMODEM
✓Same as XMODEM except…
✓Data 1024 bytes.
✓2 CAN sent to abort transmission.
✓2 Bytes CRC-16.
✓Multiple frames can be sent simultaneously.
!
!
!
✓Exercise: Find details for other asynchronous modems and
submit.
Synchronous Protocols
!
!
✓Use synchronous data format and synchronous modems.
✓Can be Character oriented protocol or Bit oriented protocol.
✓ Secondary station LCU can serve up to 50 terminal/printer pair.
✓Commonly used protocols are:
✓Character oriented protocol –
✓ e.g. IBM’s 3270 Binary Synchronous Communication
Protocol(BSC or Bisync).
✓Bit oriented protocol –
✓ e.g. IBM’s Synchronous Data Link Communication
Protocol(SDLC).
IBM’s Bisync Protocol (BSC)
!
!
✓Point to point or multipoint.
✓Half duplex mode using stop and wait ARQ and flow
control.
✓Does not support full duplex mode or sliding window
protocol.
✓Bisync because sync characters are sent in pair.
IBM’s Bisync Protocol (BSC)
!
!
!
!
!
✓PAD in beginning is called leading pad.
✓PAD can be 55H(01010101) or AAH(10101010).
✓Used for CLK recovery at receiver for bit synchronization.
!
✓2 SYNC characters required for CLK recovery at receiver
for character synchronization.
✓SYNC can be 16H in ASCII ( 00010110)
OR 32H in EBCDIC repeated twice.
P
A
D
S
Y
N
S
P
A
S
P
A
S
Y
N
E
O
T
P
A
D
S
Y
N
S
Y
N
P
A
D
E
N
Q
“ “
General
Polling
Sequence
IBM’s Bisync Protocol (BSC)
!
!
!
!
!
✓EOT, a clearing character, brings all secondaries to line
monitor mode.
!
✓PAD is all 1’s string, gives enough time to secondaries to
clear their assignments and come to line monitor mode.
!
✓2 SYNC characters available further to synchronize if PAD
disturbs synchronization.
P
A
D
S
Y
N
S
P
A
S
P
A
S
Y
N
E
O
T
P
A
D
S
Y
N
S
Y
N
P
A
D
E
N
Q
“ “
General
Polling
Sequence
IBM’s Bisync Protocol (BSC)
!
!
!
!
!
✓SPA will hold secondary station’s polling address in ASCII.
✓Transmitted twice to avoid any spurious sequence
initiating a poll.
✓Each secondary has unique SPA.
✓ “ is used as it is twice to indicate that it is a general poll.
✓Any device connected to secondary can transmit the data.
(keyboard, Scanner etc.)
✓If more than one ready, secondary’s LCU decides the
transmitter.
P
A
D
S
Y
N
S
P
A
S
P
A
S
Y
N
E
O
T
P
A
D
S
Y
N
S
Y
N
P
A
D
E
N
Q
“ “
General
Polling
Sequence
IBM’s Bisync Protocol (BSC)
!
!
!
!
!
✓ENQ – request for response – format line turn around
character is an enquiry character.
✓Ending polling sequence, primary now wants a response.
✓H/D transmission.
✓ PAD at end is trailing pad.
✓7FH or DEL character.
✓Ensures that RLSD is kept active long enough for the DTE
to receive all character correctly from DCE.
✓Low RLSD will eliminate carrier and RD pin will be inactive.
P
A
D
S
Y
N
S
P
A
S
P
A
S
Y
N
E
O
T
P
A
D
S
Y
N
S
Y
N
P
A
D
E
N
Q
“ “
General
Polling
Sequence
IBM’s Bisync Protocol (BSC)
!
!
!
!
!
✓It is not general poll, hence “ is not used.
✓A specific device with address mentioned in field DA ,
under station with address mentioned under SPA, is
polled.
P
A
D
S
Y
N
S
P
A
S
P
A
S
Y
N
E
O
T
P
A
D
S
Y
N
S
Y
N
P
A
D
E
N
Q
D
A
D
A
Specific
Polling
Sequence
IBM’s Bisync Protocol (BSC)
!
!
!
!
✓Station polling address is replaced by station selection
address.
✓Selection is always specific.
✓It is for the station to divert the incoming data to
appropriate device.
P
A
D
S
Y
N
S
S
A
S
S
A
S
Y
N
E
O
T
P
A
D
S
Y
N
S
Y
N
P
A
D
E
N
Q
D
A
!
D
A
Selection
Sequence
IBM’s Bisync Protocol (BSC) Acknowledgement to
polling!
!
!
!
!
✓Handshake is negative acknowledgement to polling.
✓It has no formatted data to transmit.
P
A
D
S
Y
N
S
Y
N
E
O
T
P
A
D
1. Handshake
IBM’s Bisync Protocol (BSC) Acknowledgement to
polling
!
!
!
!
!
✓Data 128 bytes minimum.
✓BCC is block check sequence.
✓1 byte LRC for ASCII or 2 bytes CRC for EBCDIC.
✓BCC is done between SOH and ETX, excluding the two.
P
A
D
S
Y
N
S
Y
N
S
O
H
header
2. Formatted Message
S
T
X
Data
P
A
D
B
C
C
E
T
X
IBM’s Bisync Protocol (BSC) Acknowledgement to
polling
!
!
!
!
!
!
!
✓ Message can be broken into Multiple blocks and accommodated in
one frame.
✓ ITB - intermediate text block.
✓ BCC done on smaller blocks is always preferred.
✓ Finally frame will be terminated by ETX.
Multi-block frame
P
A
D
S
Y
N
S
Y
N
S
O
H
header
S
T
X
Data
S
T
X
B
C
C
I
T
B
Data
P
A
D
B
C
C
E
T
X
IBM’s Bisync Protocol (BSC) Acknowledgement to
polling
!
!
!
!
!
!
!
!
✓If message too long to accommodate in one frame.
✓Multiple frames transmitted.
✓All frames except last, will be terminated in ETB.( More to come)
✓Last frame terminated in ETX.(End of message)
Multi-frame block
P
A
D
S
Y
N
S
Y
N
S
O
H
header
S
T
X
Data
S
T
X
B
C
C
I
T
B
Data
P
A
D
B
C
C
E
T
B
P
A
D
S
Y
N
S
Y
N
S
O
H
header
S
T
X
Data
S
T
X
B
C
C
I
T
B
Data
P
A
D
B
C
C
E
T
X
ACK
More frames and ACK…
IBM’s Bisync Protocol (BSC) Acknowledgement to
selection
!
!
!
!
!
!
✓ Ready to receive first frame using ACK0.
✓ DLE is data link escape character.
✓ DLE 0 will be taken as number 0.
✓ ASCII for ACK0 is DLE and 0
P
A
D
S
Y
N
S
Y
N
D
L
E
0
1. Positive
acknowledgement
P
A
D
IBM’s Bisync Protocol (BSC) Acknowledgement to
selection
✓
2.Negative acknowledgement- not ready to
receive
P
A
D
S
Y
N
S
Y
N
N
A
K
P
A
D
P
A
D
S
Y
N
S
Y
N
D
L
E
3.Reverse Interrupt (RVI) – Not ready to receive,
but has urgent message to transmit.
<
P
A
D
IBM’s Bisync Protocol (BSC) Acknowledgement to
DATA
!
!
!
!
!
!
!
!
!
!
✓Stop and wait error control.
✓DLE0 for all even frame correct reception.
✓DLE 1 for all odd frames correct reception.
1.Positive acknowledgement- No error
P
A
D
S
Y
N
S
Y
N
D
L
E
0
P
A
D
P
A
D
S
Y
N
S
Y
N
D
L
E
1
P
A
D
or
2. Negative acknowledgement- Error
P
A
D
S
Y
N
S
Y
N
N
A
K
P
A
D
IBM’s Bisync Protocol (BSC) Some more on BISYNC
1.Point to point
connection asked
S
Y
N
S
Y
N
E
N
Q
2.Wait and ACK- ACK but not
ready to receive more.
S
Y
N
S
Y
N
W
A
C
K
3.Temporary delay S
Y
N
S
Y
N
T
T
D
4.Connection
termination
S
Y
N
S
Y
N
E
O
T
TRANSPARENCY
✓LCU look-alike characters appearing in data force the LCU to go
into control mode.
✓Data 03H appearing in data block will be taken as ETX and block will
be terminated at receiver.
✓LCU is made transparent to data by DLE(Data link escape).
✓LCU will not search for data link control characters in the block of
data encapsulated by 2 DLE’s.
✓DLE STX places LCU in transparent mode.
✓DLE ETX, DLE ITB, and DLE ETB brings LCU out of transparent
mode.
✓DLE DLE if ASCII of DLE appears in data.
✓DLE SYN used only with transparent messages more than 1second
long. Two SYN characters to ensure character synchronization at
receiver.

More Related Content

What's hot

chapter 7 Logic, shift and rotate instructions
chapter 7 Logic, shift and rotate instructionschapter 7 Logic, shift and rotate instructions
chapter 7 Logic, shift and rotate instructions
warda aziz
 
Intel 8086 microprocessor
Intel 8086 microprocessorIntel 8086 microprocessor
Intel 8086 microprocessor
Ravi Yasas
 
Introduction to ibm pc assembly language
Introduction to ibm pc assembly languageIntroduction to ibm pc assembly language
Introduction to ibm pc assembly language
warda aziz
 
8086 instruction set
8086 instruction set8086 instruction set
8086 instruction set
Sazzad Hossain
 
Instruction sets of 8086
Instruction sets of 8086Instruction sets of 8086
Instruction sets of 8086
Mahalakshmiv11
 
8251 USART
8251 USART8251 USART
8251 USART
coolsdhanesh
 
I2c protocol - Inter–Integrated Circuit Communication Protocol
I2c protocol - Inter–Integrated Circuit Communication ProtocolI2c protocol - Inter–Integrated Circuit Communication Protocol
I2c protocol - Inter–Integrated Circuit Communication Protocol
Ankur Soni
 
Chapter 8
Chapter 8Chapter 8
Chapter 8
deval patel
 
Assembly Language Programming By Ytha Yu, Charles Marut Chap 7 (Logic, Shift,...
Assembly Language Programming By Ytha Yu, Charles Marut Chap 7 (Logic, Shift,...Assembly Language Programming By Ytha Yu, Charles Marut Chap 7 (Logic, Shift,...
Assembly Language Programming By Ytha Yu, Charles Marut Chap 7 (Logic, Shift,...
Bilal Amjad
 
Assembly 8086
Assembly 8086Assembly 8086
Assembly 8086
Mustafa Salah
 
8086-instruction-set-ppt
 8086-instruction-set-ppt 8086-instruction-set-ppt
8086-instruction-set-pptjemimajerome
 
Usart 8251
Usart 8251Usart 8251
Instruction Set of 8086 Microprocessor
Instruction Set of 8086 MicroprocessorInstruction Set of 8086 Microprocessor
Instruction Set of 8086 Microprocessor
Ashita Agrawal
 
assembly language programming and organization of IBM PC" by YTHA YU
assembly language programming and organization of IBM PC" by YTHA YUassembly language programming and organization of IBM PC" by YTHA YU
assembly language programming and organization of IBM PC" by YTHA YU
Education
 
Arithmetic and logical instructions set
Arithmetic and logical instructions setArithmetic and logical instructions set
Arithmetic and logical instructions set
Robert Almazan
 
Double data rate (ddr)
Double data rate (ddr)Double data rate (ddr)
Double data rate (ddr)
Anderson Huang
 
Assembler - System Programming
Assembler - System ProgrammingAssembler - System Programming
Assembler - System Programming
Radhika Talaviya
 
8085 instruction set
8085 instruction set8085 instruction set
Direct memory access (dma) with 8257 DMA Controller
Direct memory access (dma) with 8257 DMA ControllerDirect memory access (dma) with 8257 DMA Controller
Direct memory access (dma) with 8257 DMA Controller
Muhammed Afsal Villan
 
Addressing modes of 8086
Addressing modes of 8086Addressing modes of 8086
Addressing modes of 8086
saurav kumar
 

What's hot (20)

chapter 7 Logic, shift and rotate instructions
chapter 7 Logic, shift and rotate instructionschapter 7 Logic, shift and rotate instructions
chapter 7 Logic, shift and rotate instructions
 
Intel 8086 microprocessor
Intel 8086 microprocessorIntel 8086 microprocessor
Intel 8086 microprocessor
 
Introduction to ibm pc assembly language
Introduction to ibm pc assembly languageIntroduction to ibm pc assembly language
Introduction to ibm pc assembly language
 
8086 instruction set
8086 instruction set8086 instruction set
8086 instruction set
 
Instruction sets of 8086
Instruction sets of 8086Instruction sets of 8086
Instruction sets of 8086
 
8251 USART
8251 USART8251 USART
8251 USART
 
I2c protocol - Inter–Integrated Circuit Communication Protocol
I2c protocol - Inter–Integrated Circuit Communication ProtocolI2c protocol - Inter–Integrated Circuit Communication Protocol
I2c protocol - Inter–Integrated Circuit Communication Protocol
 
Chapter 8
Chapter 8Chapter 8
Chapter 8
 
Assembly Language Programming By Ytha Yu, Charles Marut Chap 7 (Logic, Shift,...
Assembly Language Programming By Ytha Yu, Charles Marut Chap 7 (Logic, Shift,...Assembly Language Programming By Ytha Yu, Charles Marut Chap 7 (Logic, Shift,...
Assembly Language Programming By Ytha Yu, Charles Marut Chap 7 (Logic, Shift,...
 
Assembly 8086
Assembly 8086Assembly 8086
Assembly 8086
 
8086-instruction-set-ppt
 8086-instruction-set-ppt 8086-instruction-set-ppt
8086-instruction-set-ppt
 
Usart 8251
Usart 8251Usart 8251
Usart 8251
 
Instruction Set of 8086 Microprocessor
Instruction Set of 8086 MicroprocessorInstruction Set of 8086 Microprocessor
Instruction Set of 8086 Microprocessor
 
assembly language programming and organization of IBM PC" by YTHA YU
assembly language programming and organization of IBM PC" by YTHA YUassembly language programming and organization of IBM PC" by YTHA YU
assembly language programming and organization of IBM PC" by YTHA YU
 
Arithmetic and logical instructions set
Arithmetic and logical instructions setArithmetic and logical instructions set
Arithmetic and logical instructions set
 
Double data rate (ddr)
Double data rate (ddr)Double data rate (ddr)
Double data rate (ddr)
 
Assembler - System Programming
Assembler - System ProgrammingAssembler - System Programming
Assembler - System Programming
 
8085 instruction set
8085 instruction set8085 instruction set
8085 instruction set
 
Direct memory access (dma) with 8257 DMA Controller
Direct memory access (dma) with 8257 DMA ControllerDirect memory access (dma) with 8257 DMA Controller
Direct memory access (dma) with 8257 DMA Controller
 
Addressing modes of 8086
Addressing modes of 8086Addressing modes of 8086
Addressing modes of 8086
 

Similar to Data communication protocols in centralised networks (in master:slave environment)

Data link control line control unit LCU
Data link control  line control unit LCUData link control  line control unit LCU
Data link control line control unit LCU
Madhumita Tamhane
 
Data Link Synchronous Protocols - SDLC, HDLC
Data Link Synchronous Protocols - SDLC, HDLCData Link Synchronous Protocols - SDLC, HDLC
Data Link Synchronous Protocols - SDLC, HDLC
Madhumita Tamhane
 
Pentium processor
Pentium processorPentium processor
Pentium processor
Pranjali Deshmukh
 
8251 a usart programmable communication interface(1)
8251 a usart   programmable communication interface(1)8251 a usart   programmable communication interface(1)
8251 a usart programmable communication interface(1)
divyangpit
 
Programmable dma controller 8237
Programmable dma controller 8237Programmable dma controller 8237
Programmable dma controller 8237
saravanamanikandan02
 
K9F1G08U0D
K9F1G08U0DK9F1G08U0D
K9F1G08U0D
Datasheet Bank
 
DMA controller intel 8257
DMA controller intel 8257DMA controller intel 8257
DMA controller intel 8257
Daniel Ilunga
 
System Software
System SoftwareSystem Software
System Software
PandurangBiradar2
 
1.4_OSI_MODEL.pdf
1.4_OSI_MODEL.pdf1.4_OSI_MODEL.pdf
1.4_OSI_MODEL.pdf
MAGESHKSEC2020
 
Intrl 8086 instruction set
Intrl 8086 instruction setIntrl 8086 instruction set
Intrl 8086 instruction set
edwardkiwalabye1
 
ENCOR_Capitulo 2.pptx
ENCOR_Capitulo 2.pptxENCOR_Capitulo 2.pptx
ENCOR_Capitulo 2.pptx
ManuelRojas960410
 
Computer security module 2
Computer security module 2Computer security module 2
Computer security module 2
Deepak John
 
Intel8086_Flags_Addr_Modes_sample_pgms.pdf
Intel8086_Flags_Addr_Modes_sample_pgms.pdfIntel8086_Flags_Addr_Modes_sample_pgms.pdf
Intel8086_Flags_Addr_Modes_sample_pgms.pdf
Anonymous611358
 
group11_DNAA:protocol stack and addressing
group11_DNAA:protocol stack and addressinggroup11_DNAA:protocol stack and addressing
group11_DNAA:protocol stack and addressingAnitha Selvan
 
Ccna Imp Guide
Ccna Imp GuideCcna Imp Guide
Ccna Imp Guide
abhijitgnbbl
 
Part III: Assembly Language
Part III: Assembly LanguagePart III: Assembly Language
Part III: Assembly LanguageAhmed M. Abed
 
Assembly Language Programming By Ytha Yu, Charles Marut Chap 4 (Introduction ...
Assembly Language Programming By Ytha Yu, Charles Marut Chap 4 (Introduction ...Assembly Language Programming By Ytha Yu, Charles Marut Chap 4 (Introduction ...
Assembly Language Programming By Ytha Yu, Charles Marut Chap 4 (Introduction ...
Bilal Amjad
 
Networks-part17-Bridges-RP1.pptjwhwhsjshh
Networks-part17-Bridges-RP1.pptjwhwhsjshhNetworks-part17-Bridges-RP1.pptjwhwhsjshh
Networks-part17-Bridges-RP1.pptjwhwhsjshh
VijayKaran7
 

Similar to Data communication protocols in centralised networks (in master:slave environment) (20)

Data link control line control unit LCU
Data link control  line control unit LCUData link control  line control unit LCU
Data link control line control unit LCU
 
Data Link Synchronous Protocols - SDLC, HDLC
Data Link Synchronous Protocols - SDLC, HDLCData Link Synchronous Protocols - SDLC, HDLC
Data Link Synchronous Protocols - SDLC, HDLC
 
Pci
PciPci
Pci
 
Pentium processor
Pentium processorPentium processor
Pentium processor
 
8251 a usart programmable communication interface(1)
8251 a usart   programmable communication interface(1)8251 a usart   programmable communication interface(1)
8251 a usart programmable communication interface(1)
 
Ui disk & terminal drivers
Ui disk & terminal driversUi disk & terminal drivers
Ui disk & terminal drivers
 
Programmable dma controller 8237
Programmable dma controller 8237Programmable dma controller 8237
Programmable dma controller 8237
 
K9F1G08U0D
K9F1G08U0DK9F1G08U0D
K9F1G08U0D
 
DMA controller intel 8257
DMA controller intel 8257DMA controller intel 8257
DMA controller intel 8257
 
System Software
System SoftwareSystem Software
System Software
 
1.4_OSI_MODEL.pdf
1.4_OSI_MODEL.pdf1.4_OSI_MODEL.pdf
1.4_OSI_MODEL.pdf
 
Intrl 8086 instruction set
Intrl 8086 instruction setIntrl 8086 instruction set
Intrl 8086 instruction set
 
ENCOR_Capitulo 2.pptx
ENCOR_Capitulo 2.pptxENCOR_Capitulo 2.pptx
ENCOR_Capitulo 2.pptx
 
Computer security module 2
Computer security module 2Computer security module 2
Computer security module 2
 
Intel8086_Flags_Addr_Modes_sample_pgms.pdf
Intel8086_Flags_Addr_Modes_sample_pgms.pdfIntel8086_Flags_Addr_Modes_sample_pgms.pdf
Intel8086_Flags_Addr_Modes_sample_pgms.pdf
 
group11_DNAA:protocol stack and addressing
group11_DNAA:protocol stack and addressinggroup11_DNAA:protocol stack and addressing
group11_DNAA:protocol stack and addressing
 
Ccna Imp Guide
Ccna Imp GuideCcna Imp Guide
Ccna Imp Guide
 
Part III: Assembly Language
Part III: Assembly LanguagePart III: Assembly Language
Part III: Assembly Language
 
Assembly Language Programming By Ytha Yu, Charles Marut Chap 4 (Introduction ...
Assembly Language Programming By Ytha Yu, Charles Marut Chap 4 (Introduction ...Assembly Language Programming By Ytha Yu, Charles Marut Chap 4 (Introduction ...
Assembly Language Programming By Ytha Yu, Charles Marut Chap 4 (Introduction ...
 
Networks-part17-Bridges-RP1.pptjwhwhsjshh
Networks-part17-Bridges-RP1.pptjwhwhsjshhNetworks-part17-Bridges-RP1.pptjwhwhsjshh
Networks-part17-Bridges-RP1.pptjwhwhsjshh
 

More from Madhumita Tamhane

Fiber optic sensors
Fiber optic sensors  Fiber optic sensors
Fiber optic sensors
Madhumita Tamhane
 
OFDM for LTE
OFDM for LTEOFDM for LTE
OFDM for LTE
Madhumita Tamhane
 
Small cells I : Femto cell
Small cells I :  Femto cellSmall cells I :  Femto cell
Small cells I : Femto cell
Madhumita Tamhane
 
Optical wireless communication li fi
Optical wireless communication li fiOptical wireless communication li fi
Optical wireless communication li fi
Madhumita Tamhane
 
Optical Fiber Communication Part 3 Optical Digital Receiver
Optical Fiber Communication Part 3 Optical Digital ReceiverOptical Fiber Communication Part 3 Optical Digital Receiver
Optical Fiber Communication Part 3 Optical Digital Receiver
Madhumita Tamhane
 
Optical fiber communication Part 2 Sources and Detectors
Optical fiber communication Part 2 Sources and DetectorsOptical fiber communication Part 2 Sources and Detectors
Optical fiber communication Part 2 Sources and Detectors
Madhumita Tamhane
 
Optical fiber communication Part 1 Optical Fiber Fundamentals
Optical fiber communication Part 1 Optical Fiber FundamentalsOptical fiber communication Part 1 Optical Fiber Fundamentals
Optical fiber communication Part 1 Optical Fiber Fundamentals
Madhumita Tamhane
 
Colout TV Fundamentals
Colout TV FundamentalsColout TV Fundamentals
Colout TV Fundamentals
Madhumita Tamhane
 
Black and white TV fundamentals
Black and white TV fundamentalsBlack and white TV fundamentals
Black and white TV fundamentals
Madhumita Tamhane
 
Telecommunication switching system
Telecommunication switching systemTelecommunication switching system
Telecommunication switching system
Madhumita Tamhane
 
X.25
X.25X.25
Flyod's algorithm for finding shortest path
Flyod's algorithm for finding shortest pathFlyod's algorithm for finding shortest path
Flyod's algorithm for finding shortest path
Madhumita Tamhane
 
Line codes
Line codesLine codes
Line codes
Madhumita Tamhane
 
ISDN Integrated Services Digital Network
ISDN Integrated Services Digital NetworkISDN Integrated Services Digital Network
ISDN Integrated Services Digital Network
Madhumita Tamhane
 
Asynchronous Transfer Mode ATM
Asynchronous Transfer Mode  ATMAsynchronous Transfer Mode  ATM
Asynchronous Transfer Mode ATM
Madhumita Tamhane
 
Setting Artificial Neural Networks parameters
Setting Artificial Neural Networks parametersSetting Artificial Neural Networks parameters
Setting Artificial Neural Networks parameters
Madhumita Tamhane
 
Weight enumerators of block codes and the mc williams
Weight  enumerators of block codes and  the mc williamsWeight  enumerators of block codes and  the mc williams
Weight enumerators of block codes and the mc williams
Madhumita Tamhane
 
Justesen codes alternant codes goppa codes
Justesen codes alternant codes goppa codesJustesen codes alternant codes goppa codes
Justesen codes alternant codes goppa codes
Madhumita Tamhane
 
The stack algorithm vs viterbi algorithm
The stack algorithm vs viterbi algorithmThe stack algorithm vs viterbi algorithm
The stack algorithm vs viterbi algorithm
Madhumita Tamhane
 
Bch and reed solomon codes generation in frequency domain
Bch and reed solomon codes generation in frequency domainBch and reed solomon codes generation in frequency domain
Bch and reed solomon codes generation in frequency domain
Madhumita Tamhane
 

More from Madhumita Tamhane (20)

Fiber optic sensors
Fiber optic sensors  Fiber optic sensors
Fiber optic sensors
 
OFDM for LTE
OFDM for LTEOFDM for LTE
OFDM for LTE
 
Small cells I : Femto cell
Small cells I :  Femto cellSmall cells I :  Femto cell
Small cells I : Femto cell
 
Optical wireless communication li fi
Optical wireless communication li fiOptical wireless communication li fi
Optical wireless communication li fi
 
Optical Fiber Communication Part 3 Optical Digital Receiver
Optical Fiber Communication Part 3 Optical Digital ReceiverOptical Fiber Communication Part 3 Optical Digital Receiver
Optical Fiber Communication Part 3 Optical Digital Receiver
 
Optical fiber communication Part 2 Sources and Detectors
Optical fiber communication Part 2 Sources and DetectorsOptical fiber communication Part 2 Sources and Detectors
Optical fiber communication Part 2 Sources and Detectors
 
Optical fiber communication Part 1 Optical Fiber Fundamentals
Optical fiber communication Part 1 Optical Fiber FundamentalsOptical fiber communication Part 1 Optical Fiber Fundamentals
Optical fiber communication Part 1 Optical Fiber Fundamentals
 
Colout TV Fundamentals
Colout TV FundamentalsColout TV Fundamentals
Colout TV Fundamentals
 
Black and white TV fundamentals
Black and white TV fundamentalsBlack and white TV fundamentals
Black and white TV fundamentals
 
Telecommunication switching system
Telecommunication switching systemTelecommunication switching system
Telecommunication switching system
 
X.25
X.25X.25
X.25
 
Flyod's algorithm for finding shortest path
Flyod's algorithm for finding shortest pathFlyod's algorithm for finding shortest path
Flyod's algorithm for finding shortest path
 
Line codes
Line codesLine codes
Line codes
 
ISDN Integrated Services Digital Network
ISDN Integrated Services Digital NetworkISDN Integrated Services Digital Network
ISDN Integrated Services Digital Network
 
Asynchronous Transfer Mode ATM
Asynchronous Transfer Mode  ATMAsynchronous Transfer Mode  ATM
Asynchronous Transfer Mode ATM
 
Setting Artificial Neural Networks parameters
Setting Artificial Neural Networks parametersSetting Artificial Neural Networks parameters
Setting Artificial Neural Networks parameters
 
Weight enumerators of block codes and the mc williams
Weight  enumerators of block codes and  the mc williamsWeight  enumerators of block codes and  the mc williams
Weight enumerators of block codes and the mc williams
 
Justesen codes alternant codes goppa codes
Justesen codes alternant codes goppa codesJustesen codes alternant codes goppa codes
Justesen codes alternant codes goppa codes
 
The stack algorithm vs viterbi algorithm
The stack algorithm vs viterbi algorithmThe stack algorithm vs viterbi algorithm
The stack algorithm vs viterbi algorithm
 
Bch and reed solomon codes generation in frequency domain
Bch and reed solomon codes generation in frequency domainBch and reed solomon codes generation in frequency domain
Bch and reed solomon codes generation in frequency domain
 

Recently uploaded

Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.
PrashantGoswami42
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
Osamah Alsalih
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Sreedhar Chowdam
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
SamSarthak3
 
road safety engineering r s e unit 3.pdf
road safety engineering  r s e unit 3.pdfroad safety engineering  r s e unit 3.pdf
road safety engineering r s e unit 3.pdf
VENKATESHvenky89705
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
obonagu
 
HYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationHYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generation
Robbie Edward Sayers
 
block diagram and signal flow graph representation
block diagram and signal flow graph representationblock diagram and signal flow graph representation
block diagram and signal flow graph representation
Divya Somashekar
 
Halogenation process of chemical process industries
Halogenation process of chemical process industriesHalogenation process of chemical process industries
Halogenation process of chemical process industries
MuhammadTufail242431
 
Courier management system project report.pdf
Courier management system project report.pdfCourier management system project report.pdf
Courier management system project report.pdf
Kamal Acharya
 
DESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docxDESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docx
FluxPrime1
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Dr.Costas Sachpazis
 
power quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptxpower quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptx
ViniHema
 
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxCFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
R&R Consult
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
Kamal Acharya
 
LIGA(E)11111111111111111111111111111111111111111.ppt
LIGA(E)11111111111111111111111111111111111111111.pptLIGA(E)11111111111111111111111111111111111111111.ppt
LIGA(E)11111111111111111111111111111111111111111.ppt
ssuser9bd3ba
 
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
MdTanvirMahtab2
 
Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
gerogepatton
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
Pratik Pawar
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
Neometrix_Engineering_Pvt_Ltd
 

Recently uploaded (20)

Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
 
road safety engineering r s e unit 3.pdf
road safety engineering  r s e unit 3.pdfroad safety engineering  r s e unit 3.pdf
road safety engineering r s e unit 3.pdf
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
 
HYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationHYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generation
 
block diagram and signal flow graph representation
block diagram and signal flow graph representationblock diagram and signal flow graph representation
block diagram and signal flow graph representation
 
Halogenation process of chemical process industries
Halogenation process of chemical process industriesHalogenation process of chemical process industries
Halogenation process of chemical process industries
 
Courier management system project report.pdf
Courier management system project report.pdfCourier management system project report.pdf
Courier management system project report.pdf
 
DESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docxDESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docx
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
 
power quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptxpower quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptx
 
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxCFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
 
LIGA(E)11111111111111111111111111111111111111111.ppt
LIGA(E)11111111111111111111111111111111111111111.pptLIGA(E)11111111111111111111111111111111111111111.ppt
LIGA(E)11111111111111111111111111111111111111111.ppt
 
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
 
Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
 

Data communication protocols in centralised networks (in master:slave environment)

  • 1. DATA COMMUNICATION PROTOCOLS in Centralised Networks (in Master/slave environment)
  • 2. DATA COMMUNICATION PROTOCOLS in Centralised Networks (in Master/slave environment) ✓Set of rules governing orderly exchange of information. ✓LCU controls the flow of data between application programs and remote terminal. ✓Set of rules LCU follows are called Data Link Protocols. ✓Polling: An invitation from primary to secondary to transmit message. ✓ A secondary can not poll a primary. ✓Selection: When primary has a data to send to a secondary, it identifies the secondary by ‘selecting’ it. ✓ It is interrogation of secondary to determine its status ✓ - whether ready to receive a message or not. ✓ Secondary can not select a primary. ✓Secondary transmits to primary only, while primary transmits to all.
  • 3. Asynchronous Protocols ✓Use asynchronous data format and asynchronous modems. ✓Character oriented protocols. ✓Like ‘end of transmission (EOT)’ and ‘start of text (STX). ✓Character occurring anywhere can not be anything but mean the action designated to them. ✓ e.g. 04H (EOT) if received by secondary , it clears all operations and comes into line-monitor mode. ✓Data link characters must never occur in data. ✓Secondary station limited to single terminal/printer pair. ✓Commonly used protocols are: ✓ Bell System’s SELECTIVE CALLING SYSTEM(8A1/8B1). ✓ IBM’s ASYNCHRONOUS DATA LINK PROTOCOLS(83B).
  • 4. Asynchronous Protocols ✓Polling Sequence: ! ! ! ✓3 character sequence. ✓EOT- ✓ a clearing character, clears all actions of secondary. ✓ Precedes all polling sequences. ✓ Brings all secondaries in line monitor mode. ✓DC3 – ✓ Indicates that next character is the polling address of station. ! ✓A , the polled secondary, must respond now. E O T D C 3 A ASCII Codes EOT – End of transmission – 00000100 – 04H DC3 – Device control 3 -- 00010011 - 13H
  • 5. Acknowledgement sequences to Polling ✓ 1. ! ✓ No message to transmit but ready to receive. ! ! ✓2. ! ✓ No message to transmit, not ready to receive either. ! ! ✓3. Formatted data sent A C K
  • 6. Asynchronous Protocols ✓Selection Sequence: ! ! ! ✓2 character sequence. ✓EOT- ✓ A clearing character, clears all actions of secondary. ✓ Precedes all selection sequences. ✓ Brings all secondaries in line monitor mode. ✓X , the selected secondary, must respond now. E O T X
  • 7. Acknowledgement sequences to Selection ✓ 1.Ready to receive. ! ! ! ✓ 2.Not ready to receive. Terminal in local or printer mode ! ! ! ✓ 3. Not ready to receive but has a formatted data to transmit. A C K * *
  • 8. Message format ! ! ! ✓SOH is start of header. ✓Header can include special data e.g. date, time, message number, message priority till STX is received. ✓STX is start of text. ✓ It terminates header and starts data. ✓STX blinds other stations to the data. Only EOT can bring them to line monitor mode. S O H Heading S T X Message E O T Message format-
  • 9. Acknowledgement to message A C K 1. Acknowledged. No error-- N A K 2. Not Acknowledged. Message has error C A N 3. Cancel or abort transmission
  • 10. Asynchronous Protocols – TYPES
 XMODEM ✓By Ward Christiansen in 1979. ✓FTP for telephone line communication between PC’s. ✓Half Duplex. ✓Stop/wait ARQ. ✓Message divided into characters. ✓Each character contains start bit and stop bits. ✓CRC for data only. ✓CAN sent to abort transmission. SOH CRC Header 128 bytes data Start bit Stop bit
  • 11. Asynchronous Protocols – TYPES
 YMODEM ✓Same as XMODEM except… ✓Data 1024 bytes. ✓2 CAN sent to abort transmission. ✓2 Bytes CRC-16. ✓Multiple frames can be sent simultaneously. ! ! ! ✓Exercise: Find details for other asynchronous modems and submit.
  • 12. Synchronous Protocols ! ! ✓Use synchronous data format and synchronous modems. ✓Can be Character oriented protocol or Bit oriented protocol. ✓ Secondary station LCU can serve up to 50 terminal/printer pair. ✓Commonly used protocols are: ✓Character oriented protocol – ✓ e.g. IBM’s 3270 Binary Synchronous Communication Protocol(BSC or Bisync). ✓Bit oriented protocol – ✓ e.g. IBM’s Synchronous Data Link Communication Protocol(SDLC).
  • 13. IBM’s Bisync Protocol (BSC) ! ! ✓Point to point or multipoint. ✓Half duplex mode using stop and wait ARQ and flow control. ✓Does not support full duplex mode or sliding window protocol. ✓Bisync because sync characters are sent in pair.
  • 14. IBM’s Bisync Protocol (BSC) ! ! ! ! ! ✓PAD in beginning is called leading pad. ✓PAD can be 55H(01010101) or AAH(10101010). ✓Used for CLK recovery at receiver for bit synchronization. ! ✓2 SYNC characters required for CLK recovery at receiver for character synchronization. ✓SYNC can be 16H in ASCII ( 00010110) OR 32H in EBCDIC repeated twice. P A D S Y N S P A S P A S Y N E O T P A D S Y N S Y N P A D E N Q “ “ General Polling Sequence
  • 15. IBM’s Bisync Protocol (BSC) ! ! ! ! ! ✓EOT, a clearing character, brings all secondaries to line monitor mode. ! ✓PAD is all 1’s string, gives enough time to secondaries to clear their assignments and come to line monitor mode. ! ✓2 SYNC characters available further to synchronize if PAD disturbs synchronization. P A D S Y N S P A S P A S Y N E O T P A D S Y N S Y N P A D E N Q “ “ General Polling Sequence
  • 16. IBM’s Bisync Protocol (BSC) ! ! ! ! ! ✓SPA will hold secondary station’s polling address in ASCII. ✓Transmitted twice to avoid any spurious sequence initiating a poll. ✓Each secondary has unique SPA. ✓ “ is used as it is twice to indicate that it is a general poll. ✓Any device connected to secondary can transmit the data. (keyboard, Scanner etc.) ✓If more than one ready, secondary’s LCU decides the transmitter. P A D S Y N S P A S P A S Y N E O T P A D S Y N S Y N P A D E N Q “ “ General Polling Sequence
  • 17. IBM’s Bisync Protocol (BSC) ! ! ! ! ! ✓ENQ – request for response – format line turn around character is an enquiry character. ✓Ending polling sequence, primary now wants a response. ✓H/D transmission. ✓ PAD at end is trailing pad. ✓7FH or DEL character. ✓Ensures that RLSD is kept active long enough for the DTE to receive all character correctly from DCE. ✓Low RLSD will eliminate carrier and RD pin will be inactive. P A D S Y N S P A S P A S Y N E O T P A D S Y N S Y N P A D E N Q “ “ General Polling Sequence
  • 18. IBM’s Bisync Protocol (BSC) ! ! ! ! ! ✓It is not general poll, hence “ is not used. ✓A specific device with address mentioned in field DA , under station with address mentioned under SPA, is polled. P A D S Y N S P A S P A S Y N E O T P A D S Y N S Y N P A D E N Q D A D A Specific Polling Sequence
  • 19. IBM’s Bisync Protocol (BSC) ! ! ! ! ✓Station polling address is replaced by station selection address. ✓Selection is always specific. ✓It is for the station to divert the incoming data to appropriate device. P A D S Y N S S A S S A S Y N E O T P A D S Y N S Y N P A D E N Q D A ! D A Selection Sequence
  • 20. IBM’s Bisync Protocol (BSC) Acknowledgement to polling! ! ! ! ! ✓Handshake is negative acknowledgement to polling. ✓It has no formatted data to transmit. P A D S Y N S Y N E O T P A D 1. Handshake
  • 21. IBM’s Bisync Protocol (BSC) Acknowledgement to polling ! ! ! ! ! ✓Data 128 bytes minimum. ✓BCC is block check sequence. ✓1 byte LRC for ASCII or 2 bytes CRC for EBCDIC. ✓BCC is done between SOH and ETX, excluding the two. P A D S Y N S Y N S O H header 2. Formatted Message S T X Data P A D B C C E T X
  • 22. IBM’s Bisync Protocol (BSC) Acknowledgement to polling ! ! ! ! ! ! ! ✓ Message can be broken into Multiple blocks and accommodated in one frame. ✓ ITB - intermediate text block. ✓ BCC done on smaller blocks is always preferred. ✓ Finally frame will be terminated by ETX. Multi-block frame P A D S Y N S Y N S O H header S T X Data S T X B C C I T B Data P A D B C C E T X
  • 23. IBM’s Bisync Protocol (BSC) Acknowledgement to polling ! ! ! ! ! ! ! ! ✓If message too long to accommodate in one frame. ✓Multiple frames transmitted. ✓All frames except last, will be terminated in ETB.( More to come) ✓Last frame terminated in ETX.(End of message) Multi-frame block P A D S Y N S Y N S O H header S T X Data S T X B C C I T B Data P A D B C C E T B P A D S Y N S Y N S O H header S T X Data S T X B C C I T B Data P A D B C C E T X ACK More frames and ACK…
  • 24. IBM’s Bisync Protocol (BSC) Acknowledgement to selection ! ! ! ! ! ! ✓ Ready to receive first frame using ACK0. ✓ DLE is data link escape character. ✓ DLE 0 will be taken as number 0. ✓ ASCII for ACK0 is DLE and 0 P A D S Y N S Y N D L E 0 1. Positive acknowledgement P A D
  • 25. IBM’s Bisync Protocol (BSC) Acknowledgement to selection ✓ 2.Negative acknowledgement- not ready to receive P A D S Y N S Y N N A K P A D P A D S Y N S Y N D L E 3.Reverse Interrupt (RVI) – Not ready to receive, but has urgent message to transmit. < P A D
  • 26. IBM’s Bisync Protocol (BSC) Acknowledgement to DATA ! ! ! ! ! ! ! ! ! ! ✓Stop and wait error control. ✓DLE0 for all even frame correct reception. ✓DLE 1 for all odd frames correct reception. 1.Positive acknowledgement- No error P A D S Y N S Y N D L E 0 P A D P A D S Y N S Y N D L E 1 P A D or 2. Negative acknowledgement- Error P A D S Y N S Y N N A K P A D
  • 27. IBM’s Bisync Protocol (BSC) Some more on BISYNC 1.Point to point connection asked S Y N S Y N E N Q 2.Wait and ACK- ACK but not ready to receive more. S Y N S Y N W A C K 3.Temporary delay S Y N S Y N T T D 4.Connection termination S Y N S Y N E O T
  • 28. TRANSPARENCY ✓LCU look-alike characters appearing in data force the LCU to go into control mode. ✓Data 03H appearing in data block will be taken as ETX and block will be terminated at receiver. ✓LCU is made transparent to data by DLE(Data link escape). ✓LCU will not search for data link control characters in the block of data encapsulated by 2 DLE’s. ✓DLE STX places LCU in transparent mode. ✓DLE ETX, DLE ITB, and DLE ETB brings LCU out of transparent mode. ✓DLE DLE if ASCII of DLE appears in data. ✓DLE SYN used only with transparent messages more than 1second long. Two SYN characters to ensure character synchronization at receiver.