Digital data communications for measurement and control - Fieldbus for use in industrial control systems - Part 6: Application Layer protocol specification

Specifies interactions between remote applications in terms of: - the encoding rules that are applied to all the Application Layer Protocol Data Units (APDUs); - the formal Abstract Syntax defintiions of such APDUs; - the protocol state machine descriptions that handle the APDUs and the primitives int he correct sequence; - the mappings of the APDUs to and from the Data Link Layer services defined in IEC 61158-3. Defines the protocol provided: a) to the Fieldbus Data Link Layer at the boundary between the Application and Data Link Layers of the Fieldbus Reference Model, and b) to the System Management at the boundary between the System Management and Application Layers of the Fieldbus Reference Model.

General Information

Status
Replaced
Publication Date
23-Mar-1999
Technical Committee
SC 65C - Industrial networks
Drafting Committee
WG 6 - TC 65/SC 65C/WG 6
Current Stage
DELPUB - Deleted Publication
Start Date
27-Jan-2000
Completion Date
14-Feb-2026

Relations

Effective Date
05-Sep-2023

Buy Documents

Technical specification

IEC TS 61158-6:1999 - Digital data communications for measurement and control - Fieldbus for use in industrial control systems - Part 6: Application Layer protocol specification Released:3/24/1999

ISBN:2-8318-4761-3
English language (285 pages)
sale 15% off
Preview
sale 15% off
Preview

Get Certified

Connect with accredited certification bodies for this standard

BSI Group

BSI (British Standards Institution) is the business standards company that helps organizations make excellence a habit.

UKAS United Kingdom Verified

National Aerospace and Defense Contractors Accreditation Program (NADCAP)

Global cooperative program for special process quality in aerospace.

ANAB United States Verified

CARES (UK Certification Authority for Reinforcing Steels)

UK certification for reinforcing steels and construction.

UKAS United Kingdom Verified

Sponsored listings

Frequently Asked Questions

IEC TS 61158-6:1999 is a technical specification published by the International Electrotechnical Commission (IEC). Its full title is "Digital data communications for measurement and control - Fieldbus for use in industrial control systems - Part 6: Application Layer protocol specification". This standard covers: Specifies interactions between remote applications in terms of: - the encoding rules that are applied to all the Application Layer Protocol Data Units (APDUs); - the formal Abstract Syntax defintiions of such APDUs; - the protocol state machine descriptions that handle the APDUs and the primitives int he correct sequence; - the mappings of the APDUs to and from the Data Link Layer services defined in IEC 61158-3. Defines the protocol provided: a) to the Fieldbus Data Link Layer at the boundary between the Application and Data Link Layers of the Fieldbus Reference Model, and b) to the System Management at the boundary between the System Management and Application Layers of the Fieldbus Reference Model.

Specifies interactions between remote applications in terms of: - the encoding rules that are applied to all the Application Layer Protocol Data Units (APDUs); - the formal Abstract Syntax defintiions of such APDUs; - the protocol state machine descriptions that handle the APDUs and the primitives int he correct sequence; - the mappings of the APDUs to and from the Data Link Layer services defined in IEC 61158-3. Defines the protocol provided: a) to the Fieldbus Data Link Layer at the boundary between the Application and Data Link Layers of the Fieldbus Reference Model, and b) to the System Management at the boundary between the System Management and Application Layers of the Fieldbus Reference Model.

IEC TS 61158-6:1999 is classified under the following ICS (International Classification for Standards) categories: 25.040.40 - Industrial process measurement and control; 35.100.70 - Application layer. The ICS classification helps identify the subject area and facilitates finding related standards.

IEC TS 61158-6:1999 has the following relationships with other standards: It is inter standard links to IEC 61158-6:2000. Understanding these relationships helps ensure you are using the most current and applicable version of the standard.

IEC TS 61158-6:1999 is available in PDF format for immediate download after purchase. The document can be added to your cart and obtained through the secure checkout process. Digital delivery ensures instant access to the complete standard document.

Standards Content (Sample)


TECHNICAL
IEC
SPECIFICATION
61158-6
First edition
1999-03
Digital data communications for
measurement and control —
Fieldbus for use in industrial control systems
Part 6:
Application Layer protocol specification

Reference number
IEC 61158-6:1999(E)
Numbering
As from 1 January 1997 all IEC publications are issued with a designation in the
60000 series.
Consolidated publications
Consolidated versions of some IEC publications including amendments are

available. For example, edition numbers 1.0, 1.1 and 1.2 refer, respectively, to the
base publication, the base publication incorporating amendment 1 and the base

publication incorporating amendments 1 and 2.

Validity of this publication
The technical content of IEC publications is kept under constant review by the IEC,
thus ensuring that the content reflects current technology.
Information relating to the date of the reconfirmation of the publication is available
in the IEC catalogue.
Information on the subjects under consideration and work in progress undertaken by
the technical committee which has prepared this publication, as well as the list of
publications issued, is to be found at the following IEC sources:
• IEC web site*
• Catalogue of IEC publications
Published yearly with regular updates
(On-line catalogue)*
• IEC Bulletin
Available both at the IEC web site* and as a printed periodical
Terminology, graphical and letter symbols
For general terminology, readers are referred to IEC 60050: International
Electrotechnical Vocabulary (IEV).
For graphical symbols, and letter symbols and signs approved by the IEC for
general use, readers are referred to publications IEC 60027: Letter symbols to be
used in electrical technology, IEC 60417: Graphical symbols for use on equipment.
Index, survey and compilation of the single sheets and IEC 60617: Graphical symbols
for diagrams.
* See web site address on title page.

TECHNICAL IEC
SPECIFICATION 61158-6
First edition
1999-03
Digital data communications for
measurement and control —
Fieldbus for use in industrial control systems
Part 6:
Application Layer protocol specification
© IEC 1999 – Copyright - all rights reserved
No part of this publication may be reproduced or utilized in any form or by any means, electronic or
mechanical, including photocopying and microfilm, without permission in writing from the publisher.
International Electrotechnical Commission 3, rue de Varembé Geneva, Switzerland
Telefax: +41 22 919 0300 e-mail: inmail@iec.ch IEC web site http://www.iec.ch
Commission Electrotechnique Internationale
PRICE CODE
XH
International Electrotechnical Commission

For price, see current catalogue

– 2 – 61158-6  IEC:1999
Contents
Page
FOREWORD.10

INTRODUCTION.12

1 Scope.13

2 Normative references.14

3 Definitions.15
3.1 Definitions from other ISO/IEC Standards .15
3.1.1 Definitions from ISO/IEC 7498-1 .15
3.1.2 Definitions from ISO/IEC 8822.15
3.1.3 Definitions from ISO/IEC 9545.15
3.1.4 Definitions from ISO/IEC 8824.15
3.1.5 Definitions from ISO/IEC 8825.15
3.2 Definitions from IEC 61158-5.16
3.3 Other definitions.16
3.3.1 called .16
3.3.2 calling.16
3.3.3 interoperability .16
3.3.4 management information.16
3.3.5 receiving .16
3.3.6 resource.16
3.3.7 sending .16
3.4 Abbreviations and symbols.16
3.5 Conventions.17
3.5.1 General Conventions.17
3.5.2 Conventions for Class Definitions.17
3.5.3 Abstract Syntax Conventions .17
3.6 Conventions used in State Machines.17
4 FAL Syntax Description.19
4.1 FAL-AR PDU Abstract Syntax 1 .19
4.1.1 Confirmed Send Service.19
4.1.2 Unconfirmed Send Service.19
4.1.3 Unconfirmed Acknowledged Send Service .19
4.1.4 Idle Send Service.20
4.1.5 AR-XON-OFF Send Service.20

4.1.6 Establish Service .20
4.2 FAL-AR PDU Abstract Syntax 2 .20
4.2.1 Confirmed Send Service.21
4.2.2 Unconfirmed Send Service.21
4.2.3 Unconfirmed Acknowledged Send Service .21
4.2.4 Idle Send Service.21
4.2.5 AR-XON-OFF Send Service.21
4.2.6 Establish Service .22
4.2.7 MaxOSCC .22
4.2.8 MaxOSCS.22
4.2.9 MaxUCSC.22
4.2.10 MaxUCSS.22
4.2.11 XON_OFF.22
4.2.12 CIU.22

61158-6  IEC:1999 – 3 –
Clause Page
4.3 Abstract Syntax of PDUBody.23

4.3.1 Abort Service .23

4.3.2 InvokeID .23

4.3.3 ConfirmedServiceRequest.23

4.3.4 ConfirmedServiceResponse.24

4.3.5 ConfirmedServiceError .25

4.3.6 Error Type.25

4.3.7 Error Class.26

4.3.8 Unconfirmed PDUs.27

4.3.9 Management ASE.27

4.3.9.1 Begin Set Attributes Service. 27

4.3.9.2 Create Service. 27
4.3.9.3 Delete Service . 27
4.3.9.4 End Set Attributes Service. 28
4.3.9.5 Get Attributes List Service . 28
4.3.9.6 Set Attributes Service . 28
4.3.10 Application Process ASE.29
4.3.10.1 Get Status Service. 29
4.3.10.2 Identify Service . 29
4.3.10.3 Initiate Service . 29
4.3.10.4 Status Notification Service. 30
4.3.10.5 Subscribe Service. 30
4.3.10.6 Reject Service. 30
4.3.10.7 Conclude Service. 30
4.3.11 Load Region ASE .30
4.3.11.1 Discard Service. 30
4.3.11.2 Initiate Load Service . 31
4.3.11.3 Pull Segment Service . 31
4.3.11.4 Push Segment Service . 32
4.3.11.5 Terminate Load Service. 32
4.3.12 Function Invocation ASE .32
4.3.12.1 ActionInvoke Service . 32
4.3.12.2 ActionReturn Service. 32
4.3.12.3 Kill Service. 32
4.3.12.4 Reset Service . 33
4.3.12.5 Resume Service . 33
4.3.12.6 Start Service . 33
4.3.12.7 Stop Service . 33
4.3.13 Variable Access ASE.33
4.3.13.1 Exchange Service. 33
4.3.13.2 Exchange List Service . 33
4.3.13.3 Information Report Service. 34
4.3.13.4 Information Report with Type Service. 34
4.3.13.5 Information List Report Service . 34
4.3.13.6 Read Service . 34

4.3.13.7 Read List Service. 35
4.3.13.8 Write List Service. 36
4.3.14 Event Management ASE .36
4.3.14.1 Confirmed Acknowledge Event service . 36
4.3.14.2 EnableEvent Service . 36
4.3.14.3 EnableEventList Service. 37
4.3.14.4 Event Notification Service. 37
4.3.14.5 Event Notification with Type Service .37
4.3.14.6 Get Event Summary Service . 37
4.3.14.7 Get Event Summary List Service.38
4.3.14.8 Notification Recovery Service. 38
4.3.14.9 Confirmed Acknowledge Event List Service. 38
4.3.14.10 Query Event Summary List Service. 39

– 4 – 61158-6  IEC:1999
Clause Page
4.3.15 Type Definitions.39

4.3.15.1 AP ASE Types. 39

4.3.15.2 AR ASE Types. 39

4.3.15.3 Data Link Layer Types. 40

4.3.15.4 Data Type ASE Types . 40

4.3.15.5 Event ASE Types. 40
4.3.15.6 Function Invocation ASE Types. 42
4.3.15.7 General Types . 43

4.3.15.8 Load Region ASE Types . 47

4.3.15.9 Management ASE Types. 48

4.3.15.10 Variable ASE Types. 58

4.4 Data Types.58

4.4.1 Notation for the Boolean Type.58
4.4.2 Notation for the Integer Type.59
4.4.3 Notation for the Unsigned Type.59
4.4.4 Notation for the Floating Point Type .59
4.4.5 Notation for the BitString Type.59
4.4.6 Notation for the OctetString Type .59
4.4.7 Notation for VisibleString Type .59
4.4.8 Notation for the UNICODEString Type .59
4.4.9 Notation for the FieldbusTime Type .59
4.4.10 Notation for the Universal Time Type .59
4.4.11 Notation for Binary Time Type.59
4.4.12 Notation for BCD Type .59
4.4.13 Notation for Compact Boolean Array Type.60
4.4.14 Notation for Compact BCD Array Type .60
4.4.15 Notation for Date Type .60
4.4.16 Notation for TimeOfDay Type.60
4.4.17 Notation for TimeDifference Type.60
4.4.18 Notation for TimeValue Type.60
5 FAL Protocol State Machine.61
5.1 AP Context State Machine.62
5.1.1 Primitive Definitions .62
5.1.1.1 Primitives Exchanged between FAL-User and AP-Context. 62
5.1.2 State Machine Description.62
5.1.3 AP-AP Context Initiation State Transitions .63
5.1.4 Functions .75
5.2 FAL Service Protocol Machine (FSPM) .78
5.2.1 Primitive Definitions .78
5.2.1.1 Primitives Exchanged between AP_Context and FSPM. 78
5.2.1.2 Parameters of AP_Context /FSPM Primitives. 79
5.2.2 FSPM State Tables.80

5.2.2.1 Functions . 84
5.3 DLL Mapping Protocol Machine (DMPM) .85
5.3.1 Primitive Definitions .85
5.3.1.1 Primitives Exchanged between DMPM and ARPM . 85
5.3.1.2 Parameters of ARPM/DMPM Primitives . 86
5.3.1.3 Primitives Exchanged between Data Link Layer and DMPM. 88
5.3.1.4 Parameters of DMPM/Data Link Layer Primitives. 89
5.3.2 DMPM State Machine.90
5.3.2.1 DMPM States. 90
5.3.2.2 DMPM State Table . 90
5.3.2.3 Functions used by DMPM. 98

61158-6  IEC:1999 – 5 –
Page
Annex A (normative) FAL Header .100

A.1 Introduction .100

Annex B (normative) Reason Codes .102

B.1 Introduction .102

Annex C (normative) Data Link Layer Service Selection.103

C.1 Introduction .103

C.1.1 DL-Connect .103

C.1.2 DL-Connection-Established.103

C.1.3 DL-Disconnect .103
C.1.4 DL-Unitdata.103
C.1.5 DL-Data .103
C.1.6 DL-Put.103
C.1.7 DL-Get .103
C.1.8 DL-Buffer-Received .103
C.1.9 DL-Buffer-Sent.103
C.1.10 DL-Compel-Data.103
Annex D (normative) Compact Encoding Rule (CER).104
D.1 Compact Encoding Rule (CER) .104
D.1.1 Introduction.104
D.1.2 APDU Header Encoding.104
D.1.2.1 APDU Header Encoding . 104
D.1.2.2 Encoding of Type Field. 104
D.1.2.3 Encoding of InvokeID Field. 105
D.1.2.4 APDU Body Encoding. 105
D.1.3 Data Type Encoding Rules (Base Encoding) .107
D.1.3.1 Encoding of a NULL Value . 107
D.1.3.2 Encoding of a Boolean Value . 107
D.1.3.3 Encoding of a Variable-Length Integer Value. 108
D.1.3.4 Encoding of a Fixed-Length Integer Value . 108
D.1.3.5 Encoding of a Variable-Length Unsigned Value. 108
D.1.3.6 Encoding of a Fixed-Length Unsigned Value . 109
D.1.3.7 Encoding of a Floating Point Value. 109
D.1.3.8 Encoding of a Variable-Length BitString value . 109
D.1.3.9 Encoding of a Fixed-Length BitString Value. 110
D.1.3.10 Encoding of a Variable-Length OctetString Value . 110
D.1.3.11 Encoding of a Fixed-Length Octet String Value. 110
D.1.3.12 Encoding of a Variable-Length VisibleString Value . 110
D.1.3.13 Encoding of a Fixed-Length VisibleString Value. 111
D.1.3.14 Encoding of an ISO10646String Value. 111

D.1.3.15 Encoding of a UniversalTime Value. 111
D.1.3.16 Encoding of Binary Time Value . 111
D.1.3.17 Encoding of a CompactBCDArray Value . 112
D.1.3.18 Encoding of an Array Value. 112
D.1.3.19 Encoding of a Structure Value. 112
D.1.3.20 Encoding of the ANY Type . 112
D.1.3.21 Encoding of a BCD Value. 113
D.1.3.22 Encoding of a FieldbusTime Value. 113
D.1.3.23 Encoding of a Compact Boolean Array Value . 113
D.1.3.24 Key words Encoding Rules. 113
Annex E (normative) Traditional Encoding Rule (TER) .116
E.1 Traditional Encoding Rule (TER) .116
E.1.1 Introduction.116
E.1.2 TER Descriptions.116
E.1.2.1 Overview of Encoding. 116

– 6 – 61158-6  IEC:1999
Page
E.1.2.2 APDU Header Encoding . 116

E.1.2.3 APDU Body Encoding. 116

E.1.2.4 Encoding of Simple Variables. 117

E.1.2.5 Encoding of Structured Types . 121

E.2 Object Definition Parameter.122

E.2.1 ListHeader .122

E.2.2 DataTypeList .122
E.2.3 StaticList .123
E.2.4 VariableListDefinition.124
E.2.5 FunctionInvocationDefinition.124

Annex F (normative) Buffer-Oriented Encoding Rules (BER)

and Messaging Encoding Rule (MER) .125
F.1 Encoding Rule for Buffer Services (BER).125
F.1.1 Introduction.125
F.1.2 Application Layer Encoding Rules .125
......................................................................................................... 125
F.1.2.1 Overview of Encoding
..................................................................................................... 125
F.1.2.2 APDU Header Encoding
......................................................................................................... 125
F.1.2.3 APDU Body Encoding
.....................................................................125
F.2 Encoding Rule for Messaging Services (MER)
.........................................................................................................126
F.2.1 Identification Octet
...................................................................................................126
F.2.2 Contents length octets
..............................................................................................................126
F.2.3 ContentsOctets
............................................................................................................126
F.3 Type Encoding Rules
..........................................................................................................................126
F.3.1 Boolean
............................................................................................................................126
F.3.2 Integer
.........................................................................................................................127
F.3.3 Bit string
....................................................................................................................127
F.3.4 Octet string
..................................................................................................................127
F.3.5 Visible string
........................................................................................................128
F.3.6 SEQUENCE Types
..................................................................................................128
F.3.7 SEQUENCE OF Types
..............................................................................................................128
F.3.8 CHOICE Types
.................................................................................................................................128
F.3.9 Null
................................................................................................................128
F.3.10 Tagged Types
.............................................................................................................128
F.3.11 IMPLICIT Types
.................................................................................129
F.3.12 OPTIONAL and DEFAULT Types
.....................................................................................................................129
F.3.13 ANY Types
............................................................................................129
F.3.14 Encoding of APDU Header
Annex G (normative) Queued Usertriggered Unidirectional (QUU) ARPM .130
..............................................................................................................130
G.1 Primitive Definitions
........................................................130
G.1.1 Primitives Exchanged between ARPM and FSPM

................................................................................130
G.2 Parameters of FSPM/ARPM Primitives
...............................................................................130
G.2.1 DLL Mapping of QUU AREP Class
G.2.1.1 Attributes. 131
G.2.1.2 DLL Services . 132
G.3 QUU ARPM State Machine.133
G.3.1 QUU ARPM States .133
G.3.2 QUU ARPM state table.133
G.3.3 Functions used by QUU ARPM .135
Annex H (normative) Queued Usertriggered Bidirectional-Connection
Oriented (QUB-CO) ARPM .136
H.1 Primitive Definitions .136
H.1.1 Primitives Exchanged between ARPM and FSPM .136
H.1.2 Parameters of FSPM/ARPM Primitives.136

61158-6  IEC:1999 – 7 –
Page
.......................................................................................137
H.2 DLL Mapping of QUB AREP Class

........................................................................................................................137
H.2.1 Attributes
H.2.1.1 LocalDlcepAddress. 137

H.2.1.2 RemoteAddressConfigurationType. 138

H.2.1.3 Role . 138

H.2.1.4 DlsapRole . 138

H.2.1.5 QosParameterSet. 138
H.2.2 DLL Services .140
H.3 QUB AREP State Machine .140
H.3.1 QUB ARPM States .140

H.3.2 QUB ARPM state table.141

H.3.3 Functions used by QUB ARPM .149

Annex I (normative) Queued Usertriggered Bidirectional-Connectionless
(QUB-Cl) ARPM.151
I.1 Primitive Definitions .151
I.1.1 Primitives Exchanged between ARPM and FSPM.151
I.1.2 Parameters of FSPM/ARPM Primitives.151
I.2 DLL Mapping of QUB-CL AREP Class .152
I.2.1 Attributes .152
................................................................................................................. 152
I.2.1.1 LocalDlsapAddress
............................................................................................................. 152
I.2.1.2 RemoteDlsapAddress
....................................................................................................................... 152
I.2.1.3 LocalDlsapRole
.............................................................................................................. 152
I.2.1.4 DefaultQosAsSender
.......................................................................................................................... 153
I.2.1.5 ExplicitQueue
.....................................................................................................................153
I.2.2 DLL Services
.............................................................................................154
I.3 QUB-CL ARPM State Machine
......................................................................................................154
I.3.1 QUB-CL ARPM States
..............................................................................................154
I.3.2 QUB-CL ARPM State Table
....................................................................................157
I.3.3 Functions used by QUB-Cl ARPM
Annex J (normative) Queued Usertriggered Bidirectional-Segmentation
(QUB-Seg) ARPM.159
J.1 Primitive Definitions .159
J.1.1 Primitives Exchanged between ARPM and FSPM .159
J.2 Parameters of FSPM/ARPM Primitives .159
J.2.1 DLL Mapping of QUB-Seg AREP Class.160
J.2.1.1 Attributes. 161
J.2.1.2 DLL Services . 164
J.3 QUB-Seg ARPM State Machine .164
J.3.1 QUB-Seg ARPM States.164
J.3.2 QUB-Seg ARPM State Table .165

J.3.3 Functions used by QUB-Seg ARPM.177
Annex K (normative) Queued Usertriggered Bidirectional-Flow Control
(QUB-FC) ARPM.180
K.1 QUB-FCPrimitive Definitions.180
K.1.1 Primitives Exchanged between ARPM and FSPM .180
K.2 Parameters of FSPM/ARPM Primitives .181
K.2.1 DLL Mapping of QUB-FC AREP Class.181
K.2.1.1 Attributes. 182
K.2.2 DLL Services .185
K.3 QUB-FC ARPM State Machine.185
K.3.1 QUB-FC ARPM States .185
K.3.2 QUB-FC ARPM State Table .
...

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...