1、 IEC 61158-4-3 Edition 3.0 2014-08 INTERNATIONAL STANDARD NORME INTERNATIONALE Industrial communication networks Fieldbus specifications Part 4-3: Data-link layer protocol specification Type 3 elements Rseaux de communication industriels Spcifications des bus de terrain Partie 4-3: Spcification du p
2、rotocole de la couche liaison de donnes lments de type 3 IEC 61158-4-3:2014-08(en-fr) 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 by any means
3、, 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 publication, p
4、lease 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, lectronique ou mcaniq
5、ue, 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 contactez le C
6、omit 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 prepares and
7、 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 have been publi
8、shed. 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 publications sear
9、ch - 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 to date on al
10、l 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 English and
11、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 clause of IEC pu
12、blications 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 Service Centre:
13、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 technique de
14、s 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 international
15、es, 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 rfrence, text
16、e, 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 ligne et aussi u
17、ne 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 appel Vocabulaire
18、 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 extraites des pu
19、blications 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-4-3 Edition 3.0 2014-08 INTERNATIONAL STANDARD NORME INTERNATIONALE Industrial com
20、munication networks Fieldbus specifications Part 4-3: Data-link layer protocol specification Type 3 elements Rseaux de communication industriels Spcifications des bus de terrain Partie 4-3: Spcification du protocole de la couche liaison de donnes lments de type 3 INTERNATIONAL ELECTROTECHNICAL COMMI
21、SSION COMMISSION ELECTROTECHNIQUE INTERNATIONALE XH ICS 25.04.40; 35.100.20; 35.110 PRICE CODE CODE PRIX ISBN 978-2-8322-1721-4 Registered trademark of the International Electrotechnical Commission Marque dpose de la Commission Electrotechnique Internationale Warning! Make sure that you obtained thi
22、s publication from an authorized distributor. Attention! Veuillez vous assurer que vous avez obtenu cette publication via un distributeur agr. 2 IEC 61158-4-3:2014 IEC 2014 CONTENTS FOREWORD . 6 INTRODUCTION . 8 1 Scope . 9 General . 9 1.1Specifications 9 1.2Procedures 9 1.3Applicability . 9 1.4Conf
23、ormance . 10 1.5 2 Normative references . 10 3 Terms, definitions, symbols and abbreviations 10 Reference model terms and definitions 10 3.1Service convention terms and definitions . 12 3.2Common terms and definitions 13 3.3Additional Type 3 definitions 15 3.4Common symbols and abbreviations . 17 3.
24、5Type 3 symbols and abbreviations . 18 3.6 4 Common DL-protocol elements . 22 Frame check sequence . 22 4.1 5 Overview of the DL-protocol . 25 General . 25 5.1Overview of the medium access control and transmission protocol 25 5.2Transmission modes and DL-entity 26 5.3Service assumed from the PhL 31
25、5.4Operational elements 35 5.5Cycle and system reaction times . 50 5.6 6 General structure and encoding of DLPDUs, and related elements of procedure 53 DLPDU granularity 53 6.1Length octet (LE, LEr) . 54 6.2Address octet 54 6.3Control octet (FC) 57 6.4DLPDU content error detection 61 6.5DATA_UNIT 61
26、 6.6Error control procedures 62 6.7 7 DLPDU-specific structure, encoding and elements of procedure . 63 DLPDUs of fixed length with no data field 63 7.1DLPDUs of fixed length with data field . 65 7.2DLPDUs with variable data field length 67 7.3Token DLPDU . 68 7.4ASP DLPDU 69 7.5SYNCH DLPDU . 69 7.6
27、Time Event (TE) DLPDU 69 7.7Clock Value (CV) DLPDU 70 7.8Transmission procedures 70 7.9 8 Other DLE elements of procedure. 73 DL-entity initialization 73 8.1States of the media access control of the DL-entity . 74 8.2IEC 61158-4-3:2014 IEC 2014 3 Clock synchronization protocol 80 8.3 Annex A (normat
28、ive) DL-Protocol state machines 85 A.1 Overall structure 85 A.2 Variation of state machines in different devices . 86 A.3 DL Data Resource . 87 A.4 FLC / DLM . 91 A.4.1 Primitive definitions . 91 A.4.2 State machine description . 96 A.5 MAC 115 A.5.1 Primitive definitions . 115 A.5.2 State machine d
29、escription . 115 A.6 SRU 141 A.6.1 Overview . 141 A.6.2 Character send SM(CTX) . 142 A.6.3 Character receive SM (CRX) . 143 A.6.4 Timer-SM (TIM) . 143 A.6.5 Primitive definition of SRC . 144 A.6.6 State machine description . 145 Annex B (informative) Type 3 (synchronous): exemplary FCS implementatio
30、ns 160 Annex C (informative) Type 3: Exemplary token procedure and message transfer periods . 162 C.1 Procedure of token passing . 162 C.2 Examples for token passing procedure 163 C.3 Examples for message transfer periods asynchronous transmission . 168 Bibliography 170 Figure 1 Relationships of DLS
31、APs, DLSAP-addresses and group DL-addresses 14 Figure 2 Logical token-passing ring . 28 Figure 3 PhL data service for asynchronous transmission 32 Figure 4 Idle time T ID137 Figure 5 Idle time T ID2 (SDN, CS) . 38 Figure 6 Idle time T ID2 (MSRD) . 38 Figure 7 Slot time T SL1. 39 Figure 8 Slot time T
32、 SL2. 39 Figure 9 Slot time T SL1. 44 Figure 10 Slot time T SL2. 44 Figure 11 Token transfer period . 50 Figure 12 Message transfer period . 51 Figure 13 UART character . 53 Figure 14 Octet structure . 54 Figure 15 Length octet coding 54 Figure 16 Address octet coding 55 Figure 17 DAE/SAE octet in t
33、he DLPDU . 56 Figure 18 Address extension octet . 56 Figure 19 FC octet coding for send/request DLPDUs . 58 Figure 20 FC octet coding for acknowledgement or response DLPDUs 58 4 IEC 61158-4-3:2014 IEC 2014 Figure 21 FCS octet coding 61 Figure 22 Data field . 62 Figure 23 Ident user data . 62 Figure
34、24 DLPDUs of fixed length with no data field . 64 Figure 25 DLPDUs of fixed length with no data field . 65 Figure 26 DLPDUs of fixed length with data field . 66 Figure 27 DLPDUs of fixed length with data field . 66 Figure 28 DLPDUs with variable data field length . 67 Figure 29 DLPDUs with variable
35、data field length . 68 Figure 30 Token DLPDU 68 Figure 31 Token DLPDU 69 Figure 32 Send/request DLPDU of fixed length with no data 70 Figure 33 Token DLPDU and send/request DLPDU of fixed length with data 71 Figure 34 Send/request DLPDU with variable data field length . 71 Figure 35 Send/request DLP
36、DU of fixed length with no data 72 Figure 36 Token DLPDU and send/request DLPDU of fixed length with data 72 Figure 37 Send/request DLPDU with variable data field length . 73 Figure 38 DL-state-diagram . 75 Figure 39 Overview of clock synchronization 81 Figure 40 Time master state machine 82 Figure
37、41 Time receiver state machine 83 Figure 42 Clock synchronization . 84 Figure A.1 Structuring of the protocol machines . 86 Figure A.2 Structure of the SRU Machine . 142 Figure B.1 Example of FCS generation for Type 3 (synchronous) 160 Figure B.2 Example of FCS syndrome checking on reception for Typ
38、e 3 (synchronous) . 160 Figure C.1 Derivation of the token holding time (T TH ) 163 Figure C.2 No usage of token holding time (T TH ) . 164 Figure C.3 Usage of token holding time (T TH ) for message transfer (equivalence between T THof each Master station) 165 Figure C.4 Usage of token holding time
39、(T TH ) in different working load situations . 167 Table 1 FCS length, polynomials and constants by Type 3 synchronous 23 Table 2 Characteristic features of the fieldbus data-link protocol 25 Table 3 Transmission function code . 59 Table 4 FCB, FCV in responder . 60 Table 5 Operating parameters . 73
40、 Table A.1 Assignment of state machines 87 Table A.2 Data resource 88 Table A.3 Primitives issued by DL-User to FLC 91 Table A.4 Primitives issued by FLC to DL-User 92 Table A.5 Primitives issued by DL-User to DLM . 94 Table A.6 Primitives issued by DLM to DL-User . 94 IEC 61158-4-3:2014 IEC 2014 5
41、Table A.7 Parameters used with primitives exchanged between DL-User and FLC . 95 Table A.8 Parameters used with primitives exchanged between DL-User and DLM 95 Table A.9 FLC/DLM state table 96 Table A.10 FLC / DLM function table 108 Table A.11 Primitives issued by DLM to MAC. 115 Table A.12 Primitiv
42、es issued by MAC to DLM. 115 Table A.13 Parameters used with primitives exchanged between DLM and MAC . 115 Table A.14 Local MAC variables 116 Table A.15 MAC state table . 117 Table A.16 MAC function table . 137 Table A.17 Primitives issued by DLM to SRC . 144 Table A.18 Primitives issued by SRC to
43、DLM . 144 Table A.19 Primitives issued by MAC to SRC. 144 Table A.20 Primitives issued by SRC to MAC. 145 Table A.21 Parameters used with primitives exchanged between MAC and SRC . 145 Table A.22 FC structure . 145 Table A.23 Local variables of SRC . 146 Table A.24 SRC state table 147 Table A.25 SRC
44、 functions 159 6 IEC 61158-4-3:2014 IEC 2014 INTERNATIONAL ELECTROTECHNICAL COMMISSION _ INDUSTRIAL COMMUNICATION NETWORKS FIELDBUS SPECIFICATIONS Part 4-3: Data-link layer protocol specification Type 3 elements FOREWORD 1) The International Electrotechnical Commission (IEC) is a worldwide organizat
45、ion 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 electrical and electronic fields. To this end and in addition to other activities, IEC
46、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 technical committees; any IEC National Committee interested in the subject dealt with
47、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 Organization for Standardization (ISO) in accordance with conditions determined by agr
48、eement 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 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 content of IEC Publications is accurate, IEC cannot be held responsi