1、 IEC 61158-5-12 Edition 3.0 2014-08 INTERNATIONAL STANDARD NORME INTERNATIONALE Industrial communication networks Fieldbus specifications Part 5-12: Application layer service definition Type 12 elements Rseaux de communication industriels Spcifications des bus de terrain Partie 5-12: Dfinition des s
2、ervices de la couche application lments de type 12 IEC 61158-5-12:2014-08(en-fr) colour inside 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
3、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 publi
4、cation, 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
5、ou 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 conta
6、ctez 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 pre
7、pares 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 b
8、een 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 publicat
9、ions 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 d
10、ate 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 Eng
11、lish 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
12、of 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
13、 Centre: 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 tec
14、hnique 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 inte
15、rnationales, 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 rfre
16、nce, 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 e
17、t aussi 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 Vo
18、cabulaire 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 extrait
19、es 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-5-12 Edition 3.0 2014-08 INTERNATIONAL STANDARD NORME INTERNATIONALE Indu
20、strial communication networks Fieldbus specifications Part 5-12: Application layer service definition Type 12 elements Rseaux de communication industriels Spcifications des bus de terrain Partie 5-12: Dfinition des services de la couche application lments de type 12 INTERNATIONAL ELECTROTECHNICAL CO
21、MMISSION COMMISSION ELECTROTECHNIQUE INTERNATIONALE XF ICS 25.040.40; 35.100.70; 35.110 PRICE CODE CODE PRIX ISBN 978-2-8322-1737-5 Registered trademark of the International Electrotechnical Commission Marque dpose de la Commission Electrotechnique Internationale Warning! Make sure that you obtained
22、 this publication from an authorized distributor. Attention! Veuillez vous assurer que vous avez obtenu cette publication via un distributeur agr. colour inside 2 IEC 61158-5-12:2014 IEC 2014 CONTENTS FOREWORD. 5 INTRODUCTION . 7 1 Scope 8 1.1 General . 8 1.2 Specifications 9 1.3 Conformance . 9 2 N
23、ormative references . 9 3 Terms, definitions, symbols, abbreviations and conventions 10 3.1 Reference model terms and definitions . 10 3.2 Service convention terms and definitions 11 3.3 Application layer and data-link service terms and definitions . 11 3.4 Common symbols and abbreviations 15 3.5 Co
24、nventions 16 4 Concepts 17 4.1 Common concepts . 17 4.2 Type specific concepts 17 5 Data type ASE 26 5.1 General . 26 5.2 Formal definition of data type objects . 26 5.3 FAL defined data types 26 5.4 Data type ASE service specification . 35 6 Communication model specification 35 6.1 ASEs . 35 6.2 AR
25、 116 Bibliography . 129 Figure 1 Producer consumer model 19 Figure 2 Client server model 19 Figure 3 Server triggered invocation . 19 Figure 4 Slave reference model 21 Figure 5 Simple slave device 22 Figure 6 Complex slave device . 23 Figure 7 Master functional overview . 24 Figure 8 Process output
26、data sequence 36 Figure 9 Process input data sequence 37 Figure 10 CoE server model . 55 Figure 11 Successful single SDO-Download sequence 60 Figure 12 Unsuccessful single SDO-Download sequence 61 Figure 13 Successful segmented SDO-Download sequence 62 Figure 14 Successful single SDO-Upload sequence
27、 63 Figure 15 Unsuccessful single SDO-Upload sequence 64 Figure 16 Successful segmented SDO-Upload sequence 65 IEC 61158-5-12:2014 IEC 2014 3 Figure 17 SDO information sequence . 66 Figure 18 Emergency service . 67 Figure 19 Command sequence . 68 Figure 20 PDO mapping . 70 Figure 21 Sync manager PDO
28、 assigment . 71 Figure 22 RxPDO service . 73 Figure 23 TxPDO service . 74 Figure 24 RxPDO remote transmission sequence . 75 Figure 25 TxPDO remote transmission sequence 76 Figure 26 EoE sequence 96 Figure 27 FoE read sequence with success 104 Figure 28 FoE read sequence with error . 105 Figure 29 Fo
29、E write sequence with success 106 Figure 30 FoE write sequence with error. 107 Figure 31 FoE write sequence with busy . 108 Figure 32 Successful AL control sequence . 118 Figure 33 Unsuccessful AL control sequence 119 Figure 34 AL state changed sequence 120 Table 1 Process output data . 39 Table 2 P
30、rocess input data . 40 Table 3 Update process input data . 41 Table 4 SII read . 49 Table 5 SII write 50 Table 6 SII reload 51 Table 7 Allocation of SDO areas. 55 Table 8 SDO download expedited . 80 Table 9 SDO download normal . 81 Table 10 Download SDO segment 82 Table 11 SDO upload expedited . 83
31、Table 12 SDO upload normal . 84 Table 13 Upload SDO segment 85 Table 14 Abort SDO transfer 85 Table 15 Get OD list 86 Table 16 OD list segment . 87 Table 17 Get object description 88 Table 18 Get entry description . 89 Table 19 Object entry segment . 91 Table 20 Emergency 92 Table 21 RxPDO 93 Table
32、22 TxPDO 93 Table 23 RxPDO remote transmission 94 Table 24 TxPDO remote transmission 94 4 IEC 61158-5-12:2014 IEC 2014 Table 25 Initiate EoE 99 Table 26 EoE fragment 100 Table 27 Set IP parameter . 101 Table 28 Set address filter . 102 Table 29 FoE read . 109 Table 30 FoE write . 110 Table 31 FoE da
33、ta . 110 Table 32 FoE ack . 111 Table 33 FoE busy . 111 Table 34 FoE error . 112 Table 35 MBX read 113 Table 36 MBX write 114 Table 37 MBX read upd . 115 Table 38 AL management and ESM service primitives 117 Table 39 AL control 127 Table 40 AL state change 128 IEC 61158-5-12:2014 IEC 2014 5 INTERNAT
34、IONAL ELECTROTECHNICAL COMMISSION _ INDUSTRIAL COMMUNICATION NETWORKS FIELDBUS SPECIFICATIONS Part 5-12: Application layer service definition Type 12 elements FOREWORD 1) The International Electrotechnical Commission (IEC) is a worldwide organization for standardization comprising all national elect
35、rotechnical 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 to other activities, IEC publishes International Standards, Technical Specific
36、ations, 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 in the subject dealt with may participate in this preparatory work. Internation
37、al, 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 de
38、cisions 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 National Committees. 3) IEC Publications have the form of recommendations for int
39、ernational 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 way in which they are used or for any misinterpretation by any end user. 4) In
40、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 IEC Publication and the corresponding national or regional publication shall be
41、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 certificati
42、on 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 experts and members of its technical committees and IEC National Committees for any personal injury, p
43、roperty damage or other damage of any nature whatsoever, whether direct or indirect, or for costs (including legal fees) and expenses arising out of the publication, use of, or reliance upon, this IEC Publication or any other IEC Publications. 8) Attention is drawn to the Normative references cited
44、in this publication. Use of the referenced publications is indispensable for the correct application of this publication. 9) Attention is drawn to the possibility that some of the elements of this IEC Publication may be the subject of patent rights. IEC shall not be held responsible for identifying
45、any or all such patent rights. Attention is drawn to the fact that the use of the associated protocol type is restricted by its intellectual-property-right holders. In all cases, the commitment to limited release of intellectual-property-rights made by the holders of those rights permits a layer pro
46、tocol type to be used with other layer protocols of the same type, or in other type combinations explicitly authorized by its intellectual-property-right holders. NOTE Combinations of protocol types are specified in IEC 61784-1 and IEC 61784-2. International Standard IEC 61158-5-12 has been prepared
47、 by subcommittee 65C: Industrial networks, of IEC technical committee 65: Industrial-process measurement, control and automation. This third edition cancels and replaces the second edition published in 2010. This edition constitutes a technical revision. The main changes with respect to the previous
48、 edition are listed below: 6 IEC 61158-5-12:2014 IEC 2014 bug fixes; editorial improvements; support of Explicit Device Identification added in ESM (see 6.2.2) The text of this standard is based on the following documents: FDIS Report on voting 65C/763/FDIS 65C/773/RVD Full information on the voting for the approval of this standard can be found in the report on voting indicated in the above table. This publication has been drafted in accordance with ISO/IEC Directives, Part 2. A list of all parts of the IEC 61158 series, published under the general title Industrial co