Siemens SIMATIC TIWAY 1 User Manual page 191

Unilink host adapter
Hide thumbs Also See for SIMATIC TIWAY 1:
Table of Contents

Advertisement

B.3 BDLC PROTOCOL CONTROL FIELD STRUCTURES
I–Frame Format
Supervisoty Frame
Format
Unnumbered Frame
Format
Where: N(S) is the transmitting station send sequence number.
The control field will be one of three formats as shown in Figure B–4. The
I-Frame format is used to transfer messages between the host computer and the
adapter. The N(S) and N(R) sequence numbers are Modulo–8 counts. These
counts begin at zero when the host computer issues the Set Normal Response
Mode (SNRM) command to link the adapter. The counts are incremented by one
for each frame transmitted in either direction.
The Supervisory frame format is used to perform link supervisory control
functions such as acknowledge I-Frames, request retransmission of an
I-Frame, and others. Responses of this type do not contain the Information Field
and only update the N(R) sequence count. Valid S subfield values are:
UNILINK HOST ADAPTER
USER MANUAL
USING THE BDLC PROTOCOL
MSB
N(R) is the transmitting station recieve sequence number.
S
is the supervisory function bits.
M
is the modifier function bits.
P/F
is the Poll/Final bit.
N
is the modifier function bits.
Figure B–4 BDLC Protocol Control Field Structures
00
RR – Receive ready
01
RNR – Receive not ready
10
REJ – Reject
First bit transmitted
0
1
2
3
4
N(R)
P/F
N(R)
P/F
N
P/F
B–6
LSB
5
6
7
N(S)
0
S
0
1
M
1
1

Advertisement

Table of Contents
loading

Table of Contents