1、BSI Standards PublicationIndustrial communication networks Fieldbus specificationsPart 5-9: Application layer service definition Type 9 elementsBS EN 61158-5-9:2014National forewordThis British Standard is the UK implementation of EN 61158-5-9:2014. It is identical to IEC 61158-5-9:2014. It supersed
2、es BS EN 61158-5-9: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 79456 8ICS 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-9:2014EUROPEAN STANDARD NORME E
5、UROPENNE EUROPISCHE NORM EN 61158-5-9 October 2014 ICS 25.040.40; 35.100.70; 35.110 Supersedes EN 61158-5-9:2008 English Version Industrial communication networks - Fieldbus specifications - Part 5-9: Application layer service definition - Type 9 elements (IEC 61158-5-9:2014) Rseaux de communication
6、 industriels - Spcifications des bus de terrain - Partie 5-9: Dfinition des services de la couche application - Elments de type 9 (CEI 61158-5-9:2014) Industrielle Kommunikationsnetze - Feldbusse - Teil 5-9: Dienstfestlegungen des Application Layer (Anwendungsschicht) - Typ 9-Elemente (IEC 61158-5-9
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-9:2014 E BS EN 61158-5-9:2014EN 61158-5-9:2014 - 2 - Foreword The text of document 65C/763/FDIS, future edition 2 of IEC 61158-5-9, 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-9: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-9: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-9: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-3-1 NOTE Harmonized as EN 61158-3-1. IEC 61158-4-1 NOTE Harmonized as EN 61158-4-1. IEC 61158-5-5 NOTE Harmonized as EN 61158-5-5. IEC 61158-6-9 NOTE Harmonized as EN 61158-6-9. IEC 61784
17、-1 NOTE Harmonized as EN 61784-1. IEC 61784-2 NOTE Harmonized as EN 61784-2. BS EN 61158-5-9:2014- 3 - EN 61158-5-9:2014 Annex ZA (normative) Normative references to international publications with their corresponding European publications The following documents, in whole or in part, are normativel
18、y 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 (including any amendments) applies. NOTE 1 When an International Publication has been modified by commo
19、n 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 available here: www.cenelec.eu Publication Year Title EN/HD Year IEC 61158-1 2014 Industrial communication networks - Fieldbus speci
20、fications - Part 1: Overview and guidance for the IEC 61158 and IEC 61784 series EN 61158-1 2014 ISO/IEC 646 - Information technology - ISO 7-bit coded character set for information interchange - - ISO/IEC 7498-1 - Information technology - Open Systems Interconnection - Basic reference model: The ba
21、sic model - - 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 Interconne
22、ction - Application layer structure - - ISO/IEC 10731 - Information 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-
23、5-9:2014 2 IEC 61158-5-9:2014 IEC 2014 CONTENTS INTRODUCTION . 7 1 Scope . 8 General . 8 1.1Specifications 9 1.2Conformance . 9 1.32 Normative references . 9 3 Terms, definitions, symbols, abbreviations and conventions . 10 ISO/IEC 7498-1 terms . 10 3.1ISO/IEC 8822 terms 10 3.2ISO/IEC 9545 terms 10
24、3.3ISO/IEC 8824-1 terms . 10 3.4IEC 61158-1 terms 10 3.5Type 9 fieldbus application-layer specific definitions 14 3.6Abbreviations and symbols 14 3.7Conventions 15 3.84 Concepts 18 5 Data type ASE 18 Overview . 18 5.1Formal definition of data type objects 21 5.2FAL defined data types 22 5.3Data type
25、 ASE service specification 25 5.4Summary of data types 25 5.56 Communication model specification 26 Concepts . 26 6.1Common parameters . 26 6.2ASEs . 26 6.3ARs . 115 6.4Summary of classes 118 6.5Permitted services by AREP role . 119 6.6Bibliography 121 Figure 1 Data type class hierarchy . 19 Figure
26、2 VFD model . 27 Figure 3 Abstract model of an automation system (VFD) 27 Figure 4 Source OD/remote OD . 33 Figure 5 Put OD state machine 46 Figure 6 Transaction object state machine . 52 Figure 7 Context test of two features-supported with different bitstring length 60 Figure 8 Overview of event 80
27、 Figure 9 Event state machine . 85 Figure 10 Domain genericdownload/download state machine (server) 100 Figure 11 Domain upload state machine (server) . 102 Figure 12 State diagram. 113 BS EN 61158-5-9:2014IEC 61158-5-9:2014 IEC 2014 3 Table 1 Data type summary . 26 Table 2 Logical status 28 Table 3
28、 Status . 29 Table 4 Unsolicited status 30 Table 5 Identify 31 Table 6 Structure of the object dictionary . 34 Table 7 Structure of the static list of types . 34 Table 8 Structure of the static object dictionary 34 Table 9 Structure of the dynamic list of variable lists 35 Table 10 Structure of the
29、dynamic list of program invocations 35 Table 11 Empty object dictionary . 39 Table 12 Get OD service parameters . 42 Table 13 Initiate put OD service parameters 44 Table 14 Put OD service parameters . 45 Table 15 Terminate put OD service parameters . 46 Table 16 Put OD state transitions 48 Table 17
30、Attribute FMS features supported 50 Table 18 Transaction object state transitions . 53 Table 19 Initiate service parameters 54 Table 20 Failure reasons . 55 Table 21 Abort service parameters 56 Table 22 User abort reasons 57 Table 23 APO ASE abort reasons 57 Table 24 Reject service parameters . 58 T
31、able 25 Reject APDU reasons 58 Table 26 Compatibility of the local context to the remote context . 59 Table 27 Unconfirmed send service parameters . 62 Table 28 Confirmed send service parameters 63 Table 29 AR-Abort service parameters . 64 Table 30 Compel service parameters . 64 Table 31 Get buffere
32、d message service parameters. 65 Table 32 AR-Status service parameters . 66 Table 33 Simple variable access group membership 68 Table 34 Simple variable access rights membership 68 Table 35 Array variable access group membership 70 Table 36 Array variable access rights membership 70 Table 37 Variabl
33、e list access group membership 72 Table 38 Variable list access rights membership 72 Table 39 Read service parameters . 75 Table 40 Write service parameters . 76 Table 41 Information report service parameters . 77 Table 42 Define variable list service parameters 78 BS EN 61158-5-9:2014 4 IEC 61158-5
34、-9:2014 IEC 2014 Table 43 Delete variable list service parameters 79 Table 44 Event access group membership . 81 Table 45 Event access rights membership . 81 Table 46 Event notification service parameters 82 Table 47 Acknowledge event notification service parameters . 83 Table 48 Alter event conditi
35、on monitoring service parameters 84 Table 49 Event state transitions . 85 Table 50 Domain access group membership 87 Table 51 Domain access rights membership 87 Table 52 GenericInitiateDownloadSequence 89 Table 53 GenericDownloadSegment 90 Table 54 GenericTerminateDownloadSequence . 91 Table 55 Init
36、iateDownloadSequence 92 Table 56 DownloadSegment 93 Table 57 TerminateDownloadSequence . 94 Table 58 RequestDomainDownload . 95 Table 59 InitiateUploadSequence 96 Table 60 UploadSegment . 97 Table 61 TerminateUploadSequence . 98 Table 62 RequestDomainUpload 99 Table 63 Domain genericDownload/downloa
37、d state machine (server) 100 Table 64 Domain upload state machine (server) 102 Table 65 Program invocation access group membership 104 Table 66 Program invocation access group membership 104 Table 67 Create program invocation service parameters 106 Table 68 Delete program invocation service paramete
38、rs 107 Table 69 Start service parameters . 108 Table 70 Stop service parameters 109 Table 71 Resume service parameters 110 Table 72 Reset service parameters 111 Table 73 Kill service parameters 112 Table 74 Program invocation state machine . 114 Table 75 Class summary 119 Table 76 Services by AREP r
39、ole 119 BS EN 61158-5-9:2014IEC 61158-5-9:2014 IEC 2014 7 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 described
40、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 exploit. Thr
41、oughout 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 admini
42、strative and implementation divisions. BS EN 61158-5-9:2014 8 IEC 61158-5-9:2014 IEC 2014 INDUSTRIAL COMMUNICATION NETWORKS FIELDBUS SPECIFICATIONS Part 5-9: Application layer service definition Type 9 elements 1 Scope General 1.1The fieldbus Application Layer (FAL) provides user programs with a mea
43、ns 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 in an autom
44、ation environment and material specific to Type 9 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 within the time
45、 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 abstract mode
46、l 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 interrelationship betwe
47、en 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 Application Lay
48、er 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 protocols a
49、re 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 related application process object (APO) c