1、 IEC 61158-5-2 Edition 3.0 2014-08 INTERNATIONAL STANDARD NORME INTERNATIONALE Industrial communication networks Fieldbus specifications Part 5-2: Application layer service definition Type 2 elements Rseaux de communication industriels Spcifications des bus de terrain Partie 5-2: Dfinition des servi
2、ces de la couche application Elments de type 2 IEC 61158-5-2: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 any m
3、eans, 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 publicatio
4、n, 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 mc
5、anique, 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 contactez
6、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 prepares
7、 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 p
8、ublished. 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 publications
9、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 o
10、n 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 English
11、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 IE
12、C 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 Cent
13、re: 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 techniqu
14、e 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 internati
15、onales, 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 aus
17、si 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 Vocabul
18、aire 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 de
19、s 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-2 Edition 3.0 2014-08 INTERNATIONAL STANDARD NORME INTERNATIONALE Industrial
20、 communication networks Fieldbus specifications Part 5-2: Application layer service definition Type 2 elements Rseaux de communication industriels Spcifications des bus de terrain Partie 5-2: Dfinition des services de la couche application Elments de type 2 INTERNATIONAL ELECTROTECHNICAL COMMISSION
21、COMMISSION ELECTROTECHNIQUE INTERNATIONALE XH ICS 25.040.40; 35.100.70; 35.110 PRICE CODE CODE PRIX ISBN 978-2-8322-1731-3 Registered trademark of the International Electrotechnical Commission Marque dpose de la Commission Electrotechnique Internationale Warning! Make sure that you obtained this pub
22、lication from an authorized distributor. Attention! Veuillez vous assurer que vous avez obtenu cette publication via un distributeur agr. colour inside 2 IEC 61158-5-2:2014 IEC 2014 CONTENTS FOREWORD . 6 INTRODUCTION . 9 1 Scope . 10 1.1 General . 10 1.2 Specifications 11 1.3 Conformance . 11 2 Norm
23、ative references . 11 3 Terms, definitions, symbols, abbreviations and conventions . 13 3.1 ISO/IEC 7498-1 terms . 13 3.2 ISO/IEC 8822 terms 13 3.3 ISO/IEC 9545 terms 13 3.4 ISO/IEC 8824-1 terms . 13 3.5 Type 2 fieldbus data-link layer terms . 14 3.6 Type 2 fieldbus application-layer specific defini
24、tions 14 3.7 Type 2 abbreviations and symbols . 22 3.8 Conventions 23 4 Common concepts 26 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 36 6 Communication model specification 36 6.1 Concepts .
25、36 6.2 ASEs . 45 6.3 ARs . 175 6.4 Summary of FAL classes . 206 6.5 Permitted FAL services by AR type . 206 Bibliography 208 Figure 1 Overview of ASEs and object classes 38 Figure 2 Addressing format using MAC, class, instance and attribute IDs 39 Figure 3 Identity object state transition diagram .
26、58 Figure 4 Static Assembly state transition diagram 63 Figure 5 Dynamic Assembly state transition diagram . 64 Figure 6 Typical timing relationships for acknowledged data production . 74 Figure 7 Example of a COS system with two acking devices 75 Figure 8 Message flow in COS connection one Connecti
27、on object, one consumer . 75 Figure 9 Message flow in COS connection multiple consumers . 76 Figure 10 Path Reconfiguration in a ring topology 88 Figure 11 CPF2 time synchronization offset clock model 89 Figure 12 CPF2 time synchronization system with offset clock model 90 Figure 13 CPF2 time synchr
28、onization group startup sequence . 93 Figure 14 Parameter object state transition diagram 99 IEC 61158-5-2:2014 IEC 2014 3 Figure 15 Example of Find_Next_Object_Instance service . 125 Figure 16 Transmission trigger timer 169 Figure 17 Inactivity watchdog timer 170 Figure 18 Using tools for configura
29、tion . 171 Figure 19 Production inhibit timer 172 Figure 20 Context of transport services within the connection model 178 Figure 21 Applicationtoapplication view of data transfer . 178 Figure 22 Data flow diagram for a link producer . 179 Figure 23 Data flow diagram for a link consumer 180 Figure 24
30、 Triggers . 181 Figure 25 Binding transport instances to the producer and consumer of a transport connection that does not have a reverse data path . 182 Figure 26 Binding transport instances to the producers and consumers of a transport connection that does have a reverse data path . 182 Figure 27
31、Binding transport instances to the producer and consumers of a multipoint connection when the transport connection does not have a reverse data path 183 Figure 28 Binding transport instances to the producers and consumers of a multipoint connection when the transport connection does have reverse dat
32、a paths . 183 Table 1 Valid IANA MIB printer codes for character set selection . 35 Table 2 Common elements 42 Table 3 ST language elements . 43 Table 4 Type conversion operations. 43 Table 5 Values of implementation-dependent parameters 44 Table 6 Extensions to IEC 61131-3:2003 . 45 Table 7 Identit
33、y object state event matrix . 59 Table 8 Static Assembly state event matrix 64 Table 9 Static Assembly instance attribute access . 64 Table 10 Dynamic Assembly state event matrix . 65 Table 11 Dynamic Assembly instance attribute access. 65 Table 12 Message Router object Forward_Open parameters . 68
34、Table 13 Acknowledge Handler object state event matrix . 71 Table 14 Producing I/O application object state event matrix . 72 Table 15 Profile identification . 85 Table 16 Profile default settings and ranges 85 Table 17 Profile transports . 85 Table 18 Default PTP clock settings . 86 Table 19 Hand_S
35、et clock quality management . 87 Table 20 Path Reconfiguration Signalling message 88 Table 21 Parameter object state event matrix 99 Table 22 Status codes . 101 Table 23 Get_Attribute_All service parameters 104 Table 24 Set_Attribute_All service parameters . 106 Table 25 Get_Attribute_List service p
36、arameters . 108 4 IEC 61158-5-2:2014 IEC 2014 Table 26 Set_Attribute_List service parameters . 110 Table 27 Reset service parameters 112 Table 28 Start service parameters . 114 Table 29 Stop service parameters 116 Table 30 Create service parameters 117 Table 31 Delete service parameters . 119 Table
37、32 Get_Attribute_Single service parameters . 120 Table 33 Set_Attribute_Single service parameters . 122 Table 34 Find_Next_Object_Instance service parameters 124 Table 35 NOP service parameters . 126 Table 36 Apply_Attributes service parameters . 127 Table 37 Save service parameters . 129 Table 38 R
38、estore service parameters . 130 Table 39 Get_Member service parameters . 132 Table 40 Set_Member service parameters . 134 Table 41 Insert_Member service parameters 135 Table 42 Remove_Member service parameters 137 Table 43 Group_Sync service parameters 138 Table 44 Add_AckData_Path service parameter
39、s . 140 Table 45 Remove_AckData_Path service parameters 141 Table 46 Get_Enum_String service parameters . 142 Table 47 Symbolic_Translation service parameters 144 Table 48 CM_Open service parameters . 152 Table 49 CM_Close service parameters . 154 Table 50 CM_ Unconnected_Send service parameters 156
40、 Table 51 CM_Get_Connection_Data service parameters . 158 Table 52 CM_Search_Connection_Data service parameters 160 Table 53 CM_Get_Connection_Data service parameters . 161 Table 54 I/O Connection object attribute access 166 Table 55 Bridged Connection object attribute access . 166 Table 56 Explicit
41、 messaging object attribute access . 167 Table 57 Connection_Bind service parameters 173 Table 58 Service_Name service parameters 174 Table 59 How production trigger, transport class, and CM_RPI determine when data is produced . 177 Table 60 Transport classes 188 Table 61 UCMM_Create service paramet
42、ers 199 Table 62 UCMM_Delete service parameters 200 Table 63 UCMM_Write service parameters 200 Table 64 UCMM_Abort service parameters 202 Table 65 TR_Write service parameters 203 Table 66 TR_Trigger service parameters . 203 Table 67 TR_Packet_arrived service parameters . 204 IEC 61158-5-2:2014 IEC 2
43、014 5 Table 68 TR_Ack_received service parameters 204 Table 69 TR_Verify service parameters . 205 Table 70 TR_Status_updated service parameters 205 Table 71 FAL class summary . 206 Table 72 FAL services by AR type . 207 6 IEC 61158-5-2:2014 IEC 2014 INTERNATIONAL ELECTROTECHNICAL COMMISSION _ INDUST
44、RIAL COMMUNICATION NETWORKS FIELDBUS SPECIFICATIONS Part 5-2: Application layer service definition Type 2 elements FOREWORD 1) The International Electrotechnical Commission (IEC) is a worldwide organization for standardization comprising all national electrotechnical committees (IEC National Committ
45、ees). 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 Specifications, Technical Reports, Publicly Availabl
46、e 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. International, governmental and non- governmental organ
47、izations 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 m
48、atters 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 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 way in which they are used or for any misinterp