IEC 61158-4-2:2007
(Main)Industrial communication networks - Fieldbus specifications - Part 4-2: Data-link layer protocol specification - Type 2 elements
Industrial communication networks - Fieldbus specifications - Part 4-2: Data-link layer protocol specification - Type 2 elements
IEC 61158-4-2:2007 describes the protocol that provides communication opportunities to all participating data-link entities, sequentially and in a cyclic synchronous manner. Foreground scheduled access is available for time-critical activities together with background unscheduled access for less critical activities. This protocol optimizes each access opportunity by concatenating multiple DLSDUs and associated DLPCI into a single DLPDU, thereby improving data transfer efficiency for data-link entities that actively source multiple streams of data. This first edition and its companion parts of the IEC 61158-4 subseries cancel and replace IEC 61158-4:2003. This edition of this part constitutes a minor revision. This part and its companion Type 2 parts also cancel and replace IEC/PAS 62413, published in 2005. This edition of IEC 61158-4 includes the following changes:
- 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-07) corresponds to the English version, published in 2007-12.
Réseaux de communication industriels - Spécifications des bus de terrain - Partie 4-2: Spécification du protocole de la couche liaison de données - Eléments de type 2
L'IEC 61158-4-2:2007 décrit un protocole qui offre des opportunités de communication séquentielle et synchrone cyclique à toutes les entités de liaison de données participantes. Un accès planifié de premier plan est proposé à toutes les activités à contrainte de temps, un accès non planifié l'étant aux activités moins critiques. Ce protocole permet d'optimiser chaque opportunité d'accès en concaténant plusieurs DLSDU et DLPCI associés en une seule DLPDU, améliorant le transfert de données des entités de liaison de données qui émettent activement plusieurs flux de données. Cette première édition et ses parties d'accompagnement de la sous-série CEI 61158-4 annulent et remplacent la CEI 61158-4:2003. Elle constitue une révision mineure. Cette partie et ses parties d'accompagnement pour le Type 2 annulent et remplacent également la CEI/PAS 62413, publiée en 2005. Elle inclut les modifications suivantes:
- suppression du précédent bus de terrain de Type 6 et de la référence à une couche de liaison de données de bus de terrain de Type 5, en raison du manque d'adéquation au marché;
- ajout de nouveaux types de bus de terrain; division de cette partie en parties multiples numérotées -4 1, -4 2, , -4-19. La présente version bilingue (2014-07) correspond à la version anglaise monolingue publiée en 2007-12.
General Information
Relations
Buy Standard
Standards Content (Sample)
IEC 61158-4-2
Edition 1.0 2007-12
INTERNATIONAL
STANDARD
Industrial communication networks – Fieldbus specifications –
Part 4-2: Data-link layer protocol specification – Type 2 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-2
Edition 1.0 2007-12
INTERNATIONAL
STANDARD
Industrial communication networks – Fieldbus specifications –
Part 4-2: Data-link layer protocol specification – Type 2 elements
INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
PRICE CODE
XH
ICS 35.100.20; 25.040.40 ISBN 2-8318-9428-X
– 2 – 61158-4-2 © IEC:2007(E)
CONTENTS
FOREWORD.7
INTRODUCTION.9
1 Scope.10
1.1 General .10
1.2 Specifications.10
1.3 Procedures.10
1.4 Applicability.11
1.5 Conformance.11
2 Normative references .11
3 Terms, definitions, symbols and abbreviations.12
3.1 Reference model terms and definitions.12
3.2 Service convention terms and definitions.14
3.3 Common terms and definitions .15
3.4 Additional Type 2 definitions.16
3.5 Type 2 symbols and abbreviations.23
4 Overview of the DL-protocol .24
4.1 General .24
4.2 Services provided by the DL.26
4.3 Structure and definition of DL-addresses.27
4.4 Services assumed from the PhL .29
4.5 Functional classes.31
5 General structure and encoding of PhIDUs and DLPDUs and related elements of
procedure.32
5.1 Overview .32
5.2 Media access procedure.32
5.3 DLPDU structure and encoding .35
5.4 Lpacket components .39
5.5 DLPDU procedures .41
5.6 Summary of DLL support services and objects .42
6 Specific DLPDU structure, encoding and procedures.44
6.1 Modeling language .44
6.2 DLS user services .46
6.3 Generic tag Lpacket .52
6.4 Moderator Lpacket .53
6.5 Time distribution Lpacket .54
6.6 UCMM Lpacket.57
6.7 Keeper UCMM Lpacket.57
6.8 TUI Lpacket.58
6.9 Link parameters Lpacket and tMinus Lpacket .59
6.10 I’m-alive Lpacket .60
6.11 Ping Lpackets.62
6.12 WAMI Lpacket .64
6.13 Debug Lpacket .64
6.14 IP Lpacket .65
6.15 Ethernet Lpacket .65
7 Objects for station management .65
61158-4-2 © IEC:2007(E) – 3 –
7.1 General .65
7.2 ControlNet object .66
7.3 Keeper object.76
7.4 Scheduling object.98
7.5 TCP/IP Interface object .109
7.6 Ethernet link object.118
7.7 DeviceNet object .124
7.8 Connection configuration object (CCO). 132
8 Other DLE elements of procedure. 152
8.1 Network attachment monitor (NAM) .152
8.2 Calculating link parameters .159
9 Detailed specification of DL components .167
9.1 General .167
9.2 Access control machine (ACM).167
9.3 TxLLC .184
9.4 RxLLC .188
9.5 Transmit machine (TxM).191
9.6 Receive machine (RxM) .194
9.7 Serializer.200
9.8 Deserializer .201
9.9 DLL management .202
Annex A (normative) Indicators and switches.205
A.1 Purpose .205
A.2 Indicators .205
A.3 Switches .216
Bibliography.218
INDEX .219
Figure 1 – Relationships of DLSAPs, DLSAP-addresses and group DL-addresses .15
Figure 2 – Data-link layer internal architecture.25
Figure 3 – Basic structure of a MAC ID address.27
Figure 4 – Basic structure of a generic tag address .27
Figure 5 – Basic structure of a fixed tag address .28
Figure 6 – M_symbols and Manchester encoding at 5 MHz (informative) .29
Figure 7 – NUT structure .33
Figure 8 – Media access during scheduled time.33
Figure 9 – Media access during unscheduled time .34
Figure 10 – DLPDU format.35
Figure 11 – Aborting a DLPDU during transmission .39
Figure 12 – Lpacket format .39
Figure 13 – Generic tag Lpacket format .40
Figure 14 – Fixed tag Lpacket format.41
Figure 15 – Goodness parameter of TimeDist_Lpacket .55
Figure 16 – Example I’m alive processing algorithm.62
Figure 17 – Keeper CRC algorithm .82
Figure 18 – Keeper object power-up state diagram .94
– 4 – 61158-4-2 © IEC:2007(E)
Figure 19 – Keeper object operating state diagram .95
Figure 20 – Synchronized network change processing .98
Figure 21 – State transition diagram for TCP/IP Interface object .118
Figure 22 – Connection configuration object edit flowchart. 152
Figure 23 – NAM state machine .153
Figure A.1 – Non redundant network status indicator labeling . 209
Figure A.2 – Redundant network status indicator labeling .
...
IEC 61158-4-2 ®
Edition 1.0 2007-12
INTERNATIONAL
STANDARD
NORME
INTERNATIONALE
Industrial communication networks – Fieldbus specifications –
Part 4-2: Data-link layer protocol specification – Type 2 elements
Réseaux de communication industriels – Spécifications des bus de terrain –
Partie 4-2: Spécification du protocole de la couche liaison de données –
Éléments de Type 2
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-2 ®
Edition 1.0 2007-12
INTERNATIONAL
STANDARD
NORME
INTERNATIONALE
Industrial communication networks – Fieldbus specifications –
Part 4-2: Data-link layer protocol specification – Type 2 elements
Réseaux de communication industriels – Spécifications des bus de terrain –
Partie 4-2: Spécification du protocole de la couche liaison de données –
Éléments de Type 2
INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
COMMISSION
ELECTROTECHNIQUE
PRICE CODE
INTERNATIONALE
CODE PRIX XH
ICS 25.040.40; 35.100.20 ISBN 978-2-8322-1697-2
– 2 – IEC 61158-4-2:2007 © IEC 2007
CONTENTS
FOREWORD. 7
INTRODUCTION . 9
1 Scope . 10
1.1 General . 10
1.2 Specifications . 10
1.3 Proc edures . 10
1.4 Applicability . 11
1.5 Conformance . 11
2 Normative references . 11
3 Terms, definitions, symbols and abbreviations . 12
3.1 Reference model terms and definitions . 12
3.2 Service convention terms and definitions . 14
3.3 Common terms and definitions . 15
3.4 Additional Type 2 definitions . 16
3.5 Type 2 symbols and abbreviations . 23
4 Overview of the DL-protocol . 24
4.1 General . 24
4.2 Services provided by the DL . 26
4.3 Structure and definition of DL-addresses . 27
4.4 Services assumed from the PhL . 29
4.5 Functional classes . 31
5 General structure and encoding of PhIDUs and DLPDUs and related elements of
procedure . 32
5.1 Overview . 32
5.2 Media access procedure . 32
5.3 DLPDU structure and encoding . 35
5.4 Lpacket components . 39
5.5 DLPDU procedures . 41
5.6 Summary of DLL support services and objects . 42
6 Specific DLPDU structure, encoding and procedures . 44
6.1 Modeling language . 44
6.2 DLS user services . 46
6.3 Generic tag Lpacket . 52
6.4 Moderator Lpacket . 53
6.5 Time distribution Lpacket . 54
6.6 UCMM Lpacket . 57
6.7 Keeper UCMM Lpacket . 57
6.8 TUI Lpacke t . 58
6.9 Link parameters Lpacket and tMinus Lpacket . 59
6.10 I’m-alive Lpacket . 60
6.11 Ping Lpack e ts . 62
6.12 WAMI Lpacket . 64
6.13 Debug Lpacket . 64
6.14 IP Lpacket . 65
6.15 Ethernet Lpacket . 65
7 Objects for station management . 65
7.1 General . 65
7.2 ControlNet object . 66
7.3 Keeper object . 76
7.4 Scheduling object . 98
7.5 TCP/IP Interface object . 109
7.6 Ethernet link object . 118
7.7 DeviceNet object . 124
7.8 Connection configuration object (CCO) . 132
8 Other DLE elements of procedure . 152
8.1 Network attachment monitor (NAM) . 152
8.2 Calculating link parameters . 159
9 Detailed specification of DL components . 167
9.1 General . 167
9.2 Access control machine (ACM) . 167
9.3 TxLLC . 184
9.4 RxLLC . 188
9.5 Transmit machine (TxM) . 191
9.6 Receive machine (RxM) . 194
9.7 Serializer .
...
Questions, Comments and Discussion
Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.