1、 IEC 61158-3-12 Edition 3.0 2014-08 INTERNATIONAL STANDARD NORME INTERNATIONALE Industrial communication networks Fieldbus specifications Part 3-12: Data-link layer service definition Type 12 elements Rseaux de communication industriels Spcifications des bus de terrain Partie 3-12: Dfinition des ser
2、vices de la couche liaison de donnes lments de type 12 IEC 61158-3-12:2014-08(en-fr) colour inside THIS PUBLICATION IS COPYRIGHT PROTECTED Copyright 2014 IEC, Geneva, Switzerland All rights reserved. Unless otherwise specified, no part of this publication may be reproduced or utilized in any form or
3、 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 you have any questions about IEC copyright or have an enquiry about obtaining additional rights to this p
4、ublication, please contact the address below or your local IEC member National Committee for further information. Droits de reproduction rservs. Sauf indication contraire, aucune partie de cette publication ne peut tre reproduite ni utilise sous quelque forme que ce soit et par aucun procd, lectroni
5、que ou mcanique, y compris la photocopie et les microfilms, sans laccord crit de lIEC ou du Comit national de lIEC du pays du demandeur. Si vous avez des questions sur le copyright de lIEC ou si vous dsirez obtenir des droits supplmentaires sur cette publication, utilisez les coordonnes ci-aprs ou c
6、ontactez le Comit national de lIEC de votre pays de rsidence. IEC Central Office Tel.: +41 22 919 02 11 3, rue de Varemb Fax: +41 22 919 03 00 CH-1211 Geneva 20 infoiec.ch Switzerland www.iec.ch About the IEC The International Electrotechnical Commission (IEC) is the leading global organization that
7、 prepares and publishes International Standards for all electrical, electronic and related technologies. About IEC publications The technical content of IEC publications is kept under constant review by the IEC. Please make sure that you have the latest edition, a corrigenda or an amendment might ha
8、ve been published. IEC Catalogue - webstore.iec.ch/catalogue The stand-alone application for consulting the entire bibliographical information on IEC International Standards, Technical Specifications, Technical Reports and other documents. Available for PC, Mac OS, Android Tablets and iPad. IEC publ
9、ications search - www.iec.ch/searchpub The advanced search enables to find IEC publications by a variety of criteria (reference number, text, technical committee,). It also gives information on projects, replaced and withdrawn publications. IEC Just Published - webstore.iec.ch/justpublished Stay up
10、to date on all new IEC publications. Just Published details all new publications released. Available online and also once a month by email. Electropedia - www.electropedia.org The worlds leading online dictionary of electronic and electrical terms containing more than 30 000 terms and definitions in
11、 English and French, with equivalent terms in 14 additional languages. Also known as the International Electrotechnical Vocabulary (IEV) online. IEC Glossary - std.iec.ch/glossary More than 55 000 electrotechnical terminology entries in English and French extracted from the Terms and Definitions cla
12、use of IEC publications issued since 2002. Some entries have been collected from earlier publications of IEC TC 37, 77, 86 and CISPR. IEC Customer Service Centre - webstore.iec.ch/csc If you wish to give us your feedback on this publication or need further assistance, please contact the Customer Ser
13、vice Centre: csciec.ch. A propos de lIEC La Commission Electrotechnique Internationale (IEC) est la premire organisation mondiale qui labore et publie des Normes internationales pour tout ce qui a trait llectricit, llectronique et aux technologies apparentes. A propos des publications IEC Le contenu
14、 technique des publications IEC est constamment revu. Veuillez vous assurer que vous possdez ldition la plus rcente, un corrigendum ou amendement peut avoir t publi. Catalogue IEC - webstore.iec.ch/catalogue Application autonome pour consulter tous les renseignements bibliographiques sur les Normes
15、internationales, Spcifications techniques, Rapports techniques et autres documents de lIEC. Disponible pour PC, Mac OS, tablettes Android et iPad. Recherche de publications IEC - www.iec.ch/searchpub La recherche avance permet de trouver des publications IEC en utilisant diffrents critres (numro de
16、rfrence, texte, comit dtudes,). Elle donne aussi des informations sur les projets et les publications remplaces ou retires. IEC Just Published - webstore.iec.ch/justpublished Restez inform sur les nouvelles publications IEC. Just Published dtaille les nouvelles publications parues. Disponible en lig
17、ne et aussi une fois par mois par email. Electropedia - www.electropedia.org Le premier dictionnaire en ligne de termes lectroniques et lectriques. Il contient plus de 30 000 termes et dfinitions en anglais et en franais, ainsi que les termes quivalents dans 14 langues additionnelles. Egalement appe
18、l Vocabulaire Electrotechnique International (IEV) en ligne. Glossaire IEC - std.iec.ch/glossary Plus de 55 000 entres terminologiques lectrotechniques, en anglais et en franais, extraites des articles Termes et Dfinitions des publications IEC parues depuis 2002. Plus certaines entres antrieures ext
19、raites des publications des CE 37, 77, 86 et CISPR de lIEC. Service Clients - webstore.iec.ch/csc Si vous dsirez nous donner des commentaires sur cette publication ou si vous avez des questions contactez-nous: csciec.ch. IEC 61158-3-12 Edition 3.0 2014-08 INTERNATIONAL STANDARD NORME INTERNATIONALE
20、Industrial communication networks Fieldbus specifications Part 3-12: Data-link layer service definition Type 12 elements Rseaux de communication industriels Spcifications des bus de terrain Partie 3-12: Dfinition des services de la couche liaison de donnes lments de type 12 INTERNATIONAL ELECTROTECH
21、NICAL COMMISSION COMMISSION ELECTROTECHNIQUE INTERNATIONALE X ICS 25.040.40; 35.100.20; 35.110 PRICE CODE CODE PRIX ISBN 978-2-8322-1713-9 Registered trademark of the International Electrotechnical Commission Marque dpose de la Commission Electrotechnique Internationale Warning! Make sure that you o
22、btained this publication from an authorized distributor. Attention! Veuillez vous assurer que vous avez obtenu cette publication via un distributeur agr. colour inside 2 IEC 61158-3-12:2014 IEC 2014 CONTENTS FOREWORD . 4 INTRODUCTION . 6 1 Scope . 7 1.1 General . 7 1.2 Specifications 7 1.3 Conforman
23、ce . 7 2 Normative references . 8 3 Terms, definitions, symbols, abbreviations and conventions . 8 3.1 Reference model terms and definitions 8 3.2 Service convention terms and definitions . 9 3.3 Data-link service terms and definitions 10 3.4 Symbols and abbreviations 13 3.5 Common conventions 14 4
24、Data-link layer services and concepts . 15 4.1 Operating principle 15 4.2 Topology . 16 4.3 Data-link layer overview 16 4.4 Error detection overview 17 4.5 Parameter and process data handling introduction 17 4.6 Node reference model . 18 4.7 Operation overview . 19 4.8 Addressing 20 4.9 Slave classi
25、fication 22 4.10 Structure of the communication layer in the slave 23 5 Communication services . 24 5.1 Overview . 24 5.2 Read services . 24 5.3 Write services . 27 5.4 Combined read/write services . 29 5.5 Network services . 33 5.6 Mailbox . 34 6 Local interactions . 38 6.1 Read local . 38 6.2 Writ
26、e local . 39 6.3 Event local 40 IEC 61158-3-12:2014 IEC 2014 3 Figure 1 Mapping of logical data in an Ethernet frame consisting of a single Type 12 DLPDU . 17 Figure 2 Type 12 data-link reference model . 18 Figure 3 Type 12 segments in open mode 19 Figure 4 Type 12 segment in direct mode 19 Figure 5
27、 Addressing mode overview 20 Figure 6 Fieldbus memory management unit overview . 22 Figure 7 Layering of communication . 23 Figure 8 Flow of Type 12 service primitives . 24 Figure 9 Successful mailbox write sequence 35 Figure 10 Successful mailbox read sequence. 35 Table 1 Auto-increment physical re
28、ad (APRD) . 25 Table 2 Configured-addresse physical read (FPRD) . 25 Table 3 Broadcast read (BRD) . 26 Table 4 Logical read (LRD) 27 Table 5 Auto-increment physical write (APWR) 27 Table 6 Configured-address physical write (FPWR) . 28 Table 7 Broadcast write (BWR) 28 Table 8 Logical write (LWR) . 29
29、 Table 9 Auto-increment physical read/write (APRW) 30 Table 10 Configured-address physical read/write (FPRW) 30 Table 11 Broadcast read/write (BRW) 31 Table 12 Logical read/write (LRW) . 31 Table 13 Auto-increment physical read / multiple write (ARMW) . 32 Table 14 Configured-address physical read /
30、 multiple write (FRMW) 32 Table 15 Provide network variable (PNV) . 33 Table 16 Mailbox write . 36 Table 17 Mailbox read update 37 Table 18 Mailbox read . 38 Table 19 Read local . 39 Table 20 Write local . 39 Table 21 Event local 40 4 IEC 61158-3-12:2014 IEC 2014 INTERNATIONAL ELECTROTECHNICAL COMMI
31、SSION _ INDUSTRIAL COMMUNICATION NETWORKS FIELDBUS SPECIFICATIONS Part 3-12: Data-link layer service definition Type 12 elements FOREWORD 1) The International Electrotechnical Commission (IEC) is a worldwide organization for standardization comprising all national electrotechnical committees (IEC Na
32、tional Committees). The object of IEC is to promote international co-operation on all questions concerning standardization in the electrical and electronic fields. To this end and in addition to other activities, IEC publishes International Standards, Technical Specifications, Technical Reports, Pub
33、licly Available Specifications (PAS) and Guides (hereafter referred to as “IEC Publication(s)”). Their preparation is entrusted to technical committees; any IEC National Committee interested in the subject dealt with may participate in this preparatory work. International, governmental and non- gove
34、rnmental organizations liaising with the IEC also participate in this preparation. IEC collaborates closely with the International Organization for Standardization (ISO) in accordance with conditions determined by agreement between the two organizations. 2) The formal decisions or agreements of IEC
35、on technical matters express, as nearly as possible, an international consensus of opinion on the relevant subjects since each technical committee has representation from all interested IEC National Committees. 3) IEC Publications have the form of recommendations for international use and are accept
36、ed by IEC National Committees in that sense. While all reasonable efforts are made to ensure that the technical content 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 internationa
37、l uniformity, IEC National Committees undertake to apply IEC Publications transparently to the maximum extent possible 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 latt
38、er. 5) IEC itself does not provide any attestation of conformity. Independent certification bodies provide conformity 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 shoul
39、d ensure that they have the latest edition of this publication. 7) No liability shall attach to IEC or its directors, 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 damag
40、e of any nature whatsoever, whether direct or indirect, or for costs (including legal fees) and expenses arising out 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 t
41、he referenced publications is indispensable for the correct application of this publication. 9) Attention is drawn to 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
42、. Attention is drawn to the fact that the use of the associated protocol type is restricted by its intellectual-property-right holders. In all cases, the commitment to limited release of intellectual-property-rights made by the holders of those rights permits a layer protocol type to be used with ot
43、her layer protocols of the same type, or in other type combinations explicitly authorized by its intellectual-property-right holders. NOTE Combinations of protocol types are specified in IEC 61784-1 and IEC 61784-2. International Standard IEC 61158-3-12 has been prepared by subcommittee 65C: Industr
44、ial networks of IEC technical committee 65: Industrial-process measurement, control and automation. This third edition cancels and replaces the second edition published in 2010. This edition constitutes a technical revision. The main changes with respect to the previous edition are listed below: IEC
45、 61158-3-12:2014 IEC 2014 5 Editorial improvements for clarification. The text of this standard is based on the following documents: FDIS Report on voting 65C/759/FDIS 65C/769/RVD Full information on the voting for the approval of this standard can be found in the report on voting indicated in the a
46、bove table. This publication has been drafted in accordance with ISO/IEC Directives, 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
47、contents of this publication will remain unchanged until the stability date 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. IMPORTANT
48、The colour inside logo on the cover page of this publication indicates that it contains colours which are considered to be useful for the correct understanding of its contents. Users should therefore print this document using a colour printer. 6 IEC 61158-3-12:2014 IEC 2014 INTRODUCTION This part of
49、 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. Throughout the set of fieldbus standards, the term “service” refers to the abstract capability provided by one laye