1、raising standards worldwideNO COPYING WITHOUT BSI PERMISSION EXCEPT AS PERMITTED BY COPYRIGHT LAWBSI Standards PublicationIndustrial Communication Networks Fieldbus Specifications Part 6-18: Application layer protocol specification Type 18 elementsBS EN 61158-6-18:2012National forewordThis British S
2、tandard is the UK implementation of EN 61158-6-18:2012. It is identical to IEC 61158-6-18:2010. It supersedes BS EN 61158-6-18:2008 which is withdrawn.The UK participation in its preparation was entrusted to Technical Committee AMT/7, Industrial communications: process measurement and control, inclu
3、ding fieldbus.A list of organizations represented on this committee can be obtained on request to its secretary.This publication does not purport to include all the necessary provisions of a contract. Users are responsible for its correct application. The British Standards Institution 2012Published
4、by BSI Standards Limited 2012 ISBN 978 0 580 71569 3 ICS 25.04.40; 35.100.70; 35.110 Compliance with a British Standard cannot confer immunity from legal obligations.This British Standard was published under the authority of the Standards Policy and Strategy Committee on 31 July 2012.Amendments issu
5、ed since publicationDate Text affectedBRITISH STANDARDBS EN 61158-6-18:2012EUROPEAN STANDARD EN 61158-6-18 NORME EUROPENNE EUROPISCHE NORM June 2012 CENELEC European Committee for Electrotechnical Standardization Comit Europen de Normalisation Electrotechnique Europisches Komitee fr Elektrotechnisch
6、e Normung Management Centre: Avenue Marnix 17, B - 1000 Brussels 2012 CENELEC - All rights of exploitation in any form and by any means reserved worldwide for CENELEC members. Ref. No. EN 61158-6-18:2012 E ICS 25.040.40; 35.100.70; 35.110 Supersedes EN 61158-6-18:2008English version Industrial commu
7、nication networks - Fieldbus specifications - Part 6-18: Application layer protocol specification - Type 18 elements (IEC 61158-6-18:2010) Rseaux de communication industriels - Spcifications des bus de terrain - Partie 6-18: Spcification des protocoles des couches dapplication - Elments de type 18 (
8、CEI 61158-6-18:2010) Industrielle Kommunikationsnetze - Feldbusse - Teil 6-18: Protokollspezifikation des Application Layer (Anwendungsschicht) - Typ 18-Elemente (IEC 61158-6-18:2010) This European Standard was approved by CENELEC on 2012-03-28. CENELEC members are bound to comply with the CEN/CENEL
9、EC Internal Regulations which stipulate the conditions for giving this European Standard the status of a national standard without any alteration. Up-to-date lists and bibliographical references concerning such national standards may be obtained on application to the CEN-CENELEC Management Centre or
10、 to any CENELEC member. This European Standard exists in three official versions (English, French, German). A version in any other language made by translation under the responsibility of a CENELEC member into its own language and notified to the CEN-CENELEC Management Centre has the same status as
11、the official versions. CENELEC members are the national electrotechnical committees of Austria, Belgium, Bulgaria, Croatia, Cyprus, the Czech Republic, Denmark, Estonia, Finland, France, Germany, Greece, Hungary, Iceland, Ireland, Italy, Latvia, Lithuania, Luxembourg, Malta, the Netherlands, Norway,
12、 Poland, Portugal, Romania, Slovakia, Slovenia, Spain, Sweden, Switzerland, Turkey and the United Kingdom. BS EN 61158-6-18:2012EN 61158-6-18:2012 - 2 - Foreword The text of document 65C/607/FDIS, future edition 2 of IEC 61158-6-18, prepared by SC 65C, “Industrial networks“, of IEC/TC 65, “Industria
13、l-process measurement, control and automation“ was submitted to the IEC-CENELEC parallel vote and approved by CENELEC as EN 61158-6-18:2012. The following dates are fixed: latest date by which the document has to be implemented at national level by publication of an identical national standard or by
14、 endorsement (dop) 2012-12-28 latest date by which the national standards conflicting with the document have to be withdrawn (dow) 2015-03-28 This document supersedes EN 61158-6-18:2008. EN 61158-6-18:2012 includes the following significant technical changes with respect to EN 61158-6-18:2008: edito
15、rial corrections; addition of cyclic data segmenting. Attention is drawn to the possibility that some of the elements of this document may be the subject of patent rights. CENELEC and/or CEN shall not be held responsible for identifying any or all such patent rights. Endorsement notice The text of t
16、he International Standard IEC 61158-6-18:2010 was approved by CENELEC as a European Standard without any modification. In the official version, for Bibliography, the following notes have to be added for the standards indicated: IEC/TR 61158-1:2010 NOTE Harmonized as CLC/TR 61158-1:2010 (not modified
17、). IEC 61158-3-18:2007 NOTE Harmonized as EN 61158-3-18:2008 (not modified). IEC 61158-4-18:2010 NOTE Harmonized as EN 61158-4-18:2012 (not modified). BS EN 61158-6-18:2012- 3 - EN 61158-6-18:2012 Annex ZA (normative) Normative references to international publications with their corresponding Europe
18、an publications The following documents, in whole or in part, are normatively referenced in this document and are indispensable for its application. For dated references, only the edition cited applies. For undated references, the latest edition of the referenced document (including any amendments)
19、applies. NOTE When an international publication has been modified by common modifications, indicated by (mod), the relevant EN/HD applies. Publication Year Title EN/HD Year IEC 61158-5-18 2010 Industrial communication networks - Fieldbus specifications - Part 5-18: Application layer service definiti
20、on -Type 18 elements EN 61158-5-18 2012 ISO/IEC 7498-1 - Information technology - Open Systems Interconnection - Basic Reference Model: The Basic Model - - ISO/IEC 8822 - Information technology - Open Systems Interconnection - Presentation service definition - - ISO/IEC 8824-1 - Information technolo
21、gy - Abstract Syntax Notation One (ASN.1): Specification of basic notation - - ISO/IEC 9545 - Information technology - Open Systems Interconnection - Application Layer structure - - ISO/IEC 10731 - Information technology - Open Systems Interconnection - Basic reference model - Conventions for the de
22、finition of OSI services - - BS EN 61158-6-18:2012 2 61158-6-18 IEC:2010(E) CONTENTS INTRODUCTION.7 1 Scope.8 1.1 General .8 1.2 Specifications8 1.3 Conformance.9 2 Normative references .9 3 Terms and definitions .9 3.1 Terms and definitions from other ISO/IEC standards .9 3.2 Other terms and defini
23、tions .10 3.3 Abbreviations and symbols16 3.4 Additional abbreviations and symbols for type 18 16 3.5 Conventions 17 4 Abstract syntax.17 4.1 M1 device manager PDU abstract syntax 17 4.2 M2 device manager PDU abstract syntax 17 4.3 S1 device manager PDU abstract syntax.18 4.4 S2 device manager PDU a
24、bstract syntax.18 4.5 M1 connection manager PDU abstract syntax18 4.6 M2 connection manager PDU abstract syntax19 4.7 S1 connection manager PDU abstract syntax 19 4.8 S2 connection manager PDU abstract syntax 20 4.9 M1 cyclic transmission PDU abstract syntax20 4.10 M2 cyclic transmission PDU abstrac
25、t syntax20 4.11 S1 cyclic transmission PDU abstract syntax 21 4.12 S2 cyclic transmission PDU abstract syntax 21 4.13 Acyclic transmission PDU abstract syntax .21 5 Transfer syntax 22 5.1 M1 device manager PDU encoding22 5.2 M2 device manager PDU encoding25 5.3 S1 device manager PDU encoding 26 5.4
26、S2 device manager PDU encoding 26 5.5 M1 connection manager PDU encoding .27 5.6 M2 connection manager PDU encoding .31 5.7 S1 connection manager PDU encoding32 5.8 S2 connection manager PDU encoding33 5.9 M1 cyclic transmission PDU encoding .33 5.10 M2 cyclic transmission PDU encoding .35 5.11 S1 c
27、yclic transmission PDU encoding36 5.12 S2 cyclic transmission PDU encoding37 5.13 Acyclic transmission PDU encoding.38 6 Structure of FAL protocol state machines .45 7 AP-context state machine.47 8 FAL service protocol machine (FSPM)47 8.1 Overview .47 8.2 FAL service primitives .47 BS EN 61158-6-18
28、:201261158-6-18 IEC:2010(E) 3 9 AR protocol machine (ARPM) .48 9.1 Overview .48 9.2 M1 master ARPM 49 9.3 M2 master ARPM 53 9.4 Slave ARPM56 10 DLL mapping protocol machine (DMPM).59 10.1 Overview .59 10.2 Primitives received from the ARPM .59 10.3 Indications received from the DL .59 Bibliography60
29、 Figure 1 Parameter block 1 command parameter field40 Figure 2 Parameter block 2 command parameter field41 Figure 3 Relationships among protocol machines and adjacent layers .46 Figure 4 ARPM M1 master AR state diagram .49 Figure 5 ARPM M2 master AR state diagram .53 Figure 6 ARPM slave AR state dia
30、gram .56 Table 1 M1 device manager attribute format 17 Table 2 M2 device manager attribute format 17 Table 3 S1 device manager attribute format.18 Table 4 S2 device manager attribute format.18 Table 5 M1 connection manager attribute format18 Table 6 M2 connection manager attribute format19 Table 7 S
31、1 connection manager attribute format 20 Table 8 S2 connection manager attribute format 20 Table 9 M1 cyclic transmission attribute format20 Table 10 M2 cyclic transmission attribute format21 Table 11 S1 cyclic transmission attribute format 21 Table 12 S2 cyclic transmission attribute format 21 Tabl
32、e 13 Acyclic transmission attribute format .21 Table 14 M1 device manager attribute encoding 23 Table 15 M2 device manager attribute encoding 25 Table 16 S1 device manager attribute encoding.26 Table 17 S2 device manager attribute encoding.27 Table 18 M1 connection manager attribute encoding .28 Tab
33、le 19 M2 connection manager attribute encoding .31 Table 20 S1 connection manager attribute encoding 32 Table 21 S2 connection manager attribute encoding 33 Table 22 M1 cyclic transmission attribute encoding34 Table 23 M2 cyclic transmission attribute encoding36 Table 24 S1 cyclic transmission attri
34、bute encoding 36 Table 25 S2 cyclic transmission attribute encoding 38 Table 26 Acyclic transmission message data encoding .38 BS EN 61158-6-18:2012 4 61158-6-18 IEC:2010(E) Table 27 Command header format .39 Table 28 Command codes .39 Table 29 System information command parameter field .42 Table 30
35、 System information command parameter field .42 Table 31 System information command parameter field .42 Table 32 System information command parameter field .43 Table 33 Line test command parameter field43 Table 34 Memory read command parameter field.44 Table 35 Memory write command parameter field 4
36、5 Table 36 FSPM events.48 Table 37 M1 master state-event table 1 events .51 Table 38 M1 master state-event table 2 receipt of FSPM service primitives 51 Table 39 M1 master state-event table 3 receipt of DMPM service primitives53 Table 40 M2 master state-event table 1 events .54 Table 41 M2 master st
37、ate-event table 2 receipt of FSPM service primitives 55 Table 42 M2 master state-event table 3 receipt of DMPM service primitives55 Table 43 S1 connect monitoring time .57 Table 44 S2 connect monitoring time .57 Table 45 Slave state-event table 1 events.58 Table 46 Slave state-event table 2 receipt
38、of FSPM service primitives 58 Table 47 Slave state-event table 3 receipt of DMPM service primitives .58 Table 48 ARPM to DL mapping 59 Table 49 DL to ARPM mapping 59 BS EN 61158-6-18:201261158-6-18 IEC:2010(E) 7 INTRODUCTION This part of IEC 61158 is one of a series produced to facilitate the interc
39、onnection of automation system components. It is related to other standards in the set as defined by the “three-layer” fieldbus reference model described in IEC/TR 61158-1. The application protocol provides the application service by making use of the services available from the data-link or other i
40、mmediately lower layer. The primary aim of this standard is to provide a set of rules for communication expressed in terms of the procedures to be carried out by peer application entities (AEs) at the time of communication. These rules for communication are intended to provide a sound basis for deve
41、lopment in order to serve a variety of purposes: as a guide for implementers and designers; for use in the testing and procurement of equipment; as part of an agreement for the admittance of systems into the open systems environment; as a refinement to the understanding of time-critical communicatio
42、ns within OSI. This standard is concerned, in particular, with the communication and interworking of sensors, effectors and other automation devices. By using this standard together with other standards positioned within the OSI or fieldbus reference models, otherwise incompatible systems may work t
43、ogether in any combination. NOTE Use of some of the associated protocol types is restricted by their intellectual-property-right holders. In all cases, the commitment to limited release of intellectual-property-rights made by the holders of those rights permits a particular data-link layer protocol
44、type to be used with physical layer and application layer protocols in Type combinations as specified explicitly in the profile parts. Use of the various protocol types in other combinations may require permission from their respective intellectual-property-right holders. The International Electrote
45、chnical Commission (IEC) draws attention to the fact that it is claimed that compliance with this document may involve the use of patents concerning Type 18 elements and possibly other types given in subclause 4.5, 5.5, 6.9.2 and 9.2.2 as follows: 3343036/Japan MEC “Network System for a Programmable
46、 Controller” 5896509/USA MEC “Network System for a Programmable Controller” 246906/Korea MEC “Network System for a Programmable Controller” 19650753/Germany MEC “Network System for a Programmable Controller” IEC takes no position concerning the evidence, validity and scope of these patent rights. Th
47、e holder of these patent rights has assured the IEC that he/she is willing to negotiate licences either free of charge or under reasonable and non-discriminatory terms and conditions with applicants throughout the world. In this respect, the statement of the holder of these patent rights is register
48、ed with IEC. Information may be obtained from: MEC Mitsubishi Electric Corporation Corporate Licensing Division 7-3, Marunouchi 2-chome, Chiyoda-ku, Tokyo 100-8310, Japan Attention is drawn to the possibility that some of the elements of this document may be the subject of patent rights other than t
49、hose identified above. IEC shall not be held responsible for identifying any or all such patent rights. ISO (www.iso.org/patents) and IEC (http:/www.iec.ch/tctools/patent_decl.htm) maintain on-line data bases of patents relevant to their standards. Users are encouraged to consult the data bases for the most up to date information concerning patents. BS EN 61158-6-18:2012 8 61158-6
copyright@ 2008-2019 麦多课文库(www.mydoc123.com)网站版权所有
备案/许可证编号:苏ICP备17064731号-1