1、BRITISH STANDARDBS EN 61158-6-11:2008Industrial communication networks Fieldbus specifications Part 6-11: Application layer protocol specification Type 11 elementsICS 25.040.40; 35.100.70g49g50g3g38g50g51g60g44g49g42g3g58g44g55g43g50g56g55g3g37g54g44g3g51g40g53g48g44g54g54g44g50g49g3g40g59g38g40g51g
2、55g3g36g54g3g51g40g53g48g44g55g55g40g39g3g37g60g3g38g50g51g60g53g44g42g43g55g3g47g36g58BS EN 61158-6-11:2008This British Standard was published under the authority of the Standards Policy and Strategy Committee on 30 June 2008 BSI 2008ISBN 978 0 580 61631 0National forewordA list of organizations re
3、presented 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.Compliance with a British Standard cannot confer immunity from legal obligations.Amendmen
4、ts/corrigenda issued since publicationDate CommentsThis British Standard is the UK implementation of EN 61158-6-11:2008. It is identical with IEC 61158-6-11:2007. Together with all of the other sections of BS EN 61158-6, it supersedes BS EN 61158-6:2004 which is withdrawn. The UK participation in it
5、s preparation was entrusted to Technical Committee AMT/7, Industrial communications Process measurement and control, including Fieldbus.EUROPEAN STANDARD EN 61158-6-11 NORME EUROPENNE EUROPISCHE NORM March 2008 CENELEC European Committee for Electrotechnical Standardization Comit Europen de Normalis
6、ation Electrotechnique Europisches Komitee fr Elektrotechnische Normung Central Secretariat: rue de Stassart 35, B - 1050 Brussels 2008 CENELEC - All rights of exploitation in any form and by any means reserved worldwide for CENELEC members. Ref. No. EN 61158-6-11:2008 E ICS 35.100.70; 25.040.40 Par
7、tially supersedes EN 61158-6:2004English version Industrial communication networks - Fieldbus specifications - Part 6-11: Application layer protocol specification - Type 11 elements (IEC 61158-6-11:2007) Rseaux de communication industriels - Spcifications des bus de terrain - Partie 6-11: Spcificati
8、on des services des couches dapplication - Elments de type 11 (CEI 61158-6-11:2007) Industrielle Kommunikationsnetze - Feldbusse - Teil 6-11: Protokollspezifikation des Application Layer (Anwendungsschicht) - Typ 11-Elemente (IEC 61158-6-11:2007) This European Standard was approved by CENELEC on 200
9、8-02-01. CENELEC members are bound to comply with the CEN/CENELEC 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
10、obtained on application to the Central Secretariat or 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
11、Central Secretariat has the same status as the official versions. CENELEC members are the national electrotechnical committees of Austria, Belgium, Bulgaria, Cyprus, the Czech Republic, Denmark, Estonia, Finland, France, Germany, Greece, Hungary, Iceland, Ireland, Italy, Latvia, Lithuania, Luxembour
12、g, Malta, the Netherlands, Norway, Poland, Portugal, Romania, Slovakia, Slovenia, Spain, Sweden, Switzerland and the United Kingdom. Foreword The text of document 65C/476/FDIS, future edition 1 of IEC 61158-6-11, prepared by SC 65C, Industrial networks, of IEC TC 65, Industrial-process measurement,
13、control and automation, was submitted to the IEC-CENELEC parallel vote and was approved by CENELEC as EN 61158-6-11 on 2008-02-01. This and the other parts of the EN 61158-6 series supersede EN 61158-6:2004. With respect to EN 61158-6:2004 the following changes were made: deletion of Type 6 fieldbus
14、 for lack of market relevance; addition of new fieldbus types; partition into multiple parts numbered 6-2, 6-3, 6-20. The following dates were fixed: latest date by which the EN has to be implemented at national level by publication of an identical national standard or by endorsement (dop) 2008-11-0
15、1 latest date by which the national standards conflicting with the EN have to be withdrawn (dow) 2011-02-01 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 ma
16、de by the holders of those rights permits a particular data-link layer protocol type to be used with physical layer and application layer protocols in type combinations as specified explicitly in the EN 61784 series. Use of the various protocol types in other combinations may require permission from
17、 their respective intellectual-property-right holders. IEC and CENELEC draw attention to the fact that it is claimed that compliance with this standard may involve the use of patents as follows, where the xx notation indicates the holder of the patent right: TOSHIBA has the patent applications liste
18、d below: US Publication Number 6711131 and its counterpart patents in other countries US Publication Number 5414813 and its counterpart patents in other countries US Publication Number 4930121 and its counterpart patents in other countries IEC and CENELEC take no position concerning the evidence, va
19、lidity and scope of these patent rights. The holder of these patent rights has assured IEC that he is willing to negotiate licences under reasonable and non-discriminatory terms and conditions with applicants throughout the world. In this respect, the statements of the holder of these patent rights
20、are registered with IEC. Information may be obtained from: Toshiba Corporation 1-1, Shibaura 1-Chome Minato-ku Tokyo 105-8001, Japan Attention is drawn to the possibility that some of the elements of this standard may be the subject of patent rights other than those identified above. IEC and CENELEC
21、 shall not be held responsible for identifying any or all such patent rights. Annex ZA has been added by CENELEC. _ BS EN 61158-6-11:2008 2 Endorsement notice The text of the International Standard IEC 61158-6-11:2007 was approved by CENELEC as a European Standard without any modification. _ BS EN 6
22、1158-6-11:2008 3 CONTENTS INTRODUCTION.6 1 Scope.7 1.1 General .7 1.2 Specifications8 1.3 Conformance.8 2 Normative references .8 3 Terms, definitions, symbols, abbreviations and conventions .9 3.1 Introduction .9 3.2 Terms and definitions from other ISO/IEC standards .9 3.3 Terms and definitions fr
23、om IEC/TR 61158-1 10 3.4 Other terms and definitions .10 3.5 Abbreviations and symbols11 3.6 Conventions 12 4 FAL syntax description .13 4.1 Concept 13 4.2 General .14 4.3 FAL-AR PDU abstract syntax 14 4.4 Abstract syntax of PDU body.15 4.5 Data type 15 5 Transfer syntax 15 5.1 Overview and FAL head
24、er .15 5.2 Encoding rule 16 5.3 Encoding of structured types .18 6 FAL protocol state machines structures 18 6.1 Overview .18 7 FAL service protocol machine (FSPM)19 7.1 General .19 7.2 Primitives definitions .19 7.3 FSPM state tables .20 8 Application relationship protocol machine (ARPM)21 8.1 Gene
25、ral .21 8.2 Primitive definitions .21 8.3 DLL mapping of BNU-PEC AREP class .22 8.4 BNU-PEC ARPM states machine.23 9 DLL mapping protocol machine (DMPM).25 9.1 Overview .25 9.2 Primitive definitions .26 9.3 DLL mapping protocol machine (DMPM)27 9.4 Data-link layer service selection 30 Bibliography31
26、 Annex ZA (normative) Normative references to international publications with theircorresponding European publications 32BS EN 61158-6-11:2008 4 Figure 4 State transition diagram of FSPM.20 Figure 5 State transition diagram of the BNU-PEC .23 Figure 6 State transition diagram of DMPM27 Table 1 Conve
27、ntions used for state machines 12 Table 2 FAL header .16 Table 3 Primitives issued by FAL user to FSPM .20 Table 4 Primitives issued by FSPM to FAL user .20 Table 5 FSPM state table sender transactions 20 Table 6 FSPM state table receiver transactions 21 Table 7 Function SelectArep 21 Table 8 Primit
28、ives issued by FSPM to ARPM .22 Table 9 Primitives issued by ARPM to FSPM .22 Table 10 Parameters used with primitives exchanged between FSPM and ARPM 22 Table 11 BNU-PEC state descriptions23 Table 12 BNU-PEC ARPM state table sender transactions24 Table 13 BNU-PEC ARPM state table receiver transacti
29、ons24 Table 14 Function GetArepId ()25 Table 15 Function BuildFAL-PDU.25 Table 16 Function FAL_Pdu_Type .25 Table 17 Primitives issued by ARPM to DMPM 26 Table 18 Primitives issued by DMPM to ARPM 26 Table 19 Parameters used with primitives exchanged between ARPM and DMPM .26 Table 20 Primitives exc
30、hanged between data-link layer and DMPM .27 Table 21 DMPM state descriptions.27 Table 22 DMPM state table sender transactions .28 Table 23 DMPM state table receiver transactions29 Table 24 Function PickArep .29 Table 25 Function FindAREP .29 Figure 1 RTE-TCnet communication profile14 Figure 2 APDU o
31、verview 16 Figure 3 Relationship between FSPM, ARPM, DMPM and external physical CM 19 BS EN 61158-6-11:2008 5 INTRODUCTION This part of IEC 61158 is one of a series produced to facilitate the interconnection of automation system components. It is related to other standards in the set as defined by t
32、he “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 immediately lower layer. The primary aim of this standard is to provide a set of rules for communicatio
33、n 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 development in order to serve a variety of purposes: as a guide for implementors and designers; for use in
34、 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 communications within OSI. This standard is concerned, in particular, with the communication and interworking of s
35、ensors, 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 together in any combination. BS EN 61158-6-11:2008 6 INDUSTRIAL COMMUNICATION NETWORKS FIELDBUS SPECIFI
36、CATIONS Part 6-11: Application layer protocol specification Type 11 elements 1 Scope 1.1 General The fieldbus Application Layer (FAL) provides user programs with a means to access the fieldbus communication environment. In this respect, the FAL can be viewed as a “window between corresponding applic
37、ation programs.” This standard provides common elements for basic time-critical and non-time-critical messaging communications between application programs in an automation environment and material specific to Type 11 fieldbus. The term “time-critical” is used to represent the presence of a time-win
38、dow, within which one or more specified actions are required to be completed with some defined level of certainty. Failure to complete specified actions within the time window risks failure of the applications requesting the actions, with attendant risk to equipment, plant and possibly human life. T
39、his standard defines in an abstract way the externally visible behavior provided by the different Types of the fieldbus Application Layer in terms of a) the abstract syntax defining the application layer protocol data units conveyed between communicating application entities, b) the transfer syntax
40、defining the application layer protocol data units conveyed between communicating application entities, c) the application context state machine defining the application service behavior visible between communicating application entities; and d) the application relationship state machines defining t
41、he communication behavior visible between communicating application entities; and. The purpose of this standard is to define the protocol provided to 1) define the wire-representation of the service primitives defined in IEC 61158-5-11, and 2) define the externally visible behavior associated with t
42、heir transfer. This standard specify the protocol of the IEC fieldbus Application Layer, in conformance with the OSI Basic Reference Model (ISO/IEC 7498) and the OSI Application Layer Structure (ISO/IEC 9545). FAL services and protocols are provided by FAL application-entities (AE) contained within
43、the application processes. The FAL AE is composed of a set of object-oriented Application Service Elements (ASEs) and a Layer Management Entity (LME) that manages the AE. The ASEs provide communication services that operate on a set of related application process object (APO) classes. One of the FAL
44、 ASEs is a management ASE that provides a common set of services for the management of the instances of FAL classes. Although these services specify, from the perspective of applications, how request and responses are issued and delivered, they do not include a specification of what the requesting a
45、nd responding applications are to do with them. That is, the behavioral aspects of the applications are not specified; only a definition of what requests and responses they can send/receive is specified. This permits greater flexibility to the FAL users in standardizing BS EN 61158-6-11:2008 7 such
46、object behavior. In addition to these services, some supporting services are also defined in this standard to provide access to the FAL to control certain aspects of its operation. 1.2 Specifications The principal objective of this standard is to specify the syntax and behavior of the application la
47、yer protocol that conveys the application layer services defined in IEC 61158-5-11. A secondary objective is to provide migration paths from previously-existing industrial communications protocols. It is this latter objective which gives rise to the diversity of protocols standardized in parts of th
48、e IEC 61158-6 series. 1.3 Conformance This standard does not specify individual implementations or products, nor does it constrain the implementations of application layer entities within industrial automation systems. There is no conformance of equipment to the application layer service definition
49、standard. Instead, conformance is achieved through implementation of this application layer protocol specification. 2 Normative references The following referenced documents are indispensable for the application of this document. For dated references, only the edition cited applies. For undated references, the latest edition of the referenced document (including any amendments) applies. IEC 60559, Binary floating-point arithmetic for mic