1、raising standards worldwideNO COPYING WITHOUT BSI PERMISSION EXCEPT AS PERMITTED BY COPYRIGHT LAWBSI Standards PublicationIndustrial communication networks Fieldbus specificationsPart 5-18: Application layer service definition Type 18 elementsBS EN 61158-5-18:2012National forewordThis British Standa
2、rd is the UK implementation of EN 61158-5-18:2012. It is identical to IEC 61158-5-18:2010. It supersedes BS EN 61158-5-18:2008 which is withdrawn.The UK participation in its preparation was entrusted to Technical Committee AMT/7, Industrial communications: process measurement and control,including f
3、ieldbus.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 by BSI
4、 Standards Limited 2012 ISBN 978 0 580 71558 7 ICS 25.040.40; 35.100.70; 35.110Compliance 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 issued sin
5、ce publicationDate Text affectedBRITISH STANDARDBS EN 61158-5-18:2012EUROPEAN STANDARD EN 61158-5-18 NORME EUROPENNE EUROPISCHE NORM June 2012 CENELEC European Committee for Electrotechnical Standardization Comit Europen de Normalisation Electrotechnique Europisches Komitee fr Elektrotechnische Norm
6、ung 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-5-18:2012 E ICS 25.040.40; 35.100.70; 35.110 Supersedes EN 61158-5-18:2008English version Industrial communicati
7、on networks - Fieldbus specifications - Part 5-18: Application layer service definition - Type 18 elements (IEC 61158-5-18:2010) Rseaux de communication industriels - Spcifications des bus de terrain - Partie 5-18: Dfinition des services des couches dapplication - Elments de type 18 (CEI 61158-5-18:
8、2010) Industrielle Kommunikationsnetze - Feldbusse - Teil 5-18: Dienstfestlegungen des Application Layer (Anwendungsschicht) - Typ 18-Elemente (IEC 61158-5-18:2010) This European Standard was approved by CENELEC on 2012-03-28. CENELEC members are bound to comply with the CEN/CENELEC Internal Regulat
9、ions 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 to any CENELEC mem
10、ber. 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 the official versio
11、ns. 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, Poland, Portugal,
12、Romania, Slovakia, Slovenia, Spain, Sweden, Switzerland, Turkey and the United Kingdom. BS EN 61158-5-18:2012EN 61158-5-18:2012 - 2 - Foreword The text of document 65C/606/FDIS, future edition 2 of IEC 61158-5-18, prepared by SC 65C, “Industrial networks“, of IEC/TC 65, “Industrial-process measureme
13、nt, control and automation“ was submitted to the IEC-CENELEC parallel vote and approved by CENELEC as EN 61158-5-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 endorsement (dop)
14、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-5-18:2008. EN 61158-5-18:2012 includes the following significant technical change with respect to EN 61158-5-18:2008: editorial corrections; ad
15、dition 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 the International Sta
16、ndard IEC 61158-5-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 61131-1 NOTE Harmonized as EN 61131-1. IEC 61131-3 NOTE Harmonized as EN 61131-3. IEC 61
17、158-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). IEC 61158-6-18:2010 NOTE Harmonized as EN 61158-6-18:2012 (not modified). BS EN 61158-5-18:2012- 3 - EN 61158-5-18:2012 Annex ZA (normative) Normative referen
18、ces to international publications with their corresponding European 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 late
19、st edition of the referenced document (including any amendments) 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 60559 - Binary floating-point arithmetic for microprocesso
20、r systems HD 592 S1 - IEC/TR 61158-1 2010 Industrial communication networks - Fieldbus specifications - Part 1: Overview and guidance for the IEC 61158 and IEC 61784 series CLC/TR 61158-1 2010 ISO/IEC 7498-1 - Information technology - Open Systems Interconnection - Basic Reference Model: The Basic M
21、odel - - ISO/IEC 8822 - Information technology - Open Systems Interconnection - Presentation service definition - - ISO/IEC 8824-1 - Information technology - Abstract Syntax Notation One (ASN.1): Specification of basic notation - - ISO/IEC 9545 - Information technology - Open Systems Interconnection
22、 - Application Layer structure - - BS EN 61158-5-18:2012 2 61158-5-18 IEC:2010(E) CONTENTS INTRODUCTION.5 1 Scope.6 1.1 Overview .6 1.2 Specifications7 1.3 Conformance.7 2 Normative references .7 3 Terms, definitions, abbreviations, and conventions.8 3.1 Referenced terms and definitions 8 3.2 Additi
23、onal terms and definitions for distributed automation 8 3.3 Abbreviations and symbols9 3.4 Conventions 9 4 Concepts9 4.1 Common concepts.9 4.2 Type specific concepts 9 5 Data type ASE11 5.1 General .11 5.2 Formal definition of data type objects 11 5.3 FAL defined data types11 5.4 Data type ASE servi
24、ce specification 14 6 Communication model specification14 6.1 General .14 6.2 ASEs.14 6.3 ARs.22 Bibliography36 Table 1 AR types .10 Table 2 Process data support level 11 Table 3 Get Attributes service parameters .15 Table 4 Set Attributes service parameters16 Table 5 Error indication parameters .16
25、 Table 6 Connect service parameters17 Table 7 Disconnect service parameters17 Table 8 Start scan service parameters .18 Table 9 Stop scan service parameters .18 Table 10 M1 Verify slave configuration service parameters24 Table 11 Stop scan service parameters .25 Table 12 M2 Verify slave configuratio
26、n service parameters26 Table 13 Get attributes service parameters28 Table 14 Set attributes service parameters 29 Table 15 Error indication parameters .29 BS EN 61158-5-18:201261158-5-18 IEC:2010(E) 5 INTRODUCTION This part of IEC 61158 is one of a series produced to facilitate the interconnection o
27、f 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 service is provided by the application protocol making use of the services available from the data-link or other immediate
28、ly lower layer. This standard defines the application service characteristics that fieldbus applications and/or system management may exploit. Throughout the set of fieldbus standards, the term “service” refers to the abstract capability provided by one layer of the OSI Basic Reference Model to the
29、layer immediately above. Thus, the application layer service defined in this standard is a conceptual architectural service, independent of administrative and implementation divisions. BS EN 61158-5-18:2012 6 61158-5-18 IEC:2010(E) INDUSTRIAL COMMUNICATION NETWORKS FIELDBUS SPECIFICATIONS Part 5-18:
30、 Application layer service definition Type 18 elements 1 Scope 1.1 Overview 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 application programs.” This
31、 part of IEC 61158 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 18 fieldbus. The term “time-critical” is used to represent the presence of a time-window, within
32、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. This part of
33、IEC 61158 defines in an abstract way the externally visible service provided by the Type 18 fieldbus application layer in terms of a) an abstract model for defining application resources (objects) capable of being manipulated by users via the use of the FAL service, b) the primitive actions and even
34、ts of the service; c) the parameters associated with each primitive action and event, and the form which they take; and d) the interrelationship between these actions and events, and their valid sequences. The purpose of this part of IEC 61158 is to define the services provided to a) the FAL user at
35、 the boundary between the user and the Application Layer of the Fieldbus Reference Model, and b) Systems Management at the boundary between the Application Layer and Systems Management of the Fieldbus Reference Model. This part of IEC 61158 specifies the structure and services of the Type 18 IEC fie
36、ldbus Application Layer, in conformance with the OSI Basic Reference Model (ISO/IEC 7498-1) and the OSI Application Layer Structure (ISO/IEC 9545). FAL services and protocols are provided by FAL application-entities (AE) contained within the application processes. The FAL AE is composed of a set of
37、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 ASEs is a management ASE that provides a common set of servic
38、es 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 and responding applications are to do with them. That is, the b
39、ehavioral aspects of the applications are not specified; only a definition of what requests and responses they can BS EN 61158-5-18:201261158-5-18 IEC:2010(E) 7 send/receive is specified. This permits greater flexibility to the FAL users in standardizing such object behavior. In addition to these se
40、rvices, 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 part of IEC 61158 is to specify the characteristics of conceptual application layer services suitable for ti
41、me-critical communications, and thus supplement the OSI Basic Reference Model in guiding the development of application layer protocols for time-critical communications. A secondary objective is to provide migration paths from previously-existing industrial communications protocols. It is this latte
42、r objective which gives rise to the diversity of services standardized as the various Types of IEC 61158, and the corresponding protocols standardized in subparts of IEC 61158-6. This specification may be used as the basis for formal Application Programming-Interfaces. Nevertheless, it is not a form
43、al programming interface, and any such interface will need to address implementation issues not covered by this specification, including a) the sizes and octet ordering of various multi-octet service parameters, and b) the correlation of paired request and confirm, or indication and response, primit
44、ives. 1.3 Conformance This part of IEC 61158 does not specify individual implementations or products, nor do they constrain the implementations of application layer entities within industrial automation systems. There is no conformance of equipment to this application layer service definition standa
45、rd. Instead, conformance is achieved through implementation of conforming application layer protocols that fulfill the Type 18 application layer services as defined in this part of IEC 61158. 2 Normative references The following referenced documents are indispensable for the application of this docu
46、ment. 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 microprocessor systems IEC/TR 61158-1:20101, Industrial communication networks Fieldbu
47、s specifications Part 1: Overview and guidance for the IEC 61158 and IEC 61784 series 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 8
48、824-1, Information technology Abstract Syntax Notation One (ASN.1): Specification of basic notation _ 1To be published BS EN 61158-5-18:2012 8 61158-5-18 IEC:2010(E) ISO/IEC 9545, Information technology Open Systems Interconnection Application Layer structure 3 Terms, definitions, abbreviations, and
49、 conventions 3.1 Referenced terms and definitions 3.1.1 ISO/IEC 7498-1 terms For the purposes of this document, the following terms as defined in ISO/IEC 7498-1 apply: a) application entity b) application process c) application protocol data unit d) application service element e) application entity invocation f) application process invocation g) application transaction h) real open system i) transfer syntax 3.1.2 ISO/IEC 8822 terms For the purposes of this do