Information technology - Telecommunications and information exchange between systems - High-level data link control (HDLC) procedures - Classes of procedures

Describes the HDLC unbalanced classes of procedures, the HDLC balanced class of procedures, and the HDLC connectionless classes of procedures for synchronous or start/stop data transmission. The procedures use the HDLC frame structure defined in ISO/IEC 3309 and the HDLC elements of procedures described in ISO/IEC 4335.

Technologies de l'information — Télécommunications et échange d'informations entre systèmes — Procédures de commande à haut niveau (HDLC) — Classes de procédures

General Information

Status
Withdrawn
Publication Date
22-Dec-1993
Withdrawal Date
22-Dec-1993
Current Stage
9599 - Withdrawal of International Standard
Start Date
22-Aug-2002
Completion Date
30-Oct-2025
Ref Project

Relations

Standard
ISO/IEC 7809:1993 - Information technology -- Telecommunications and information exchange between systems -- High-level data link control (HDLC) procedures -- Classes of procedures
English language
22 pages
sale 15% off
Preview
sale 15% off
Preview

Frequently Asked Questions

ISO/IEC 7809:1993 is a standard published by the International Organization for Standardization (ISO). Its full title is "Information technology - Telecommunications and information exchange between systems - High-level data link control (HDLC) procedures - Classes of procedures". This standard covers: Describes the HDLC unbalanced classes of procedures, the HDLC balanced class of procedures, and the HDLC connectionless classes of procedures for synchronous or start/stop data transmission. The procedures use the HDLC frame structure defined in ISO/IEC 3309 and the HDLC elements of procedures described in ISO/IEC 4335.

Describes the HDLC unbalanced classes of procedures, the HDLC balanced class of procedures, and the HDLC connectionless classes of procedures for synchronous or start/stop data transmission. The procedures use the HDLC frame structure defined in ISO/IEC 3309 and the HDLC elements of procedures described in ISO/IEC 4335.

ISO/IEC 7809:1993 is classified under the following ICS (International Classification for Standards) categories: 35.100.20 - Data link layer. The ICS classification helps identify the subject area and facilitates finding related standards.

ISO/IEC 7809:1993 has the following relationships with other standards: It is inter standard links to ISO/IEC 7809:1993/Amd 10:1995, ISO/IEC 13239:2002, ISO/IEC 7809:1991; is excused to ISO/IEC 7809:1993/Amd 10:1995. Understanding these relationships helps ensure you are using the most current and applicable version of the standard.

You can purchase ISO/IEC 7809:1993 directly from iTeh Standards. The document is available in PDF format and is delivered instantly after payment. Add the standard to your cart and complete the secure checkout process. iTeh Standards is an authorized distributor of ISO standards.

Standards Content (Sample)


INTERNATIONAL ISO/IEC
STANDARD
Third edition
1993-12-15
Information technology -
Telecommunications and information
exchange between systems - High-level
data link control (HDLC) procedures -
Classes of procedures
Technologies de I’information - TMcommunications et &change
d’informations entre systkmes - Procbdures de commande 9 haut
niveau (HDL C) - Classes de procgdures
Reference number
lSO/lEC 7809: 1993(E)
Page
Contents
. . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Foreword
iv
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Introduction
.............................................................................................................. 1
1 scope
..................................................................................... 1
2 Normative references
3 General description .
4 Unbalanced operation (point-to-point and multipoint) . 7
............................................................... 10
5 Balanced operation (point-to-point)
.........
6 Unbalanced connectionless operation (point-to-point and multipoint). 13
Annex
A Examples of typical HDLC procedural subsets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
0 ISO/IEC 1993
All rights reserved. Unless otherwise specified, no part of this publication may be
reprodiced or utilized in any form or by &y means, elkctronic or mkhanical, in&ding
photocopying and microfilm, without permission in writing from the publisher.
ISO/IEC Copyright Office l Case postale 56 l CH-1211 Genkve 20 l Switzerland
Printed in Switzerland
ii
0 ISO/IEC
Foreword
IS0 (the International Organization for Standardization) and IEC (the Inter-
national Electrotechnical Commission) form the specialized system for worldwide
standardization. National bodies that are members of IS0 or IEC participate in
the development of International Standards through technical committees estab-
lished by the respective organization to deal with particular fields of technical
activity. IS0 and IEC technical committees collaborate in fields of mutual inter-
est. Other international organizations, governmental and non-governmental, in
liaison with IS0 and IEC, also take part in the work.
In the field of information technology, IS0 and IEC have established a joint
technical committee, ISO/IEC JTC 1. Draft International Standards adopted by
the joint technical committee are circulated to national bodies for voting. Publi-
cation as an International Standard requires approval by at least 75 % of the na-
tional bodies casting a vote.
International Standard ISO/IEC 7809 was prepared by Joint Technical Committee
ISO/IEC JTC 1, Information technology, Subcommittee SC 6, Telecommuni-
cations and inform&on exchange between systems.
This third edition cancels and replaces the second edition (ISOLIEC 7809: 1991),
and incorporates ISO/IEC 7809 amendments 5, 6 and 7.
Annex A of this International Standard is for information only.
. . .
- ISO/IEC 7809 : 1993 (E) 0 ISO/IEC
Introduction
High-level data link control (HDLC) classes of procedures describe methods of data
link operation which permit synchronous or start/stop, code-transparent data
transmission between data stations in a variety of logical and physical configurations.
The classes are defined in a consistent manner within the framework of an overall
HDLC architecture. One of the purposes of this International Standard is to maintain
maximum compatibility between the basic types of procedures, unbalanced, balanced
and connectionless, as this is particularly desirable for data stations with configurable
capability, which may have the characteristics of a primary, secondary, combined,
control, tributary, or peer station, as required for a specific connection.
This International Standard defines five fundamental classes of procedures (two
unbalanced, one balanced, and two connectionless). The unbalanced classes apply to
both point-to-point and multipoint configurations (as illustrated in figure 1) over either
dedicated or switched data transmission facilities. A characteristic of the unbalanced
classes is the existence of a single primary station at one end of the data link plus one
or more secondary stations at the other end(s) of the data link. The primary station
alone is responsible for data link management, hence the designation “unbalanced”
classes of procedures.
Primary -
station
r-l
Secondary
station
N
Figure 1 - Unbalanced data link configuration
The balanced class applies to point-to-point configurations (as illustrated in figure 2)
over either dedicated or switched data transmission facilities. A characteristic of the
balanced class is the existence of two data stations, called combined stations, on a
logical data link, that may share equally in the responsibility for data link
management, hence the designation “balanced” class of procedures.
iv
ISO/IEC 7809 : 1993 (E)
0 ISO/IEC
I
Combined
Combined
StatiOIl
station
B
A
Figure 2 - Balanced data link configuration
Secondary Primary
station
Figure 3 - Symmetrical data link configuration
The unbalanced connectionless class applies to point-to-point configurations over either
dedicated or switched data transmission facilities, or to multipoint cotigurations over
dedicated data transmission facilities. A characteristic of the unbalanced connectionless
class is the existence of a single control station at one end of the data link plus one or
more tributary stations at the other end(s) of the data link. The control station is
responsible for determining when a tributary station is permitted to send. Neither the
control station nor the tributary station(s) support any form of connection
establishment/termination procedures, flow control procedures, data transfer
aclulowledgement procedures, or error recovery procedures, hence the designation
“connectionless” class of procedures.
The balanced connectionless class applies to point-to-point configurations over either
dedicated or switched data transmission facilities. A characteristic of the balanced
connectionless class is the existence of two data stations, called peer stations, on a data
link, that are each independently in control of when they can send. Neither peer station
supports any form of connection establishment/termination procedures, flow control
procedures, data transfer acknowledgement procedures, or error recovery procedures,
hence the designation “connectionless” class of procedures.
For each class of procedures, a method of operation is specified in terms of the
capabilities of the basic repertoire of commands and responses that are found in that
class. A variety of optional functions are also listed. Procedural descriptions for the use
of the optional functions are found in clause 6.
It is recognized that it is possible to construct symmetrical cdgurations for operation
on a single data circuit from the unbalanced classes of procedures which are defined in
this International Standard. For example, the combination of two unbalanced procedures
(with I frame flow as commands only) in opposite directions would create a symmetrical
point-to-point configuration (as illustrated in figure 3).

This page intentionally left blank

ISO/IEC 7809 : 1993 (E)
INTERNATIONAL STANDARD@ ISO/IEC
Information technology - Telecommunications and
- High-level
information exchange between systems
data link control (HDLC) procedures - Classes of
procedures
were valid. All standards are subject to revision, and parties
1 scope
to agreements based on this International Standard are
This International Standard describes the HDIC unbalanced
encouraged to investigate the possibility of applying the most
the HDLC balanced class of
classes of procedures,
recent editions of the standards indicated below. Members of
procedures, and the HDLC connectionless classes of
IEC and IS0 maintain registers of currently valid
procedures for synchronous or start/stop data transmission.
International Standards.
Balanced operation is intended for use in circumstances
ISO/IEC 646 : 1991, h$omution technology - IS0 7-bit co&d
which require equal control at either end of the data link.
character set for irgfomution interchange.
Operational requirements are covered in accordance with the
overall HDLC architecture. The procedures use the HDLC
IS0 2382-9 : 1984, Data processing - Vocabulary - Part
frame structure defined in ISO/IEC 3309 and the HDLC
09: Data communication.
elements of procedures described in ISO/IEC 4335.
ISO/IEC 3309 : 1993, Information technology -
For the unbalanced classes, the data link consists of a primary
Telecommunications and inforrnution exchange between
station plus one or more secondary stations and operates in
system - High-level data link control (HDLC)
either the normal response mode or the asynchronous
procedures - Frame structure.
response mode in a point-to-point or multipoint configuration.
For the balanced class, the data link consists of two combined
ISO/IEC 4335 : 1993, Z@k2ation technology -
stations and operates in the asynchronous balanced mode in a
Telecommunications and information exchange between
For the unbalanced
point-to-point configuration.
systems - High-level data link control (HDLL)
connectionless class, the data link consists of a control station
procedures - Elements of procedures.
plus one or more tributary stations and operates in the
unbalanced connectionless-mode in a point-to-point or
technology -
ISO/IEC 8885 : 1993, Information
For the balanced connectionless
multipoint configuration.
Telecommunications and information exchcutge between
class, the data link consists of two peer stations and operates
systems - High-level data link control (HDLC)
in the balanced connectionless-mode in a point-to-point
procedures - General purpose XID frame in$ormation field
configuration. In each class, a basic repertoire of commands
content and format.
and responses is defined, but the capability of the data link
may be modified by the use of optional functions.
3 General description
3.1 Principles
2 Normative references
3.1.1 Types of data station
The following standards contain provisions which, through
3.1.1.1 Two types of data station are defined for the
reference in this text, constitute provision of this International
unbalanced classes of procedures (see figure 4):
Standard. At the time of publication, the editions indicated

0 ISO/IEC
ISO/IEC 7809 : 1993 (E)
a) primary station, which sends commands, receives 3.13 Operational modes
responses and is ultimately responsible for data link
In an unbalanced class, any coupling of a primary station with
layer error recovery;
secondary station(s) shall be operated in either the normal
b) secondary stations, which receive commands, send response mode (NRM) or the asynchronous response mode
responses and may initiate data link layer error (ARM), two-way alternate or two-way simultaneous, in
recovery. accordance with the capability of the configuration being
employed. In the balanced class, two combined stations shall
3.1.1.2 One type of data station is defined for the balanced
be operated in the asynchronous balanced mode (ABM),
class of procedures (see figure 4), i.e. combined stations,
two-way alternate or two-way simultaneous, in accordance
which send both comnknds and responses, receive both
with the capability of the configuration being employed.
commands and responses, and are responsible for data link
layer error recovery. In the unbalanced connectionless class, any coupling of a
control station with tributary station(s) shall be operated in
3.1.13 Three types of data stations are defined for the
the unbalanced co~ectionless mode (UCM), two-way
connectionless classes of procedures (see figure 4):
alternate or two-way simultaneous, in accordance with the
capability of the configuration being employed.
control station in unbalanced connectionless class of
a>
procedure, which sends commands, receives responses,
In the balanced connectionless class, two peer stations shall
but does not support any form of data link layer
be operated in the balanced co~ectionless mode (BCM),
connection establishment/termination, flow control,
two-way alternate or two-way simultaneous, in accordance
acknowledgement, or error recovery;
with the capability of the configuration being employed.
tributary stations in unbalanced connectionless class of
b)
3.1.4 Addressing scheme
procedure, which receives commands, sends responses,
but does not support any form of data link layer In all classes (unbalanced, balanced, and connectionless),
connection establishment/termination, flow control, commands shall always be sent containing a destination data
station address, and responses shall always be sent containing
acknowledgement, or error recovery;
the assigned transmitting data station address.
peer stations in balanced connectionless class of
d
procedures, which send both commands and responses, The “all-station” address or a “group” address may be used to
receive both commands and responses, but are not transmit a command frame simultaneously to all the
responsible for any form of data link layer connection secondary stations on a multipoint configuration or to the
establishment/termination, flow control, defined group of secondary stations. The addressing
convention is specified in ISO/IEC 3309, clause 5. The
acknowledgmen& or error recovery.
mechanism to avoid overlapping responses to multiple station
NOTE - The above terms are introduced in order to avoid
addressing is system dependent and is not specified in either
having to use compound terns such as “connectionless
ISO/IEC 3309 or this International Standard.
secondary station”, etc., throughout the subclauses that &al with
connectionless classes of procedures. 3.15 Send and receive state variables
For each primary-to-secondary or combined-to-combined
3.1.2 Configurations
pairing, a separate pair of send and receive state variables
For the unbalanced classes of procedures, a single primary
shall be used for each direction of transmission of
station plus one or more secondary station(s) shall be
information (I) frames. Upon receipt and acceptance of a
connected together over various types of transmission
mode setting command, both the send and receive state
facilities to build point-to-point or multipoint, half-duplex or
variables of the receiving station, shall be set to zero. Upon
duplex, switched or non-switched configurations.
receipt and acceptance of an acknowledgement response to a
mode setting command, both the send and receive state
For the balanced class of procedures, two combined stations
variables of the originating station shall be set to zero.
shall be connected together over various types of transmission
facilities to build point-to-point, half-duplex or duplex, For each control-to-tributary or peer-to-peer pairing, there are
no send and receive state variables used for each direction of
switched or non-switched configurations.
transmission of data.
For the unbalanced connectionless class of procedures, a
3.2 Fundamental classes of procedures
single control station plus one or more tributary station(s)
shall be connected together over various types of transmission
3.2.1 Designations
facilities to build point-to-point or multipoint, half-duplex or
duplex, switched or non-switched configurations. Five fundamental classes of procedures are defined. They are
designated:
For the balanced connectionless class of procedures, two peer
UNC - Unbalanced operation Normal response mode
stations shall be connected together over various types of
Class;
transmission facilities to build point-to-point, half-duplex or
duplex, switched or non-switched configurations.
UAC Unbalanced operation Asynchronous response

0 ISO/IEC ISO/IEC 7809 : 1993 (E)
mode Class; 3.2.23 BAC
of commands and
The basic repertoire responses for BAC
BAC - Balanced operation Asynchronous balanced
Sh3llbea.S follows:
mode Class;
commands
Responses
I I
UCC - Unbalanced operation Connectionless - mode
RR RR
Class; and
SABM UA
BCC - Balanced operation Connectionless - mode Class.
DISC DM
In these designations
FRMR
- the first letter, U or B, indicates unbalanced or
balanced operation;
3.2.2.4 ucc
- the second letter, A, N, or C, indicates asynchronous,
The basic repertoire of commands and responses for UCC
normal, or connectionless response mode; and
shall be as follows:
- the third letter, C, stands for class.
Commands Responses
UI
UI
3.2.2 Basic repertoires
3.2.2.5 BCC
The following basic repertoires utilize single octet addressing,
unextended control field format, a 16-bit FCS, and
The basic repertoire of commands and responses for BCC
synchronous transmission.
shall be as follows:
3.2.2.1 UNC
Commands Responses
repertoire of commands and responses for UNC
The basic
UI
follows:
shall be as
commands Responses
3.3 Optional functions
I I
Sixteen optional functions are available (see table 1) to
RR RR
modify the fundamental classes of procedures defined in 3.2.
RNR RNR
These optional functions are obtained by the additions or
SNRM UA
deletions of commands and responses to or from the basic
DISC DM
repertoires, or by the use of alternate address or control field
FRMR
formats or alternate frame checking sequences or alternate
form of transmission (see figure 5). Option 11 is applicable
to the balanced class of procedures only. Options 2,3,4, 8,
3.2.2.2 UAC
11 and 13 are not applicable to the connectionless
9, 10,
The basic repertoire of commands and responses for UAC
classes of procedures.
shall be as follows:
3.4 Consistency of classes of procedures
Commands Responses
I I The consistency in the five classes of procedures, obtained
RR RR through the use of the concepts of modes of operation, basic
RNR
command/response repertoires, and hierarchical structuring, is
SARM UA
shown in figure 5. This consistency in repertoire facilitates
DISC DM
the inclusion of multiple versions of the classes of procedures
FRMR
in a data station that is configurable.

0 ISO/IEC
ISO/IEC 7809 : 1993 (E)
Data Source and
sink *
Command Response Cammand and
Control
control control
response control
:
-T--r
Combined Peer
Primary Chtrol Secondary Tributary
station station station
station station
StZitiOfl
* For send-only I frame stations or receive-only I Erame stations, remove source or sink capability,
as appropriate.
Figure 4 - HDLC stations - Building blocks

ISO/IEC 7809 : 1993 (E)
0 ISO/IEC
Table 1 - Optional functions
Functional description Required change
Option
Add command: XID
Provides the ability to exchange identification and/or characteristics of data stations
Add response: XID
Provides the ability for more timely reporting of I frame sequence errors (not for UCC or Add cornman& REJ
Add response: REJ
BCC)
3.1 Add commandz SRET
Provides the ability for more efficient recovery from I frame sequence errors by
requesting retransmission of a single frame (not for UCC or BCC) Add response: SREJ
3.2
Provides the ability for more efficient recovery from I frame sequence enors by Add command: SREJ
requesting retransmission of one or more individual frames with a single request (not for Add response: SREJ
Support multi-selective reject
UCC or BCC)
option
Add cornman& UI
Provides the ability to exchange information fields independent of the mode (operational
Add response: UI
or nonoperational) without impacting the I frame sequence numbers (not for UCC or
BCC)
Add command: SIM
Provides the ability to initialize a remote data station, and the ability to request
Add response: RIM
initialization
Add command: UP
Provides the ability to perform unnumbered group and all-station polling. as well as
unnumbered individual polling
Use extended addressing format
Provides for greater than single octet addressing
instead of basic addressing
format
Delete response: I
Limits the procedures to allow I frames to be commands only (not for UCC or BCC)
Limits the procedures to allow I frames to be responses only (not for UCC or BCC) Delete command: I
Use extended control field
Provides the ability to use extended sequence numbering (modulo 128) (not for UCC or
format instead of basic control
BCC)
field format; use SXXME
instead of SXXM
Add command: RSET
Provides the ability to reset the state variables associated with only one direction of
information flow (for BAC only) (not for UCC or BCC)
Add wmman& TEST
Provides the ability to perform a basic data link test
Add response: TEST
Add response: RD
Provides the ability to request logical disconnection (not for UCC or BCC)
Use the 32-bit FCS instead of
Provides for 32-bit frame checking sequence (FCS)
the 16-bit FCS
15.1 Use start/stop transmission with
Provides for start/stop transmission with basic transparency
basic transparency instead of
synchronous transmission
15.2
with basic transparency and flow-control Use start/stop transmission with
Provides for start/stop transmission
basic transparency and flow-
transparency
control transparency instead of
synchronous transmission
15.3
Use start/stop transmission with
Provides for start/stop transmission with basic transparency and control-character octet
basic transparency and wntrol-
transparency
character octet transparency
instead synchronous
of
transmission
Use the seven-bit data path
Provides for operation in a start/stop transmission environment that only permits transfer
transparency function, in
of seven data bits per character
conjunction with one of the
Option 15 functions
- ISO/IEC 7809 : 1993 (E)
0 ISO/IEC
UAC UCC
BAC
COntd
TribUtuy
==Y SCCOIld~ primary Secondary
combined station
station station StptioIl StatiOCl station station
commands Canmands
C-dS COmmrndS COmmUrdS
R- Rcspo- R=P-- Rtsponsts R-
I I UI U-I
I I I I UI
Basic
RR RR RR RR RR
RR
rcptItoi-=
UA UA UA
SNRM SARM SABM
DM DM DM
DISC DISC DISC
synchralous transmission syndlronous transmission
Synchrmous txansmission
synchmnalstr8nsmission synclmnlous-al
Basic addressing format Basic addresshg format
Basic addressing format Basic addressing fomrrt
Basic rdchssing format
16-bit FCS
16-bit FCS
1 &bit FCS l&bit FCS leit FCS
Module 8 Module 8 Module 8
RCSponSC
Canmand CtXlUIlurd
10. For cxtardcd sapaxe numb (not for UCC a BCC)
1 For ida&icatioH
XID+Add+XID Use cxtcndcd control field format instead of
basic cmtrd field fomrrt; use SXXME instead
2 For REJ rccavcry (not fa UCC or BCC) of S?CXM
REJ+Add+REJ
) 11 For on-wry reset (BAC only) (not for UCC or BCC)
RESET c Add
3 For individual frame xtranhkon
rctmwkim (not for UCC or BCC)
3.1 For single individual ihme
SREJcAdd+SREJ
12 For data link test
3.2 For one or more individual frame(s) xetransmission (not for UCC
TESTcAdd+TEST
or BCC)
SREJtAdd+SREJ
Use multi-selective reject option
I-
13 Far lrbqucst disconnect (not far UCC or BCC)
w Add+RD
4 For unnumbered inform&an (not far
UIcAdd+UI
) 14For32bitFCS
5 For initializatiar
Use the 32&t FCS instead of the l&bit FCS
SIM c Add -+ RIM
6FaruMm~*
15 For start/stop transmksion
UP-Add
15.1 Use start/stop truumhiar with basic tmqucncy
I-
instcd ofsynchxmoustransmhiar
15.2 use start/stop trumnkior! with buic tnnspIlarcy
and flow-cumol
tnnqutxyinsteadof
syn- txansmkion
15.3 use start/q -al withbuic~cy
andcuntrol~uactcroctctwspanxzyinstead
S For canmand I i&n= only (not for UCC or BCC)
D&XC+1 of synchImous tr8Mrnis8ion
9 For -se I fkames dy (not for UCC or BCC)
16 For Wstop arvinnunents that permit only seven bits
ICD&C
pcrchurctcr.
Use seven-bit data traqwcncy (in
conjunctial with OIlt of the option 1s filnctials).
i
Figure 5 - HDLC classes of procedures
0 ISO/IEC
ISO/IEC 7809 : 1993 (E)
procedures with the optional functions for REJ recovery
3.5 Conformance to the HDLC classes of
(REJ) and the ability to send I frames as commands
procedures
only.
A data station shall be described as conforming to a given
class of procedures, with optional functions, if it implements
ExumpZe 4: Class UCC 1,12 indicates the unbalanced ’
all wmmands and responses in the basic repertoire for the
connectionless operation wnnectionkss-mode class of
class of procedures as modified by the selected optional
procedures with the optional functions for identifkation
functions, i.e.
@ID) and data link test (TEST).
a) a primary station shall have the ability to receive all of
Example 5: Class BCC 1,14 indicates the balanced
the responses in the basic repertoire for the unbalanced
connectionless operation wnnectionless-mode class of
class of procedures as modified by the selected optional
procedures with the optional functions for identification
functions;
(XID) and 32-bit FCS.
b) a secondary station shall have the ability to receive all
of the commands in the basic repertoire for the
unbalanced class of procedures as modified by the 4 Unbalanced operation (point-to-point and
selected optional functions; multipoint)
c) a combined station shall have the ability to receive all
4.1 General
of the commands and responses in the basic repertoire
The following requirements apply to the procedure for
for the balanced class of procedures as modified by the
unbalanced operation of synchronous or start/stop data
selected optional functions.
transmission over point-to-point or multipoint data links with
d) a control station shall have the ability to receive all of
two-way alternate or two-way simultaneous data transfer.
the responses in the basic repertoire for the unbalanced
The procedure uses the HDLC frame structure defined in
connectionless class of procedures as modified by the ISO/IEC 3309 and the HDLC elements of procedures
selected optional functions;
described in ISO/IEC 4335. It uses the basic
command/response repertoire (see figure 5) designated UNC
e) a tributary station shall have the ability to receive all
(or UAC). Although only the basic commands and responses
of the commands in the basic repertoire for the
are described, there are several optional functions available
unbalanced wnnectionless class of procedures as
for enhanced operation. These are listed in 3.3 and shown in
modified by the selected optional functions;
figure 5.
f) a peer station shall have the ability to receive all of the
commands and responses in the basic repertoire for the NOTE - The HDLC unbalanced classes of prwedures
balanced connectionless class of procedures as modified operate as illustrated in the examples given in ISO/IEC 4335,
by the selected optional functions. Annex B. (See clause 1.)
36 . Method of indicating classes and optional 4.2 Description of the data link
functions
4.2.1 Configuration (see figure 1)
The classes of procedures and the optional functions shall be
The unbalanced operation data link configuration shall consist
indicated by specifying the designation of the class (see 3.2.1)
of one primary station and one or more secondary stations
plus the number(s) of the accompanying optional functions
interconnected by physical layer transmission facilities.
(see 3.3).
Example 1: Class UNC1,2,6,9 indicates the unbalanced 4.2.2 Physical layer transmission facilities
operation normal response mode class of procedures
The physical layer transmission facilities may provide either
with the optional functions for identification (XID), REJ
half-duplex or duplex transmission over switched or non-
recovery (REJ), unnumbered polling (UP), and one-way
switched data circuits.
data flow from the secondary station(s) to the primary
station.
NOTE - In the case of a switched data circuit, the
procedures described assume that the switched data circuit has
Example 2: Class UAC1,5,10,13 indicates the
been established.
unbalanced operation asynchronous response mode class
of procedures with the optional functions for
The data link layer shall not initiate data transmission until an
identification (XID), initialization (SIM, RIM), extended
indication of circuit availability is provided by the physical
sequence numbering (modulo 128), and request
layer. (In some systems providing two-way alternate data
disconnect (RD).
exchange on physical layer data circuits using half-duplex
transmission, this indication of physical layer circuit
Example 3: Class BAC2,8 indicates the balanced
availability is indicated by an idle data link channel state.)
operation asynchronous balanced mode class of

- ISO/IEC 7809 : 1993 (E) 0 ISO/IEC
enter the indicated mode, it shall send the DM response. If
4.3 Description of the procedures
the DM response is received correctly, the primary station
43.1 General
shall stop the response time-out function (or equivalent).
Unbalanced control procedures shall operate on a data link
If the SNRM (or SARM) command, UA response or DM
with one primary station and one or more secondary station(s)
response is not received correctly, it shall be ignored. The
in either normal or asynchronous response mode. Only one
result will be that the primary station’s response time-out
secondary station at a time shall be put in asynchronous
function (or equivalent) will run out, and the primary station
response mode. The primary station shall be ultimately
may resend the SNRM (or SARM) command and restart the
responsible for overall data link error recovery.
response time-out function (or equivalent) (see 4.4.3).
Each data station shall check for the correct receipt of the I
This action may continue until a UA response has been
frames it has sent to the remote data station by checking the
received correctly or until recovery action takes place at a
N(R) of each received I frame and supervisory frame.
higher level.
43.2 Data station characteristics
4.4.1.2 Disconnecting the data link
The primary station shall be responsible for:
The primary station shall disconnect the data link(s) with
a) setting up the data link and disconnecting the data
secondary station(s) by sending a DISC command and shall
link;
start a response time-out function (or equivalent). The
addressed secondary station(s), upon receiving the DISC
b) sending information transfer, supervisory and
command correctly, shall send a UA response at its first
unnumbered commands; and
opportunity and shall enter the normal disconnect mode
c) checking received responses.
(NDM), or the asynchronous disconnected mode (ADM), as
predefined for that secondary station. If, upon receipt of the
Each secondary station shall be responsible for:
DISC command, the addressed secondary station is already in
the disconnected mode, it shall send the DM response. The
a) checking received commands; and
primary station, upon receiving a UA or DM response to a
sent DISC command, shall stop the response time-out
b) sending information transfer, supervisory and
function (or equivalent).
unnumbered responses as required by the received
commands.
When it is a multipoint configuration, the UA response from
secondary stations shall not interfere with one another. The
4.4 Detailed definition of the procedures
mechanism used to avoid overlapping responses to the
disconnect (DISC) command using a group address or the
The procedures for a permanently connected data link or an
all-station address is system-defined.
established switched connection are defined in 4.4.1 to 4.4.6.
If the DISC command, UA response or DM response is not
The protocol for establishing and disconnecting a switched
received correctly, it shall be ignored by the receiving station.
data circuit is not within the scope of this International
This will result in the expiry of the primary station’s response
Standard. However, the ability to exchange identification
time-out function (or equivalent), and the primary station may
and/or characteristics after the switched connection is
resend the DISC command and restart the response time-out
established is available as an optional function.
function (or equivalent) (see 4.4.3).
4.4.1 Setting up and disconnecting the data link
This action may continue until either the UA response or a
DM response has been received correctly or until recovery
4.4.1.1 Setting up the data link
action takes place at a higher level.
The primary station shall initialize the data link with a
secondary station by sending a SNRM (or SARM) command
4.4.1.3 hocedure in a disconnected mode
and shall start a response time-out function (or equivalent).
The addressed secondary station, upon receiving the SNRM
A secondary station in NDM (or ADM) shall monitor
(or SARM) command correctly, shall send the UA response
commands, shall react, at the earliest respond opportunity, to
at its first opportunity and shall set its send and receive state
a SNRM (or SARM) command as outlined in 4.4.1.1, and
variables to zero. If the UA response is received correctly,
shall respond with a DM response to a received DISC
the data link set up to the addressed secondary station is
command. The secondary station shall respond to other
complete, and the primary station shall set its send and
commands received with the P bit set to “1” with a
receive state variables relative to that secondary station to
disconnected mode (DM) response with the F bit set to “1”.
zero and shall stop the response time-out function (or
Other commands received with the P bit set to “0” shall be
equivalent). If, upon receipt of the SNRM (or SARM)
ignored. The DM response shall be used to report the
command, the secondary station determines that it cannot
secondary station status asynchronously in ADM.
0 ISO/IEC
ISO/IEC 7809 : 1993 (E)
4.4.2.4 Data station receiving acknowledgments
4.4.2 Exchange of information (I) frames
A data station receiving an I, RR or RNR frame with a valid
4.4.2.1 Sending I frames
N(R) =x shall treat as acknowledged all previously
The control field format shall be as defined in ISO/IEC 4335
transmitted I frames up to and including the I frame ’
(see clause 1) for an I frame with N(S) set to the value of the
transmitted with N(S) equal to x - 1.
send state variable V(S) and with N(R) set to the value of the
receive state variable V(R). Following data link set-up, both
4.43 Time-out considerations
V(S) and V(R) shall be set to zero. The maximum length of I
frames shall be a system-defined parameter.
In or&r to detect a no-reply or lost-reply condition, each
primary station shall provide a response time-out function (or
If the data station is ready to send an I frame numbered N(S),
equivalent). Also, in ARM, each secondary station shall
where N(S) is equal to the last received acknowledgement
provide a command time-out function (or equivalent). In
plus the modulo - 1, the data station shall not send the I frame
each case, the expiry of the time-out function (or equivalent)
but shall follow the procedures described in 4.4.3.
shall be used to initiate appropriate error recovery procedures.
In NRM, a secondary station shall depend on the primary
station to initiate time-out recovery.
4.4.2.2 Receiving I frames
After a data station receives correctly an in-sequence I frame
The duration of time-out functions (or equivalent) shall be
[i.e., N(S) equals the value of the receive state variable V(R)]
system-dependent and subject to bilateral agreement. To
that it can accept, it shall increment its receive state variable
resolve possible contention situations in ARM, the duration
V(R), and, at its next opportunity to send, take one of the
of the secondary station’s time-out function shall be different
following actions:
from that of the primary station.
a) If information is available for transmission and the
remote data station is ready to receive, it shall act as
4.4.4 P/F bit usage
described in 4.4.2.1 and acknowledge the received I
P/F bit usage in the unbalanced classes of procedures, UNC
fhme(s) by setting N(R) in the control field of the next
and UAC, shall be as described in ISO/IEC 4335.
transmitted I frame to the value of V(R).
b) If information is not available for transmission but the
4.4.5 Two-way alternate considerations
data station is ready to receive I frames, the data station
shall send an RR frame and acknowledge the received I
In the case of normal respond two-way alternate,
frame(s) by setting N(R) to the value of V(R).
data link operation
c) If the data station is not ready to receive further I
a) transmission from the station shall not be
hmes, the data station may send an RNR frame and
allowed until either:
acknowledge the received I frame(s) by setting the N(R)
1) receipt of a frame with the F bit set to “l”, or
to the value of V(R).
2) expiry of a no-response time-out function; and
If the data station is unable to accept the correctly received I
b) transmission from the secondary station shall not be
frame(s), V(R) shall not be incremented. The data station
allowed until receipt of a frame with the P bit set to “1”.
may send an RNR frame with the N(R) set to the value of
V(R)=
NOTE 1 - In multipoint configurations of normal respond
opportunity, two-way alternate, data link operation over duplex
4.4.23 Reception of incorrect frames
physical facilities, the primary station may transmit frames with
the P bit set to “0” to non-polled secondary stations in the above
If a frame is received with an incorrect FCS, it shall be
mentioned period.
discarded.
In the case of normal respond opportunity, two-way altemat~
If an I frame is received with a correct FCS but with an
data link operation, a data station shall not accept further
incorrect N(S), the receiving data station shall ignore the N(S)
frames after a frame with the P/F bit set to “1” was accepted
field and discard the information field in that frame. This
and before it sends a frame with the F/P bit, respectively, set
shall continue until the expected I frame is received correctly.
to “1”.
The data station shall, however, use the P/F and N(R)
indications in the discarded I frames. The data station shall
then achowledge the expected I frame, when received
correctly, as described in 4.4.2.2.
The P/F recovery (checkpointing) shall cause retransmission
a) detection of an idle data link channel state after
of the I frames received incorrectly, as described in 4.4.4.
receipt of a frame or a flag; or

ISO/IEC 7809 : 1993 (E)
0 ISO/IEC
b) the end of an extended period of inactivity (idle data 52.1 Configuration (see figure 2)
link channel state).
The balanced operation data link configuration shall consist
of two combined stations interconnected by physical layer
NOTE 2 - In the case of half-duplex data circuit facilities,
transmission facilities.
appropriate accomm odation has to be made to control the
direction of data transmission. The direction of transmission is
controlled by the data link layer, and may be signalled by the 5.2.2 Physical layer transmission facilities
physical layer.
The physical layer transmission facilities may provide either
half-duplex or duplex transmission over switched or non-
If no frames are transmitted from either data station while in
switched data circuits.
ARIM and information is waiting for transmission, it is
advisable that the data station transmits at first a supervisory
NOTE - In the case of a switched data circuit, the
frame only in order to avoid long time recovery action, which
procedures described assume that the switched data circuit has
would occur in the case of I frame contention.
been established.
If a data station has transmitted frames and no further frames
The data link layer shall not initiate data transmission until an
are pending for transmission, it shall give the right to transmit
indication of circuit availability is provided by the physical
to the remote data station.
layer. (In some systems providing two-way alternate data
exchange on physical layer data circuits using half-duplex
transmission, this indication of physical layer circuit
4.4.6 Two-way simultaneous considerations
availability is indicated by an idle data link channel state.)
For each unbalanced class of procedures, two-way
simultaneous communication protocols may be used
5.3 Description of the procedures
independent of physical data circuit capability (i.e. half-
duplex transmission). However, in the case of half-duplex
53.1 General
data circuit facilities, appropriate accommodate has to be
Balanced control procedures shall operate on a data link
made to control the direction of data transmission. The
where the data station at each end of the data link is a
direction of transmission is controlled by the data link layer.
combined station. The procedures shall use the asynchronous
In addition, in the case of normal respond opportunity, data
balanced mode. Each combined station shall be equally
transmission from the secondary station shall not be allowed
responsible for data link layer error recovery.
until receipt of a frame with the P bit set to “1”.
Each combined station shall check for the correct receipt of
5 Balanced operation (point-to-point)
5.1 General
The following requirements apply to the procedure for
53.2 Combined station characteristics
balanced operation of synchronous or start/stop data
Each station shall be a combined station, i.e., it shall be able
transmission over point-to-point data links with two-way
to set up the data link, disconnect the data link, and both send
alternate or two-way simultaneous data transfer. The
and receive commands and responses.
procedure uses the HDLC frame structure defined in
ISO/IEC 3309 and the HDLC elements of procedures
described in ISO/IEC 4335.
5.4 Detailed definition of the procedures
The procedures for a point-to-point data link using a
It uses the basic command/response repertoire (see figure 5)
permanently connected or an established switched connection
designated BAC. Although only the basic commands and
are defined in 5.4.1 to 5.4.6.
responses are described, there are several optional functions
available for enhanced operation. These are listed in 3.3 and
The protocol for establishing and disconnecting a switched
shown in figure 5.
data circuit is not within the scope of this International
Standard. However, the ability to exchange identification
NOTE - The HDLC balanced class of procedures operates
and/or characteristics after the switched connection is
as illustrated in the examples given in ISO/IEC 4335, Annex B.
established is available as an optional function.
(See clause 1.)
5.4.1 Setting up and disconnecting the data link
5.2 Description of the data link
0 ISO/IEC
ISO/IEC 7809 : 1993 (E)
5.4.1.1 Setting up the data link 5.4.13 Procedure in a disconnected mode
Either combined station may take the initiative to initialize A combined station in ADM shall monitor received
the data link. It shall send the SABM command and start a commands, shall react to a SABM command as outlined in
response time-out function (or equivalent). The other 5.4.1 .l, and shall respond with a DM response to a received
combined station, upon receiving the
...

Questions, Comments and Discussion

Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.

Loading comments...