Industrial communication networks - Fieldbus specifications - Part 4-8: Data-link layer protocol specification - Type 8 elements

IEC 61158-4-8:2007 provides a highly-optimized means of interchanging fixed-length input/output data and variable-length segmented messages between a single master device and a set of slave devices interconnected in a loop (ring) topology. The exchange of input/output data is totally synchronous by configuration, and is unaffected by the messaging traffic. Devices are addressed implicitly by their position on the loop. The determination of the number, identity and characteristics of each device can be configured, or can be detected automatically at start-up. This first edition and its companion parts of the IEC 61158-4 subseries cancel and replace IEC 61158-4:2003. It constitutes an editorial revision and includes the following significant 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. This bilingual version corresponds to the monolingual English version, published in 2007-12.

Réseaux de communication industriels - Spécifications de bus de terrain - Partie 4-8: Spécification du protocole de couche liaison de données - Éléments de Type 8

La CEI 61158-4-8:2007 fournit un moyen fortement optimisé d'échanger des données d'entrée/de sortie de longueur fixe ainsi que des messages segmentés de longueur variable entre un seul appareil maître et un ensemble d'appareils esclaves interconnectés selon une topologie en boucle (anneau). L'échange de données d'entrée/de sortie est totalement synchrone du point de vue de la configuration, et n'est pas affecté par le trafic de messagerie. Les appareils sont adressés implicitement par leur position sur la boucle. La détermination du numéro, de l'identité et des caractéristiques de chaque appareil peut être configurée, ou peut être détectée automatiquement au démarrage. 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 éditoriale et inclut les modifications significatives suivantes:
- suppression du précédent bus de terrain de Type 6 et du réceptacle ("placeholder") pour une couche liaison de données de bus de terrain de Type 5, en raison du manque de pertinence commerciale;
- ajout de nouveaux types de bus de terrain;
- division de la présente partie en plusieurs parties. La présente version bilingue correspond à la version anglaise monolingue publiée en 2007-12.

General Information

Status
Published
Publication Date
13-Dec-2007
Technical Committee
Drafting Committee
Current Stage
PPUB - Publication issued
Start Date
30-Nov-2007
Completion Date
14-Dec-2007
Ref Project

Relations

Buy Standard

Standard
IEC 61158-4-8:2007 - Industrial communication networks - Fieldbus specifications - Part 4-8: Data-link layer protocol specification - Type 8 elements Released:12/14/2007 Isbn:2831894352
English language
132 pages
sale 15% off
Preview
sale 15% off
Preview
Standard
IEC 61158-4-8:2007 - Industrial communication networks - Fieldbus specifications - Part 4-8: Data-link layer protocol specification - Type 8 elements
English and French language
273 pages
sale 15% off
Preview
sale 15% off
Preview

Standards Content (Sample)


IEC 61158-4-8
Edition 1.0 2007-12
INTERNATIONAL
STANDARD
Industrial communication networks – Fieldbus specifications –
Part 4-8: Data-link layer protocol specification – Type 8 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-8
Edition 1.0 2007-12
INTERNATIONAL
STANDARD
Industrial communication networks – Fieldbus specifications –
Part 4-8: Data-link layer protocol specification – Type 8 elements

INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
PRICE CODE
XF
ICS 35.100.20; 25.040.40 ISBN 2-8318-9435-2

– 2 – 61158-4-8 © 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.10
1.5 Conformance.11
2 Normative references .11
3 Terms, definitions, symbols and abbreviations.11
3.1 Reference model terms and definitions.11
3.2 Service convention terms and definitions.12
3.3 Common terms and definitions .13
3.4 Additional Type 8 definitions.14
3.5 Symbols and abbreviations.15
4 DL-protocol .18
4.1 Overview .18
4.2 DL-service Interface (DLI) .18
4.3 Peripherals data link (PDL).22
4.4 Basic Link Layer (BLL) .58
4.5 Medium Access Control (MAC).74
4.6 Peripherals network management for layer 2 (PNM2) .108
4.7 Parameters and monitoring times of the DLL .116
Annex A (informative) – Implementation possibilities of definite PNM2 functions. 122
A.1 Acquiring the current configuration .122
A.2 Comparing the acquired and stored configurations prior to a DL-subnetwork
error .126
Bibliography.132

Figure 1 – Relationships of DLSAPs, DLSAP-addresses and group DL-addresses .13
Figure 2 – Data Link Layer Entity.18
Figure 3 – Location of the DLI in the DLL.18
Figure 4 – State transition diagram of DLI.20
Figure 5 – Location of the PDL in the DLL.22
Figure 6 – PDL connection between slave and master .23
Figure 7 – Interface between PDL-user (DLI) and PDL in the layer model .24
Figure 8 – Overview of the PDL services .24
Figure 9 – PDL_Data_Ack service between master and only one slave.26
Figure 10 – Parallel processing of PDL_Data_Ack services .26
Figure 11 – PSM and GSM service for buffer access .26
Figure 12 – Buffer_Received service to indicate successful data transfer.27
Figure 13 – Data flow between PDL-user, PDL and BLL of a PDL_Data_Ack service .30
Figure 14 – Interface between PDL and PNM2 in the layer model .30
Figure 15 – Reset, Set Value and Get Value PDL services .32

61158-4-8 © IEC:2007(E) – 3 –
Figure 16 – Event PDL service.32
Figure 17 – Transmit and receive FCBs on the master and slave sides.35
Figure 18 – Data transmission master → slave with SWA Message .36
Figure 19 – Time sequence of the data transmission master → slave with SWA
Message .36
Figure 20 – Data transmission slave → master with SWA/RWA Message.37
Figure 21 – Time sequence of the data transmission slave → master with SWA/RWA
Message .37
Figure 22 – Allocation of actions of the PDL protocol machines and data cycles .38
Figure 23 – Message transmission: master → slave.39
Figure 24 – Message transmission: slave → master.39
Figure 25 – Code octet of a PDLPDU.40
Figure 26 – Structure of a message with a size of one word.41
Figure 27 – Structure of a SPA Message .41
Figure 28 – Structure of a SVA Message .42
Figure 29 – Structure of a FCB_SET Message.42
Figure 30 – Structure of a RWA Message .42
Figure 31 – Structure of a SWA Message .43
Figure 32 – Structure of a confirmation for SPA or SVA Messages.43
Figure 33 – Structure of a FCB_SET as confirmation .43
Figure 34 – Structure of the data octet for FCB_SET as requests and confirmations.43
Figure 35 – Structure of a message with a size of more than one word .44
Figure 36 – PDL base protocol machine.45
Figure 37 – Locations of the PDL and the PDL protocol machines in the master and
slaves .48
Figure 38 – PDL protocol machine .49
Figure 39 – TRANSMIT protocol machine .52
Figure 40 – RECEIVE protocol machine.55
Figure 41 – Location of the BLL in the DLL .58
Figure 42 – Interface between PDL and BLL in the layer model .59
Figure 43 – BLL_Data service.60
Figure 44 – Interface between PNM2 and BLL in the layer model.62
Figure 45 – Reset, Set Value and Get Value BLL services .64
Figure 46 – Event BLL service .64
Figure 47 – BLL operating protocol machine of the master.68
Figure 48 – BLL-BAC protocol machine .70
Figure 49 – BLL operating protocol machine of the slave .73
Figure 50 – Location of the MAC in the DLL.74
Figure 51 – Model details of layers 1 and 2.75
Figure 52 – DLPDU cycle of a data sequence without errors .76
Figure 53 – DLPDU cycle of a data sequence with errors.76
Figure 54 – Data sequence DLPDU transmitted by the master .77
Figure 55 – Data sequence DLPDU received by the master .77
Figure 56 – Check sequence DLPDU .77

– 4 – 61158-4-8 © IEC:2007(E)
Figure 57 – Loopback word (LBW) .77
Figure 58 – Checksum status generated by the master .80
Figure 59 – Checksum status received by the master .80
Figure 60 – MAC protocol machine of a master: transmission of a message .81
Figure 61 – MAC protocol machine of a master: receipt of a message .84
Figure 62 – MAC sublayer of a master: data sequence identification.88
Figure 63 – Data sequence DLPDU received by a slave.91
Figure 64 – Data sequence DLPDU transmitted by a slave .91
Figure 65 – Checksum status received by the slave.91
Figure 66 – Checksum status generated by the slave .92
Figure 67 – State transitions of the MAC sublayer of a slave: data sequence.93
Figure 68 – State transitions of the MAC sublayer of a slave: check sequence .94
Figure 69 – Interface between MAC-user and MAC in the layer model .99
Figure 70 – Interactions at the MAC-user interface (master) .100
Figure 71 – Interactions at the MAC-user interface (slave).101
Figure 72 – Interface between MAC and PNM2 in the layer model .104
Figure 73 – Reset, Set Value and Get Value MAC services. 106
Figure 7
...


IEC 61158-4-8 ®
Edition 1.0 2007-12
INTERNATIONAL
STANDARD
NORME
INTERNATIONALE
Industrial communication networks – Fieldbus specifications –
Part 4-8: Data-link layer protocol specification – Type 8 elements

Réseaux de communication industriels – Spécifications de bus de terrain –
Partie 4-8: Spécification du protocole de couche liaison de données – Éléments
de Type 8
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-8 ®
Edition 1.0 2007-12
INTERNATIONAL
STANDARD
NORME
INTERNATIONALE
Industrial communication networks – Fieldbus specifications –

Part 4-8: Data-link layer protocol specification – Type 8 elements

Réseaux de communication industriels – Spécifications de bus de terrain –

Partie 4-8: Spécification du protocole de couche liaison de données – Éléments

de Type 8
INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
COMMISSION
ELECTROTECHNIQUE
PRICE CODE
INTERNATIONALE
CODE PRIX XF
ICS 35.100.20; 25.040.40 ISBN 978-2-83220-637-9

– 2 – 61158-4-8 © IEC:2007
CONTENTS
FOREWORD . 7
INTRODUCTION . 9
1 Scope . 10
1.1 General . 10
1.2 Specifications . 10
1.3 Procedures . 10
1.4 Applicability . 10
1.5 Conformance . 11
2 Normative references . 11
3 Terms, definitions, symbols and abbreviations . 11
3.1 Reference model terms and definitions . 11
3.2 Service convention terms and definitions . 12
3.3 Common terms and definitions . 13
3.4 Additional Type 8 definitions. 14
3.5 Symbols and abbreviations . 15
4 DL-protocol . 17
4.1 Overview . 17
4.2 DL-service Interface (DLI) . 18
4.3 Peripherals data link (PDL) . 22
4.4 Basic Link Layer (BLL) . 58
4.5 Medium Access Control (MAC) . 74
4.6 Peripherals network management for layer 2 (PNM2) . 108
4.7 Parameters and monitoring times of the DLL . 116
Annex A (informative) Implementation possibilities of definite PNM2 functions . 122
A.1 Acquiring the current configuration . 122
A.2 Comparing the acquired and stored configurations prior to a DL-subnetwork
error . 126
Bibliography . 132

Figure 1 – Relationships of DLSAPs, DLSAP-addresses and group DL-addresses . 13
Figure 2 – Data Link Layer Entity . 18
Figure 3 – Location of the DLI in the DLL . 18
Figure 4 – State transition diagram of DLI . 20
Figure 5 – Location of the PDL in the DLL . 22
Figure 6 – PDL connection between slave and master . 23
Figure 7 – Interface between PDL-user (DLI) and PDL in the layer model . 24
Figure 8 – Overview of the PDL services . 24
Figure 9 – PDL_Data_Ack service between master and only one slave . 26
Figure 10 – Parallel processing of PDL_Data_Ack services . 26
Figure 11 – PSM and GSM service for buffer access . 26
Figure 12 – Buffer_Received service to indicate successful data transfer. 27
Figure 13 – Data flow between PDL-user, PDL and BLL of a PDL_Data_Ack service . 30
Figure 14 – Interface between PDL and PNM2 in the layer model . 30

61158-4-8 © IEC:2007 – 3 –
Figure 15 – Reset, Set Value and Get Value PDL services . 32
Figure 16 – Event PDL service . 32
Figure 17 – Transmit and receive FCBs on the master and slave sides . 35
Figure 18 – Data transmission master → slave with SWA Message . 36
Figure 19 – Time sequence of the data transmission master → slave with SWA
Message . 36
Figure 20 – Data transmission slave → master with SWA/RWA Message. 37
Figure 21 – Time sequence of the data transmission slave → master with SWA/RWA
Message . 37
Figure 22 – Allocation of actions of the PDL protocol machines and data cycles . 38
Figure 23 – Message transmission: master → slave . 39
Figure 24 – Message transmission: slave → master . 39
Figure 25 – Code octet of a PDLPDU . 40
Figure 26 – Structure of a message with a size of one word . 41
Figure 27 – Structure of a SPA Message . 41
Figure 28 – Structure of a SVA Message . 42
Figure 29 – Structure of a FCB_SET Message . 42
Figure 30 – Structure of a RWA Message . 42
Figure 31 – Structure of a SWA Message . 43
Figure 32 – Structure of a confirmation for SPA or SVA Messages . 43
Figure 33 – Structure of a FCB_SET as confirmation . 43
Figure 34 – Structure of the data octet for FCB_SET as requests and confirmations . 43
Figure 35 – Structure of a message with a size of more than one word . 44
Figure 36 – PDL base protocol machine . 45
Figure 37 – Locations of the PDL and the PDL protocol machines in the master and
slaves . 48
Figure 38 – PDL protocol machine . 49
Figure 39 – TRANSMIT protocol machine . 52
Figure 40 – RECEIVE protocol machine . 55
Figure 41 – Location of the BLL in the DLL . 58
Figure 42 – Interface between PDL and BLL in the layer model . 59
Figure 43 – BLL_Data service . 60
Figure 44 – Interface between PNM2 and BLL in the layer model . 62
Figure 45 – Reset, Set Value and Get Value BLL services . 64
Figure 46 – Event BLL service .
...

Questions, Comments and Discussion

Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.