1、BSI Standards PublicationIndustrial communication networks Fieldbus specificationsPart 6-19: Application layer protocol specification Type 19 elementsBS EN 61158-6-19:2014National forewordThis British Standard is the UK implementation of EN 61158-6-19:2014. It is identical to IEC 61158-6-19:2014. It
2、 supersedes BS EN 61158-6-19:2012which is withdrawn.The UK participation in its preparation was entrusted to TechnicalCommittee AMT/7, Industrial communications: process measurement andcontrol, including fieldbus.A list of organizations represented on this committee can be obtained onrequest to its
3、secretary.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 79478 0ICS 25.040.40; 35.100.70; 35.110Compliance with a B
4、ritish Standard cannot confer immunity fromlegal obligations.This British Standard was published under the authority of theStandards Policy and Strategy Committee on 30 November 2014.Amendments issued since publicationDate Text affectedBRITISH STANDARDBS EN 61158-6-19:2014EUROPEAN STANDARD NORME EUR
5、OPENNE EUROPISCHE NORM EN 61158-6-19 October 2014 ICS 25.040.40; 35.100.70; 35.110 Supersedes EN 61158-6-19:2012 English Version Industrial communication networks - Fieldbus specifications - Part 6-19: Application layer protocol specification - Type 19 elements (IEC 61158-6-19:2014) Rseaux de commun
6、ication industriels - Spcifications des bus de terrain - Partie 6-19: Spcification du protocole de la couche application - Elments de type 19 (CEI 61158-6-19:2014) Industrielle Kommunikationsnetze - Feldbusse - Teil 6-19: Protokollspezifikation des Application Layer (Anwendungsschicht) - Typ 19-Elem
7、ente (IEC 61158-6-19:2014) This European Standard was approved by CENELEC on 2014-09-23. 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
8、 lists and bibliographical 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 translati
9、on under the 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, Denma
10、rk, Estonia, 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 Co
11、mmittee for Electrotechnical 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 C
12、ENELEC Members. Ref. No. EN 61158-6-19:2014 E BS EN 61158-6-19:2014EN 61158-6-19:2014 - 2 - Foreword The text of document 65C/764/FDIS, future edition 3 of IEC 61158-6-19, prepared by SC 65C “Industrial networks“ of IEC/TC 65 “Industrial-process measurement, control and automation“ was submitted to
13、the IEC-CENELEC parallel vote and approved by CENELEC as EN 61158-6-19: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-23 latest date by which the national
14、standards conflicting with the document have to be withdrawn (dow) 2017-09-23 This document supersedes EN 61158-6-19:2012. 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 identi
15、fying any or 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-6-19:2014 was approved by CENELEC as a European Standard witho
16、ut any modification. In the official version, for Bibliography, the following notes have to be added for the standards indicated: IEC 61131 NOTE Harmonized in EN 61131 series. IEC 61158-1 NOTE Harmonized as EN 61158-1. IEC 61158-4-16 NOTE Harmonized as EN 61158-4-16. IEC 61784-1 NOTE Harmonized as E
17、N 61784-1. IEC 61784-2 NOTE Harmonized as EN 61784-2. IEC 61800 NOTE Harmonized in EN 61800 series. BS EN 61158-6-19:2014- 3 - EN 61158-6-19:2014 Annex ZA (normative) Normative references to international publications with their corresponding European publications The following documents, in whole o
18、r 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 (including any amendments) applies. NOTE 1 When an International Publication h
19、as 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 available here: www.cenelec.eu. Publication Year Title EN/HD Year IEC 61158-3-19 - Industrial communication
20、 networks - Fieldbus specifications - Part 3-19: Data-link layer service definition - Type 19 elements EN 61158-3-19 - IEC 61158-4-19 - Industrial communication networks - Fieldbus specifications - Part 4-19: Data-link layer protocol specification - Type 19 elements EN 61158-4-19 - IEC 61158-5-19 -
21、Industrial communication networks - Fieldbus specifications - Part 5-19: Application layer service definition - Type 19 elements EN 61158-5-19 - ISO/IEC 7498-1 - Information technology - Open Systems Interconnection - Basic reference model: The basic model - - ISO/IEC 8822 - Information technology -
22、 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 Interconnection - Application layer structure - - ISO/IEC 10731
23、 - Information technology - Open Systems Interconnection - Basic Reference Model - Conventions for the definition of OSI services - - BS EN 61158-6-19:2014 2 IEC 61158-6-19:2014 IEC 2014 CONTENTS INTRODUCTION . 6 1 Scope . 7 1.1 General . 7 1.2 Specifications 8 1.3 Conformance . 8 2 Normative refere
24、nces . 8 3 Terms, definitions, abbreviations, symbols and conventions . 9 3.1 Referenced terms and definitions 9 3.2 Additional terms and definitions . 10 3.3 Additional abbreviations and symbols 11 3.4 Conventions 11 4 Abstract syntax . 12 5 Transfer syntax 12 5.1 Introduction . 12 5.2 RTC PDU merg
25、ed abstract and transfer syntax . 12 6 Structure of FAL protocol state machines . 12 7 AP-context state machine . 14 7.1 Overview . 14 7.2 States . 14 7.3 States, events and transitions . 14 8 FAL service protocol machine (FSPM) 15 8.1 Overview . 15 8.2 MGT services 15 8.3 IDN services 16 8.4 CYCIDN
26、 services 16 9 Application relationship protocol machine (ARPM) 17 9.1 Overview . 17 9.2 Master ARPM 17 9.3 Slave ARPM 18 9.4 Primitives received from the FSPM 19 9.5 Indications received from the DMPM . 21 10 DLL mapping protocol machine (DMPM) . 22 10.1 Overview . 22 10.2 Primitives received from
27、the ARPM . 22 10.3 Indications received from the DL . 22 Bibliography 23 Figure 1 Relationships among protocol machines and adjacent layers . 13 Figure 2 APCSM state diagram 14 Figure 3 ARPM master AR state diagram . 17 Figure 4 ARPM slave AR state diagram . 18 Table 1 RTC PDU attribute format . 12
28、BS EN 61158-6-19:2014IEC 61158-6-19:2014 IEC 2014 3 Table 2 APCSM state-event table 15 Table 3 Master ARPM state-event table . 18 Table 4 Slave ARPM state-event table . 19 Table 5 ARPM to DL mapping 22 Table 6 DL to ARPM mapping 22 BS EN 61158-6-19:2014 6 IEC 61158-6-19:2014 IEC 2014 INTRODUCTION Th
29、is 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 in IEC 61158-1. The application protocol provides the application service
30、 by making use of the services available from the data-link or other immediately lower layer. The primary aim of this standard is to provide a set of rules for communication expressed in terms of the procedures to be carried out by peer application entities (AEs) at the time of communication. These
31、rules for communication are intended to provide a sound basis for development in order to serve a variety of purposes: as a guide for implementors and designers; for use in the testing and procurement of equipment; as part of an agreement for the admittance of systems into the open systems environme
32、nt; as a refinement to the understanding of time-critical communications within OSI. This standard is concerned, in particular, with the communication and interworking of sensors, effectors and other automation devices. By using this standard together with other standards positioned within the OSI o
33、r fieldbus reference models, otherwise incompatible systems may work together in any combination. BS EN 61158-6-19:2014IEC 61158-6-19:2014 IEC 2014 7 INDUSTRIAL COMMUNICATION NETWORKS FIELDBUS SPECIFICATIONS Part 6-19: Application layer protocol specification Type 19 elements 1 Scope General 1.1The
34、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 and non-time-critical
35、 messaging communications between application programs in an automation environment and material specific to Type 19 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
36、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 by the different Type
37、s of 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 event, a
38、nd 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 a) the FAL user at the boundary between the user and the Application Layer of the Fieldbus Reference Model, and b)
39、 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 IEC fieldbus Application Layer, in conformance with the OSI Basic Reference Model (ISO/IEC 7498) and the OSI Application
40、 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 AE. The AS
41、Es 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 perspective of app
42、lications, 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 responses they can
43、BS EN 61158-6-19:2014 8 IEC 61158-6-19:2014 IEC 2014 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 c
44、ertain aspects of its operation. Specifications 1.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 applicatio
45、n layer protocols 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 corr
46、esponding protocols standardized in subparts of IEC 61158-6. Conformance 1.3This standard does not specify individual implementations or products, nor do they constrain the implementations of application layer entities within industrial automation systems. There is no conformance of equipment to thi
47、s 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 standard. 2 Normative references The following documents, in whole or in par
48、t, 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 (including any amendments) applies. NOTE All parts of the IEC 61158 series, as well as
49、 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-3-19, Industrial communication networks Fieldbus specifications Part 3-19: Data-link layer service definition Type 19 elements IEC 61158-4-19, Industrial communication networks Fieldbus specifications Part 4-19: Data-link layer protocol specification Type 19 elements IEC 6