1、Industrial communication networks Fieldbus specifications Part 5-17: Application layer service definition Type 17 elementsBS EN 61158-5-17:2008raising standards worldwideNO COPYING WITHOUT BSI PERMISSION EXCEPT AS PERMITTED BY COPYRIGHT LAWBSI British StandardsLicensed Copy: Wang Bin, ISO/EXCHANGE C
2、HINA STANDARDS, 31/05/2009 02:23, Uncontrolled Copy, (c) BSINational forewordThis British Standard is the UK implementation of EN 61158-5-17:2008. It isidentical with IEC 61158-5-17:2007. Together with all of the other sections ofBS EN 61158-5, it supersedes BS EN 61158-5:2004 which is withdrawn.The
3、 UK participation in its preparation was entrusted to Technical CommitteeAMT/7, Industrial communications - Process measurement and control, including FieldbusA list of organizations represented on this committee can be obtained onrequest to its secretary.This publication does not purport to include
4、 all the necessary provisions of acontract. Users are responsible for its correct application.Compliance with a British Standard cannot confer immunity fromlegal obligations. BSI 2009ISBN 978 0 580 61602 0ICS 25.040.40; 35.100.70Amendments issued since publicationAmd. No. Date Text affectedBRITISH S
5、TANDARDBS EN 61158-5-17:2008This British Standard was published under the authority of the StandardsPolicy and Strategy Committee on 31 January 2009. Licensed Copy: Wang Bin, ISO/EXCHANGE CHINA STANDARDS, 31/05/2009 02:23, Uncontrolled Copy, (c) BSIEUROPEAN STANDARD EN 61158-5-17 NORME EUROPENNE EUR
6、OPISCHE NORM March 2008 CENELEC European Committee for Electrotechnical Standardization Comit Europen de Normalisation Electrotechnique Europisches Komitee fr Elektrotechnische Normung Central Secretariat: rue de Stassart 35, B - 1050 Brussels 2008 CENELEC - All rights of exploitation in any form an
7、d by any means reserved worldwide for CENELEC members. Ref. No. EN 61158-5-17:2008 E ICS 35.100.70; 25.040.40 Partially supersedes EN 61158-5:2004English version Industrial communication networks - Fieldbus specifications - Part 5-17: Application layer service definition - Type 17 elements (IEC 6115
8、8-5-17:2007) Rseaux de communication industriels - Spcifications des bus de terrain - Partie 5-17: Dfinition des services des couches dapplication - Elments de type 17 (CEI 61158-5-17:2007) Industrielle Kommunikationsnetze - Feldbusse - Teil 5-17: Dienstfestlegungen des Application Layer (Anwendungs
9、schicht) - Typ 17-Elemente (IEC 61158-5-17:2007) This European Standard was approved by CENELEC on 2008-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
10、alteration. Up-to-date lists and bibliographical references concerning such national standards may be 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
11、by translation under the responsibility of a CENELEC member into its own language and notified to the 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, Est
12、onia, Finland, France, Germany, Greece, Hungary, Iceland, Ireland, Italy, Latvia, Lithuania, Luxembourg, Malta, the Netherlands, Norway, Poland, Portugal, Romania, Slovakia, Slovenia, Spain, Sweden, Switzerland and the United Kingdom. BS EN 61158-5-17:2008Licensed Copy: Wang Bin, ISO/EXCHANGE CHINA
13、STANDARDS, 31/05/2009 02:23, Uncontrolled Copy, (c) BSIEN 61158-5-17:2008 - 2 - Foreword The text of document 65C/475/FDIS, future edition 1 of IEC 61158-5-17, prepared by SC 65C, Industrial networks, of IEC TC 65, Industrial-process measurement, control and automation, was submitted to the IEC-CENE
14、LEC parallel vote and was approved by CENELEC as EN 61158-5-17 on 2008-02-01. This and the other parts of the EN 61158-5 series supersede EN 61158-5:2004. With respect to EN 61158-5:2004 the following changes were made: deletion of Type 6 fieldbus for lack of market relevance; addition of new fieldb
15、us types; partition into multiple parts numbered 5-2, 5-3, , 5-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-01 latest date by which the national standards confl
16、icting 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 made by the holders of those rights permits a particu
17、lar 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 their respective intellectual-property-right holde
18、rs. Annex ZA has been added by CENELEC. _ Endorsement notice The text of the International Standard IEC 61158-5-17:2007 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
19、: IEC 61158-6-17 NOTE Harmonized as EN 61158-6-17:2008 (not modified). IEC 61784-1 NOTE Harmonized as EN 61784-1:2008 (not modified). IEC 61784-2 NOTE Harmonized as EN 61784-2:2008 (not modified). _ BS EN 61158-5-17:2008Licensed Copy: Wang Bin, ISO/EXCHANGE CHINA STANDARDS, 31/05/2009 02:23, Uncontr
20、olled Copy, (c) BSI- 3 - EN 61158-5-17:2008 Annex ZA (normative) Normative references to international publications with their corresponding European publications The following referenced documents are indispensable for the application of this document. For dated references, only the edition cited a
21、pplies. For undated references, the latest 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/TR 61158-1 2007 In
22、dustrial communication networks - Fieldbus specifications - Part 1: Overview and guidance for the IEC 61158 and IEC 61784 series - - ISO/IEC 7498 Series Information technology - Open Systems Interconnection - Basic Reference Model EN ISO/IEC 7498 Series ISO/IEC 9545 - 1)Information technology - Open
23、 Systems Interconnection - Application Layer structure - - ISO/IEC 10731 - 1)Information technology - Open Systems Interconnection - Basic reference model - Conventions for the definition of OSI services - - 1) Undated reference. BS EN 61158-5-17:2008Licensed Copy: Wang Bin, ISO/EXCHANGE CHINA STAND
24、ARDS, 31/05/2009 02:23, Uncontrolled Copy, (c) BSI 2 61158-5-17 IEC:2007(E) CONTENTS INTRODUCTION.6 1 Scope.7 1.1 Overview .7 1.2 Specifications8 1.3 Conformance.8 2 Normative references .8 3 Definitions 8 3.1 Terms and definitions 8 3.2 Abbreviations and symbols14 3.3 Conventions 14 4 Concepts18 4.
25、1 General .18 4.2 Relationships between ASEs.18 4.3 FAL ASEs18 4.4 Common FAL service parameters19 5 ASEs19 5.1 Variable ASE.19 5.2 Event ASE.23 5.3 Load region ASE .25 5.4 Function invocation ASE .28 5.5 Time ASE30 5.6 Network management ASE33 5.7 Application relationship ASE .37 6 ARs 46 6.1 Gener
26、al .46 6.2 Point-to-point user-triggered confirmed client/server AREP (PTC-AR) .46 6.3 Point-to-point user-triggered unconfirmed client/server AREP (PTU-AR) .48 6.4 Point-to-point network-scheduled unconfirmed publisher/subscriber AREP (PSU-AR) 49 6.5 Multipoint user-triggered unconfirmed publisher/
27、subscriber AREP (MTU-AR) 50 6.6 Multipoint network-scheduled unconfirmed publisher/subscriber AREP (MSU-AR)51 7 Summary of FAL classes 53 8 Permitted FAL services by AREP role.53 Bibliography55 Figure 1 FAL ASEs 18 Figure 2 The AR ASE conveys APDUs between APs .37 Table 1 Read service parameters.21
28、Table 2 Write service parameters.22 Table 3 Information report service parameters .22 BS EN 61158-5-17:2008Licensed Copy: Wang Bin, ISO/EXCHANGE CHINA STANDARDS, 31/05/2009 02:23, Uncontrolled Copy, (c) BSI61158-5-17 IEC:2007(E) 3 Table 4 Event notification service parameters 24 Table 5 Event notifi
29、cation recovery service parameters25 Table 6 Download service parameters .27 Table 7 Upload service parameters27 Table 8 Start service parameters .29 Table 9 Stop service parameters29 Table 10 Resume service parameters 30 Table 11 Get network time service parameters 31 Table 12 Set network time serv
30、ice parameters.32 Table 13 Tick notification service parameters.32 Table 14 Get network status service parameters34 Table 15 Get station status service parameters35 Table 16 Network status change report service parameters .36 Table 17 Station status change report service parameters .36 Table 18 Conv
31、eyance of service primitives by AREP role.38 Table 19 Valid combinations of AREP roles involved in an AR .38 Table 20 AR-Unconfirmed Send.42 Table 21 AR-confirmed send43 Table 22 AR-establish service44 Table 23 AR-abort .45 Table 24 FAL class summary.53 Table 25 FAL services by AR type .54 BS EN 611
32、58-5-17:2008Licensed Copy: Wang Bin, ISO/EXCHANGE CHINA STANDARDS, 31/05/2009 02:23, Uncontrolled Copy, (c) BSI 6 61158-5-17 IEC:2007(E) 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
33、 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 immediately lower layer. This standard defines the application service ch
34、aracteristics 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 layer immediately above. Thus, the application layer service def
35、ined in this standard is a conceptual architectural service, independent of administrative and implementation divisions. BS EN 61158-5-17:2008Licensed Copy: Wang Bin, ISO/EXCHANGE CHINA STANDARDS, 31/05/2009 02:23, Uncontrolled Copy, (c) BSI61158-5-17 IEC:2007(E) 7 INDUSTRIAL COMMUNICATION NETWORKS
36、FIELDBUS SPECIFICATIONS Part 5-17: Application layer service definition Type 17 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 corresp
37、onding application 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 17 fieldbus. The term “time-critical” is used to represent the presence
38、of a time-window, 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
39、human life. This standard defines in an abstract way the externally visible service provided by the different Types of the 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)
40、 the primitive actions and events 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 standard is to define the services provided
41、 to 1) the FAL user at the boundary between the user and the Application Layer of the Fieldbus Reference Model, and 2) Systems Management at the boundary between the Application Layer and Systems Management of the Fieldbus Reference Model. This standard specifies the structure and services of the IE
42、C 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 the application processes. The FAL AE is composed of a set
43、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 ASEs is a management ASE that provides a common set of ser
44、vices 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, th
45、e 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 such object behavior. In addition to these services, some supporting services are also d
46、efined in this standard to provide access to the FAL to control certain aspects of its operation. BS EN 61158-5-17:2008Licensed Copy: Wang Bin, ISO/EXCHANGE CHINA STANDARDS, 31/05/2009 02:23, Uncontrolled Copy, (c) BSI 8 61158-5-17 IEC:2007(E) 1.2 Specifications The principal objective of this stand
47、ard is to specify the characteristics of conceptual application layer services suitable for time-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
48、migration paths from previously-existing industrial communications protocols. It is this latter objective which gives rise to the diversity of services standardized as the various types of IEC 61158. This specification may be used as the basis for formal Application Programming-Interfaces. Neverthel
49、ess, it is not a formal 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, primitives. 1.3 Conformance This standard does not specify individual implementations or products, nor do they constrain the