1、BSI Standards PublicationIndustrial communication networks Fieldbus specificationsPart 5-13: Application layer service definition Type 13 elementsBS EN 61158-5-13:2014National forewordThis British Standard is the UK implementation of EN 61158-5-13:2014. It isidentical to IEC 61158-5-13:2014. It supe
2、rsedes BS EN 61158-5-13:2008which 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 sec
3、retary.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 79459 9ICS 25.040.40; 35.100.70Compliance with a British Stan
4、dard 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-13:2014EUROPEAN STANDARD NORME EURO
5、PENNE EUROPISCHE NORM EN 61158-5-13 October 2014 ICS 25.040.40; 35.100.70; 35.110 Supersedes EN 61158-5-13:2008 English Version Industrial communication networks - Fieldbus specifications - Part 5-13: Application layer service definition - Type 13 elements (IEC 61158-5-13:2014) Rseaux de communicati
6、on industriels - Spcifications des bus de terrain - Partie 5-13: Dfinition des services de la couche application - lments de type 13 (CEI 61158-5-13:2014) Industrielle Kommunikationsnetze - Feldbusse - Teil 5-13: Dienstfestlegungen des Application Layer (Anwendungsschicht) - Typ 13-Elemente (IEC 611
7、58-5-13: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 bi
8、bliographical 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
9、responsibility 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,
10、Finland, 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 E
11、lectrotechnical 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 Member
12、s. Ref. No. EN 61158-5-13:2014 E BS EN 61158-5-13:2014EN 61158-5-13:2014 - 2 - Foreword The text of document 65C/763/FDIS, future edition 2 of IEC 61158-5-13, prepared by SC 65C “Industrial networks” of IEC/TC 65 “Industrial-process measurement, control and automation“ was submitted to the IEC-CENEL
13、EC parallel vote and approved by CENELEC as EN 61158-5-13: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 con
14、flicting with the document have to be withdrawn (dow) 2017-09-22 This document supersedes EN 61158-5-13: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
15、all such patent 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-13:2014 was approved by CENELEC as a European Standard without any modifi
16、cation. In the official version, for Bibliography, the following notes have to be added for the standards indicated: IEC 61784-1 NOTE Harmonized as EN 61784-1. IEC 61784-2 NOTE Harmonized as EN 61784-2. BS EN 61158-5-13:2014- 3 - EN 61158-5-13:2014 Annex ZA (normative) Normative references to intern
17、ational 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 latest edition of
18、 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/HD applies. NOTE 2 Up-to-date information on the latest versions of the European Standards listed in this annex is avai
19、lable here: www.cenelec.eu Publication Year Title EN/HD Year IEC 61158-1 2014 Industrial communication networks - Fieldbus specifications - Part 1: Overview and guidance for the IEC 61158 and IEC 61784 series EN 61158-1 2014 IEC 61158-3-13 - Industrial communication networks - Fieldbus specification
20、s - Part 3-13: Data-link layer service definition - Type 13 elements EN 61158-3-13 - IEC 61158-4-13 - Industrial communication networks - Fieldbus specifications - Part 4-13: Data-link layer protocol specification - Type 13 elements EN 61158-4-13 - IEC 61158-6 Series Industrial communication network
21、s - Fieldbus specifications - Part 6: Application layer protocol specification EN 61158-6 Series IEC 61158-6-13 - Industrial communication networks - Fieldbus specifications - Part 6-13: Application layer protocol specification - Type 13 elements EN 61158-6-13 - ISO/IEC 646 - Information technology
22、- ISO 7-bit coded character set for information interchange - - 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 9545
23、- Information technology - Open Systems Interconnection - Application layer structure - - ISO/IEC 10731 - Information technology - Open Systems Interconnection - Basic Reference Model - Conventions for the definition of OSI services - - IEEE 754 - IEEE Standard for Floating-Point Arithmetic - - BS E
24、N 61158-5-13:2014 2 IEC 61158-5-13:2014 IEC 2014 CONTENTS INTRODUCTION . 6 1 Scope . 7 1.1 General . 7 1.2 Specifications 8 1.3 Conformance . 8 2 Normative references . 8 3 Terms, definitions, symbols, abbreviations and conventions . 9 3.1 ISO/IEC 7498-1 terms . 10 3.2 ISO/IEC 8822 terms 10 3.3 ISO/
25、IEC 9545 terms 10 3.4 Fieldbus application-layer specific definitions 10 3.5 Abbreviations and symbols 17 3.6 Conventions 18 4 Concepts 20 4.1 Common concepts . 20 4.2 Type specific concepts 21 5 Data type ASE 22 5.1 General . 22 5.2 Formal definition of data type objects 22 5.3 FAL defined data typ
26、es 22 5.4 Data type ASE service specification 28 6 Type 13 communication model specification . 28 6.1 ASEs . 28 6.2 ARs . 50 6.3 Summary of FAL classes . 57 6.4 Permitted FAL services by AREP role 58 Bibliography 59 Figure 1 The ASEs of Type 13 . 22 Figure 2 The AR ASE conveys APDUs between APs . 46
27、 Table 1 Overall structure of the OD 21 Table 2 Ident service . 31 Table 3 Status service . 32 Table 4 Sync service 33 Table 5 NMT-req-invite service 34 Table 6 NMT-state-command service . 35 Table 7 NMT-info service . 36 Table 8 SDO-write . 38 Table 9 SDO-write-mult 39 Table 10 SDO-read 41 Table 11
28、 SDO-read-mult 42 Table 12 SDO-abort . 43 BS EN 61158-5-13:2014IEC 61158-5-13:2014 IEC 2014 3 Table 13 PDO-transfer . 45 Table 14 Conveyance of service primitives by AREP role . 47 Table 15 Valid combinations of AREP roles involved in an AR . 47 Table 16 FAL class summary . 57 Table 17 Services by A
29、REP role 58 BS EN 61158-5-13:2014 6 IEC 61158-5-13: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 des
30、cribed 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 explo
31、it. 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, independent of
32、 administrative and implementation divisions. BS EN 61158-5-13:2014IEC 61158-5-13:2014 IEC 2014 7 INDUSTRIAL COMMUNICATION NETWORKS FIELDBUS SPECIFICATIONS Part 5-13: Application layer service definition Type 13 elements 1 Scope General 1.1The fieldbus Application Layer (FAL) provides user programs
33、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
34、n an automation environment and material specific to Type 13 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 with
35、in 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 different Types of the fieldbus Application Layer in terms of a) an ab
36、stract 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 event, and the form which they take; and d) the interrelatio
37、nship 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, and 2) Systems Management at the boundary between the Appl
38、ication Layer and Systems Management of the Fieldbus Reference Model. This standard specifies the structure and services of the IEC 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
39、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 AE. The ASEs provide communication services that operate on
40、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 perspective of applications, how request and responses are issued an
41、d 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 responses they can BS EN 61158-5-13:2014 8 IEC 61158-5-13:2014 IEC 20
42、14 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 defined in this standard to provide access to the FAL to control certain aspects of its operation. Specifications 1.
43、2The 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 for time-critical communications
44、. 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 protocols standardized in subparts of IE
45、C 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 a) the sizes and octet ordering
46、 of various multi-octet 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 with
47、in 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 any given Type of application layer services as defined in this
48、 standard. 2 Normative references 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 latest edition of the referenced document (includin
49、g any amendments) applies. NOTE All parts of the IEC 61158 series, as well as IEC 61784-1 and IEC 61784-2 are maintained simultaneously. Cross-references to these documents within the text therefore refer to the editions as dated in this list of normative references. IEC 61158-1:2014, Industrial communication networks Fieldbus specifications Part 1: Overview and guidance for the IEC 61158 and IEC 61784 series IEC 61158-3-13, Industrial communication networks Fiel