1、BSI Standards PublicationIndustrial communication networks Fieldbus specificationsPart 5-4: Application layer service definition Type 4 elementsBS EN 61158-5-4:2014National forewordThis British Standard is the UK implementation of EN 61158-5-4:2014. It is identical to IEC 61158-5-4:2014. It supersed
2、es BS EN 61158-5-4:2008 which is withdrawn.The UK participation in its preparation was entrusted to Technical Com-mittee AMT/7, Industrial communications: process measurement andcontrol, including fieldbus.A list of organizations represented on this committee can be obtained onrequest to its secreta
3、ry.This publication does not purport to include all the necessary provisions ofa contract. Users are responsible for its correct application. The British Standards Institution 2014.Published by BSI Standards Limited 2014ISBN 978 0 580 79454 4ICS 25.040.40; 35.100.70; 35.110Compliance with a British
4、Standard cannot confer immunity fromlegal obligations.This British Standard was published under the authority of theStandards Policy and Strategy Committee on 31 October 2014.Amendments/corrigenda issued since publicationDate Text affectedBRITISH STANDARDBS EN 61158-5-4:2014EUROPEAN STANDARD NORME E
5、UROPENNE EUROPISCHE NORM EN 61158-5-4 October 2014 ICS 25.040.40; 35.100.70; 35.110 Supersedes EN 61158-5-4:2008 English Version Industrial communication networks - Fieldbus specifications - Part 5-4: Application layer service definition - Type 4 elements (IEC 61158-5-4:2014) Rseaux de communication
6、 industriels - Spcifications des bus de terrain - Partie 5-4: Dfinition des services de la couche application - Elments de type 4 (CEI 61158-5-4:2014) Industrielle Kommunikationsnetze - Feldbusse - Teil 5-4: Dienstfestlegungen des Application Layer (Anwendungsschicht) - Typ 4-Elemente (IEC 61158-5-4
7、:2014) This European Standard was approved by CENELEC on 2014-09-22. 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 bibliogra
8、phical references concerning such national standards may be obtained on application to the CEN-CENELEC Management Centre 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 respons
9、ibility of a CENELEC member into its own language and notified to the CEN-CENELEC Management Centre has the same status as the official versions. CENELEC members are the national electrotechnical committees of Austria, Belgium, Bulgaria, Croatia, Cyprus, the Czech Republic, Denmark, Estonia, Finland
10、, Former Yugoslav Republic of Macedonia, France, Germany, Greece, Hungary, Iceland, Ireland, Italy, Latvia, Lithuania, Luxembourg, Malta, the Netherlands, Norway, Poland, Portugal, Romania, Slovakia, Slovenia, Spain, Sweden, Switzerland, Turkey and the United Kingdom. European Committee for Electrot
11、echnical Standardization Comit Europen de Normalisation Electrotechnique Europisches Komitee fr Elektrotechnische Normung CEN-CENELEC Management Centre: Avenue Marnix 17, B-1000 Brussels 2014 CENELEC All rights of exploitation in any form and by any means reserved worldwide for CENELEC Members. Ref.
12、 No. EN 61158-5-4:2014 E BS EN 61158-5-4:2014EN 61158-5-4:2014 - 2 - Foreword The text of document 65C/763/FDIS, future edition 2 of IEC 61158-5-4, prepared by SC 65C “Industrial networks” of IEC/TC 65 “Industrial-process measurement, control and automation“ was submitted to the IEC-CENELEC parallel
13、 vote and approved by CENELEC as EN 61158-5-4:2014. 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) 2015-06-22 latest date by which the national standards conflicting wit
14、h the document have to be withdrawn (dow) 2017-09-22 This document supersedes EN 61158-5-4:2008. 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 pate
15、nt rights. This document has been prepared under a mandate given to CENELEC by the European Commission and the European Free Trade Association. Endorsement notice The text of the International Standard IEC 61158-5-4:2014 was approved by CENELEC as a European Standard without any modification. In the
16、 official version, for Bibliography, the following notes have to be added for the standards indicated: IEC 61158-1:2014 NOTE Harmonized as EN 61158-1:2014 (not modified). IEC 61784-1:2014 NOTE Harmonized as EN 61784-1:2014 (not modified). IEC 61784-2:2014 NOTE Harmonized as EN 61784-2 1)(not modifie
17、d). 1)To be published. BS EN 61158-5-4:2014- 3 - EN 61158-5-4:2014 Annex ZA (normative) Normative references 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 fo
18、r its application. For dated references, only the edition cited applies. For undated references, the latest edition of the referenced document (including any amendments) applies. NOTE 1 When an International Publication has been modified by common modifications, indicated by (mod), the relevant EN/H
19、D applies. NOTE 2 Up-to-date information on the latest versions of the European Standards listed in this annex is available here: www.cenelec.eu Publication Year Title EN/HD Year IEC 61158-3-4 2014 Industrial communication networks - Fieldbus specifications - Part 3-4: Data-link layer service defini
20、tion - Type 4 elements EN 61158-3-4 2)- IEC 61158-4-4 2014 Industrial communication networks - Fieldbus specifications - Part 4-4: Data-link layer protocol specification - Type 4 elements EN 61158-4-4 2)- IEC 61158-6-4 2014 Industrial communication networks - Fieldbus specifications - Part 6-4: Appl
21、ication layer protocol specification - Type 4 elements EN 61158-6-4 2)- IEC 61158-6 Series Industrial communication networks - Fieldbus specifications - Part 6: Application layer protocol specification EN 61158-6 Series ISO/IEC 7498-1 - Information technology - Open Systems Interconnection - Basic r
22、eference model: The basic model - - ISO/IEC 7498-3 - Information technology - Open Systems Interconnection - Basic reference model: Naming and addressing - - ISO/IEC 8822 - Information technology - Open Systems Interconnection - Presentation service definition - - ISO/IEC 8824-1 - Information techno
23、logy - Abstract Syntax Notation One (ASN.1): Specification of basic notation - - ISO/IEC 9545 - Information technology - Open Systems Interconnection - Application layer structure - - 2)To be published. BS EN 61158-5-4:2014EN 61158-5-4:2014 - 4 - Publication Year Title EN/HD Year ISO/IEC 10731 - Inf
24、ormation technology - Open Systems Interconnection - Basic Reference Model - Conventions for the definition of OSI services - - ISO/IEC/IEEE 60559 - Information technology - Microprocessor Systems - Floating-Point arithmetic - - BS EN 61158-5-4:2014 2 IEC 61158-5-4:2014 IEC 2014 CONTENTS INTRODUCTIO
25、N . 6 1 Scope . 7 General . 7 1.1Specifications 8 1.2Conformance . 8 1.32 Normative references . 8 3 Terms and definitions . 9 ISO/IEC 7498-1 terms . 9 3.1ISO/IEC 8822 terms 9 3.2ISO/IEC 9545 terms 9 3.3ISO/IEC 8824-1 terms . 10 3.4Fieldbus data-link layer terms 10 3.5Fieldbus application layer spec
26、ific definitions 10 3.6Abbreviations and symbols 16 3.7Conventions 17 3.84 Concepts 20 Overview . 20 4.1Architectural relationships . 21 4.2Fieldbus Application Layer structure 23 4.3Fieldbus Application Layer naming and addressing . 35 4.4Architecture summary 35 4.5FAL service procedures . 36 4.6Co
27、mmon FAL attributes . 37 4.7Common FAL service parameters 37 4.8APDU size . 38 4.95 Type 4 communication model specification . 38 Concepts . 38 5.1Variable ASE . 45 5.2Application relationship ASE . 64 5.3Bibliography 71 Figure 1 Relationship to the OSI basic reference model . 21 Figure 2 Architectu
28、ral positioning of the fieldbus Application Layer 22 Figure 3 Client/server interactions . 24 Figure 4 Pull model interactions . 25 Figure 5 Push model interactions . 26 Figure 6 APOs services conveyed by the FAL 27 Figure 7 Application entity structure . 29 Figure 8 Example FAL ASEs 30 Figure 9 FAL
29、 management of objects . 31 Figure 10 ASE service conveyance 32 Figure 11 Defined and established AREPs . 34 Figure 12 FAL architectural components 36 BS EN 61158-5-4:2014IEC 61158-5-4:2014 IEC 2014 3 Figure 13 FAL AE 39 Figure 14 Summary of the FAL architecture . 42 Figure 15 FAL service procedure
30、overview. 43 Figure 16 Time sequence diagram for the confirmed services 44 Figure 17 Time sequence diagram for unconfirmed services 45 Table 1 REQUEST service parameters 60 Table 2 RESPONSE service parameters 61 Table 3 Error codes by source . 62 Table 4 Reserve REP service parameters 62 Table 5 Fre
31、e AREP service parameters . 63 Table 6 Get REP attribute service parameters . 63 Table 7 Set REP attribute service parameters 64 Table 8 AR send service parameters . 68 Table 9 AR acknowledge service parameters . 68 Table 10 AR get attributes service parameters . 69 Table 11 AR set attributes servic
32、e parameters . 69 BS EN 61158-5-4:2014 6 IEC 61158-5-4:2014 IEC 2014 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 the “three-layer” fieldbus reference model
33、 described in IEC 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 characteristics that fieldbus applications and/or system management may e
34、xploit. 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 defined in this standard is a conceptual architectural service, independen
35、t of administrative and implementation divisions. BS EN 61158-5-4:2014IEC 61158-5-4:2014 IEC 2014 7 INDUSTRIAL COMMUNICATION NETWORKS FIELDBUS SPECIFICATIONS Part 5-4: Application layer service definition Type 4 elements 1 Scope General 1.1The fieldbus application layer (FAL) provides user programs
36、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 and non-time-critical messaging communications between application programs i
37、n an automation environment and material specific to Type 4 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 some defined level of certainty. Failure to complete specified actions withi
38、n 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 by the Type 4 fieldbus application layer in terms of a) an abstract model for
39、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 event, and the form which they take; and d) the interrelationship between the
40、se 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, and 2) Systems Management at the boundary between the application layer and
41、 Systems Management of the fieldbus reference model. This standard specifies the structure and services of the Type 4 fieldbus 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
42、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 AE. The ASEs provide communication services that operate on a set of relat
43、ed 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 perspective of applications, how request and responses are issued and delivered, t
44、hey 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 responses they can BS EN 61158-5-4:2014 8 IEC 61158-5-4:2014 IEC 2014 send/receive
45、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 defined in this standard to provide access to the FAL to control certain aspects of its operation. Specifications 1.2The principal o
46、bjective 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 for time-critical communications. A secondary ob
47、jective 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 protocols standardized in IEC 61158-6 series. This speci
48、fication 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 a) the sizes and octet ordering of various multi-oct
49、et service parameters, and b) the correlation of paired request and confirm, or indication and response, primitives. Conformance 1.3This 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 this application layer service definition standard. Instead, conformance is achieved through implementation