1、 IEC 61158-5-18 Edition 2.0 2010-08 INTERNATIONAL STANDARD Industrial communication networks Fieldbus specifications Part 5-18: Application layer service definition Type 18 elements IEC 61158-5-18:2010(E) THIS PUBLICATION IS COPYRIGHT PROTECTED Copyright 2010 IEC, Geneva, Switzerland All rights rese
2、rved. Unless otherwise specified, no part of this publication may be reproduced or utilized in any form or by any means, electronic or mechanical, including photocopying and microfilm, without permission in writing from either IEC or IECs member National Committee in the country of the requester. If
3、 you have any questions about IEC copyright or have an enquiry about obtaining additional rights to this publication, please contact the address below or your local IEC member National Committee for further information. IEC Central Office 3, rue de Varemb CH-1211 Geneva 20 Switzerland Email: inmaili
4、ec.ch Web: www.iec.ch About the IEC The International Electrotechnical Commission (IEC) is the leading global organization that prepares and publishes International Standards for all electrical, electronic and related technologies. About IEC publications The technical content of IEC publications is
5、kept under constant review by the IEC. Please make sure that you have the latest edition, a corrigenda or an amendment might have been published. Catalogue of IEC publications: www.iec.ch/searchpub The IEC on-line Catalogue enables you to search by a variety of criteria (reference number, text, tech
6、nical committee,). It also gives information on projects, withdrawn and replaced publications. IEC Just Published: www.iec.ch/online_news/justpub Stay up to date on all new IEC publications. Just Published details twice a month all new publications released. Available on-line and also by email. Elec
7、tropedia: www.electropedia.org The worlds leading online dictionary of electronic and electrical terms containing more than 20 000 terms and definitions in English and French, with equivalent terms in additional languages. Also known as the International Electrotechnical Vocabulary online. Customer
8、Service Centre: www.iec.ch/webstore/custserv If you wish to give us your feedback on this publication or need further assistance, please visit the Customer Service Centre FAQ or contact us: Email: csciec.ch Tel.: +41 22 919 02 11 Fax: +41 22 919 03 00 IEC 61158-5-18 Edition 2.0 2010-08 INTERNATIONAL
9、 STANDARD Industrial communication networks Fieldbus specifications Part 5-18: Application layer service definition Type 18 elements INTERNATIONAL ELECTROTECHNICAL COMMISSION W ICS 25.04.40; 35.100.70; 35.110 PRICE CODE ISBN 978-2-88912-111-3 Registered trademark of the International Electrotechnica
10、l Commission 2 61158-5-18 IEC:2010(E) CONTENTS FOREWORD.3 INTRODUCTION.5 1 Scope.6 1.1 Overview.6 1.2 Specifications7 1.3 Conformance.7 2 Normative references .7 3 Terms, definitions, abbreviations, and conventions.8 3.1 Referenced terms and definitions 8 3.2 Additional terms and definitions for dis
11、tributed automation 8 3.3 Abbreviations and symbols9 3.4 Conventions 9 4 Concepts9 4.1 Common concepts.9 4.2 Type specific concepts 9 5 Data type ASE11 5.1 General .11 5.2 Formal definition of data type objects 11 5.3 FAL defined data types11 5.4 Data type ASE service specification 14 6 Communicatio
12、n model specification14 6.1 General .14 6.2 ASEs.14 6.3 ARs.22 Bibliography36 Table 1 AR types .10 Table 2 Process data support level 11 Table 3 Get Attributes service parameters .15 Table 4 Set Attributes service parameters16 Table 5 Error indication parameters .16 Table 6 Connect service parameter
13、s17 Table 7 Disconnect service parameters17 Table 8 Start scan service parameters.18 Table 9 Stop scan service parameters .18 Table 10 M1 Verify slave configuration service parameters24 Table 11 Stop scan service parameters .25 Table 12 M2 Verify slave configuration service parameters26 Table 13 Get
14、 attributes service parameters28 Table 14 Set attributes service parameters 29 Table 15 Error indication parameters .29 61158-5-18 IEC:2010(E) 3 INTERNATIONAL ELECTROTECHNICAL COMMISSION _ INDUSTRIAL COMMUNICATION NETWORKS FIELDBUS SPECIFICATIONS Part 5-18: Application layer service definition Type
15、18 elements FOREWORD 1) The International Electrotechnical Commission (IEC) is a worldwide organization for standardization comprising all national electrotechnical committees (IEC National Committees). The object of IEC is to promote international co-operation on all questions concerning standardiz
16、ation in the electrical and electronic fields. To this end and in addition to other activities, IEC publishes International Standards, Technical Specifications, Technical Reports, Publicly Available Specifications (PAS) and Guides (hereafter referred to as “IEC Publication(s)”). Their preparation is
17、 entrusted to technical committees; any IEC National Committee interested in the subject dealt with may participate in this preparatory work. International, governmental and non- governmental organizations liaising with the IEC also participate in this preparation. IEC collaborates closely with the
18、International Organization for Standardization (ISO) in accordance with conditions determined by agreement between the two organizations. 2) The formal decisions or agreements of IEC on technical matters express, as nearly as possible, an international consensus of opinion on the relevant subjects s
19、ince each technical committee has representation from all interested IEC National Committees. 3) IEC Publications have the form of recommendations for international use and are accepted by IEC National Committees in that sense. While all reasonable efforts are made to ensure that the technical conte
20、nt of IEC Publications is accurate, IEC cannot be held responsible for the way in which they are used or for any misinterpretation by any end user. 4) In order to promote international uniformity, IEC National Committees undertake to apply IEC Publications transparently to the maximum extent possibl
21、e in their national and regional publications. Any divergence between any IEC Publication and the corresponding national or regional publication shall be clearly indicated in the latter. 5) IEC itself does not provide any attestation of conformity. Independent certification bodies provide conformity
22、 assessment services and, in some areas, access to IEC marks of conformity. IEC is not responsible for any services carried out by independent certification bodies. 6) All users should ensure that they have the latest edition of this publication. 7) No liability shall attach to IEC or its directors,
23、 employees, servants or agents including individual experts and members of its technical committees and IEC National Committees for any personal injury, property damage or other damage of any nature whatsoever, whether direct or indirect, or for costs (including legal fees) and expenses arising out
24、of the publication, use of, or reliance upon, this IEC Publication or any other IEC Publications. 8) Attention is drawn to the Normative references cited in this publication. Use of the referenced publications is indispensable for the correct application of this publication. 9) Attention is drawn to
25、 the possibility that some of the elements of this IEC Publication may be the subject of patent rights. IEC shall not be held responsible for identifying any or all such patent rights. NOTE 1 Use of some of the associated protocol types is restricted by their intellectual-property-right holders. In
26、all cases, the commitment to limited release of intellectual-property-rights made by the holders of those rights 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 profile parts. Use of
27、 the various protocol types in other combinations may require permission of their respective intellectual-property-right holders. International Standard IEC 61158-5-18 has been prepared by subcommittee 65C: Industrial networks, of IEC technical committee 65: Industrial-process measurement, control a
28、nd automation. This second edition cancels and replaces the first edition published in 2007. This edition constitutes a technical revision. The main changes with respect to the previous edition are listed below: Editorial corrections Addition of cyclic data segmenting 4 61158-5-18 IEC:2010(E) The te
29、xt of this standard is based on the following documents: FDIS Report on voting 65C/606/FDIS 65C/620/RVD Full information on the voting for the approval of this standard can be found in the report on voting indicated in the above table. This publication has been drafted in accordance with ISO/IEC Dir
30、ectives, Part 2. A list of all parts of the IEC 61158 series, published under the general title Industrial communication networks Fieldbus specifications, can be found on the IEC web site. The committee has decided that the contents of this publication will remain unchanged until the stability date
31、indicated on the IEC web site under “http:/webstore.iec.ch“ in the data related to the specific publication. At this date, the publication will be: reconfirmed; withdrawn; replaced by a revised edition, or amended. NOTE 2 The revision of this standard will be synchronized with the other parts of the
32、 IEC 61158 series. 61158-5-18 IEC:2010(E) 5 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 in IEC/TR 6115
33、8-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. Throughout the
34、 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 administrative an
35、d implementation divisions. 6 61158-5-18 IEC:2010(E) INDUSTRIAL COMMUNICATION NETWORKS FIELDBUS SPECIFICATIONS Part 5-18: Application layer service definition Type 18 elements 1 Scope 1.1 Overview The fieldbus application layer (FAL) provides user programs with a means to access the fieldbus communi
36、cation environment. In this respect, the FAL can be viewed as a “window between corresponding application programs.” This part of IEC 61158 provides common elements for basic time-critical and non-time-critical messaging communications between application programs in an automation environment and ma
37、terial specific to Type 18 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 window risks failure o
38、f the applications requesting the actions, with attendant risk to equipment, plant and possibly human life. This part of IEC 61158 defines in an abstract way the externally visible service provided by the Type 18 fieldbus application layer in terms of a) an abstract model for defining application re
39、sources (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 these actions and events,
40、and their valid sequences. The purpose of this part of IEC 61158 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) Systems Management at the boundary between the Application Layer and Systems Manag
41、ement of the Fieldbus Reference Model. This part of IEC 61158 specifies the structure and services of the Type 18 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 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 61158-5-18 IEC:2010(E) 7 send/receive is specified. This permits
45、 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. 1.2 Specifications The principal objective of this part of
46、IEC 61158 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 objective is to p
47、rovide 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 IEC 61158-6. This specification m
48、ay 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-octet service
49、 parameters, and b) the correlation of paired request and confirm, or indication and response, primitives. 1.3 Conformance This part of IEC 61158 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 this application layer service definition standard. Instead, conformance is achieved through implementatio