1、 IEC 61158-4-16 Edition 1.0 2007-12 INTERNATIONAL STANDARD NORME INTERNATIONALE Industrial communication networks Fieldbus specifications Part 4-16: Data-link layer protocol specification Type 16 elements Rseaux de communication industriels Spcifications des bus de terrain Partie 4-16: Spcification
2、de protocole de la couche de liaison de donnes lments de Type 16 IEC 61158-4-16:2007 colour inside THIS PUBLICATION IS COPYRIGHT PROTECTED Copyright 2007 IEC, Geneva, Switzerland All rights reserved. Unless otherwise specified, no part of this publication may be reproduced or utilized in any form or
3、 by any 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 p
4、ublication, 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, lectroni
5、que ou mcanique, y compris la photocopie et les microfilms, sans laccord 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 dsirez obtenir des droits supplmentaires sur cette publication, utilisez les coordonnes ci-apr
6、s ou contactez le Comit national de la CEI 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 organizat
7、ion 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
8、might have been published. Useful links: IEC publications search - www.iec.ch/searchpub The advanced search enables you 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 Ju
9、st Published - webstore.iec.ch/justpublished Stay up to date on all new IEC publications. Just Published details all new publications released. Available on-line and also once a month by email. Electropedia - www.electropedia.org The worlds leading online dictionary of electronic and electrical term
10、s containing more than 30 000 terms and definitions in English and French, with equivalent terms in additional languages. Also known as the International Electrotechnical Vocabulary (IEV) on-line. Customer Service Centre - webstore.iec.ch/csc If you wish to give us your feedback on this publication
11、or need further assistance, please contact the Customer Service Centre: csciec.ch. A propos de la CEI La Commission Electrotechnique Internationale (CEI) est la premire organisation mondiale qui labore et publie des Normes internationales pour tout ce qui a trait llectricit, llectronique et aux tech
12、nologies apparentes. A propos des publications CEI Le contenu technique des publications de la CEI est constamment revu. Veuillez vous assurer que vous possdez ldition la plus rcente, un corrigendum ou amendement peut avoir t publi. Liens utiles: Recherche de publications CEI - www.iec.ch/searchpub
13、La recherche avance vous permet de trouver des publications CEI en utilisant diffrents critres (numro de rfrence, texte, comit dtudes,). Elle donne aussi des informations sur les projets et les publications remplaces ou retires. Just Published CEI - webstore.iec.ch/justpublished Restez inform sur le
14、s nouvelles publications de la CEI. Just Published dtaille les nouvelles publications parues. Disponible en ligne et aussi une fois par mois par email. Electropedia - www.electropedia.org Le premier dictionnaire en ligne au monde de termes lectroniques et lectriques. Il contient plus de 30 000 terme
15、s et dfinitions en anglais et en franais, ainsi que les termes quivalents dans les langues additionnelles. Egalement appel Vocabulaire Electrotechnique International (VEI) en ligne. Service Clients - webstore.iec.ch/csc Si vous dsirez nous donner des commentaires sur cette publication ou si vous ave
16、z des questions contactez-nous: csciec.ch. IEC 61158-4-16 Edition 1.0 2007-12 INTERNATIONAL STANDARD NORME INTERNATIONALE Industrial communication networks Fieldbus specifications Part 4-16: Data-link layer protocol specification Type 16 elements Rseaux de communication industriels Spcifications des
17、 bus de terrain Partie 4-16: Spcification de protocole de la couche de liaison de donnes lments de Type 16 INTERNATIONAL ELECTROTECHNICAL COMMISSION COMMISSION ELECTROTECHNIQUE INTERNATIONALE XE ICS 25.040.40; 35.100.20 PRICE CODE CODE PRIX ISBN 978-2-8322-0990-5 Registered trademark of the Internat
18、ional Electrotechnical Commission Marque dpose de la Commission Electrotechnique Internationale Warning! Make sure that you obtained this publication from an authorized distributor. Attention! Veuillez vous assurer que vous avez obtenu cette publication via un distributeur agr. colour inside 2 61158
19、-4-16 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 . 10 2 Normative references . 11 3 Terms, definitions, symbols, abbreviations and conventions . 11 3.1 Reference model terms and definiti
20、ons 11 3.2 Service convention terms and definitions . 13 3.3 Other terms and definitions . 14 3.4 Abbreviations 18 3.5 Symbols 20 3.6 DLPDU IDN concept 21 4 DL-protocol overview 21 5 Basic DLPDU structure . 22 5.1 Overview . 22 5.2 MST DLPDU 23 5.3 MDT DLPDU . 24 5.4 AT DLPDU 31 6 Network management
21、 methods . 38 6.1 Overview . 38 6.2 Enable and disable cyclic communication 38 6.3 File transfer . 43 6.4 Status procedures . 44 7 Data transmission methods 44 7.1 Overview . 44 7.2 SVC 44 7.3 RTC 56 8 DL management . 57 8.1 Overview . 57 8.2 Access to PhL . 57 9 Error handling and monitoring 62 9.1
22、 Invalid telegrams . 62 9.2 Response to MDT and AT telegram failure 63 9.3 Reaction to handshake timeout . 64 9.4 Service channel error messages 65 9.5 Reaction to error messages in the service channel 67 9.6 Error counters in the master and the slave 67 9.7 Error effects on communication phases . 6
23、9 9.8 Monitoring in the master 69 9.9 Monitoring in the slave 70 Annex A (normative) IDN Identification numbers . 72 A.1 IDN specification . 72 61158-4-16 IEC:2007 3 A.2 Identification numbers in numerical orders 79 A.3 Detailed specification of communication-related IDNs . 80 Bibliography 108 Figur
24、e 1 Relationships of DLSAPs, DLSAP-addresses and group DL-addresses 16 Figure 2 Master service INFO field k 26 Figure 3 Structure of the master data telegram 27 Figure 4 Device service INFO field m . 32 Figure 5 Timing of U/D bits in CP5 . 36 Figure 6 Timing of U/D bits in CP6 . 38 Figure 7 Switchin
25、g to CP0 43 Figure 8 Phase transitions . 43 Figure 9 Service channel handling diagram 46 Figure 10 Communication step proceeding diagram . 48 Figure 11 State machine for procedure command execution 53 Figure 12 Interaction of procedure command control and acknowledgement 54 Figure 13 Procedure comma
26、nd execution without interrupt 55 Figure 14 Procedure command execution with interrupt . 55 Figure 15 Procedure command execution with error message 56 Figure 16 Access to the transfer medium . 58 Figure 17 Timing diagram for CP0 . 59 Figure 18 Telegram transmission starting times of CP1 and CP2 . 5
27、9 Figure 19 Timing diagram for cyclic operation 60 Figure 20 Telegram transmission times in CP5 61 Figure 21 Telegram transmission times in CP6 61 Figure 22 Required time intervals between telegrams 62 Figure A.1 General IDN structure . 73 Figure A.2 IDN name structure . 73 Figure A.3 IDN data unit
28、structure 76 Figure A.4 Structure of IDN operation data with variable length . 77 Figure A.5 Example of the structure of an IDN-list 78 Figure A.6 SLKN example 95 Table 1 General telegram structure 22 Table 2 BOF field . 22 Table 3 Device address field 23 Table 4 FCS field . 23 Table 5 Master synchr
29、onization telegram structure 23 Table 6 MST INFO field . 24 Table 7 Data fields of the master data telegram . 24 Table 8 Master real-time data (for each device) . 25 Table 9 Control word description (DLL) 25 Table 10 Structure of the ID request telegram in CP1 26 4 61158-4-16 IEC:2007 Table 11 Struc
30、ture of MDT in CP5 . 27 Table 12 Structure of Data Record in MDT in CP5 . 28 Table 13 File block size in CP5 28 Table 14 U/D control word in CP5 28 Table 15 Structure of MDT in CP6 . 29 Table 16 Structure of data record field in MDT in CP6 . 30 Table 17 U/D control word in CP6 30 Table 18 Data field
31、 of the acknowledge telegram . 31 Table 19 AT real-time data (for each device). 31 Table 20 Status word description (DLL) . 32 Table 21 Structure of the ID acknowledge telegram in CP1 33 Table 22 Structure of the operation data of device m in acknowledge telegram 33 Table 23 Structure of AT in CP5 3
32、4 Table 24 Structure of data record in AT in CP5 34 Table 25 U/D status word in CP5 . 34 Table 26 File block index in CP5 35 Table 27 Structure of AT in CP6 36 Table 28 Structure of data record in AT in CP6 36 Table 29 File block size in CP6 36 Table 30 U/D status word in CP6 . 37 Table 31 File bloc
33、k index in CP6 38 Table 32 List of IDNs element and step numbers . 47 Table 33 Condition for modifying data block elements 47 Table 34 SVC channel evaluation 49 Table 35 IDN for list transfer 50 Table 36 Procedure command control 50 Table 37 Procedure command acknowledgment (data status) 51 Table 38
34、 Allowed jitter . 58 Table 39 Jitter in t 260 Table 40 Jitter in t 161 Table 41 Loss or failure of master synchronization telegram (MST) . 63 Table 42 Failure of master data telegrams (MDT) 64 Table 43 Failure of acknowledge telegrams (AT) 64 Table 44 Reaction to handshake timeout . 64 Table 45 Erro
35、r messages . 65 Table 46 Reaction to error message 67 Table 47 States of error counters 1 in the master for MST and AT failures . 67 Table 48 States of error counter 1 in the devices for MST-failures in CP3 and CP4 . 67 Table 49 States of error counter 1 in the devices for MDT-failures in CP4 67 Tab
36、le 50 States of error counters 2 in the master for AT-failures 68 Table 51 States of error counter 2 in the devices for MST-failures . 68 Table 52 States of error counter 2 in the devices for MDT-failures . 69 Table 53 Master monitoring 70 61158-4-16 IEC:2007 5 Table 54 Slave monitoring . 71 Table A
37、.1 Data block structure . 72 Table A.2 IDN structure . 73 Table A.3 Element 3 of IDNs 74 Table A.4 Valid combinations of the display formats 75 Table A.5 Data status structure 79 Table A.6 Communication related IDN list that are relevant for Type 16 . 79 Table A.7 Attributes for IDN S-0-0001 81 Tabl
38、e A.8 Attributes for IDN S-0-0002 81 Table A.9 Attributes for IDN S-0-0003 82 Table A.10 Attributes for IDN S-0-0004 82 Table A.11 Attributes for IDN S-0-0006 83 Table A.12 Attributes for IDN S-0-0008 83 Table A.13 Attributes for IDN S-0-0009 84 Table A.14 Attributes for IDN S-0-0010 84 Table A.15 A
39、ttributes for IDN S-0-0011 85 Table A.16 Structure of C1D 85 Table A.17 Attributes for IDN S-0-0014 86 Table A.18 Structure of interface status . 86 Table A.19 Attributes for IDN S-0-0015 87 Table A.20 Structure of telegram type parameter . 88 Table A.21 Attributes for IDN S-0-0016 88 Table A.22 Att
40、ributes for IDN S-0-0018 89 Table A.23 Attributes for IDN S-0-0019 89 Table A.24 Attributes for IDN S-0-0021 90 Table A.25 Attributes for IDN S-0-0022 90 Table A.26 Attributes for IDN S-0-0024 91 Table A.27 Attributes for IDN S-0-0028 91 Table A.28 Attributes for IDN S-0-0029 92 Table A.29 Attribute
41、s for IDN S-0-0087 92 Table A.30 Attributes for IDN S-0-0088 93 Table A.31 Attributes for IDN S-0-0089 93 Table A.32 Attributes for IDN S-0-0090 94 Table A.33 Attributes for IDN S-0-0096 94 Table A.34 Structure of SLKN 95 Table A.35 Attributes for IDN S-0-0097 95 Table A.36 Structure of Mask C2D . 9
42、6 Table A.37 Attributes for IDN S-0-0098 96 Table A.38 Structure of Mask C3D . 96 Table A.39 Attributes for IDN S-0-0127 97 Table A.40 Attributes for IDN S-0-0128 97 Table A.41 Attributes for IDN S-0-0134 98 Table A.42 Attributes for IDN S-0-0135 98 6 61158-4-16 IEC:2007 Table A.43 Attributes for ID
43、N S-0-0143 99 Table A.44 Structure of Type 16 version 99 Table A.45 Attributes for IDN S-0-0185 100 Table A.46 Attributes for IDN S-0-0186 100 Table A.47 Attributes for IDN S-0-0187 101 Table A.48 Attributes for IDN S-0-0188 101 Table A.49 Attributes for IDN S-0-0301 102 Table A.50 Attributes for ID
44、N S-0-0303 102 Table A.51 Attributes for IDN S-0-0305 103 Table A.52 Attributes for IDN S-0-0307 103 Table A.53 Attributes for IDN S-0-0394 104 Table A.54 Attributes for IDN S-0-0395 104 Table A.55 Attributes for IDN S-0-0396 105 Table A.56 Attributes for IDN S-0-0397 105 Table A.57 Attributes for I
45、DN S-0-0413 106 Table A.58 Attributes for IDN S-0-0414 106 Table A.59 Attributes for IDN S-0-0415 107 Table A.60 Attributes for IDN S-0-0416 107 61158-4-16 IEC:2007 7 INTERNATIONAL ELECTROTECHNICAL COMMISSION _ INDUSTRIAL COMMUNICATION NETWORKS FIELDBUS SPECIFICATIONS Part 4-16: Data-link layer prot
46、ocol specification Type 16 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 questio
47、ns 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 (hereafter referred to as “IEC Publication(s)
48、”). Their preparation is entrusted to technical committees; 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 o