1、 IEC 61158-6-14 Edition 3.0 2014-08 INTERNATIONAL STANDARD NORME INTERNATIONALE Industrial communication networks Fieldbus specifications Part 6-14: Application layer protocol specification Type 14 elements Rseaux de communication industriels Spcifications des bus de terrain Partie 6-14: Spcificatio
2、n du protocole de la couche application Elments de type 14 IEC 61158-6-14: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 me
3、ans, 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 mca
5、nique, 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 l
6、e 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 pu
8、blished. 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 s
9、earch - 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 a
11、nd 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 Centr
13、e: 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 internatio
15、nales, 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, t
16、exte, 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 auss
17、i 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 Vocabula
18、ire 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-14 Edition 3.0 2014-08 INTERNATIONAL STANDARD NORME INTERNATIONALE Industrial
20、 communication networks Fieldbus specifications Part 6-14: Application layer protocol specification Type 14 elements Rseaux de communication industriels Spcifications des bus de terrain Partie 6-14: Spcification du protocole de la couche application Elments de type 14 INTERNATIONAL ELECTROTECHNICAL
21、COMMISSION COMMISSION ELECTROTECHNIQUE INTERNATIONALE XD ICS 25.040.40; 35.100.70; 35.110 PRICE CODE CODE PRIX ISBN 978-2-8322-1764-1 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. 2 IEC 61158-6-14:2014 IEC 2014 CONTENTS FOREWORD . 7 INTRODUCTION . 9 1 Scope . 10 General . 10 1.1Specifications 10 1.2Conformance . 11 1.3 2 Normativ
23、e references . 11 3 Terms, definitions, symbols, abbreviations and conventions . 12 Referenced terms and definitions 12 3.1Fieldbus application layer specific terms and definitions 13 3.2Abbreviations and symbols 15 3.3Conventions 17 3.4 4 Abstract syntax . 18 Fixed format PDU description 18 4.1Obje
24、ct definitions in FAL management ASE . 27 4.2Definition of objects used in Type 14 application access entity 33 4.3 5 Transfer syntax 36 Encoding of basic data types . 36 5.1Encoding of Type 14 APDU header . 42 5.2Encoding of FAL management entity service parameters . 43 5.3Encoding of AAE Services
25、. 49 5.4 6 Structure of FAL protocol state machines . 58 7 AP-Context state machine 59 Primitives exchanged between ALU and ALE 59 7.1Protocol state machine descriptions 59 7.2State transitions 60 7.3Function descriptions 66 7.4 8 FAL management state machines . 66 Primitives 66 8.1Protocol state ma
26、chine descriptions 67 8.2State transitions 68 8.3Function descriptions 70 8.4 9 Application access entity protocol machine . 74 Primitives 74 9.1AAE state machine 76 9.2Event ASE protocol machine . 78 9.3Domain ASE protocol machine 79 9.4Block ASE protocol machine 83 9.5 10 Application relationship
27、state machine 85 Primitives 85 10.1AREP state description 87 10.2State transitions 87 10.3Function descriptions 88 10.4 11 DLL mapping protocol machine 88 Concept 88 11.1IEC 61158-6-14:2014 IEC 2014 3 Primitives 89 11.2State description . 89 11.3State transitions 89 11.4Function description 90 11.5
28、Bibliography 91 Figure 1 State transition diagram . 17 Figure 2 Exchanged primitives of protocol state machine . 59 Figure 3 ACE protocol state machine . 60 Figure 4 FME protocol state machine . 68 Figure 5 AAE state transition diagrams 76 Figure 6 Event ASE state transition diagrams 78 Figure 7 Dom
29、ain ASE state transition diagram . 80 Figure 8 Block ASE state transition diagrams . 84 Figure 9 AREP state transition diagrams 87 Figure 10 ESME state transition . 90 Table 1 State machine description elements 17 Table 2 Definition of Type 14 MOB header object 27 Table 3 Definition of Type 14 devic
30、e descriptor object . 27 Table 4 Definition of the time synchronization object 28 Table 5 Definition of maximum response time object 28 Table 6 Definition of the Type 14 communication scheduling management object 29 Table 7 Definition of the device application information object . 29 Table 8 Definit
31、ion of FB application information header 29 Table 9 Definition of domain application information header . 30 Table 10 Definition of Type 14 link object header 30 Table 11 Definition of Type 14 FRT link object header 31 Table 12 Definition of FB application information object . 31 Table 13 Definition
32、 of Type 14 link object . 31 Table 14 Definition of Type 14 FRT link object 32 Table 15 Definition of domain application information object 33 Table 16 Definition of domain object 33 Table 17 Definition of simple variable object 34 Table 18 Definition of event object . 34 Table 19 Definition of Type
33、 14 socket mapping object 35 Table 20 Definition of Type 14 socket timer object . 35 Table 21 Definition of ErrorType object 36 Table 22 Encoding of Boolean value TRUE 36 Table 23 Encoding of Boolean value FALSE 36 Table 24 Encoding of Unsigned8 data type 37 Table 25 Encoding of Unsigned16 data type
34、 37 Table 26 Encoding of Unsigned32 data type 37 Table 27 Encoding of Unsigned64 data type 37 4 IEC 61158-6-14:2014 IEC 2014 Table 28 Encoding of Int8 data type . 38 Table 29 Encoding of Int16 data type . 38 Table 30 Encoding of Int32 data type . 38 Table 31 Encoding of Int64 data type . 39 Table 32
35、 Encoding of Real type . 39 Table 33 Encoding of VisibleString data type . 39 Table 34 Encoding of OctetString data type . 40 Table 35 Encoding of BitString data type . 40 Table 36 Encoding of TimeOfDay data type . 40 Table 37 Encoding of BinaryDate data type . 41 Table 38 Encoding of PrecisionTimeD
36、ifference data type . 42 Table 39 Encoding of Type 14 application layer service message header 42 Table 40 Encoding of EM_DetectingDevice request parameters . 43 Table 41 Encoding of EM_OnlineReply request parameters . 43 Table 42 Encoding of EM_GetDeviceAttribute request parameters . 44 Table 43 En
37、coding of EM_GetDeviceAttribute positive response parameters . 44 Table 44 Encoding of EM_GetDeviceAttribute negative response parameters 45 Table 45 Encoding of EM_ActiveNotification request parameters . 46 Table 46 Encoding of EM_ConfiguringDevice request parameters 47 Table 47 Encoding of EM_Conf
38、iguringDevice positive response parameters 48 Table 48 Encoding of EM_ConfiguringDevice negative response parameters . 48 Table 49 Encoding of EM_SetDefaultValue request parameters . 48 Table 50 Encoding of EM_SetDefaultValue positive response parameters . 48 Table 51 Encoding of clear device attrib
39、ute service refuse packet 49 Table 52 Encoding of DomainDownload request parameters 49 Table 53 Encoding of domain download service response packet 49 Table 54 Encoding of DomainDownload negative response parameters . 49 Table 55 Encoding of DomainUpload request parameters 50 Table 56 Encoding of Do
40、mainUpload positive response parameters . 50 Table 57 Encoding of DomainUpload negative response parameters . 50 Table 58 Encoding of EventRoport request parameters 51 Table 59 Encoding of EventRoportAcknowledge request parameters . 51 Table 60 Encoding of EventRoportAcknowledge positive response pa
41、rameters 51 Table 61 Encoding of EventRoportAcknowledge negative response parameters 51 Table 62 Encoding of ReportConditionChanging request parameters . 52 Table 63 Encoding of ReportConditionChanging positive response parameters . 52 Table 64 Encoding of ReportConditionChanging negative response p
42、arameters 52 Table 65 Encoding of Read request parameters . 52 Table 66 Encoding of Read positive response parameters . 53 Table 67 Encoding of Read negative response parameters 53 Table 68 Encoding of Write request parameters . 53 Table 69 Encoding of Write positive response parameters . 53 Table 7
43、0 Encoding of Write negative response parameters 54 IEC 61158-6-14:2014 IEC 2014 5 Table 71 Encoding of VariableDistribute request parameters . 54 Table 72 Encoding of FRTRead request parameters 54 Table 73 Encoding of FRTRead positive response parameters . 54 Table 74 Encoding of FRTRead negative r
44、esponse parameters . 55 Table 75 Encoding of FRTWrite request parameters 55 Table 76 Encoding of FRTWrite positive response parameters . 55 Table 77 Encoding of FRTWrite negative response parameters . 55 Table 78 Encoding of FRTVariableDistribute request parameters . 56 Table 79 Encoding of BlockTra
45、nsmissionOpen request parameters . 56 Table 80 Encoding of BlockTransmissionOpen positive response parameters 56 Table 81 Encoding of BlockTransmissionOpen negative response parameters . 56 Table 82 Encoding of BlockTransmissionClose request parameters . 57 Table 83 Encoding of BlockTransmissionClos
46、e positive response parameters . 57 Table 84 Encoding of BlockTransmissionClose negative response parameters 57 Table 85 Encoding of BlockTransmit request parameters . 57 Table 86 Encoding of BlockTransmissionHeartbeat request parameters . 58 Table 87 Primitives delivered by ALU to ALE . 59 Table 88
47、 Primitives delivered by ALE to ALU . 59 Table 89 ACE state descriptions 60 Table 90 ACE state transitions (sender) . 60 Table 91 ACE state transitions (receiver) . 63 Table 92 APServiceType() descriptions 66 Table 93 Primitives delivered by application layer user to FME 66 Table 94 Primitives deliv
48、ered by FME to application layer user 66 Table 95 Primitive parameters exchanged between FME and application layer user 67 Table 96 Primitives delivered by FME to ESME 67 Table 97 Primitives delivered by ESME to FME 67 Table 98 Primitives parameters exchanged between FME and ESME 67 Table 99 State transitions of Type 14 FME . 68 Table 100 RcvNewIpAddress() descriptions . 70 Table 101 Attribute_Set() descriptions . 71 Table 102 RestoreDefaults() descriptions 71 Table 103 NewAddress() descriptions 71 Table 104 Restart_Type