1、 IEC 61158-5-15 Edition 2.0 2010-08 INTERNATIONAL STANDARD Industrial communication networks Fieldbus specifications Part 5-15: Application layer service definition Type 15 elements IEC 61158-5-15: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-15 Edition 2.0 2010-08 INTERNATIONAL
9、 STANDARD Industrial communication networks Fieldbus specifications Part 5-15: Application layer service definition Type 15 elements INTERNATIONAL ELECTROTECHNICAL COMMISSION XF ICS 25.04.40; 35.100.70; 35.110 PRICE CODE ISBN 978-2-88912-110-6 Registered trademark of the International Electrotechnic
10、al Commission 2 61158-5-15 IEC:2010(E) CONTENTS FOREWORD.5 INTRODUCTION.7 1 Scope.8 1.1 Overview.8 1.2 Specifications9 1.3 Conformance.9 1.4 Type overview.10 2 Normative references .10 3 Terms and definitions, abbreviations, symbols and conventions .11 3.1 Terms and definitions 11 3.2 Abbreviations
11、and symbols19 3.3 Conventions 20 4 Concepts23 4.1 Common concepts.23 4.2 Client/server specific concepts 23 4.3 Publish/subscribe specific concepts 32 5 Data type ASE41 5.1 General .41 5.2 Formal definition of data type objects 41 5.3 FAL defined data types41 5.4 Data type ASE service specification
12、54 6 Client/server communication model specification54 6.1 ASEs.54 6.2 ARs.113 6.3 Summary of FAL classes.116 6.4 Permitted FAL services by AREP role116 7 Publish/subscribe communication model specification 118 7.1 ASEs.118 7.2 ARs.137 7.3 Summary of FAL classes.139 7.4 Permitted FAL services by ARE
13、P role and sub-role .139 Bibliography140 Figure 1 Client/server stacks24 Figure 2 Client/server communication on different buses or networks 24 Figure 3 Client/server APOs services conveyed by the FAL .25 Figure 4 Interpretation as distinct tables 26 Figure 5 Interpretation as overlapping tables .27
14、 Figure 6 APO and real objects, non obvious possible interpretation .27 Figure 7 ASE service conveyance29 Figure 8 Client/server confirmed interaction.30 Figure 9 Client/server AR confirmed service primitives (positive case).31 Figure 10 Client/server AR confirmed service primitives (negative case)3
15、1 Figure 11 Client/server unconfirmed interaction .32 61158-5-15 IEC:2010(E) 3 Figure 12 Client/server AR unconfirmed service primitives.32 Figure 13 Publish/subscribe communications stacks33 Figure 14 Publish/subscribe data-centric exchanges between decoupled network objects34 Figure 15 Publish/sub
16、scribe APOs services conveyed by the FAL35 Figure 16 Examples of publish/subscribe configurable behaviors via QoS.36 Figure 17 Pull model interactions.38 Figure 18 Push model interactions .39 Figure 19 Publish/subscribe model interactions40 Figure 20 Status bit sequence numbering 44 Figure 21 Object
17、Id .48 Figure 22 Bitmap .52 Figure 23 ParameterSequence.54 Figure 24 FAL ASEs 55 Figure 25 Client/server encapsulated interface mechanism102 Figure 26 Publish/subscribe class derivations and relationships.118 Figure 27 FAL ASEs and classes .119 Figure 28 Publish/subscribe service request composition
18、.129 Table 1 Common client/server APOs25 Table 2 Class identification49 Table 3 Assigned vendor IDs .50 Table 4 Bitmap “1234/12:00110” 53 Table 5 Filter service parameters.58 Table 6 Read discretes service parameters60 Table 7 Read coils service parameters 63 Table 8 Write single coil service parame
19、ters 65 Table 9 Write multiple coils service parameters .66 Table 10 Broadcast write single coil service parameters 68 Table 11 Broadcast write multiple coils service parameters69 Table 12 Read input registers service parameters71 Table 13 Read holding registers service parameters76 Table 14 Write s
20、ingle holding register service parameters78 Table 15 Write multiple holding registers service parameters.79 Table 16 Mask write holding register service parameters .81 Table 17 Read/write holding registers service parameters .83 Table 18 Read FIFO service parameters85 Table 19 Broadcast write single
21、 holding register service parameters86 Table 20 Broadcast write multiple holding registers service parameters.87 Table 21 Read file service parameters.94 Table 22 Write file service parameters .98 Table 23 Device identification categories .104 Table 24 Read device ID code .105 4 61158-5-15 IEC:2010(
22、E) Table 25 Conformity level 106 Table 26 Requested vs. returned known objects 107 Table 27 Read device identification service parameters.109 Table 28 FAL class summary.116 Table 29 Services by AREP role 117 Table 30 Issue service parameters 121 Table 31 Heartbeat service parameters122 Table 32 VAR
23、service parameters124 Table 33 VAR service parameters126 Table 34 ACK service parameters128 Table 35 Header service parameters .131 Table 36 INFO_DST service parameters132 Table 37 INFO_REPLY service parameters133 Table 38 INFO_SRC service parameters135 Table 39 INFO_TS service parameters 136 Table
24、40 PAD service parameters137 Table 41 FAL class summary.139 Table 42 Services by AREP role and sub-role139 61158-5-15 IEC:2010(E) 5 INTERNATIONAL ELECTROTECHNICAL COMMISSION _ INDUSTRIAL COMMUNICATION NETWORKS FIELDBUS SPECIFICATIONS Part 5-15: Application layer service definition Type 15 elements F
25、OREWORD 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 standardization in the
26、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 entrusted to
27、 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 International
28、 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 since each tec
29、hnical 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 content of IEC Pub
30、lications 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 possible in their na
31、tional 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 assessment s
32、ervices 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, employees, s
33、ervants 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 of the public
34、ation, 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 the possibil
35、ity 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 all cases, th
36、e 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 the various
37、protocol types in other combinations may require permission of their respective intellectual-property-right holders. International Standard IEC 61158-5-15 has been prepared by subcommittee 65C: Industrial networks, of IEC technical committee 65: Industrial-process measurement, control and automation
38、. 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. 6 61158-5-15 IEC:2010(E) The text of this standard is based on the following d
39、ocuments: 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 Directives, Part 2. A list of all parts of the IEC
40、 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 indicated on the IEC web site under “http:/webs
41、tore.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 IEC 61158 series. 61158-5-15 IEC:2010(E) 7 INTR
42、ODUCTION 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 61158-1. The application service is provided by the
43、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 set of fieldbus standards, the term “service” r
44、efers 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 and implementation divisions. 8 61158-5-15 IEC:201
45、0(E) INDUSTRIAL COMMUNICATION NETWORKS FIELDBUS SPECIFICATIONS Part 5-15: Application layer service definition Type 15 elements 1 Scope 1.1 Overview In network communications, as in many fields of engineering, it is a fact that “one size does not fit all.” Engineering design is about making the righ
46、t set of trade-offs, and these trade-offs must balance conflicting requirements such as simplicity, generality, ease of use, richness of features, performance, memory size and usage, scalability, determinism, and robustness. These trade-offs must be made in light of the types of information flow (e.
47、g. periodic, one-to- many, request-reply, events), and the constraints imposed by the application and execution platforms. The Type 15 fieldbus provides two major communication mechanisms that complement each others to satisfy communication requirements in the field of automation: the Client/Server
48、and the Publish/Subscribe paradigms. They can be used concurrently on the same device. Type 15 Client/Server operates in a Client/Server relationship. Its application layer service definitions and protocol specifications are independent of the underlying layers, and have been implemented on a variet
49、y of stacks and communication media, including EIA/TIA-232, EIA/TIA-422, EIA/TIA-425, HDLC (ISO 13239), fiber, TCP/IP, Wireless LANs and Radios. Type 15 Publish/Subscribe operates in a Publish/Subscribe relationship. Its application layer service definitions and protocol specifications are independent of the underlying layers and can be config