1、 IEC 61158-4-24 Edition 1.0 2014-08 INTERNATIONAL STANDARD NORME INTERNATIONALE Industrial communication networks Fieldbus specifications Part 4-24: Data-link layer protocol specification Type 24 elements Rseaux de communication industriels Spcifications des bus de terrain Partie 4-24: Spcification
2、du protocole de la couche liaison de donnes lments de type 24 IEC 61158-4-24: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-24 Edition 1.0 2014-08 INTERNATIONAL STANDARD NORME INTERNATIONALE Industr
20、ial communication networks Fieldbus specifications Part 4-24: Data-link layer protocol specification Type 24 elements Rseaux de communication industriels Spcifications des bus de terrain Partie 4-24: Spcification du protocole de la couche liaison de donnes lments de type 24 INTERNATIONAL ELECTROTECH
21、NICAL COMMISSION COMMISSION ELECTROTECHNIQUE INTERNATIONALE XE ICS 25.040.40; 35.100.20; 35.110 PRICE CODE CODE PRIX ISBN 978-2-8322-1730-6 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-24:2014 IEC 2014 CONTENTS FOREWORD . 6 INTRODUCTION . 8 1 Scope . 10 1.1 General . 10 1.2 Specifications 10 1.3 Procedures 10 1.4 A
23、pplicability . 11 1.5 Conformance . 11 2 Normative references . 11 3 Terms, definitions, symbols, abbreviations and conventions . 12 3.1 Reference model terms and definitions 12 3.2 Service convention terms and definitions . 13 3.3 Common terms and definitions 13 3.4 Symbols and abbreviations 15 3.5
24、 Additional type 24 symbols and abbreviations . 16 3.6 Common Conventions . 17 3.7 Additional Type 24 conventions . 18 4 Overview of DL-protocol . 19 4.1 Characteristic feature of DL-protocol . 19 4.2 DL layer component 20 4.3 Timing sequence . 20 4.4 Service assumed from PhL 28 4.5 Local parameters
25、, variable, counters, timers . 29 5 DLPDU structure 34 5.1 Overview . 34 5.2 Basic format DLPDU structure . 35 5.3 Short format DLPDU structure . 43 6 DLE element procedure 47 6.1 Overview . 47 6.2 Cyclic transmission control sublayer 47 6.3 Send Receive Control 96 7 DL-management layer (DLM) 103 7.
26、1 Overview . 103 7.2 Primitive definitions . 103 7.3 DLM protocol machine . 104 7.4 Functions 113 Bibliography 115 Figure 1 Data-link layer component 20 Figure 2 Timing chart of fixed-width time slot type cyclic communication 21 Figure 3 Timing chart of configurable time slot type cyclic communicati
27、on . 23 Figure 4 Schematic Diagram of Communication Interrupt Occurrence 25 Figure 5 Timing relationship between cyclic transmission and data processing 27 Figure 6 Timing chart example of acyclic communication . 28 IEC 61158-4-24:2014 IEC 2014 3 Figure 7 Basic format DLPDU structure 35 Figure 8 Sho
28、rt format DLPDU structure 43 Figure 9 The state diagram of C1 master for fixed-width time slot 49 Figure 10 The state diagram of C2 master for fixed-width time slot 55 Figure 11 The state diagram of slave for fixed-width time slot 59 Figure 12 The state diagram of C1 master for configurable time slo
29、t 62 Figure 13 The state diagram of C2 master for configurable time slot 70 Figure 14 The state diagram of slave for configurable time slot 73 Figure 15 The state diagram of message initiator for basic format 77 Figure 16 The state diagram of message responder for basic format . 81 Figure 17 The sta
30、te diagram of message initiator for short format 85 Figure 18 The state diagram of message responder for short format 89 Figure 19 The state diagram of acyclic transmission protocol machine . 94 Figure 20 Internal architecture of one-port SRC . 98 Figure 21 Internal architecture of multi-port SRC .
31、98 Figure 22 Internal architecture of serializer 98 Figure 23 Internal architecture of deserializer 100 Figure 24 State diagram of C1 master DLM . 105 Figure 25 State diagram of Slave and C2 master DLM . 110 Table 1 State transition descriptions 18 Table 2 Description of state machine elements 18 Ta
32、ble 3 Conventions used in state machines . 18 Table 4 Characteristic features of the fieldbus data-link protocol 19 Table 5 List of the values of variable Cyc_sel 29 Table 6 List of the values of variable Tunit . 30 Table 7 List of the values of variable PDUType 32 Table 8 List of the values of vari
33、able SlotType . 32 Table 9 Transfer syntax for bit sequences 34 Table 10 Bit order 35 Table 11 Destination and Source address format . 36 Table 12 Station address . 36 Table 13 Extended address . 36 Table 14 Message control field format (Information transfer format) . 36 Table 15 Message control fie
34、ld format (Supervisory format) . 37 Table 16 The list of Supervisory function bits . 37 Table 17 Frame type and Data length format . 37 Table 18 The list of Frame type 38 Table 19 Data format of Synchronous frame 38 Table 20 The field list of Synchronous frame 39 Table 21 Data format of Output data
35、or Input data frame 39 Table 22 The field list of Output data or Input data frame . 39 Table 23 Data format of Delay measurement start frame 40 4 IEC 61158-4-24:2014 IEC 2014 Table 24 The field list of Delay measurement start frame . 40 Table 25 Data format of Delay measurement frame 40 Table 26 The
36、 field list of Delay measurement frame . 40 Table 27 Data format of Status frame. 41 Table 28 The field list of Status frame 41 Table 29 The list of the DLE status 41 Table 30 The list of Repeater status 42 Table 31 Data format of Delay measurement frame 42 Table 32 The field list of Cycle Informati
37、on frame. 42 Table 33 Data format of Message frae . 43 Table 34 The field list of Message frame 43 Table 35 Range of Station address field. 44 Table 36 Control field format (I/O data exchange format) . 44 Table 37 Control field format (Message format) . 44 Table 38 The field list of Message format .
38、 45 Table 39 Data format of Synchronous frame 45 Table 40 The field list of Sync frame 46 Table 41 Data format of Output data frame 46 Table 42 The field list of Output data frame . 46 Table 43 Data format of Input data frame . 46 Table 44 The field list of Input data frame 46 Table 45 The primitive
39、s and parameters for DLS-user interface issued by DLS-user 47 Table 46 The primitives and parameters for DLS-user interface issued by CTC . 47 Table 47 The state table of C1 master for fixed-width time slot 49 Table 48 The state table of C2 master for fixed-width time slot 56 Table 49 The state tabl
40、e of slave for fixed-width time slot 59 Table 50 The state table of C1 master for configurable time slot 62 Table 51 The state table of C2 master for configurable time slot 71 Table 52 The state table of slave for configurable time slot 73 Table 53 The list of functions used by cyclic transmission m
41、achine 75 Table 54 The state table of message initiator for basic format 77 Table 55 The state table of message responder for basic format 81 Table 56 The state table of message initiator for short format 85 Table 57 The state table of message responder for short format 89 Table 58 List of functions
42、 used by the message segmentation machine . 93 Table 59 The state table of acyclic transmission protocol machine . 94 Table 60 The list of functions used acyclic transmission protocol machine . 95 Table 61 Primitives and parameters exchanged between CTC and DLM 96 Table 62 Error event primitive and
43、parameters . 96 Table 63 primitives and parameters for SRC-CTC interface . 97 Table 64 Send frame primitive and parameters 97 Table 65 Receive frame primitives and parameters 97 Table 66 Primitives and parameters exchanged between SRC and DLM 102 IEC 61158-4-24:2014 IEC 2014 5 Table 67 Get value pri
44、mitive and parameters . 103 Table 68 Error event primitive and parameters . 103 Table 69 The list of primitives and parameters (DLMS-user source) . 103 Table 70 The list of primitives and parameters (DLM source) . 104 Table 71 State table of C1-Master DLM . 105 Table 72 State table of Slave and C2 m
45、aster DLM . 110 Table 73 The list of the functions used by DLM protocol machine 113 6 IEC 61158-4-24:2014 IEC 2014 INTERNATIONAL ELECTROTECHNICAL COMMISSION _ INDUSTRIAL COMMUNICATION NETWORKS FIELDBUS SPECIFICATIONS Part 4-24: Data-link layer protocol specification Type 24 elements FOREWORD 1) The
46、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
47、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 preparation is entrusted to technical comm
48、ittees; any IEC National Committee interested in 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 conditions 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 consen