1、 IEC 61158-6-23 Edition 1.0 2014-08 INTERNATIONAL STANDARD NORME INTERNATIONALE Industrial communication networks Fieldbus specifications Part 6-23: Application layer protocol specification Type 23 elements Rseaux de communication industriels Spcifications des bus de terrain Partie 6-23: Spcificatio
2、n du protocole de la couche application lments de type 23 IEC 61158-6-23: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 mea
3、ns, 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 publication,
4、 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 mcan
5、ique, 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 le
6、 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 a
7、nd 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 pub
8、lished. 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 se
9、arch - 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 on
10、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 an
11、d 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 IEC
12、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 Centre
13、: 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 technique
14、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 internation
15、ales, 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, te
16、xte, 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 aussi
17、 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 Vocabulai
18、re 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 des
19、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-23 Edition 1.0 2014-08 INTERNATIONAL STANDARD NORME INTERNATIONALE Industrial
20、communication networks Fieldbus specifications Part 6-23: Application layer protocol specification Type 23 elements Rseaux de communication industriels Spcifications des bus de terrain Partie 6-23: Spcification du protocole de la couche application lments de type 23 INTERNATIONAL ELECTROTECHNICAL CO
21、MMISSION COMMISSION ELECTROTECHNIQUE INTERNATIONALE XH ICS 25.040.40; 35.100.70; 35.110 PRICE CODE CODE PRIX ISBN 978-2-8322-1768-9 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. 2 IEC 61158-6-23:2014 IEC 2014 CONTENTS FOREWORD . 7 0 INTRODUCTION 9 0.1 General . 9 0.2 Patent disclosure . 9 1 Scope . 11 General . 11 1.1Specificatio
23、ns 12 1.2Conformance . 12 1.3 2 Normative references . 12 3 Terms, definitions, symbols, abbreviated terms and conventions 12 Referenced terms and definitions 13 3.1Type 23 specific terms and definitions . 14 3.2Symbols and abbreviated terms. 16 3.3Conventions 17 3.4 4 FAL syntax description . 19 FA
24、LPDU type C abstract syntax 19 4.1FALPDU type F abstract syntax . 25 4.2Data type assignments for type C 36 4.3Data type assignments for type F 37 4.4 5 FAL transfer syntax 38 Encoding rules 38 5.1FALPDU type C elements encoding . 38 5.2FALPDU type F elements encoding . 68 5.3 6 Structure of the FAL
25、 protocol state machine . 102 7 FAL service protocol machine (FSPM) 102 Overview . 102 7.1FSPM type C . 103 7.2FSPM type F . 106 7.3 8 Application relationship protocol machine (ARPM) 113 ARPM type C. 113 8.1ARPM type F . 159 8.2 9 DLL mapping protocol machine (DMPM) . 211 DMPM type C 211 9.1DMPM ty
26、pe F 212 9.2 Bibliography 213 Figure 1 Bit description in octets 18 Figure 2 Structure for memory access information retrieve response . 55 Figure 3 Attribute definitions 56 Figure 4 Access code definitions 56 Figure 5 Structure for RUN request 57 Figure 6 Structure for RUN response . 58 Figure 7 St
27、ructure for STOP request 58 Figure 8 Structure for STOP response . 58 IEC 61158-6-23:2014 IEC 2014 3 Figure 9 Structure for batch memory read request . 59 Figure 10 Structure for batch memory read response . 59 Figure 11 Structure for random memory read request 60 Figure 12 Structure for random memo
28、ry read response 60 Figure 13 Structure for batch memory write request . 61 Figure 14 Structure for batch memory write response 61 Figure 15 Structure for random memory write request 62 Figure 16 Structure for random memory write response . 62 Figure 17 Relationships between protocol machines 102 Fi
29、gure 18 Structure of FSPM C 103 Figure 19 Structure of FSPM F 106 Figure 20 Structure of ARPM C 113 Figure 21 Structure of ARPM F 160 Figure 22 Structure of type C DMPM 211 Figure 23 Structure of type F DMPM 212 Table 1 State machine description elements 18 Table 2 Description of state machine eleme
30、nts 18 Table 3 Conventions used in state machines . 18 Table 4 afFType . 38 Table 5 priority . 39 Table 6 portChoice 41 Table 7 portCheckResult 41 Table 8 dstPortInfo 41 Table 9 scanState 42 Table 10 nodeType 42 Table 11 loopState . 43 Table 12 Cyclic status 43 Table 13 Parameter setting mode 44 Tab
31、le 14 opState . 46 Table 15 errorState 47 Table 16 Data type 48 Table 17 CPW . 49 Table 18 CPWC . 49 Table 19 CPWCR . 49 Table 20 cmParam . 49 Table 21 Details of param area 50 Table 22 Details of application parameters 50 Table 23 Details of LB/LW CM area and LB/LW CM additional area . 51 Table 24
32、Details of LX/LY CM 1 area and LX/LY CM 2 area . 51 Table 25 Destination module flag . 53 Table 26 Command types 54 Table 27 Access codes of network module memory . 56 4 IEC 61158-6-23:2014 IEC 2014 Table 28 Access codes of controller memory . 56 Table 29 byteValidity . 63 Table 30 afFType . 68 Tabl
33、e 31 dataType . 69 Table 32 varField . 69 Table 33 nodeType 70 Table 34 ProtocolVerType 71 Table 35 Link status . 74 Table 36 Port enable/disable specification . 75 Table 37 Cyclic transmission parameter hold status . 82 Table 38 Detailed application operation status . 82 Table 39 Error detection st
34、atus 82 Table 40 Slave-specific event reception status . 84 Table 41 dataSupType of dataType (0x07) . 86 Table 42 FieldSpecificTransient opHeader . 87 Table 43 command (dataType: 0x07, dataSubType: 0x0002) . 87 Table 44 subCommand type for each command type . 88 Table 45 Strucure of Deliver node inf
35、ormantion 88 Table 46 Strucure of Deliver node informantion message 88 Table 47 Strucure of Get statistical informantion response . 89 Table 48 Strucure of Acquisition of node details response . 89 Table 49 Execution module specification . 92 Table 50 Command type 93 Table 51 Cyclic data state table
36、 . 104 Table 52 Acyclic data state table . 104 Table 53 Management state table 106 Table 54 Cyclic data state table . 109 Table 55 Acyclic data state table . 109 Table 56 Management state table 112 Table 57 Synchronization state table . 112 Table 58 Measurement state table . 112 Table 59 Acyclic tra
37、nsmission state table . 113 Table 60 Acyclic transmission functions . 114 Table 61 Cyclic transmission state table 115 Table 62 Cyclic transmission functions 119 Table 63 Connection control state machine Initial . 120 Table 64 Connection control state machine Connect . 120 Table 65 Connection contro
38、l state machine Scan 122 Table 66 Connection control state machine ScanWait . 125 Table 67 Connection control state machine Collect . 127 Table 68 Connection control state machine CollectWait 130 Table 69 Connection control state machine Select 133 Table 70 Connection control state machine TokenStar
39、tWait 136 IEC 61158-6-23:2014 IEC 2014 5 Table 71 Connection control state machine LaunchWait 138 Table 72 Connection control state machine TokenReleaseWait . 141 Table 73 Connection control state machine TokenReleased 144 Table 74 Connection control state machine TokenWait . 149 Table 75 Connection
40、 control state machine NTNTestMaster . 153 Table 76 Connection control state machine NTNTestSlave . 154 Table 77 Function list of connection control . 154 Table 78 Common parameter dist state table . 154 Table 79 Function list of connection control . 158 Table 80 Mapping of internal service and acyc
41、lic transmission service . 159 Table 81 Acyclic transmission states 160 Table 82 Acyclic transmission state table . 160 Table 83 Acyclic transmission functions . 162 Table 84 Acyclic transmission variables . 162 Table 85 Cyclic transmission states . 163 Table 86 Cyclic transmission state table 163 T
42、able 87 Cyclic transmission functions 165 Table 88 Cyclic transmission variables 165 Table 89 Master station channel control states 165 Table 90 Slave station channel control states 166 Table 91 Master station state table MasterDown . 166 Table 92 Master station state table Listen . 166 Table 93 Mas
43、ter station state table MasterArbitration 168 Table 94 Master station state table PrimaryMasterScatterTD 169 Table 95 Master station state table PrimaryMasterSettingUp. 171 Table 96 Master station state table PrimaryMasterHoldToken . 173 Table 97 Master station state table PrimaryMasterSolicitToken
44、. 176 Table 98 Master station state table PrimaryMasterInviting . 179 Table 99 Master station state table MasterWaitTD 180 Table 100 Master station state table MasterWaitSetup 182 Table 101 Master station state table MasterSolictToken (without Transmission path delay measurement) . 183 Table 102 Mas
45、ter station state table MasterSolictToken (with Transmission path delay measurement) . 185 Table 103 Master station state table MasterHoldToken . 187 Table 104 Master station state table MasterMeasurement (without Transmission path delay measurement function) 189 Table 105 Master station state table
46、 MasterMeasurement (with Transmission path delay measurement function) 190 Table 106 Slave station state table SlaveDown . 190 Table 107 Slave station state table SlaveWaitTD 190 Table 108 Slave station state table SlaveWaitSetup 191 Table 109 Slave station state table SlaveSolicitToken (without Tra
47、nsmission path delay measurement) . 192 6 IEC 61158-6-23:2014 IEC 2014 Table 110 Slave station state table SlaveSolicitToken (with Transmission path delay measurement) . 194 Table 111 Slave station state table SlaveHoldToken . 195 Table 112 Master station channel control functions 198 Table 113 Slav
48、e station channel control functions 199 Table 114 Master station channel control variables 200 Table 115 Slave station channel control variables 200 Table 116 Master station channel control timers 201 Table 117 Slave station channel control timers 201 Table 118 Master station parameter dist states 201 Table 119 Slave station parameter dist states 201 Table 120 Master station parameter