1、 IEC 61158-6-10 Edition 3.0 2014-08 INTERNATIONAL STANDARD NORME INTERNATIONALE Industrial communication networks Fieldbus specifications Part 6-10: Application layer protocol specification Type 10 elements Rseaux de communication industriels Spcifications des bus de terrain Partie 6-10: Spcificatio
2、n du protocole de la couche application Elments de type 10 IEC 61158-6-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 for
3、m or 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 th
4、is publication, 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, lect
5、ronique 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
6、ou contactez 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
7、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 migh
8、t have 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
9、publications 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
10、 up to 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 definition
11、s in English 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
12、 clause 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
13、 Service 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 con
14、tenu technique 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 Nor
15、mes internationales, 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
16、 de rfrence, 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
17、 ligne 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
18、appel Vocabulaire 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
19、 extraites 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-6-10 Edition 3.0 2014-08 INTERNATIONAL STANDARD NORME INTERNATION
20、ALE Industrial communication networks Fieldbus specifications Part 6-10: Application layer protocol specification Type 10 elements Rseaux de communication industriels Spcifications des bus de terrain Partie 6-10: Spcification du protocole de la couche application Elments de type 10 INTERNATIONAL ELE
21、CTROTECHNICAL COMMISSION COMMISSION ELECTROTECHNIQUE INTERNATIONALE XH ICS 25.040.40; 35.100.70; 35.110 PRICE CODE CODE PRIX ISBN 978-2-8322-1761-0 Registered trademark of the International Electrotechnical Commission Marque dpose de la Commission Electrotechnique Internationale Warning! Make sure t
22、hat 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 IEC 61158-6-10:2014 IEC 2014 CONTENTS FOREWORD . 28 INTRODUCTION . 31 1 Scope . 33 General . 33 1.1Specifications 33 1.2C
23、onformance . 34 1.3 2 Normative references . 34 3 Terms, definitions, abbreviations, symbols and conventions . 36 Referenced terms and definitions 36 3.1Additional terms and definitions for decentralized periphery 37 3.2Abbreviations and symbols 45 3.3Conventions 48 3.4 4 Application layer protocol
24、specification for common protocols . 56 FAL syntax description 56 4.1Transfer syntax . 59 4.2Discovery and basic configuration . 71 4.3Precision working time control . 110 4.4Time synchronization 185 4.5Media redundancy . 185 4.6Real time cyclic . 185 4.7Real time acyclic . 213 4.8Fragmentation . 23
25、1 4.9Remote procedure call 247 4.10Link layer discovery . 265 4.11MAC Bridges . 276 4.12Virtual bridges . 305 4.13IP suite 314 4.14Domain name system 317 4.15Dynamic host configuration . 318 4.16Simple network management . 319 4.17Common DLL Mapping Protocol Machines. 320 4.18 5 Application layer pr
26、otocol specification for decentralized periphery. 325 FAL syntax description 325 5.1Transfer syntax . 343 5.2FAL protocol state machines . 522 5.3AP-Context state machine . 524 5.4FAL Service Protocol Machines . 524 5.5Application Relationship Protocol Machines 544 5.6DLL Mapping Protocol Machines .
27、 663 5.7 Annex A (normative) Unified establishing of an AR for all RT classes 664 Annex B (normative) Compatible establishing of an AR 670 Annex C (informative) Establishing of a device access AR . 673 Annex D (informative) Establishing of an AR (accelerated procedure) 674 Annex E (informative) Esta
28、blishing of an AR (fast startup procedure). 677 Annex F (informative) Example of the upload, storage and retrieval procedure 679 IEC 61158-6-10:2014 IEC 2014 3 Annex G (informative) OSI reference model layers. 682 Annex H (informative) Overview of the IO controller and the IO device state machines 6
29、83 Annex I (informative) Priority regeneration . 685 Annex J (informative) Overview of the PTCP synchronization master hierarchy . 687 Annex K (informative) Optimization of bandwidth usage . 689 Annex L (informative) Time constraints for bandwidth allocation 691 Annex M (informative) Time constraint
30、s for the forwarding of a frame 693 Annex N (informative) Principle of dynamic frame packing . 694 Annex O (informative) Principle of Fragmentation 697 Annex P (informative) MRPD Principle of seamless media redundancy . 700 Annex Q (normative) Principle of a RED_RELAY without forwarding information
31、in PDIRFrameData . 702 Annex R (informative) Optimization for fast startup without autonegotiation . 704 Annex S (informative) TX-error handling 706 Annex T (informative) Example of a PrmBegin, PrmEnd and ApplRdy sequence 707 Annex U (informative) List of supported MIBs 708 Annex V (informative) Str
32、ucture and content of BLOB 709 Annex W (normative) LLDP EXT MIB . 710 Bibliography 727 Figure 1 Common structure of specific fields 49 Figure 2 Common structure of specific fields for octet 1 (high) . 50 Figure 3 Common structure of specific fields for octet 2 (low) 50 Figure 4 Common structure of s
33、pecific fields for octet 1 (high) . 51 Figure 5 Common structure of specific fields for octet 2 . 51 Figure 6 Common structure of specific fields for octet 3 . 52 Figure 7 Common structure of specific fields for octet 4 (low) 52 Figure 8 Coding of the data type BinaryDate 61 Figure 9 Encoding of Tim
34、eOfDay with date indication value . 61 Figure 10 Encoding of TimeOfDay without date indication value 62 Figure 11 Encoding of TimeDifference with date indication value . 62 Figure 12 Encoding of TimeDifference without date indication value 62 Figure 13 FastForwardingMulticastMACAdd . 66 Figure 14 St
35、ate transition diagram of DCPUCS 95 Figure 15 State transition diagram of DCPUCR 99 Figure 16 State transition diagram of DCPMCS 102 Figure 17 State transition diagram of DCPMCR . 105 Figure 18 State transition diagram of DCPHMCS . 108 Figure 19 State transition diagram of DCPHMCR . 109 Figure 20 PT
36、CP_SequenceID value range . 115 Figure 21 Timescale correspondence between PTCP_Time and CycleCounter 118 Figure 22 Message timestamp point . 123 4 IEC 61158-6-10:2014 IEC 2014 Figure 23 Timer model . 123 Figure 24 Four message timestamps . 124 Figure 25 Line delay protocol with follow up . 125 Figu
37、re 26 Line delay protocol without follow up 125 Figure 27 Line delay measurement 127 Figure 28 Model parameter for GSDML usage . 129 Figure 29 Bridge delay measurement . 130 Figure 30 Delay accumulation 131 Figure 31 Worst case accumulated time deviation of synchronization 132 Figure 32 Scheme for m
38、easurement of deviation . 132 Figure 33 Measurement of deviation 132 Figure 34 PTCP master sending Sync-Frame without Follow Up-Frame . 133 Figure 35 PTCP master sending Sync-Frame with FollowUp-Frame . 134 Figure 36 !FU Sync Slave Forwarding Sync-Frame 135 Figure 37 FU Sync Slave Forwarding Sync- a
39、nd FollowUp-Frame 136 Figure 38 FU Sync Slave Forwarding Sync- and Generating FollowUp-Frame 137 Figure 39 Principle of the monitoring of the line delay measurement 138 Figure 40 State transition diagram of DELAY_REQ 140 Figure 41 State transition diagram of DELAY_RSP 147 Figure 42 Overview of PTCP
40、151 Figure 43 State transition diagram of SYN_BMA 153 Figure 44 State transition diagram of SYN_MPSM . 163 Figure 45 State transition diagram of SYN_SPSM 169 Figure 46 State transition diagram of SYNC_RELAY 175 Figure 47 State transition diagram of SCHEDULER . 182 Figure 48 CycleCounter value range
41、187 Figure 49 Structure of the CycleCounter 188 Figure 50 Optimized CycleCounter setting . 189 Figure 51 SFCRC16 generation rule 192 Figure 52 SFCycleCounter value range 194 Figure 53 Basic structure of a PPM with frame structure 196 Figure 54 Basic structure of a PPM with subframe structure. 197 Fi
42、gure 55 State transition diagram of PPM . 199 Figure 56 Basic structure of a CPM 203 Figure 57 State transition diagram of CPM . 205 Figure 58 Addressing scheme of RTA 215 Figure 59 Structure of the APM 218 Figure 60 Structure of the APMS 219 Figure 61 State transition diagram of APMS . 221 Figure 6
43、2 Structure of the APMR . 226 Figure 63 State transition diagram of APMR 228 Figure 64 State transition diagram of FRAG_D 238 Figure 65 State transition diagram of FRAG_S . 241 IEC 61158-6-10:2014 IEC 2014 5 Figure 66 State transition diagram of DEFRAG 244 Figure 67 State transition diagram of RTC3P
44、SM 280 Figure 68 State transition diagram for generating events . 284 Figure 69 State transition diagram of RED_RELAY 285 Figure 70 Scheme of the DFP_RELAY . 289 Figure 71 Scheme of the DFP_INBOUND and DFP_STORAGE . 290 Figure 72 Scheme of the DFP_OUTBOUND . 290 Figure 73 State transition diagram of
45、 DFP_RELAY 291 Figure 74 State transition diagram of DFP_RELAY_INBOUND . 294 Figure 75 State transition diagram of DFP_RELAY_IN_STORAGE. 298 Figure 76 State transition diagram of DFP_RELAY_OUTBOUND . 302 Figure 77 State transition diagram of MUX . 306 Figure 78 State transition diagram of DEMUX 311
46、Figure 79 Structuring of the protocol machines within the DMPM (bridge) 321 Figure 80 State transition diagram of LMPM 323 Figure 81 AlarmSpecifier.SequenceNumber value range 357 Figure 82 FrameSendOffset vs. duration of a cycle 393 Figure 83 Severity classification of diagnosis, maintenance and qua
47、lified 436 Figure 84 Calculation principle for a cycle 455 Figure 85 Calculation principle for the minimum YellowTime 456 Figure 86 Definition of the reserved interval . 462 Figure 87 Toplevel view to the PLL window 466 Figure 88 Definition of PLL window 466 Figure 89 Toplevel view to the time PLL w
48、indow 469 Figure 90 Definition of time PLL window 470 Figure 91 Detection of dropped frames appear 478 Figure 92 Detection of dropped frames disappear 478 Figure 93 Detection of DFP late error appear and disappear . 485 Figure 94 MediaRedundancyWatchDog expired appear and disappear 486 Figure 95 Relationship among Protocol Machines 523 Figure 96 State transition diagram of ALPMI 546 Figure 97 State transition diagram of ALPMR . 550 Figure 98 Scheme of the IO device CM 553 Figure 99 State transition diagram of the IO device CM . 555 Figure 1