1、BRITISH STANDARDBS EN 61158-5-8:2008Industrial communication networks Fieldbus specifications Part 5-8: Application layer service definition Type 8 elementsICS 25.040.40; 35.100.70g49g50g3g38g50g51g60g44g49g42g3g58g44g55g43g50g56g55g3g37g54g44g3g51g40g53g48g44g54g54g44g50g49g3g40g59g38g40g51g55g3g36
2、g54g3g51g40g53g48g44g55g55g40g39g3g37g60g3g38g50g51g60g53g44g42g43g55g3g47g36g58BS EN 61158-5-8:2008This British Standard was published under the authority of the Standards Policy and Strategy Committee on 30 June 2008 BSI 2008ISBN 978 0 580 61593 1National forewordThis British Standard is the UK im
3、plementation of EN 61158-5-8:2008. It is identical with IEC 61158-5-8:2007. Together with all of the other sections of BS EN 61158-5, it supersedes BS EN 61158-5:2004 which is withdrawn. The UK participation in its preparation was entrusted to Technical Committee AMT/7, Industrial communications Pro
4、cess measurement and control, including 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. Compliance
5、with a British Standard cannot confer immunity from legal obligations. Amendments/corrigenda issued since publicationDate CommentsEUROPEAN STANDARD EN 61158-5-8 NORME EUROPENNE EUROPISCHE NORM March 2008 CENELEC European Committee for Electrotechnical Standardization Comit Europen de Normalisation E
6、lectrotechnique 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-5-8:2008 E ICS 35.100.70; 25.040.40 Partially s
7、upersedes EN 61158-5:2004English version Industrial communication networks - Fieldbus specifications - Part 5-8: Application layer service definition - Type 8 elements (IEC 61158-5-8:2007) Rseaux de communication industriels - Spcifications des bus de terrain - Partie 5-8: Dfinition des services des
8、 couches dapplication - Elments de type 8 (CEI 61158-5-8:2007) Industrielle Kommunikationsnetze - Feldbusse - Teil 5-8: Dienstfestlegungen des Application Layer (Anwendungsschicht) - Typ 8-Elemente (IEC 61158-5-8:2007) This European Standard was approved by CENELEC on 2008-02-01. CENELEC members are
9、 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 obtained on application to t
10、he 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 Central Secretariat has the
11、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, Luxembourg, Malta, the Netherlands, N
12、orway, Poland, Portugal, Romania, Slovakia, Slovenia, Spain, Sweden, Switzerland and the United Kingdom. Foreword The text of document 65C/475/FDIS, future edition 1 of IEC 61158-5-8, prepared by SC 65C, Industrial networks, of IEC TC 65, Industrial-process measurement, control and automation, was s
13、ubmitted to the IEC-CENELEC parallel vote and was approved by CENELEC as EN 61158-5-8 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;
14、 addition of new fieldbus 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 n
15、ational 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 made by the holders of those r
16、ights 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 their respective intellectu
17、al-property-right holders. Annex ZA has been added by CENELEC. _ Endorsement notice The text of the International Standard IEC 61158-5-8:2007 was approved by CENELEC as a European Standard without any modification. _ BS EN 61158-5-8:2008 2 CONTENTS INTRODUCTION.5 1 Scope.6 1.1 Overview .6 1.2 Specif
18、ications7 1.3 Conformance.7 2 Normative references .7 3 Terms and definitions .8 3.1 ISO/IEC 7498-1 terms .8 3.2 ISO/IEC 8822 terms 8 3.3 ISO/IEC 9545 terms 8 3.4 ISO/IEC 8824 terms 8 3.5 Fieldbus data-link layer terms8 3.6 Fieldbus application layer specific definitions 9 3.7 Abbreviations and symb
19、ols15 3.8 Conventions 15 4 Concepts19 4.1 Overview .19 4.2 Architectural relationships .19 4.3 Fieldbus Application Layer structure21 4.4 FAL naming and addressing 31 4.5 Architecture summary32 4.6 FAL service procedures.32 4.7 Notional FAL service procedures INFORMATIVE.32 4.8 Common FAL attributes
20、.33 4.9 Common FAL service parameters34 4.10 APDU size.35 5 Data type ASE35 5.1 General .35 5.2 Formal definition of data type objects 37 5.3 FAL defined data types37 5.4 Data type ASE service specification 41 6 Communication model specification41 6.1 ASEs.41 6.2 ARs.84 6.3 Summary of FAL classes.90
21、 6.4 Permitted FAL services by AREP role90 Bibliography92 Figure 1 Relationship to the OSI basic reference model.19 Figure 2 Architectural positioning of the Type 8 FAL 20 Figure 3 Client/server interactions .22 Figure 4 Push model interactions.23 Figure 5 APOs services conveyed by the FAL24 Figure
22、6 Application entity structure.26 BS EN 61158-5-8:2008 3 Annex ZA (normative) Normative references to international publications with theircorresponding European publications93Figure 7 Example FAL ASEs27 Figure 8 FAL management of objects.28 Figure 9 ASE service conveyance29 Figure 10 Defined and es
23、tablished AREPs.31 Figure 11 FAL architectural components 32 Figure 12 Data type class hierarchy example .35 Figure 13 The AR ASE conveys APDUs between APs57 Figure 14 1-to-1 AR establishment.64 Table 1 Get attributes service parameters42 Table 2 Identify49 Table 3 Get status .50 Table 4 Initiate.52
24、 Table 5 Terminate54 Table 6 Reject .56 Table 7 Conveyance of service primitives by AREP role 58 Table 8 Valid combinations of AREP roles involved in an AR .58 Table 9 AR-unconfirmed send62 Table 10 AR-establish service63 Table 11 Valid combinations of AREP classes to be related.65 Table 12 AR-abort
25、 .66 Table 13 AR-Data-Send-Acknowledge service parameters.67 Table 14 Read service parameters.72 Table 15 Write service parameters.73 Table 16 Information report service74 Table 17 Start service parameters .78 Table 18 Stop service parameters79 Table 19 Resume service parameters 80 Table 20 Reset se
26、rvice parameters81 Table 21 State transitions for a function invocation object83 Table 22 FAL class summary.90 Table 23 Services by AREP role 91 BS EN 61158-5-8:2008 4 INTRODUCTION This part of IEC 61158 is one of a series produced to facilitate the interconnection of automation system components. I
27、t 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 immediately lower layer. This standard def
28、ines 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 layer immediately above. Thus, th
29、e application layer service defined in this standard is a conceptual architectural service, independent of administrative and implementation divisions. BS EN 61158-5-8:2008 5 INDUSTRIAL COMMUNICATION NETWORKS FIELDBUS SPECIFICATIONS Part 5-8: Application layer service definition Type 8 elements 1 Sc
30、ope 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 standard provides common elements for basic time-critical
31、and non-time-critical messaging communications between application programs in an automation environment and material specific to Type 8 fieldbus. The term “time-critical” is used to represent the presence of a time-window, within which one or more specified actions are required to be completed with
32、 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 standard defines in an abstract way the externally visible service provided b
33、y the Type 8 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 events of the service; c) the parameters associated with each primitive action and
34、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 to 1) the FAL user at the boundary between the user and the application layer of the fieldbus reference model
35、, 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 Type 8 fieldbus application layer, in conformance with the OSI Basic Reference Model (ISO/IEC 7498) and the OSI
36、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 object-oriented application service elements (ASEs) and a layer management entity (LME) that manages the
37、 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 services for the management of the instances of FAL classes. Although these services specify, from the perspec
38、tive 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 behavioral aspects of the applications are not specified; only a definition of what requests and response
39、s they can send/receive is specified. This permits greater flexibility to the FAL users in standardizing BS EN 61158-5-8:2008 6 such 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 i
40、ts operation. 1.2 Specifications The principal objective of this standard 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
41、for time-critical communications. 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 services standardized as the various Types of IEC 61158, and the corresponding protocol
42、s 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 formal programming interface, and any such interface will need to address implementation issues not covered by this specification, including
43、 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 does it constrain the implementations o
44、f application layer entities within industrial automation systems. There is no conformance of equipment to this application layer service definition standard. Instead, conformance is achieved through implementation of conforming application layer protocols that fulfill the Type 8 application layer s
45、ervices as defined in this standard. 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
46、) applies. IEC 60559, Binary Floating-point Arithmetic for Microprocessor Systems ISO/IEC 646, Information technology ISO 7bit coded character set for information interchange ISO/IEC 74981, Information technology Open Systems Interconnection Basic Reference Model Part 1: The Basic Model ISO/IEC 7498
47、3, Information technology Open Systems Interconnection Basic Reference Model Part 3: Naming and addressing ISO/IEC 8822, Information technology Open Systems Interconnection Presentation service definition ISO/IEC 8824, Information Technology Abstract Syntax notation One (ASN-1): Specification of bas
48、ic notation ISO/IEC 9545, Information technology Open Systems Interconnection Application Layer structure BS EN 61158-5-8:2008 7 ISO/IEC 10731, Information technology Open Systems Interconnection Basic Reference Model Conventions for the definition of OSI services 3 Terms and definitions For the pur
49、poses of this document, the following terms, definitions, symbols, abbreviations and conventions apply. 3.1 ISO/IEC 7498-1 terms This standard is partly based on the concepts developed in ISO/IEC 7498-1, and makes use of the following terms defined therein: a) application entity b) application process c) application protocol data unit d) application process invocation e) application transaction f) real open system g) t