IEC 61158-4-18:2007
(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:2007 defines the protocol that provides basic time-critical messaging communications between devices in an automation environment. This protocol 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. This first edition and its companion parts of the IEC 61158-4 subseries cancel and replace IEC 61158-4:2003. This edition of IEC 61158-4 includes the following significant changes from the previous edition:
- deletion of the former Type 6 fieldbus, and the placeholder for a Type 5 fieldbus data link layer, for lack of market relevance;
- addition of new types of fieldbuses;
- division of this part into multiple parts numbered -4-1, -4-2, , -4-19. This bilingual version (2014-12) corresponds to the monolingual English version, published in 2007-12.
Réseaux de communication industriels - Spécifications des bus de terrain - Partie 4-18: Spécification des protocoles des couches de liaison de données - Eléments de type 18
L'IEC 61158-4-18:2007 définit la couche liaison de données qui assure les communications de messagerie de base à temps critique entre les appareils d'un environnement d'automatisation. Ce protocole offre des opportunités de communication à toutes les entités de liaison de données participantes de manière cyclique avec un démarrage synchrone, selon une programmation préétablie, et de manière cyclique ou acyclique et asynchrone, comme demandé par chaque cycle de chacune de ces entités de liaison de données. Cette première édition et les autres parties de la sous-série CEI 61158-4 annulent et remplacent la CEI 61158-4:2003. Cette édition de la CEI 61158-4 inclut les modifications techniques majeures suivantes par rapport à l'édition précédente:
- suppression de l'ancien bus de terrain de type 6, et le réceptacle pour une couche liaison de données de bus terrain de type 5, en raison du manque d'adéquation au marché;
- ajout de nouveaux types de bus de terrain;
- division de la présente partie en plusieurs parties numérotées -4-1, -4-2, , -4-19. La présente version bilingue (2014-12) correspond à la version anglaise monolingue publiée en 2007-12.
General Information
Relations
Buy Standard
Standards Content (Sample)
IEC 61158-4-18
Edition 1.0 2007-12
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 1.0 2007-12
INTERNATIONAL
STANDARD
Industrial communication networks – Fieldbus specifications –
Part 4-18: Data-link layer protocol specification – Type 18 elements
INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
PRICE CODE
W
ICS 35.100.20; 25.040.40 ISBN 2-8318-9442-5
– 2 – 61158-4-18 © IEC:2007(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 .11
4 DL-protocol overview.11
4.1 Introduction .11
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 .15
6.1 Overview .15
6.2 Address field .15
6.3 Status field .16
6.4 Data field.18
7 DLPDU – Detailed structure, segmenting and reassembly .20
8 Data transmission methods .24
8.1 Overview .24
8.2 Master-polled method.24
8.3 Level A slave-polled method.25
8.4 Level B slave-polled method.26
8.5 Level C slave-polled method .26
8.6 Master-packed method .27
8.7 Slave-packed method .28
9 DL-management – procedures.29
9.1 Overview .29
9.2 Establish master-polled DLE procedure.29
9.3 Establish slave-polled DLE procedure .30
9.4 Establish master-packed DLE procedure .32
9.5 Establish slave-packed DLE procedure .33
9.6 Release connection procedure .34
9.7 Suspend connection procedure .34
9.8 Resume connection procedure .34
9.9 Activate standby Master procedure.35
Bibliography.36
61158-4-18 © IEC:2007(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.15
Table 4 – Slave-polled DLE address octet 0.15
Table 5 – Master-packed DLE address octet 0 .16
Table 6 – Master-polled DLE status octet 0.16
Table 7 – Master-polled DLE status octet 1.17
Table 8 – Slave-polled DLE status octet 0.17
Table 9 – slave-polled DLE status octet 1 .18
Table 10 – Slave-packed DLE status .18
Table 11 – DLPDU – Master-polled DLE acyclic data field .19
Table 12 – DLPDU – Slave-polled DLE acyclic data field .20
Table 13 – Example master-polled DLE RY contiguous data field .21
Table 14 – Example slave-polled DLE RX contiguous data field.21
Table 15 – Example master-polled DLE RWw contiguous data field .21
Table 16 – Example slave-polled DLE RWr contiguous data field.21
Table 17 – Bit-oriented segment header .22
Table 18 – Polled DLE acyclic segment number field .23
Table 19 – Slave-polled DLE acyclic data type and sequence field .23
Table 20 – DLPDU – Polled class poll with data.24
Table 21 – Slave-polled DLE response timeout.24
Table 22 – DLPDU – Poll .25
Table 23 – DLPDU – End of cycle.25
Table 24 – slave-polled DLE request timeout .25
Table 25 – DLPDU – Level A poll response.26
Table 26 – DLPDU – Level B poll response.26
Table 27 – DLPDU – Level C poll response .27
Table 28 – DLPDU – Packed class poll with data .27
Table 29 – Slave-packed DLE response timeout .27
Table 30 – Slave-packed DLE request timeout.28
Table 31 – DLPDU – Packed class poll response.28
Table 32 – Slave-packed DLE time constraints .29
Table 33 – DLPDU – Poll with test data .29
Table 34 – Slave-polled DLE response timeout.30
Table 35 – DLPDU – Poll test .30
Table 36 – Slave-polled DLE request timeout .30
Table 37 – DLPDU – Poll test response .31
Table 38 – Slave-polled DLE configuration parameter.31
Table 39 – DLPDU – Baud rate synchronization.32
Table 40 – DLPDU – Poll test .32
Table 41 – Slave-packed DLE response timeout .32
– 4 – 61158-4-18 © IEC:2007(E)
Table 42 – Slave-packed DLE number of occupied DLE station slots .33
Table 43 – Slave-packed DLE baud rate synchronization timeout .33
Table 44 – Slave-packed DLE Master timeout.34
Table 45 – DLPDU – Packed poll test response .34
61158-4-18 © IEC:2007(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
...
IEC 61158-4-18 ®
Edition 1.0 2007-12
INTERNATIONAL
STANDARD
NORME
INTERNATIONALE
Industrial communication networks – Fieldbus specifications –
Part 4-18: Data-link layer protocol specification – Type 18 elements
Réseaux de communication industriels – Spécifications des bus de terrain –
Partie 4-18: Spécification des protocoles des couches de liaison de données –
Élé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 l'IEC ou du Comité national de l'IEC du pays du demandeur. Si vous avez des
questions sur le copyright de l'IEC 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 l'IEC 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.
IEC Catalogue - webstore.iec.ch/catalogue Electropedia - www.electropedia.org
The stand-alone application for consulting the entire The world's leading online dictionary of electronic and
bibliographical information on IEC International Standards, electrical terms containing more than 30 000 terms and
Technical Specifications, Technical Reports and other definitions in English and French, with equivalent terms in 14
documents. Available for PC, Mac OS, Android Tablets and additional languages. Also known as the International
iPad. Electrotechnical Vocabulary (IEV) online.
IEC publications search - www.iec.ch/searchpub IEC Glossary - std.iec.ch/glossary
The advanced search enables to find IEC publications by a More than 55 000 electrotechnical terminology entries in
variety of criteria (reference number, text, technical English and French extracted from the Terms and Definitions
committee,…). It also gives information on projects, replaced clause of IEC publications issued since 2002. Some entries
and withdrawn publications. have been collected from earlier publications of IEC TC 37,
77, 86 and CISPR.
IEC Just Published - webstore.iec.ch/justpublished
Stay up to date on all new IEC publications. Just Published IEC Customer Service Centre - webstore.iec.ch/csc
details all new publications released. Available online and If you wish to give us your feedback on this publication or
also once a month by email. need further assistance, please contact the Customer Service
Centre: csc@iec.ch.
A propos de l'IEC
La Commission Electrotechnique Internationale (IEC) 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 IEC
Le contenu technique des publications IEC est constamment revu. Veuillez vous assurer que vous possédez l’édition la
plus récente, un corrigendum ou amendement peut avoir été publié.
Catalogue IEC - webstore.iec.ch/catalogue Electropedia - www.electropedia.org
Application autonome pour consulter tous les renseignements
Le premier dictionnaire en ligne de termes électroniques et
bibliographiques sur les Normes internationales,
électriques. Il contient plus de 30 000 termes et définitions en
Spécifications techniques, Rapports techniques et autres
anglais et en français, ainsi que les termes équivalents dans
documents de l'IEC. Disponible pour PC, Mac OS, tablettes
14 langues additionnelles. Egalement appelé Vocabulaire
Android et iPad.
Electrotechnique International (IEV) en ligne.
Recherche de publications IEC - www.iec.ch/searchpub
Glossaire IEC - std.iec.ch/glossary
Plus de 55 000 entrées terminologiques électrotechniques, en
La recherche avancée permet de trouver des publications IEC
en utilisant différents critères (numéro de référence, texte, anglais et en français, extraites des articles Termes et
comité d’études,…). Elle donne aussi des informations sur les Définitions des publications IEC parues depuis 2002. Plus
projets et les publications remplacées ou retirées. certaines entrées antérieures extraites des publications des
CE 37, 77, 86 et CISPR de l'IEC.
IEC Just Published - webstore.iec.ch/justpublished
Service Clients - webstore.iec.ch/csc
Restez informé sur les nouvelles publications IEC. Just
Published détaille les nouvelles publications parues. Si vous désirez nous donner des commentaires sur cette
Disponible en ligne et aussi une fois par mois par email. publication ou si vous avez des questions contactez-nous:
csc@iec.ch.
IEC 61158-4-18 ®
Edition 1.0 2007-12
INTERNATIONAL
STANDARD
NORME
INTERNATIONALE
Industrial communication networks – Fieldbus specifications –
Part 4-18: Data-link layer protocol specification – Type 18 elements
Réseaux de communication industriels – Spécifications des bus de terrain –
Partie 4-18: Spécification des protocoles des couches de liaison de données –
Éléments de Type 18
INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
COMMISSION
ELECTROTECHNIQUE
PRICE CODE
INTERNATIONALE
CODE PRIX W
ICS 25.040.40; 35.100.20 ISBN 978-2-8322-1945-4
– 2 – IEC 61158-4-18:2007 © IEC 2007
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 . 11
4 DL-protocol overview . 11
4.1 Introduction . 11
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 . 15
6.1 Overview . 15
6.2 Address field . 15
6.3 Status field . 16
6.4 Data field. 18
7 DLPDU – Detailed structure, segmenting and reassembly . 20
8 Data transmission methods . 24
8.1 Overview . 24
8.2 Master-polled method . 24
8.3 Level A slave-polled method . 25
8.4 Level B slave-polled method . 26
8.5 Level C slave-polled method . 26
8.6 Master-packed method . 27
8.7 Slave-packed method . 28
9 DL-management – procedures . 29
9.1 Overview . 29
9.2 Establish master-polled DLE procedure . 29
9.3 Establish slave-polled DLE procedure . 30
9.4 Establish master-packed DLE procedure . 32
9.5 Establish slave-packed DLE procedure . 33
9.6 Release connection procedure . 34
9.7 Suspend connection procedure . 34
9.8 Resume connection procedure . 34
9.9 Activate standby Master procedure . 35
Bibliography . 36
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 . 15
Table 4 – Slave-polled DLE address octet 0 . 15
Table 5 – Master-packed DLE address octet 0 . 16
Table 6 – Master-polled DLE status octet 0 . 16
Table 7 – Master-polled DLE status octet 1 . 17
Table 8 – Slave-polled DLE status octet 0 . 17
Table 9 – slave-polled DLE status octet 1 . 18
Table 10 – Slave-packed DLE status . 18
Table 11 – DLPDU – Master-polled DLE acyclic data field . 19
Table 12 – DLPDU – Slave-polled DLE acyclic data field . 20
Table 13 – Example master-polled DLE RY contiguous data field . 21
Table 14 – Example slave-polled DLE RX contiguous data field . 21
Table 15 – Example master-polled DLE RWw contiguous data field . 21
Table 16 – Example slave-polled DLE RWr contiguous data field . 21
Table 17 – Bit-oriented segment header . 22
Table 18 – Polled DLE acyclic segment number field . 23
Table 19 – Sl
...
Questions, Comments and Discussion
Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.