1、 IEC 61158-4-13 Edition 2.0 2014-08 INTERNATIONAL STANDARD NORME INTERNATIONALE Industrial communication networks Fieldbus specifications Part 4-13: Data-link layer protocol specification Type 13 elements Rseaux de communication industriels Spcifications des bus de terrain Partie 4-13: Spcification
2、du protocole de la couche liaison de donnes lments de type 13 IEC 61158-4-13:2014-08(en-fr) THIS PUBLICATION IS COPYRIGHT PROTECTED Copyright 2014 IEC, Geneva, Switzerland All rights reserved. Unless otherwise specified, no part of this publication may be reproduced or utilized in any form or by any
3、 means, electronic or mechanical, including photocopying and microfilm, without permission in writing from either IEC or IECs 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 publicat
4、ion, please contact the address below or your local IEC member National Committee for further information. Droits de reproduction rservs. Sauf indication contraire, aucune partie de cette publication ne peut tre reproduite ni utilise sous quelque forme que ce soit et par aucun procd, lectronique ou
5、mcanique, y compris la photocopie et les microfilms, sans laccord crit de lIEC ou du Comit national de lIEC du pays du demandeur. Si vous avez des questions sur le copyright de lIEC ou si vous dsirez obtenir des droits supplmentaires sur cette publication, utilisez les coordonnes ci-aprs ou contacte
6、z le Comit national de lIEC de votre pays de rsidence. IEC Central Office Tel.: +41 22 919 02 11 3, rue de Varemb Fax: +41 22 919 03 00 CH-1211 Geneva 20 infoiec.ch Switzerland www.iec.ch About the IEC The International Electrotechnical Commission (IEC) is the leading global organization that prepar
7、es 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
8、 published. IEC Catalogue - webstore.iec.ch/catalogue The stand-alone application for consulting the entire bibliographical information on IEC International Standards, Technical Specifications, Technical Reports and other documents. Available for PC, Mac OS, Android Tablets and iPad. IEC publication
9、s search - www.iec.ch/searchpub The advanced search enables to find IEC publications by a variety of criteria (reference number, text, technical committee,). It also gives information on projects, replaced and withdrawn publications. IEC Just Published - webstore.iec.ch/justpublished Stay up to date
10、 on all new IEC publications. Just Published details all new publications released. Available online and also once a month by email. Electropedia - www.electropedia.org The worlds leading online dictionary of electronic and electrical terms containing more than 30 000 terms and definitions in Englis
11、h and French, with equivalent terms in 14 additional languages. Also known as the International Electrotechnical Vocabulary (IEV) online. IEC Glossary - std.iec.ch/glossary More than 55 000 electrotechnical terminology entries in English and French extracted from the Terms and Definitions clause of
12、IEC publications issued since 2002. Some entries have been collected from earlier publications of IEC TC 37, 77, 86 and CISPR. IEC Customer Service Centre - webstore.iec.ch/csc If you wish to give us your feedback on this publication or need further assistance, please contact the Customer Service Ce
13、ntre: csciec.ch. A propos de lIEC La Commission Electrotechnique Internationale (IEC) est la premire organisation mondiale qui labore et publie des Normes internationales pour tout ce qui a trait llectricit, llectronique et aux technologies apparentes. A propos des publications IEC Le contenu techni
14、que des publications IEC est constamment revu. Veuillez vous assurer que vous possdez ldition la plus rcente, un corrigendum ou amendement peut avoir t publi. Catalogue IEC - webstore.iec.ch/catalogue Application autonome pour consulter tous les renseignements bibliographiques sur les Normes interna
15、tionales, Spcifications techniques, Rapports techniques et autres documents de lIEC. Disponible pour PC, Mac OS, tablettes Android et iPad. Recherche de publications IEC - www.iec.ch/searchpub La recherche avance permet de trouver des publications IEC en utilisant diffrents critres (numro de rfrence
16、, texte, comit dtudes,). Elle donne aussi des informations sur les projets et les publications remplaces ou retires. IEC Just Published - webstore.iec.ch/justpublished Restez inform sur les nouvelles publications IEC. Just Published dtaille les nouvelles publications parues. Disponible en ligne et a
17、ussi une fois par mois par email. Electropedia - www.electropedia.org Le premier dictionnaire en ligne de termes lectroniques et lectriques. Il contient plus de 30 000 termes et dfinitions en anglais et en franais, ainsi que les termes quivalents dans 14 langues additionnelles. Egalement appel Vocab
18、ulaire Electrotechnique International (IEV) en ligne. Glossaire IEC - std.iec.ch/glossary Plus de 55 000 entres terminologiques lectrotechniques, en anglais et en franais, extraites des articles Termes et Dfinitions des publications IEC parues depuis 2002. Plus certaines entres antrieures extraites
19、des publications des CE 37, 77, 86 et CISPR de lIEC. Service Clients - webstore.iec.ch/csc Si vous dsirez nous donner des commentaires sur cette publication ou si vous avez des questions contactez-nous: csciec.ch. IEC 61158-4-13 Edition 2.0 2014-08 INTERNATIONAL STANDARD NORME INTERNATIONALE Industr
20、ial communication networks Fieldbus specifications Part 4-13: Data-link layer protocol specification Type 13 elements Rseaux de communication industriels Spcifications des bus de terrain Partie 4-13: Spcification du protocole de la couche liaison de donnes lments de type 13 INTERNATIONAL ELECTROTECH
21、NICAL COMMISSION COMMISSION ELECTROTECHNIQUE INTERNATIONALE XC ICS 25.040.40; 35.100.20; 35.110 PRICE CODE CODE PRIX ISBN 978-2-8322-1725-2 Registered trademark of the International Electrotechnical Commission Marque dpose de la Commission Electrotechnique Internationale Warning! Make sure that you
22、obtained this publication from an authorized distributor. Attention! Veuillez vous assurer que vous avez obtenu cette publication via un distributeur agr. 2 IEC 61158-4-13:2014 IEC 2014 CONTENTS FOREWORD . 5 INTRODUCTION . 7 1 Scope . 8 1.1 General . 8 1.2 Specifications 8 1.3 Procedures 8 1.4 Appli
23、cability . 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 Service convention terms and definitions . 11 3.3 Data-link service terms and definitions 12 3.4 Symbols and abbreviations 16 3
24、.5 Common conventions 17 3.6 Additional conventions 18 4 Overview of the DL-protocol . 18 4.1 Overview . 18 4.2 General description . 18 4.3 Service assumed from the PhL 21 4.4 DLL architecture 22 4.5 Local parameters and variables . 23 5 General structure and encoding of PhPDUs and DLPDU and relate
25、d elements of procedure . 26 5.1 Overview . 26 5.2 MA_PDU structure and encoding . 26 5.3 Common MAC frame structure, encoding and elements of procedure 26 5.4 Invalid DLPDU . 28 6 DLPDU-specific structure, encoding and elements of procedure . 29 6.1 General . 29 6.2 Overview . 29 6.3 Start of synch
26、ronization (SoC) . 29 6.4 PollRequest (PReq) . 31 6.5 Poll response (PRes) 34 6.6 Start of asynchronous (SoA) 37 6.7 Asynchronous send (ASnd) . 41 7 DLE elements of procedure 45 7.1 Overall structure 45 7.2 Cycle state machine (CSM) . 45 7.3 Isochronous transmission TX/RX control (ITC) 64 7.4 Asynch
27、ronous transmission TX/RX control (ATC) 69 7.5 Asynchronous slot scheduler (ASS) . 74 7.6 Exception signaling (ES) . 75 7.7 NMT signaling (NS) . 78 7.8 DLL management protocol . 79 Bibliography 83 IEC 61158-4-13:2014 IEC 2014 3 Figure 1 Relationships of DLSAPs, DLSAP-addresses and group DL-addresses
28、 14 Figure 2 Slot communication network management 19 Figure 3 Overall flow of data frames during one cycle 19 Figure 4 Interaction of PhS primitives to DLE . 21 Figure 5 Data-link layer internal architecture 23 Figure 6 Type 13 fieldbus DLPDU 26 Figure 7 State transition diagram of the MNs CSM . 51
29、 Figure 8 State transition diagram of MNs CSM at CSM_MS_NON_CYCLIC . 53 Figure 9 State transition diagram of MNs CSM at CSM_MS_CYCLIC . 55 Figure 10 State transition diagram of the CNs CSM . 59 Figure 11 State transition diagram of CNs CSM at CSM_CS_NON_CYCLIC 60 Figure 12 State transition diagram o
30、f CNs CSM at CSM_CS_CYCLIC 61 Figure 13 Multiple slot assignment example . 65 Figure 14 Time triggered PRes example 67 Figure 15 State transition diagram of ITC . 68 Figure 16 State transition diagram of ATC . 71 Figure 17 State transition diagram of ASS . 74 Figure 18 State transition diagram of ES
31、 77 Figure 19 State transition diagram of NS 79 Figure 20 State transition diagram of DLM . 81 Table 1 Data-link layer components . 22 Table 2 MAC multicast addresses 27 Table 3 Message types 27 Table 4 Node ID assignment 28 Table 5 Structure of SoC DLPDU . 30 Table 6 Structure of SoC-Flag 30 Table
32、7 Structure of PReq DLPDU . 32 Table 8 Structure of PReq-Flag 33 Table 9 Structure of PRes DLPDU . 34 Table 10 Structure of PRes-Flag 35 Table 11 Structure of SoA DLPDU . 38 Table 12 Structure of SoA-Flag 38 Table 13 Definition of the RequestedServiceID in the SoA DLPDU. 39 Table 14 Structure of ASn
33、d DLPDU . 42 Table 15 Definition of the ServiceID in the ASnd DLPDU . 42 Table 16 Structure of NMTRequest user data. 43 Table 17 Primitives exchanged between CSM and ITC 46 Table 18 Parameters used with primitives exchanged between CSM and ITC 46 Table 19 Primitives exchanged between CSM and ATC . 4
34、7 Table 20 Parameters used with primitives exchanged between CSM and ATC . 47 Table 21 Primitives exchanged between CSM and ASS . 48 4 IEC 61158-4-13:2014 IEC 2014 Table 22 Parameters used with primitives exchanged between CSM and ASS . 48 Table 23 Primitives exchanged between CSM and ES . 49 Table
35、24 Parameters used with primitives exchanged between CSM and ES . 49 Table 25 Primitives exchanged between CSM and NS . 49 Table 26 Parameters used with primitives exchanged between CSM and NS . 50 Table 27 Primitives exchanged between CSM and DLM . 50 Table 28 Parameters used with primitives exchan
36、ged between CSM and DLM . 50 Table 29 Transitions of the MNs CSM 52 Table 30 Transitions of MNs CSM at CSM_MS_NON_CYCLIC 53 Table 31 Transitions of MNs CSM at CSM_MS_CYCLIC 56 Table 32 Transitions of the CNs CSM 59 Table 33 Transitions of CNs CSM at CSM_CS_NON_CYCLIC . 60 Table 34 Transitions of CNs
37、 CSM at CSM_CS_CYCLIC . 61 Table 35 CSM function table 63 Table 36 Example of isochronous slot assignment . 66 Table 37 Primitives exchanged between ITC and DLS-user . 67 Table 38 Parameters used with primitives exchanged between ITC and DLS-user . 68 Table 39 Transitions of ITC 68 Table 40 ITC func
38、tion table 69 Table 41 Primitives exchanged between ATC and DLS-user 69 Table 42 Parameters used with primitives exchanged between ATC and DLS-user 70 Table 43 Primitives exchanged between ATC and ES 71 Table 44 Parameters used with primitives exchanged between ATC and ES 71 Table 45 Transitions of
39、ATC 72 Table 46 ATC function table . 74 Table 47 Transitions of ASS 75 Table 48 ASS function table . 75 Table 49 Primitives exchanged between ES and DLS-user 76 Table 50 Parameters used with primitives exchanged between ES and DLS-user 76 Table 51 Transitions of ES . 77 Table 52 Primitives exchanged
40、 between NS and DLS-user 78 Table 53 Parameters used with primitives exchanged between NS and DLS-user 78 Table 54 Transitions of NS . 79 Table 55 Primitives exchanged between DLM and DLS-user 79 Table 56 Parameters used with primitives exchanged between DLM and DLS-user 80 Table 57 Transitions of D
41、LM 81 Table 58 DLM function table 82 IEC 61158-4-13:2014 IEC 2014 5 INTERNATIONAL ELECTROTECHNICAL COMMISSION _ INDUSTRIAL COMMUNICATION NETWORKS FIELDBUS SPECIFICATIONS Part 4-13: Data-link layer protocol specification Type 13 elements FOREWORD 1) The International Electrotechnical Commission (IEC)
42、 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
43、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 preparation is entrusted to technical committees; any IEC National Committee interested i
44、n the subject dealt with may participate in this preparatory work. International, governmental and non- governmental organizations liaising with the IEC also participate in this preparation. IEC collaborates closely with the International Organization for Standardization (ISO) in accordance with con
45、ditions determined by agreement between the two organizations. 2) The formal decisions or agreements of IEC on technical matters express, as nearly as possible, an international consensus of opinion on the relevant subjects since each technical committee has representation from all interested IEC Na
46、tional Committees. 3) IEC Publications have the form of recommendations for international use and are accepted by IEC National Committees in that sense. While all reasonable efforts are made to ensure that the technical content of IEC Publications is accurate, IEC cannot be held responsible for the
47、way in which they are used or for any misinterpretation by any end user. 4) In order to promote international uniformity, IEC National Committees undertake to apply IEC Publications transparently to the maximum extent possible in their national and regional publications. Any divergence between any I
48、EC Publication and the corresponding national or regional publication shall be clearly indicated in the latter. 5) IEC itself does not provide any attestation of conformity. Independent certification bodies provide conformity assessment services and, in some areas, access to IEC marks of conformity. IEC is not responsible for any services carried out by independent certification bodies. 6) All users should ensure that they have the latest edition of this publication. 7) No liability shall attach to IEC or its directors, employees, servants or agents including individual