IEC 61158-4-18:2010
(Main)Industrial communication networks - Fieldbus specifications - Part 4-18: Data-link layer protocol specification - Type 18 elements
Industrial communication networks - Fieldbus specifications - Part 4-18: Data-link layer protocol specification - Type 18 elements
IEC 61158-4-18:2010 specifies the protocol which provides communication opportunities to all participating data-link entities in a synchronously-starting cyclic manner, according to a pre-established schedule, and in a cyclic or acyclic asynchronous manner, as requested each cycle by each of those data-link entities. The described procedures are applicable to instances of communication between systems which support time-critical communications services within the data-link layer of the OSI or fieldbus reference models, and which require the ability to interconnect in an open systems interconnection environment. Profiles provide a simple multi-attribute means of summarizing an implementation's capabilities, and thus its applicability to various time-critical communications needs. This bilingual version (2012-08) corresponds to the monolingual English version, published in 2010-08. This second edition cancels and replaces the first edition published in 2007 and constitutes a technical revision. The main changes with respect to the previous edition are: Editorial improvements and Addition of cyclic data segmenting.
Réseaux de communications industriels - Spécifications de bus de terrain - Partie 4-18: Spécification de protocole de couche de liaison de données - Eléments de Type 18
La CEI 61158-4-18:2010 spécifie un protocole qui offre à toutes les entités de liaison de données participantes des opportunités de communiquer de manière cyclique à démarrage synchrone, selon un ordre préétabli, et de manière asynchrone cyclique ou acyclique, tel que requis par chaque cycle de chacune de ces entités de liaison de données. Les procédures décrites s'appliquent aux instances de communication entre des systèmes qui prennent en charge des services de communications à contrainte de temps dans la couche de liaison de données des modèles de référence OSI ou de bus de terrain, et qui peuvent être connectés dans un environnement d'interconnexion de systèmes ouverts. Les profils sont un moyen simple à plusieurs attributs de récapituler les capacités d'une mise en uvre, et donc son applicabilité en fonction des différents besoins de communications à contrainte de temps. Cette seconde édition annule et remplace la première édition parue en 2007. Elle constitue une révision technique. Les principales modifications par rapport à l'édition précédente sont: Améliorations rédactionnelles et Ajout d'une segmentation des données cycliques. La présente version bilingue (2012-08) correspond à la version anglaise monolingue publiée en 2010-08.
General Information
Relations
Buy Standard
Standards Content (Sample)
IEC 61158-4-18 ®
Edition 2.0 2010-08
INTERNATIONAL
STANDARD
Industrial communication networks – Fieldbus specifications –
Part 4-18: Data-link layer protocol specification – Type 18 elements
All rights reserved. Unless otherwise specified, 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
either IEC or IEC's member National Committee in the country of the requester.
If you have any questions about IEC copyright or have an enquiry about obtaining additional rights to this publication,
please contact the address below or your local IEC member National Committee for further information.
IEC Central Office
3, rue de Varembé
CH-1211 Geneva 20
Switzerland
Email: inmail@iec.ch
Web: www.iec.ch
About the IEC
The International Electrotechnical Commission (IEC) is the leading global organization that prepares and publishes
International Standards for all electrical, electronic and related technologies.
About IEC publications
The technical content of IEC publications is kept under constant review by the IEC. Please make sure that you have the
latest edition, a corrigenda or an amendment might have been published.
ƒ Catalogue of IEC publications: www.iec.ch/searchpub
The IEC on-line Catalogue enables you to search by a variety of criteria (reference number, text, technical committee,…).
It also gives information on projects, withdrawn and replaced publications.
ƒ IEC Just Published: www.iec.ch/online_news/justpub
Stay up to date on all new IEC publications. Just Published details twice a month all new publications released. Available
on-line and also by email.
ƒ Electropedia: www.electropedia.org
The world's leading online dictionary of electronic and electrical terms containing more than 20 000 terms and definitions
in English and French, with equivalent terms in additional languages. Also known as the International Electrotechnical
Vocabulary online.
ƒ Customer Service Centre: www.iec.ch/webstore/custserv
If you wish to give us your feedback on this publication or need further assistance, please visit the Customer Service
Centre FAQ or contact us:
Email: csc@iec.ch
Tel.: +41 22 919 02 11
Fax: +41 22 919 03 00
IEC 61158-4-18 ®
Edition 2.0 2010-08
INTERNATIONAL
STANDARD
Industrial communication networks – Fieldbus specifications –
Part 4-18: Data-link layer protocol specification – Type 18 elements
INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
PRICE CODE
V
ICS 25.04.40; 35.100.20; 35.110 ISBN 978-2-88912-089-5
– 2 – 61158-4-18 © IEC:2010(E)
CONTENTS
FOREWORD.5
INTRODUCTION.7
1 Scope.8
1.1 General .8
1.2 Specifications.8
1.3 Procedures.8
1.4 Applicability.9
1.5 Conformance.9
2 Normative references .9
3 Terms, definitions, symbols, abbreviations and conventions .9
3.1 Reference model terms and definitions.9
3.2 Type 18: Symbols.10
3.3 Type 18: Additional conventions .10
4 DL-protocol overview.10
4.1 Introduction .10
4.2 Polled DLE classes .11
4.3 Packed DLE classes.11
5 DLPDU encoding and transmission.11
5.1 DL – PhL interface .11
5.2 DLPDU transmission encoding .12
6 DLPDU – basic structure .14
6.1 Overview .14
6.2 Address field .14
6.3 Status field .15
6.4 Data field.17
7 DLPDU – Detailed structure, segmenting and reassembly .19
8 Data transmission methods .23
8.1 Overview .23
8.2 Master-polled method.23
8.3 Level A slave-polled method.24
8.4 Level B slave-polled method.25
8.5 Level C slave-polled method .25
8.6 Master-packed method .26
8.7 Slave-packed method .27
9 DL-management – procedures.28
9.1 Overview .28
9.2 Establish master-polled DLE procedure.28
9.3 Establish slave-polled DLE procedure .29
9.4 Establish master-packed DLE procedure .31
9.5 Establish slave-packed DLE procedure .32
9.6 Release connection procedure .33
9.7 Suspend connection procedure .33
9.8 Resume connection procedure .33
9.9 Activate standby Master procedure.34
Bibliography.35
61158-4-18 © IEC:2010(E) – 3 –
Figure 1 – HDLC flag .12
Table 1 – HDLC convention summary .13
Table 2 – HDLC exception summary .14
Table 3 – Master-polled DLE address octet 0.14
Table 4 – Slave-polled DLE address octet 0.15
Table 5 – Master-packed DLE address octet 0 .15
Table 6 – Master-polled DLE status octet 0.16
Table 7 – Master-polled DLE status octet 1.16
Table 8 – Slave-polled DLE status octet 0.17
Table 9 – slave-polled DLE status octet 1 .17
Table 10 – Slave-packed DLE status .17
Table 11 – DLPDU – Master-polled DLE acyclic data field .18
Table 12 – DLPDU – Slave-polled DLE acyclic data field .19
Table 13 – Example master-polled DLE RY contiguous data field .20
Table 14 – Example slave-polled DLE RX contiguous data field.20
Table 15 – Example master-polled DLE RWw contiguous data field .20
Table 16 – Example slave-polled DLE RWr contiguous data field.20
Table 17 – Bit-oriented segment header .21
Table 18 – Polled DLE acyclic segment number field .22
Table 19 – Slave-polled DLE acyclic data type and sequence field .22
Table 20 – DLPDU – Polled class poll with data.23
Table 21 – Slave-polled DLE response timeout.23
Table 22 – DLPDU – Poll .24
Table 23 – DLPDU – End of cycle.24
Table 24 – slave-polled DLE request timeout .24
Table 25 – DLPDU – Level A poll response.25
Table 26 – DLPDU – Level B poll response.25
Table 27 – DLPDU – Level C poll response .26
Table 28 – DLPDU – Packed class poll with data .26
Table 29 – Slave-packed DLE response timeout .26
Table 30 – Slave-packed DLE request timeout.27
Table 31 – DLPDU – Packed class poll response.27
Table 32 – Slave-packed DLE time constraints .28
Table 33 – DLPDU – Poll with test data .28
Table 34 – Slave-polled DLE response timeout.29
Table 35 – DLPDU – Poll test .29
Table 36 – Slave-polled DLE request timeout .29
Table 37 – DLPDU – Poll test response .30
Table 38 – Slave-polled DLE configuration parameter.30
Table 39 – DLPDU – Baud rate synchronization.31
Table 40 – DLPDU – Poll test .31
Table 41 – Slave-packed DLE response timeout .31
– 4 – 61158-4-18 © IEC:2010(E)
Table 42 – Slave-packed DLE number of occupied DLE station slots .32
Table 43 – Slave-packed DLE baud rate synchronization timeout .32
Table 44 – Slave-packed DLE Master timeout.33
Table 45 – DLPDU – Packed poll test response .33
61158-4-18 © IEC:2010(E) – 5 –
INTERNATIONAL ELECTROTECHNICAL COMMISSION
____________
INDUSTRIAL COMMUNICATION NETWORKS –
FIELDBUS SPECIFICATIONS –
Part 4-18: Data-link layer protocol specification –
Type 18 elements
FOREWORD
1) The International Electrotechnical Commission (IEC) is a worldwide organization for standardization comprising
all national electrotechnical committees (IEC National Committees). The object of IEC is to promote
international co-operation on all questions concerning standardization in the electrical and electronic fields. To
this end and in addition to other activities, IEC publishes International Standards, Technical Specifications,
Technical Reports, Publicly Available Specifications (PAS) and Guides (hereafter referred to as “IEC
Publication(s)”). Their prepa
...
IEC 61158-4-18 ®
Edition 2.0 2010-08
INTERNATIONAL
STANDARD
NORME
INTERNATIONALE
Industrial communication networks – Fieldbus specifications –
Part 4-18: Data-link layer protocol specification – Type 18 elements
Réseaux de communications industriels – Spécifications de bus de terrain –
Partie 4-18: Spécification de protocole de couche de liaison de données –
Eléments de Type 18
All rights reserved. Unless otherwise specified, 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
either IEC or IEC's member National Committee in the country of the requester.
If you have any questions about IEC copyright or have an enquiry about obtaining additional rights to this publication,
please contact the address below or your local IEC member National Committee for further information.
Droits de reproduction réservés. Sauf indication contraire, aucune partie de cette publication ne peut être reproduite ni
utilisée sous quelque forme que ce soit et par aucun procédé, électronique ou mécanique, y compris la photocopie et les
microfilms, sans l'accord écrit de la CEI ou du Comité national de la CEI du pays du demandeur.
Si vous avez des questions sur le copyright de la CEI ou si vous désirez obtenir des droits supplémentaires sur cette
publication, utilisez les coordonnées ci-après ou contactez le Comité national de la CEI de votre pays de résidence.
IEC Central Office Tel.: +41 22 919 02 11
3, rue de Varembé Fax: +41 22 919 03 00
CH-1211 Geneva 20 info@iec.ch
Switzerland www.iec.ch
About the IEC
The International Electrotechnical Commission (IEC) is the leading global organization that prepares and publishes
International Standards for all electrical, electronic and related technologies.
About IEC publications
The technical content of IEC publications is kept under constant review by the IEC. Please make sure that you have the
latest edition, a corrigenda or an amendment might have been published.
Useful links:
IEC publications search - www.iec.ch/searchpub Electropedia - www.electropedia.org
The advanced search enables you to find IEC publications The world's leading online dictionary of electronic and
by a variety of criteria (reference number, text, technical electrical terms containing more than 30 000 terms and
committee,…). definitions in English and French, with equivalent terms in
It also gives information on projects, replaced and additional languages. Also known as the International
withdrawn publications. Electrotechnical Vocabulary (IEV) on-line.
IEC Just Published - webstore.iec.ch/justpublished Customer Service Centre - webstore.iec.ch/csc
Stay up to date on all new IEC publications. Just Published If you wish to give us your feedback on this publication
details all new publications released. Available on-line and or need further assistance, please contact the
also once a month by email. Customer Service Centre: csc@iec.ch.
A propos de la CEI
La Commission Electrotechnique Internationale (CEI) est la première organisation mondiale qui élabore et publie des
Normes internationales pour tout ce qui a trait à l'électricité, à l'électronique et aux technologies apparentées.
A propos des publications CEI
Le contenu technique des publications de la CEI est constamment revu. Veuillez vous assurer que vous possédez
l’édition la plus récente, un corrigendum ou amendement peut avoir été publié.
Liens utiles:
Recherche de publications CEI - www.iec.ch/searchpub Electropedia - www.electropedia.org
La recherche avancée vous permet de trouver des Le premier dictionnaire en ligne au monde de termes
publications CEI en utilisant différents critères (numéro de électroniques et électriques. Il contient plus de 30 000
référence, texte, comité d’études,…). termes et définitions en anglais et en français, ainsi que
Elle donne aussi des informations sur les projets et les les termes équivalents dans les langues additionnelles.
publications remplacées ou retirées. Egalement appelé Vocabulaire Electrotechnique
International (VEI) en ligne.
Just Published CEI - webstore.iec.ch/justpublished
Service Clients - webstore.iec.ch/csc
Restez informé sur les nouvelles publications de la CEI.
Just Published détaille les nouvelles publications parues. Si vous désirez nous donner des commentaires sur
Disponible en ligne et aussi une fois par mois par email. cette publication ou si vous avez des questions
contactez-nous: csc@iec.ch.
IEC 61158-4-18 ®
Edition 2.0 2010-08
INTERNATIONAL
STANDARD
NORME
INTERNATIONALE
Industrial communication networks – Fieldbus specifications –
Part 4-18: Data-link layer protocol specification – Type 18 elements
Réseaux de communications industriels – Spécifications de bus de terrain –
Partie 4-18: Spécification de protocole de couche de liaison de données –
Eléments de Type 18
INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
COMMISSION
ELECTROTECHNIQUE
PRICE CODE
INTERNATIONALE
CODE PRIX V
ICS 25.04.40; 35.100.20; 35.110 ISBN 978-2-83220-261-6
– 2 – 61158-4-18 IEC:2010
CONTENTS
FOREWORD . 5
INTRODUCTION . 7
1 Scope . 8
1.1 General . 8
1.2 Specifications . 8
1.3 Procedures . 8
1.4 Applicability . 9
1.5 Conformance . 9
2 Normative references . 9
3 Terms, definitions, symbols, abbreviations and conventions . 9
3.1 Reference model terms and definitions . 9
3.2 Type 18: Symbols . 10
3.3 Type 18: Additional conventions . 10
4 DL-protocol overview . 10
4.1 Introduction . 10
4.2 Polled DLE classes . 11
4.3 Packed DLE classes . 11
5 DLPDU encoding and transmission . 11
5.1 DL – PhL interface . 11
5.2 DLPDU transmission encoding . 12
6 DLPDU – basic structure . 14
6.1 Overview . 14
6.2 Address field . 14
6.3 Status field . 15
6.4 Data field. 17
7 DLPDU – Detailed structure, segmenting and reassembly . 19
8 Data transmission methods . 23
8.1 Overview . 23
8.2 Master-polled method . 23
8.3 Level A slave-polled method . 24
8.4 Level B slave-polled method . 25
8.5 Level C slave-polled method . 25
8.6 Master-packed method . 26
8.7 Slave-packed method . 27
9 DL-management – procedures . 28
9.1 Overview . 28
9.2 Establish master-polled DLE procedure . 28
9.3 Establish slave-polled DLE procedure . 29
9.4 Establish master-packed DLE procedure . 31
9.5 Establish slave-packed DLE procedure . 32
9.6 Release connection procedure . 33
9.7 Suspend connection procedure . 33
9.8 Resume connection procedure . 33
9.9 Activate standby Master procedure . 34
Bibliography . 35
61158-4-18 IEC:2010 – 3 –
Figure 1 – HDLC flag . 12
Table 1 – HDLC convention summary . 13
Table 2 – HDLC exception summary . 14
Table 3 – Master-polled DLE address octet 0 . 14
Table 4 – Slave-polled DLE address octet 0 . 15
Table 5 – Master-packed DLE address octet 0 . 15
Table 6 – Master-polled DLE status octet 0 . 16
Table 7 – Master-polled DLE status octet 1 . 16
Table 8 – Slave-polled DLE status octet 0 . 17
Table 9 – slave-polled DLE status octet 1 . 17
Table 10 – Slave-packed DLE status . 17
Table 11 – DLPDU – Master-polled DLE acyclic data field . 18
Table 12 – DLPDU – Slave-polled DLE acyclic data field . 19
Table 13 – Example master-polled DLE RY contiguous data field . 20
Table 14 – Example slave-polled DLE RX contiguous data field . 20
Table 15 – Example master-polled DLE RWw contiguous data field . 20
Table 16 – Example slave-polled DLE RWr contiguous data field . 20
Table 17 – Bit-oriented segment header . 21
Table 18 – Polled DLE acyclic segment number field . 22
Table 19 – Slave-polled DLE acyclic data type and sequence field . 22
Table 20 – DLPDU – Polled class poll with data . 23
Table 21 – Slave-polled DLE response timeout . 23
Table 22 – DLPDU – Poll . 24
Table 23 – DLPDU – End of cycle . 24
Table 24 – slave-polled DLE request timeout . 24
Table 25 – DLPDU – Level A poll response . 25
Table 26 – DLPDU – Level B poll response . 25
Table 27 – DLPDU – Level C poll response . 26
Table 28 – DLPDU – Packed class poll with data .
...
Questions, Comments and Discussion
Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.