1、 IEC 61158-5-10 Edition 3.0 2014-08 INTERNATIONAL STANDARD NORME INTERNATIONALE Industrial communication networks Fieldbus specifications Part 5-10: Application layer service definition Type 10 elements Rseaux de communication industriels Spcifications des bus de terrain Partie 5-10: Dfinition des s
2、ervices de la couche application Elments de type 10 IEC 61158-5-10: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 publ
4、ication, 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 cont
6、actez 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 pr
7、epares 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
8、been 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 publica
9、tions 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
10、date 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 En
11、glish 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 Servic
13、e 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 te
14、chnique 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 int
15、ernationales, 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 rfr
16、ence, 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
17、et 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 V
18、ocabulaire 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 extrai
19、tes 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-10 Edition 3.0 2014-08 INTERNATIONAL STANDARD NORME INTERNATIONALE Ind
20、ustrial communication networks Fieldbus specifications Part 5-10: Application layer service definition Type 10 elements Rseaux de communication industriels Spcifications des bus de terrain Partie 5-10: Dfinition des services de la couche application Elments de type 10 INTERNATIONAL ELECTROTECHNICAL
21、COMMISSION COMMISSION ELECTROTECHNIQUE INTERNATIONALE XH ICS 25.040.40; 35.100.70; 35.110 PRICE CODE CODE PRIX ISBN 978-2-8322-1736-8 Registered trademark of the International Electrotechnical Commission Marque dpose de la Commission Electrotechnique Internationale Warning! Make sure that you obtain
22、ed 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-10:2014 IEC 2014 CONTENTS FOREWORD . 13 INTRODUCTION . 15 1 Scope . 16 1.1 General . 16 1.2 Specifications 17 1.3 Conforman
23、ce . 17 2 Normative references . 17 3 Terms, definitions, abbreviations, symbols and conventions . 19 3.1 Referenced terms and definitions 20 3.2 Additional terms and definitions for decentralized periphery 20 3.3 Additional terms and definitions for media redundancy 28 3.4 Abbreviations and symbols
24、 29 3.5 Conventions 31 4 Concepts 37 5 Data type ASE 38 5.1 General . 38 5.2 Formal definition of data type objects 43 5.3 FAL defined data types 44 5.4 Data type ASE service specification 66 6 Communication model for common services . 66 6.1 Concepts . 66 6.2 ASE data types . 67 6.3 Application Ser
25、vice Elements 68 7 Communication model for decentralized periphery 189 7.1 Concepts . 189 7.2 ASE data types . 207 7.3 ASEs . 207 7.4 Behavior of an IO device . 524 7.5 Behavior of an IO controller . 583 7.6 Application characteristics . 588 7.7 Summary of FAL services 589 Annex A (informative) Devi
26、ce instances . 592 Annex B (informative) Components of an Ethernet interface 594 Annex C (informative) Scheme of MAC address assignment 598 Annex D (informative) Collection of objects 599 Annex E (informative) Measurement of the fast startup time 600 Annex F (informative) Dynamic Frame Packing 601 A
27、nnex G (informative) Building IR Data 609 Bibliography 614 Figure 1 Data type class hierarchy example . 38 Figure 2 NetworkTime date relation . 59 Figure 3 FAL ASEs communication architecture . 67 Figure 4 PTCP applications 87 Figure 5 Clock drift measurement 100 IEC 61158-5-10:2014 IEC 2014 3 Figur
28、e 6 Multiple synchronization . 101 Figure 7 Media redundancy diagnosis dependencies . 107 Figure 8 Example of periods at a local port 173 Figure 9 Example of communication between controlling devices and field devices 190 Figure 10 Example of communication between an engineering station and several
29、controlling and field devices 191 Figure 11 Example of communication between field devices and a server station 191 Figure 12 Example of communication between field devices 191 Figure 13 Structural units of one arbitrary API of an IO device (general) 193 Figure 14 Example 1 structural units for inte
30、rfaces and ports within API 0 194 Figure 15 Example 2 structural units for interfaces and ports within API 0 195 Figure 16 Identification hierarchy . 197 Figure 17 Overview of application processes . 200 Figure 18 IO device with APs, slots and subslots . 200 Figure 19 Application Process with applic
31、ation process objects (APOs) . 203 Figure 20 Access to a remote APO 204 Figure 21 Access to a remote APO for provider/consumer association . 205 Figure 22 Example of one AR with two AREPs . 206 Figure 23 FAL ASEs communication architecture . 207 Figure 24 Relation of a record data object to one real
32、 object 209 Figure 25 Relation of a record data object to two real objects 209 Figure 26 Overview IO ASE service interactions 230 Figure 27 Severity classification of diagnosis and maintenance . 261 Figure 28 State transition diagram DIAG_DIAG 296 Figure 29 State transition diagram DIAG_MR . 300 Fig
33、ure 30 State transition diagram DIAG_MD . 304 Figure 31 State transition diagram DIAG_QUALIFIED 307 Figure 32 Example of a resource model at the alarm source 328 Figure 33 Basic model for isochronous applications . 397 Figure 34 General isochronous application model (example CACF = 1) . 398 Figure 3
34、5 General isochronous application model (example CACF = 2) . 399 Figure 36 ASE relations in an IO device operating in isochronous mode for a submodule 406 Figure 37 State transition diagram of ISOM_SYNC 408 Figure 38 State transition diagram ISOM_OUT 411 Figure 39 State transition diagram ISOM_IN 41
35、6 Figure 40 Assignment of communication relationship to application relationship 491 Figure 41 Implicit application relationship 495 Figure 42 Example IO application relationship (one-to-one) . 496 Figure 43 Example IO application relationship one-to-many . 497 Figure 44 Overview ASE state machines
36、for IO device . 524 Figure 45 State transition diagram DEVSM 527 Figure 46 State transition diagram REM_CHK 534 Figure 47 State transition diagram LOC_LNK . 541 4 IEC 61158-5-10:2014 IEC 2014 Figure 48 State transition diagram FOMR 547 Figure 49 State transition diagram FOMD 549 Figure 50 State tran
37、sition diagram FODIAG . 552 Figure 51 State transition diagram RSMSM 556 Figure 52 Ownership handling 560 Figure 53 State transition diagram OWNSM . 563 Figure 54 State transition diagram ASSSM 563 Figure 55 State transition diagram PLUGSM 575 Figure 56 State transition diagram PULLSM . 578 Figure 5
38、7 State transition diagram SYNC_DIAG. 580 Figure 58 State diagram CTLSM 585 Figure 59 Example of network topology including slower wireless segments 589 Figure 60 Example of media redundancy including wireless segments . 589 Figure A.1 Instance model . 592 Figure B.1 Scheme of an Ethernet interface
39、. 594 Figure B.2 Scheme of an Ethernet interface with bridging ability 595 Figure B.3 Scheme of an Ethernet interface with optical ports 596 Figure B.4 Scheme of an Ethernet interface with bridging ability using radio communication 597 Figure B.5 Scheme of an Ethernet interface with radio communicat
40、ion . 597 Figure C.1 Scheme of MAC address assignment 598 Figure D.1 Example for an intersection of IO device, slot, and AR 599 Figure E.1 Measurement of the fast startup time 600 Figure F.1 Frame Layout 601 Figure F.2 Sub frame Layout 602 Figure F.3 End to End 603 Figure F.4 Dynamic frame packing .
41、 603 Figure F.5 Dynamic frame packing Truncation of outputs 604 Figure F.6 Dynamic frame packing Outbound Pack . 604 Figure F.7 Dynamic frame packing Concatenation of inputs 605 Figure F.8 Dynamic frame packing Inbound Pack 606 Figure F.9 Dynamic frame packing Distributed watchdog 607 Figure F.10 In
42、terrelation between IO CR and dynamically packed frame 608 Figure G.1 Bridge- and LineDelay 610 Figure G.2 Sample Topology 610 Figure G.3 Slip Stream Effect downstream . 611 Figure G.4 Using the slip stream effect in a comb topology downstream 612 Table 1 State machine description elements 35 Table
43、2 Description of state machine elements 35 Table 3 Conventions used in state machines . 35 Table 4 Conventions for services used in state machines 36 Table 5 Data type overview 41 Table 6 V2 octets . 45 IEC 61158-5-10:2014 IEC 2014 5 Table 7 L2 octets . 45 Table 8 E2 octets . 48 Table 9 E2 value ran
44、ge 48 Table 10 Unipolar2.16 octets . 48 Table 11 Unipolar2.16 value range 49 Table 12 N2 value range 50 Table 13 N4 value range 51 Table 14 X2 value range 52 Table 15 X4 value range 53 Table 16 C4 value range 53 Table 17 T2 value range 55 Table 18 T2 value range 56 Table 19 D2 value range 56 Table 2
45、0 R2 value range 57 Table 21 UUID for decentralized peripherals 58 Table 22 Status least significant Bit of the fractional portion (2 0 ) 59 Table 23 Status value range 60 Table 24 OctetString2+Unsigned8 62 Table 25 Float32+Unsigned8 octets . 62 Table 26 Unsigned8+Unsigned8 octets 63 Table 27 Unsign
46、ed16_S octets 63 Table 28 Unsigned16_S meaning . 63 Table 29 Integer16_S octets 64 Table 30 Integer16_S meaning 64 Table 31 Unsigned8_S octets 64 Table 32 Unsigned8_S meaning 65 Table 33 OctetString_S octets . 65 Table 34 OctetString_S status bits . 65 Table 35 F message trailer with 4 octets 66 Tab
47、le 36 F message trailer with 5 octets 66 Table 37 Get 74 Table 38 Set 77 Table 39 Local Set Command 81 Table 40 Identify 83 Table 41 Hello . 85 Table 42 Start bridge . 93 Table 43 Start slave . 94 Table 44 Start master 95 Table 45 Stop bridge 96 Table 46 Stop slave . 97 Table 47 Stop master . 98 Tab
48、le 48 Sync state change . 99 Table 49 Line Delay change . 99 6 IEC 61158-5-10:2014 IEC 2014 Table 50 PPM Set Prov Data . 113 Table 51 PPM Set Prov Status . 113 Table 52 PPM Activate . 114 Table 53 PPM Close 117 Table 54 PPM Start 117 Table 55 PPM Error . 117 Table 56 Get Cons Data 118 Table 57 CPM Get cons status . 119 Table 58 CPM Set RedRole . 120 Table 59 CPM Activate 120 Table 60 CPM NoData . 122 Table 61 CPM Stop 123 Table 62 APMS Activa