Professional Documents
Culture Documents
Standards
.'
\' ~
ISO
High-Level Data
Link Control (HDLC)
Modes of Operation .............. 2 The International Organization for Standardization (ISO) Technical Committee 97 (TC 97,
Computers and Information Processing) developed the High-Level Data Link Control
Frame Structure ....•........•..... 2 (HOLC) protocol. HOLC addresses the physical connection standards for layer two of the
International Organization for Standardization's (ISO's) Open Systems Interconnection
Control Field (OSI) model. It permits synchronous, bit-oriented, independent data transmission. It pro-
Procedures .................•.....•... 4 vides simplex, half-duplex, or full-duplex communication. Network configurations may be
point-to-point or multipoint over switched or nonswitched facilities. HOLC is approved as
Additional CommandsJ an international standard.
Responses .................•......... 4
are sent with the local station address. The combined station at
Table 1. Basic Repertoire of Commands either end may initiate link connection or disconnection.
and Responses* Under either type of procedure, the data link exists in one of
two channel states. The active condition occurs when the primary
or the secondary station is actively transmitting a frame, abort
sequence, or interframe time flIl. In this state, the right to continue
Balanced Mode
transmission is reserved. In the idle state, the station has termi-
nated transmission. The idle state is characterized by the trans-
Commands Responses
mission of at least 15 consecutive one bits.
I
RR RR Modes of Operation
RNR RNR 1\\'0 primary modes of operation are defined in HDLC. In the
SABM** CMDR normal response mode (NRM), the secondary station may ini-
DISC UA tiate transmission only after receiving permission from the pri-
mary station; upon receiving permission, the secondary station
DM issues a response transmission. The last frame of this transmis-
sion is indicated explicitly by the secondary station. After com-
pleting its transmission, the secondary station must wait until it
Unbalanced Normal Mode
again receives permission to transmit from the primary station.
Primary Station Commands Secondary Station
In asynchronous response mode (ARM), the secondary sta-
Responses tion may initiate transmission without permission from the pri-
mary station. The frames transmitted by the secondary station
I I during ARM may be used to transfer information and/or to indi-
cate status changes.
RR RR Three secondary modes of operation are also defined in
RNR RNR HDLC. These include two disconnected modes, which are pro-
SNRM DMDR vided to prevent a secondary station from appearing operational
DISC UA during unusual situations or exception conditions. Normal dis-
connected mode (NDM) logically disconnects the station from
DM the link; while in NOM, the secondary station remains ready to
respond in normal response mode. The same situation exists dur-
Unbalanced Asynchronous Mode ing asynchronous disconnected mode (ADM), except that the
secondary station remains ready in asynchronous response mode.
Primary Station Commands Secondary Station The third secondary mode is the initialization mode (1M).
Responses During 1M, the link control of the secondary station is initialized
or regenerated, or other parameters may be exchanged. 1M is in-
I voked when the primary station detects that the secondary station
is not operating normally or that the link control program needs to
RR RR be upgraded at the remote station. 1M may also be requested by
RNR RNR the secondary station for the same reasons.
SARM CMDR
DISC UA Frame Structure
DM
The HDLC frame structure consists of FLAG-ADDRESS-
'See text for explanation of mnemonics. CONTROL-INFORMATION (Optional)-FRAME CHECK
"Set Asynchronous Balanced Mode-used to set up the SEQUENCE-FLAG.
connection. All frames must start and end with a Flag that consists of the
bit sequence 01111110. All stations attached to the data link con-
response mode. Only one secondary station at a time can be
tinuously search for this sequence. In this manner, the flag is used
placed in asynchronous response mode.
for frame synchronization. (A single flag may be used as the clos-
In the balanced class of procedure, the link consists of two
ing flag for one frame, as well as the opening flag for the next
combined stations and operates in the asynchronous balanced
frame.)
m~e. A combined stat~on acts as both a primary and a secondary
Frames that do not begin and end with a flag, or frames that
statlon, .sends and recelves both commands and responses, and is
are too short (shorter than 32 bits between flags) are invalid and
responslble for error recovery. This type of operation provides for
therefore, ignored. Any frame that ends with an all "I" bit se:
equal control by both stations on the link; both stations share link
quence that is equal to or greater than seven bits in length will
management. The HDLC balanced class of procedure applies to
also be ignored. Therefore, one method to abort a frame would be
point-to-point configurations over switched or leased facilities.
to transmit eight contiguous "I " bits.
Commands are sent with the remote station address; responses
Table 3. Summary of Poll/Final Bit Set Normal Response Mode Extended (SNRME) is a command
that places the secondary station in the extended nonnal response
Function mode (NRME). In this mode, all control fields are two octets
long. .
Set Asynchronous Response Mode Extended (SARME) is a
Operational Mode NRM ARM command placing the secondary station in the extended asynchro-
Communication Mode TWA TWS TWA TWS nous response mode (ARME), where all control fields are two
P/F Bit In Commandl octets long.
Response P F P F P F P F In addition to the unnumbered commands, two unnumbered
responses are defmed:
Functions The Unnumbered Acknowledgement (UA) response, used by
Solicit information X X the secondary station, acknowledges that it has received and ac-
cepted one of the unnumbered fonnat commands. It is the re-
Last frame indication X X X sponse to SNRM, SARM, DISC, SNRME, and SARME. No in-
Solicit supervisory or fonnation field is pennitted with the UA response.
unnumbered response X X X X The Command Reject (CMDR) response, also used by the sec-
Check pointing X X X X X X X X ondary station, reports one of the following conditions: an invalid
or not implemented command has been received, an infonnation
X-Indicates that the function is applicable. frame has been received which exceeds the size of the buffer
NRM-NORMAL RESPONSE MODE.
ARM-Asynchronous response mode.
available, or a frame with an invalid N(R) has been received from
TWA-Two-wayaltemate. the primary station. The response includes an infonnation field to
TWS-Two-way simultaneous. provide the reason for the CMDR.
Frame Numbering
Control Field Procedures Every infonnation frame is numbered sequentially. In the unex-
tended control field I fonnat, the numbering modulo is eight; up
Four supervisory commands and responses perfonn functions to seven messages may be outstanding before an acknowledg-
such as acknowledgment, polling, and temporary suspension of ment is required. The message numbers continually cycle through
infonnation transfer (see Figure 2 for bit encoding). the entire seven-combination range of the three-bit field available
Receive Ready (RR), used by the primary and secondary sta- for numbering.
tions, indicates readiness to receive an infonnation frame or to In the extended control field fonnat, seven bits are available
acknowledge previously received infonnation frames numbered for message numbering (see Table 2). This is an important char-
up to N(R)-l. The primary station may also use RR with the poll acteristic of HDLC, since it increases the numbering modulo to
bit set to "1" to solicit responses from a secondary station. 128. Modulo 128 pennits up to 127 messages to be outstanding
Reject (REJ) requests retransmission of infonnation frames, before an acknowledgment is required, and it is an effective coun-
beginning with the frame numbered N(R). Only one REI condi- teraction against propagation delay. The modulo can be set to
tion from a given station may be established at one time. The REJ ensure a steady flow of infonnation, even on facilities with long
is cleared when the infonnation frame that has an N(S) equal to propagation delays, such as satellites.
the N(R) of the REI command/response is received. Four tenns are associated with the frame numbering function
Receive Not Ready (RNR) indicates a busy condition or the of the control field. Each data station maintains independent send
inability to accept any additional infonnation frames. A second- and receive sequence numbers on the infonnation frames it sends
ary station that receives an RNR while in the process of transmit- and receives. The send state variable V(S) denotes the receive
ting must stop transmitting infonnation frames at the earliest pos- sequence number N(R) of the next in-sequence infonnation frame
sible time. received. The value ofV(R) and the corresponding N(R) is incre-
Selective Reject (SREJ) is used to request retransmission of an mented by one when an error-free in-sequence equals the receive
infonnation frame numbered N(R). It is cleared when an infonna- state variable. All infonnation and supervisory frames contain the
tion frame is received that has an N(S) count equal to the N(R) of N(R), the expected sequence number of the incoming infonnation
the received SREJ command/response. Until the first SREI error frame.
condition is cleared, no other sequence error commands can be
transmitted.
Unnumbered commands and responses extend the number Additional CommandS/Responses
of link control functions. The transmission of frames in the un- Four commands and five responses are defined for the secondary
numbered fonnat, or U fonnat, does not increment the sequence operational modes.
counts at either the primary or secondary station. Although this The Set Initialization Mode (SIM) command causes the ad-
pennits the addition of up to 32 additional functions, only 5 func- dressed secondary station to initiate procedures that initialize its
tions are defined; all others are reserved. The five unnumbered link-level control functions. No infonnation field is pennitted.
commands are briefly described below. The Unnumbered Poll (UP) command solicits response
Set Normal Response Mode (SNRM) is a command that places frames from either a group of secondary stations (group poll) or
the secondary station in NRM. No infonnation field is pennitted. an individual secondary station (individual poll). No infonnation
Set Asynchronous Response Mode (SARM) is a command that field is pennitted. The response frame to the UP contains the
places the addressed secondary station in ARM. No infonnation station address, plus the N(S) and N(R) numbers as required. If
field is pennitted. the primary station detects an idle state (15 ones), or no response
The Disconnect (DISC) command tenninates a previously set is given to the UP command within a given period of time, it is
operational mode. It infonns the secondary stations that the pri- assumed that the secondary station has either completed or will
mary station is suspending its operation and that the secondary not initiate transmission.
stations should place themselves in disconnected mode. No infor-
mation field is pennitted.
(
"'-.
ISO
High-Level Data
Link Control (HDLC)
Synopsis
In this report:
Analysis
Modes of Operation ............ 2 HDLC, a protocol that addresses the physi-
cal connection standards for layer two of
Frame Structure .................. 2 the International Organization for Stan-
dardization's (ISO's) Open Systems Inter-
Control Field connection (OSI) model, permits synchro- Stations
Procedures .......................... 3 nous, bit-oriented, independent data HOLC defines two types of stations on the
transmission. It provides simplex, half- data link. The station assuming the respon-
Additional Commands/ duplex, or full-duplex communication. sibility for the organization of data flow
Responses .......................... 4 Network configurations may be point to and for link-level error recovery functions
point or multipoint over switched or non- is the primary station. All other stations on
Note: The subject of switched facilities. the link are secondary stations. The primary
this report is consid- station transmits commandframes, and the
ered as a mature stan- Report Highlights secondary stations transmit response
dard. No significant The International Organization for Stan- frames.
developments are an- dardization (ISO) Technical Committee 97 For data transfer, HDLC considers two
ticipated, but because (TC 97, Computers and Information Pro- cases of data link control. The first case is
of its importance in the cessing) developed the High-Level Data when the primary station performs the pri-
industry, coverage is Link Control (HOLC) protocol. Upon mary data link control functions by control-
being continued. adoption by TC 97, the draft document was ling the secondary station through select
circulated to member bodies of the ISO for commands. The second case is when the
approval. HOLC has been approved as an primary station controls the secondary sta-
international standard by member bodies tion through poll commands.
from 23 countries; no member body ex- Two terms are used to describe the data
pressed disapproval. flow. The data source is the station cur-
HDLC covers a wide array of applica- rently transmitting information; the data
tions. It permits simplex, half-duplex, or sink is the station accepting the informa-
full-duplex transmission, configured point- tion. Information always flows from the
to-point or multipoint, over switched or data source to the data sink; acknowledg-
nonswitched facilities. It does not define a ments flow in the opposite direction.
single system and should not be regarded as
a specification for a data communications
system. It is intended to provide a high de- Classes of
gree of compatibility between data terminal Procedures/Configurations
equipment (OTE).
A class of procedures is the basic repertoire
Several protocols, such as Unisys' Bur-
roughs Data Link Control (BDLC), IBM's of steps to which a station conforms in or-
Synchronous Data Link Control (SOLC), der to communicate. HDLC defines two
classes of procedures and associated station
and Unisys' Sperry (Univac) Universal
Data Link Control (UOLC), are based on configurations: balanced and unbalanced.
the HDLC concept. HOLC's capability of In the unbalanced class of procedures,
the configuration consists of one primary
transmitting up to 127 frames before an ac-
knowledgment is required makes it possible station and one or more secondary stations.
The primary station's responsibilities in-
to transmit information via satellite, as well
,.('.'
I'
as via terrestrial facilities.
clude setting up and disconnecting the link;
sending information frames, supervisory,
and unnumbered commands; and checking
received frames. The secondary station
reserved no station address which in a command may be The unnumbered format, or U format, provides addi-
used for testing purposes, such as testing line loop fault. tional link control functions. The control format's U for-
One or more stations may be assigned a group address, mat contains no sequence numbers; as a result, five modi-
as well as an individual address. This address may be used fier bits allow the definition of up to 32 additional
to broadcast to the assigned group of stations. Any address command functions and 32 additional response functions.
combination, except the global and the no station address,
may be assigned as a group address.
The Information field is an unspecified number of bits Control Field Procedures
that need not follow any particular character structure. In Four supervisory commands and responses perform func-
most cases, however, a convenient structure, such as an tions such as acknowledgment, polling, and temporary sus-
octet, is used. Theoretically, there is no limit to the length pension of information transfer.
of the information field; however, certain factors, like Receive Ready (RR), used by the primary and secondary
buffer size, may impose limitations. stations, indicates readiness to receive an information
The Frame Check Sequence (FCS) is a 16-bit field frame or to acknowledge previously received information
which appears prior to the closing flag. It detects errors in frames numbered up to N(R) -1. The primary station may
the frame and is the ones complement (modulo 2) of the also use RR with the poll bit set to "1" to solicit responses
sum of: from a secondary station.
• The remainder ofx k (X 15 + Xl4 + X l3 + ... + x + x + Reject (REJ) requests retransmission of information
q divided (modulo 2) by the generator polynomial frames, beginning with the frame numbered N(R). Only
one REJ condition from a given station may be established
x 6 + X 12 + x 5 + 1, where k is the number of bits in
the frame existing between, but not including, the at one time. The REJ is cleared when the information
final bit of the opening flag and the first bit of the frame that has an N(S) equal to the N(R) of the REJ com-
FCS, excluding bits inserted for transparency; and mand/response is received.
Receive Not Ready (RNR) indicates a busy condition or
• The remainder after multiplication by X 16 and then the the inability to accept any additional information frames.
division (modulo 2) by the generator polynomial X 16 + A secondary station that receives a RNR while in the pro-
X 12 + x 5 + 1 of the content of the frame, existing be- cess of transmitting must stop transmitting information
tween, but not including, the final bit of the opening flag frames at the earliest possible time.
and the first bit of the FCS, excluding bits inserted for Selective Reject (SREJ) is used to request retransmis-
transparency. sion of an information frame numbered N(R). It is cleared
when an information frame is received that has an N(S)
As a typical implementation (at the transmitter), the initial count equal to the N(R) of the received SREJ command/
remainder of the division is preset to all ones and is then response. Until the first SREJ error condition is cleared,
modified by division by the generator polynomial (as de- no other sequence error commands can be transmitted.
scribed above) on the Address, Control, and Information Unnumbered commands and responses extend the num-
fields. The ones complement of the resulting remainder is ber of link control functions. The transmission of frames
transmitted as the 16-bit FCS sequence. in the unnumbered format, or U format, does not incre-
HDLC permits the FCS field to increase by multiples of ment the sequence counts at either the primary or second-
eight bits (octets) if further protection against errors is ary station. Five modifier bits are defined. Although this
needed. Such a suggestion also has been drafted into the permits the addition of up to 32 additional functions, only
revision of the ANSI Advanced Data Communications 5 functions are defined; all others are reserved. The five
Control Procedures (ADCCP). It calls for a 32-bit FCS unnumbered commands are briefly described below.
which, although it would increase overhead by 16 bits, Set Normal Response Mode (SNRM) is a command that
would eliminate errors that may pass undetected using the places the secondary station in NRM. No information
16-bit FCS. An example of such an error would be a scram- field is permitted.
bled single flag between frames when only a single flag be- Set Asynchronous Response Mode (SARM) is a com-
tween frames is used. mand that places the addressed secondary station in ARM.
The Control field contains either commands or re- No information field is permitted.
sponses and sequence numbers. The control field func- The Disconnect (DISC) command terminates a previ-
tions to convey a command to the addressed station for the ously set operational mode. It informs the secondary sta-
performance of a particular operation or to convey a re- tions that the primary station is suspending its operation
sponse to such a command from the addressed station. and that the secondary stations should place themselves in
Three formats are defined for the control field, each disconnected mode. No information field is permitted.
performing a different function. In the information trans- Set Normal Response Mode Extended (SNRME) is a
fer format, or I format, the transfer of information is per- command that places the secondary station in the ex-
mitted. Only frames using the I control field format may tended normal response mode (NRME). In this mode, all
contain an information field. Each I frame contains three control fields are two octets long.
elements: a send variable (S), a receive variable (R), and a Set Asynchronous Response Mode Extended (SARME)
polllfinal bit set to either 1 or O. A discussion of frame is a command placing the secondary station in the ex-
variables (numbering) and the poll/final bit appears later tended asynchronous response mode (ARME), where all
in this report. control fields are two octets long.
In the supervisory format, or S format, link supervisory In addition to the unnumbered commands, two un-
control functions are transmitted. Examples of supervi- numbered responses are defined:
sory functions include the acknowledgment of I frames The Unnumbered Acknowledgement (UA) response,
and the request for retransmission of I frames. used by the secondary station, acknowledges that it has
received and accepted one of the unnumbered format The Unnumbered Information (UI) command is used to
commands. It is the response to SNRM, SARM, DISC, transmit information to a secondary station or group of
SNRME, and SARME. No information field is permitted secondary stations without changing the V(S) or V(R) vari-
with the UA response. ables. No response is required.
The Command Reject (CMDR) response, also used by The Exchange Identification (XID) command causes
the secondary station, reports one of the following condi- the addressed secondary station to identify itself. It may
tions: an invalid or not implemented command has been also be used to provide primary station identification
received, an information frame has been received which and/or characteristics to the addressed secondary station.
exceeds the size of the buffer available, or a frame with an An information field is optional.
invalid N(R) has been received from the primary station. The Disconnect Mode (DM) response reports the status
The response includes an information field to provide the of a secondary station that is disconnected from the link.
reason for the CMDR. Such a station is in NDM or ADM. No information field is
permitted. On a switched network where the call is initi-
Frame Numbering ated by the secondary station, the DM is sent as a request
Every information frame is numbered sequentially. In the for a mode-setting command.
unextended control field I format, the numbering modulo The Request Disconnect (RD) response indicates to the
is eight; up to seven messages may be outstanding before primary station that the secondary station wishes to be
an acknowledgment is required. The message numbers placed in one of the disconnected modes, ADM or NDM.
continually cycle through the entire seven-combination The Request Initialization Mode (RIM) response is used
range of the three-bit field available for numbering. by the secondary station to report a need for initialization.
In the extended control field format, seven bits are After the RIM response, no further transmissions are ac-
available for message numbering. This is an important cepted or transmitted until a SIM or DISC command is
characteristic of HDLC, since it increases the numbering received. No information field is permitted.
modulo to 128. Modulo 128 permits up to 127 messages to The Unnumbered Information (UI) response is used by
be outstanding before an acknowledgment is required, and the secondary station to transmit information to the pri-
it is an effective counteraction against propagation delay. mary station without impacting the V(S) and V(R) vari-
The modulo can be set to ensure a steady flow of informa- ables at either end.
tion, even on facilities with long propagation delays, such The Exchange Identification (XID) response is trans-
as satellites. mitted in reply to an XID command. An information field,
Four terms are associated with the frame numbering which contains the secondary station's identification
function of the control field. Each data station maintains and/or characteristics, is optional.
independent send and receive sequence numbers on the
information frames it sends and receives. The send state
variable V(S) denotes the receive sequence number N(R) of Time-Outs
the next in-sequence information frame received. The Time-out procedures are defined for both the unbalanced
value of V(R) and the corresponding N(R) is incremented and balanced classes of procedure. For the unbalanced
by one when an error-free in-sequence equals the receive class, time-out is used to detect a no-reply or lost-reply
state variable. All information and supervisory frames condition. In ARM, each secondary station provides a
contain the N(R), the expected sequence number of the command time-out function. The expiration of a specified
incoming information frame. time initiates error recovery procedures.
The duration of a time-out is system dependent and
Additional Commands/Responses subject to agreement by communicating stations. To re-
solve possible contention situations, the secondary sta-
Four commands and five responses are defined for the sec- tion's timer interval is longer than that of the primary sta-
ondary operational modes. tion. In NRM, the secondary station waits for the primary
The Set Initialization Mode (SIM) command causes the station to initiate error recovery.
addressed secondary station to initiate procedures that ini- For the balanced class, each combined station provides
tialize its link level control functions. No information field a response time-out to detect a no-reply condition. The
is permitted. expiration of the time initiates error recovery procedures.
The Unnumbered Poll (UP) command solicits response The time-out duration is system dependent and subject to
frames from either a group of secondary stations (group agreement by both stations. The interval of the timer in
poll) or an individual secondary station (individual poll). each station is unequal in order to resolve possible conten-
No information field is permitted. The response frame to tion situations that might occur, especially in a two-way
the UP contains the station address, plus the N(S) and alternate operation. The timer starts when a station trans-
N(R) numbers as required. If the primary station detects mits a frame to which a reply is required. When the ex-
an idle state ( 15 ones), or no response is given to the UP pected reply is received, the timer stops.•
command within a given period of time, it is assumed that
the secondary station has either completed or will not ini-
tiate transmission.
ISO
High-Level Data
Link Control (HDLC)
Figure 1.
The HDLC Frame Structure
Modes of Operation as the closing flag for one frame, as well as the
Two primary modes of operation are defined in opening flag for the next frame.)
HDLC. In the normal response mode (NRM), the Frames that do not begin and end with a flag
secondary station may initiate transmission only or frames that are too short (shorter than 32 bits
after receiving permission from the primary sta- between flags) are invalid and, therefore, ignored.
tion; upon receiving permission, the secondary sta- Any frame that ends with an all "1" bit sequence
tion issues a response transmission. The last frame that is equal to or greater than seven bits in length
of this transmission is indicated explicitly by the will also be ignored. Therefore, one method to
secondary station. After completing its transmis- abort a frame would be to transmit eight contigu-
sion, the secondary station must wait until it again ous "1" bits.
receives permission to transmit from the primary Interframe time fill is accomplished by trans-
station. mitting either consecutive flags, a minimum of
In asynchronous response mode (ARM), the seven contiguous" 1" bits, or a combination of
secondary station may initiate transmission with- both. Selection of interframe time fill methods de-
out permission from the primary station. The pends on system requirements.
frames transmitted by the secondary station during Since it is possible for six or more binary" 1s"
ARM may be used to transfer information and/or to be contiguous elsewhere in the frame, HDLC
to indicate status changes. provides a mechanism that achieves transparency
Three secondary modes of operation are also for these nonflag-related sequences using the pro-
defined in HDLC. These include two disconnected cess of zero insertion. The transmitter examines the
modes, which are provided to prevent a secondary frame content including the address, control, and
station from appearing operational during unusual FCS fields and inserts a zero after all sequences of
situations or exception conditions. Normal discon- five contiguous" 1" bits. This insures that a flag
nected mode (NDM) logically disconnects the sta- sequence is not simulated. At the receiving end, the
tion from the link; while in NDM, the secondary incoming frames are examined and any "0" bit
station remains ready to respond in normal re- directly following fi ve "1" bits is discarded.
sponse mode. The same situation exists during The flag is followed by the Address field. In
asynchronous disconnected mode (ADM), except command frames, the address must identify the
that the secondary station remains ready in asyn- station(s) for which the command is intended. In
chronous response mode. response frames, the address must identify the sta-
The third secondary mode is the initialization tion sending the response.
mode (1M). During 1M, the link control of the sec- Normally, a single octet (eight-bit) address
ondary station is initialized or regenerated, or would be used, making a total of 256 combinations
other parameters may be exchanged. 1M is invoked available. The address range can be extended, how-
when the primary station detects that the second- ever, by reserving the first transmitted bit (low or-
ary station is not operating normally or that the der) of each address octet, which is set to binary
link control program needs to be upgraded at the zero. This indicates that the following octet is an
remote station. 1M may also be requested by the extension of the basic address. The format of the
secondary station for the same reasons. extended octet(s) must be the same as that of the
basic octet, and, in this way, the address field may
be recursively extended.
Frame Structure When extensions are used, the presence of a
binary" 1" in the first transmitted bit of the basic
The HDLC frame structure consists of FLAG-
address octet indicates that only one address octet
ADDRESS-CONTROL-INFORMATION
is used. Thus, the use of address extension restricts
(Optional)-FRAME CHECK SEQUENCE-
the range of single octet addresses to 128.
FLAG (see Figure 1). HDLC outlines three conventions for ad-
All frames must start and end with a Flag that dressing frames, aside from assigning each station
(- consists of the bit sequence 01111110. All stations
attached to the data link continuously search for
its own address.
The global address is a single address field
this sequence. In this manner, the flag is used for
combination that instructs all stations to accept
frame synchronization. (A single flag may be used
j
MI
r
buffer size, may impose limitations.
The Frame Check Sequence (FCS) is a 16-bit
field which appears prior to the closing flag. It de-
tects errors in the frame and is the ones comple-
Unnumbered Command 5 "modifier" bits
format poll
ment (modulo 2) of the sum of:
Response • The remainder ofxk (X 15 + X14 + X l3 + ... + x
final
+ x + 1) divided (modulo 2) by the generator
polynomial X l6 + Xl2 + x 5 + 1, where k is the
,
1 2 3 4 5 6 7 8 inserted for transparency; and
0 N(S) P/F N(R) • The remainder after multiplication by X l6 and
I
I-T T
then the division (modulo 2) by the generator
polynomial X l6 + Xl2 + x 5 + 1 of the content of
Receive
the frame, existing between, but not including,
transfer sequence the final bit of the opening flag and the first bit
format number
Send Command (0-7)
of the FCS, excluding bits inserted for transpar-
sequence poll ency.
number
Response
(0-7)
final As a typical implementation (at the transmitter),
the initial remainder of the division is preset to all