|
TECHNICAL
IEC
SPECIFICATION
61158-4
First edition
1999-03
Digital data communications for
measurement and control –
Fieldbus for use in industrial control systems –
Part 4:
Data Link protocol specification
Reference number
IEC 61158-4: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-4
First edition
1999-03
Digital data communications for
measurement and control –
Fieldbus for use in industrial control systems –
Part 4:
Data Link 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: [email protected] IEC web site http://
Commission Electrotechnique Internationale
PRICE CODE
XH
International Electrotechnical Commission
For price, see current catalogue
– 2 – 61158-4 © IEC:1999
Contents
Page
FOREWORD .13
INTRODUCTION . 15
Clause
1 Scope and object. 15
1.1 Specifications . 15
1.2 Procedures . 15
1.3 Applicability . 16
1.4 Conformance. 16
2 Normative references . 16
3 Definitions . 17
3.1 Reference model definitions. 17
3.2 Service convention definitions. 20
3.3 Data Link Service definitions. 21
4 Symbols and abbreviations . 31
4.1 Data units . 31
4.2 Local variables, timers, counters and queues . 31
4.3 DLPDU classes. 34
4.4 Miscellaneous. 35
5 Overview of the DL-protocol. 36
5.1 Three-level model of the DLL . 36
5.2 Service provided by the DLL . 39
5.3 DL-addresses . 47
5.4 Service assumed from the Physical Layer . 47
5.5 Functions of the DLL. 50
5.6 Functional classes . 52
5.7 Local parameters, variables, counters, timers and queues. 54
6 General structure and encoding of PhIDUs and DLPDUs, and related elements of
procedure. 69
6.1 PhIDU structure and encoding . 69
6.2 Common DLPDU structure, encoding and elements of procedure . 73
7 DLPDU-specific structure, encoding and elements of procedure . 82
7.1 Establish Connection (EC) DLPDU. 84
7.2 Disconnect Connection (DC) DLPDU. 87
7.3 Reset Connection (RC) DLPDU. 89
61158-4 © IEC:1999 – 3 –
Clause Page
7.4 Compel Acknowledgment (CA) DLPDU . 91
7.5 COMPEL DATA (CD) DLPDU . 99
7.6 EXCHANGE DATA (ED) DLPDU.107
7.7 DATA (DT) DLPDU .117
7.8 STATUS RESPONSE (SR) DLPDU .126
7.9 COMPEL TIME (CT) DLPDU .129
7.10 Time Distribution (TD) DLPDU .131
7.11 Round-Trip-Delay Query (RQ) DLPDU.133
7.12 Round-Trip-Delay Reply (RR) DLPDU .136
7.13 Probe Node DL-address (PN) DLPDU .138
7.14 Probe Response (PR) DLPDU.141
7.15 Pass Token (PT) DLPDU .142
7.16 Execute Sequence (ES) DLPDU.153
7.17 Return Token (RT) DLPDU .160
7.18 Request Interval (RI) DLPDU .161
7.19 CLAIM LAS (CL) DLPDU .163
7.20 Transfer LAS (TL) DLPDU .165
7.21 Wakeup (WK) DLPDU.168
7.22 IDLE (IDLE) DLPDU.170
7.23 Spare DLPDUs .172
7.24 Reserved (not to be used) DLPDUs.173
8 DLPDU-parameter structure and encoding .175
8.1 Structure and encoding of EC-PARAMETERS.175
8.2 Structure and encoding of DC-PARAMETERS.180
8.3 Structure and encoding of RC-PARAMETERS.181
8.4 Structure and encoding of SD-Parameters .183
8.5 Structure and encoding of SR-parameters.192
8.6 Structure and encoding of TD-parameters.193
8.7 Structure and encoding of RQ-parameters .196
8.8 Structure and encoding of RR-parameters.196
8.9 Structure and encoding of PN-parameters.197
8.10 Structure and encoding of DD-parameters.199
9 DL-service elements of procedure.200
9.1 Operation of the DL(SAP)-address, buffer and queue management services .200
9.2 Operation of the connection-mode services.205
– 4 – 61158-4 © IEC:1999
Clause Page
9.3 Operation of the connectionless-mode services.254
9.4 Operation of the scheduling guidance services.268
10 Other DLE elements of procedure .280
10.1 DLE initialization .280
10.2 LAS behavior and operation .284
10.3 DL-support operation .293
11 Implementation profiles.30 0
11.1 DL-address, queue and buffer management services .300
11.2 DL-data delivery services .300
11.3 DL-time and time-based scheduling services.302
Annex A (normative) — Structure and definition of DL-addresses.307
A.1 Form of DL-addresses.307
A.2 Predefined Values and Ranges for DL-Address Components .309
A.3 Predefined DL-Addresses.316
A.4 Representation of DL-Addresses as locally-administered 48-bit MAC-
addresses.318
Annex B (normative) — DL-support sub-protocol.320
B.1 Scope .320
B.2 Overview of LAS operation .320
B.3 DL-support subprotocol definition .321
B.4 Elements of Procedures for receiving SPDUs .359
Annex C (normative) — DL-bridge elements of procedure and bridge sub-protocol .361
C.1 Global changes .361
C.2 Changes to [IL/1]: Introduction.361
C.3 Changes to [IL/2]: Support of the DL-Service .362
C.4 Changes to [IL/3]: Principles of operation .363
C.5 Changes to [IL/ 4]: The spanning tree algorithm and protocol.368
C.6 Changes to [IL/5]: Encoding of bridge protocol data units.369
C.7 Changes to clause 6: Bridge management.369
C.8 Changes to[IL/7]: Management protocol.370
C.9 Changes to [IL/annex A]: PICS proforma .370
C.10 Delete [IL/annex C] and [IL/annex D], both of which relate to source-routing .371
Annex D (normative) — DL-management-information.372
D.1 Scope .372
D.2 DLE configuration parameters .372
...