1、 IEC 61158-5-3 Edition 3.0 2014-08 INTERNATIONAL STANDARD NORME INTERNATIONALE Industrial communication networks Fieldbus specifications Part 5-3: Application layer service definition Type 3 elements Rseaux de communication industriels Spcifications des bus de terrain Partie 5-3: Dfinition des servi
2、ces de la couche application lments de type 3 IEC 61158-5-3: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 means, electroni
3、c 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 publication, please conta
4、ct 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 mcanique, y compr
5、is 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 le Comit nation
6、al 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 and publishes
7、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 published. IEC C
8、atalogue - 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 search - www.ie
9、c.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 on all new IEC p
10、ublications. 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 and French, wit
11、h 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 IEC publications
12、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 Centre: csciec.ch.
13、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 technique des publicati
14、ons 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 internationales, Spcific
15、ations 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, texte, comit dt
16、udes,). 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 aussi une fois par
17、 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 Vocabulaire Electrotec
18、hnique 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 des publications
19、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-3 Edition 3.0 2014-08 INTERNATIONAL STANDARD NORME INTERNATIONALE Industrial communication
20、networks Fieldbus specifications Part 5-3: Application layer service definition Type 3 elements Rseaux de communication industriels Spcifications des bus de terrain Partie 5-3: Dfinition des services de la couche application lments de type 3 INTERNATIONAL ELECTROTECHNICAL COMMISSION COMMISSION ELECT
21、ROTECHNIQUE INTERNATIONALE XH ICS 25.040.40; 35.100.70; 35.110 PRICE CODE CODE PRIX ISBN 978-2-8322-1732-0 Registered trademark of the International Electrotechnical Commission Marque dpose de la Commission Electrotechnique Internationale Warning! Make sure that you obtained this publication from an
22、 authorized distributor. Attention! Veuillez vous assurer que vous avez obtenu cette publication via un distributeur agr. 2 IEC 61158-5-3:2014 IEC 2014 CONTENTS FOREWORD . 11 INTRODUCTION . 13 1 Scope . 14 General . 14 1.1Specifications 15 1.2Conformance . 15 1.3 2 Normative references . 15 3 Terms,
23、 definitions, abbreviations, symbols and conventions . 16 Referenced terms and definitions 16 3.1Fieldbus Application Layer Type 3 specific terms and definitions 18 3.2Abbreviations and symbols 25 3.3Conventions 26 3.4 4 Concepts 31 5 Data type ASE 32 6 Communication model specification 32 DP concep
24、ts 32 6.1ASEs . 51 6.2Summary of FAL classes . 430 6.3Permitted FAL services by AREP role 431 6.4Conformance classes 435 6.5Application characteristics . 436 6.6 Bibliography 438 Figure 1 Example of DP communication with a single controlling device 34 Figure 2 Example of DP communication with severa
25、l controlling devices . 34 Figure 3 Example of DP communication between field devices 35 Figure 4 DP-slave model (modular DP-slave) . 37 Figure 5 DP-slave model (compact DP-slave) 38 Figure 6 Overview of application processes . 39 Figure 7 DP-slave model (modular DP-slave) . 40 Figure 8 Application
26、Service Elements (ASEs) . 42 Figure 9 Application Process with application Objects (APOs) . 43 Figure 10 Access to a remote APO 44 Figure 11 Access to a remote APO for publisher/subscriber association 45 Figure 12 Example of one AR with two AREPs . 46 Figure 13 Relation of a simple process data obje
27、ct to the real object . 52 Figure 14 Relation of a combined process data object to the real objects . 54 Figure 15 Sequence of an isochronous DP cycle with one DP-master (class 1) 85 Figure 16 Additional time relationships in a DP system operating in isochronous mode 86 Figure 17 DP system with opti
28、mized isochronous DP cycle 88 Figure 18 Buffered synchronized isochronous mode at the DP-master (class 1) . 89 IEC 61158-5-3:2014 IEC 2014 3 Figure 19 Enhanced synchronized isochronous mode at the DP-master (class 1) 90 Figure 20 Input, output and PLL state machine interaction . 91 Figure 21 PLL sta
29、te diagram 96 Figure 22 OUTPUT state diagram 100 Figure 23 INPUT state diagram 104 Figure 24 Treatment of an alarm in the DP system . 137 Figure 25 Load Region state diagram for erasable memory 236 Figure 26 Load region state diagram for non-erasable memory 237 Figure 27 Function invocation state di
30、agram 269 Figure 28 System architecture . 283 Figure 29 Assignment of communication relationship to application relationship 290 Figure 30 MS0 application relationship 296 Figure 31 Output buffer model of a DP-slave without sync functionality 297 Figure 32 Output buffer model of a DP-slave with sync
31、 functionality 297 Figure 33 Input buffer model of a DP-slave without freeze functionality 298 Figure 34 Input buffer model of a DP-slave with freeze functionality. 298 Figure 35 MS1 application relationship 299 Figure 36 MS2 application relationship 299 Figure 37 Example of inter-network communicat
32、ion . 300 Figure 38 Example without inter-network addressing 301 Figure 39 First example with inter-network addressing . 301 Figure 40 Second example with inter-network addressing 302 Figure 41 MS3 application relationship 304 Figure 42 MM1 application relationship 304 Figure 43 MM2 application rela
33、tionship 305 Figure 44 Cycle time of the DP system 437 Table 1 Requirements and features of fieldbus DP . 33 Table 2 Status values of the service primitives . 50 Table 3 Access Rights MS1 . 53 Table 4 Access Rights MS2 . 53 Table 5 Access Rights MS1 . 56 Table 6 Access Rights MS2 . 56 Table 7 SCL ma
34、tching rules . 57 Table 8 Read . 57 Table 9 Write . 59 Table 10 Data transport . 60 Table 11 Format (simple input data description) . 64 Table 12 Consistency (simple input data description) . 64 Table 13 Format (simple output data). 66 Table 14 Consistency (simple output data) . 66 Table 15 Format (
35、extended input data) 67 Table 16 Consistency (extended input data) 68 4 IEC 61158-5-3:2014 IEC 2014 Table 17 Format (extended output data) 69 Table 18 Consistency (extended output data) 70 Table 19 Set Input . 71 Table 20 Read Input 71 Table 21 Get Input . 73 Table 22 New Input 74 Table 23 Set Outpu
36、t . 75 Table 24 Final 76 Table 25 Read Output 76 Table 26 Get Output 77 Table 27 Clear Flag . 77 Table 28 New Flag . 78 Table 29 New Output . 78 Table 30 Clear Flag . 78 Table 31 Global Control . 79 Table 32 Clear Command 79 Table 33 Sync Command . 79 Table 34 Freeze Command 80 Table 35 New publishe
37、r data 80 Table 36 Get publisher data . 81 Table 37 New Flag . 81 Table 38 SYNCH . 82 Table 39 SYNCH Delayed 82 Table 40 DX Finished 83 Table 41 SYNCH Event 83 Table 42 Status . 83 Table 43 Primitives issued by the AL to the PLL state machine 92 Table 44 Primitives issued by the user to the PLL stat
38、e machine . 92 Table 45 Allowed values of Status . 93 Table 46 Primitives issued by the user to the input state machine 93 Table 47 Primitives issued by the user to the output state machine 93 Table 48 Primitives issued by the PLL to the output state machine 93 Table 49 Primitives issued by the outp
39、ut to the PLL state machine 93 Table 50 Primitives issued by the PLL to the input state machine 94 Table 51 Primitives issued by the output to the input state machine . 94 Table 52 Primitives issued by the output state machine to the AL 94 Table 53 Primitives issued by the AL to the output state mac
40、hine 94 Table 54 Primitives issued by the input state machine to the AL 94 Table 55 Primitives issued by the AL to the input state machine 95 Table 56 PLL state table 97 Table 57 OUTPUT state table 101 Table 58 INPUT state table 105 Table 59 Identifier status . 107 IEC 61158-5-3:2014 IEC 2014 5 Tabl
41、e 60 Channel type . 108 Table 61 IO type 109 Table 62 Status type 109 Table 63 Status specifier . 110 Table 64 Status specifier . 111 Table 65 Module status 111 Table 66 Status specifier . 112 Table 67 Link status . 112 Table 68 Link error. 113 Table 69 Set Slave Diag 114 Table 70 Ext Diag Flag 115
42、Table 71 Get Slave Diag 117 Table 72 Read Slave Diag . 126 Table 73 New Slave Diag . 136 Table 74 Alarm type . 138 Table 75 Add Ack. 139 Table 76 Alarm specifier 139 Table 77 Alarm notification 140 Table 78 Alarm Ack 141 Table 79 Prm data type 146 Table 80 Supported feature . 156 Table 81 Supported
43、profile feature . 156 Table 82 Role 157 Table 83 Check user Prm . 159 Table 84 Prm structure 160 Table 85 MS1 Command 162 Table 86 Check user Prm result . 164 Table 87 Status values 165 Table 88 Check Ext user Prm. 166 Table 89 Check Ext user Prm result . 169 Table 90 Status values 170 Table 91 Chec
44、k Cfg . 170 Table 92 Check Cfg result 171 Table 93 Status values 172 Table 94 Set Cfg 172 Table 95 Get Cfg . 173 Table 96 Set Slave Add . 174 Table 97 Initiate . 175 Table 98 Abort . 178 Table 99 Instance 178 Table 100 MS0 init DP-slave 179 Table 101 MS1 init DP-slave 179 Table 102 MS2 init DP-slave
45、 180 6 IEC 61158-5-3:2014 IEC 2014 Table 103 DP-slave started 180 Table 104 Alarm limit . 181 Table 105 DP-slave stopped 181 Table 106 Reset DP-slave . 182 Table 107 DP-slave fault 182 Table 108 Application ready DP-slave 182 Table 109 Start subscriber . 183 Table 110 Stop subscriber . 183 Table 111
46、 Publisher active . 184 Table 112 Status 185 Table 113 Init DP-master Cl1 . 185 Table 114 DP-master Cl1 started . 186 Table 115 Alarm limit . 187 Table 116 DP-master Cl1 stopped . 187 Table 117 Reset DP-master Cl1 . 187 Table 118 DP-master Cl1 fault . 188 Table 119 DP-master Cl1 reject . 188 Table 1
47、20 Set mode DP-master Cl1 . 189 Table 121 DP-master Cl1 mode changed . 190 Table 122 Load bus Par DP-master Cl1 . 191 Table 123 Mark DP-master Cl1 192 Table 124 Abort DP-master Cl1 . 192 Table 125 Read value DP-master Cl1 193 Table 126 Delete SC DP-master Cl1 193 Table 127 DP-master Cl1 event . 194
48、Table 128 Init DP-master Cl2 . 195 Table 129 Reset DP-master Cl2 . 196 Table 130 DP-master Cl2 fault . 196 Table 131 DP-master Cl2 reject . 196 Table 132 DP-master Cl2 closed 197 Table 133 DP-master Cl2 event . 197 Table 134 USIF state . 198 Table 135 Data rate . 202 Table 136 USIF state . 203 Table 137 Isochronous mode . 203 Table 138 Slave type . 206 Table 139 Alarm mode .