1、BSI Standards PublicationIndustrial communication networks Fieldbus specificationsPart 4-1: Data-link layer protocol specification Type 1 elementsBS EN 61158-4-1:2014National forewordThis British Standard is the UK implementation of EN 61158-4-1:2014. It is identical to IEC 61158-4-1:2014. It supers
2、edes BS EN 61158-4-1:2008 which 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 secreta
3、ry.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 79372 1ICS 25.040.40; 35.100.20; 35.110Compliance with a British
4、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-4-1:2014EUROPEAN STANDARD NORME EUROPENNE E
5、UROPISCHE NORM EN 61158-4-1 October 2014 ICS 25.040.40; 35.100.20; 35.110 Supersedes EN 61158-4-1:2008 English Version Industrial communication networks - Fieldbus specifications - Part 4-1: Data-link layer protocol specification - Type 1 elements (IEC 61158-4-1:2014) Rseaux de communication industr
6、iels - Spcifications des bus de terrain - Partie 4-1: Spcification du protocole de la couche liaison de donnes - lments de type 1 (CEI 61158-4-1:2014) Industrielle Kommunikationsnetze - Feldbusse - Teil 4: Protokollspezifikation des Data Link Layer (Sicherungsschicht) - Typ 1-Elemente (IEC 61158-4-1
7、:2014) This European Standard was approved by CENELEC on 2014-09-19. 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 lists and bibliogra
8、phical 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 translation under the respons
9、ibility 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, Denmark, Estonia, Finland
10、, 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 Committee for Electrot
11、echnical 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 CENELEC Members. Ref.
12、 No. EN 61158-4-1:2014 E BS EN 61158-4-1:2014EN 61158-4-1:2014 - 2 - Foreword The text of document 65C/762/FDIS, future edition 2 of IEC 61158-4-1, prepared by IEC/TC 65C “Industrial networks“ was submitted to the IEC-CENELEC parallel vote and approved by CENELEC as EN 61158-4-1:2014. The following
13、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-19 latest date by which the national standards conflicting with the document have to be withdrawn (dow) 2017-09-19 This document
14、 supersedes EN 61158-4-1:2008. 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 identifying any or all such patent rights. Endorsement notice The text of the International Standa
15、rd IEC 61158-4-1:2014 was approved by CENELEC as a European Standard without any modification. In the official version, for Bibliography, the following notes have to be added for the standards indicated: IEC 61158-5-5:2014 NOTE Harmonised as EN 61158-5-5:2014 IEC 61158-6-5:2014 NOTE Harmonised as EN
16、 61158-6-5:2014 IEC 61784-1 NOTE Harmonised as EN 61784-1 IEC 61784-2 NOTE Harmonised as EN 61784-2 BS EN 61158-4-1:2014- 3 - EN 61158-4-1 :2014 Annex ZA (normative) Normative references to international publications with their corresponding European publications The following documents, in whole or
17、 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 ha
18、s 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-1 2014 Industrial communication
19、networks - Fieldbus specifications - Part 1: Overview and guidance for the IEC 61158 and IEC 61784 series EN 61158-1 2014 IEC 61158-2 2014 Industrial communication networks - Fieldbus specifications - Part 2: Physical layer specification and service definition EN 61158-2 2014 IEC 61158-3-1 2014 Indu
20、strial communication networks - Fieldbus specifications - Part 3-1: Data-link layer service definition - Type 1 elements EN 61158-3-1 2014 ISO/IEC 7498-1 - Information technology - Open Systems Interconnection - Basic reference model: The basic model - - ISO/IEC 7498-3 - Information technology - Ope
21、n Systems Interconnection - Basic reference model: Naming and addressing - - ISO/IEC 8886 - Information technology - Open Systems Interconnection - Data link service definition - - ISO/IEC 10038 1993 Information technology - Telecommunications and information exchange between systems - Local area ne
22、tworks - Media Access Control (MAC) bridges - - ISO/IEC 10731 - Information technology - Open Systems Interconnection - Basic Reference Model - Conventions for the definition of OSI services - - BS EN 61158-4-1:2014 2 IEC 61158-4-1:2014 IEC 2014 CONTENTS 0 INTRODUCTION 11 0.1 General . 11 0.2 Nomenc
23、lature for references within this standard 11 1 Scope . 12 General . 12 1.1Specifications 12 1.2Procedures 12 1.3Applicability . 13 1.4Conformance . 13 1.52 Normative references . 13 3 Terms, definitions, symbols and abbreviations 14 Reference model terms and definitions 14 3.1Service convention ter
24、ms and definitions . 16 3.2Terms and definitions 16 3.3Symbols and abbreviations 25 3.44 Overview of the DL-protocol . 29 Three-level model of the DLL 29 4.1Service provided by the DLL 31 4.2Structure and definition of DL-addresses . 38 4.3Service assumed from the PhL 50 4.4Functions of the DLL . 52
25、 4.5Functional classes . 55 4.6Local parameters, variables, counters, timers and queues . 56 4.75 General structure and encoding of PhIDUs and DLPDUs, and related elements of procedure . 70 PhIDU structure and encoding . 70 5.1Common DLPDU structure, encoding and elements of procedure 70 5.26 DLPDU-
26、specific structure, encoding and elements of procedure . 81 Establish connection (EC) DLPDU . 83 6.1Disconnect connection (DC) DLPDU 85 6.2Reset connection (RC) DLPDU 88 6.3Compel acknowledgement (CA) DLPDU 89 6.4Compel data (CD) DLPDU . 96 6.5Exchange data (ED) DLPDU 103 6.6Data (DT) DLPDU 111 6.7S
27、tatus response (SR) DLPDU 118 6.8Compel time (CT) DLPDU . 121 6.9Time distribution (TD) DLPDU . 123 6.10Round-trip-delay query (RQ) DLPDU . 125 6.11Round-trip-delay reply (RR) DLPDU 127 6.12Probe node DL-address (PN) DLPDU 129 6.13Probe response (PR) DLPDU 131 6.14Pass token (PT) DLPDU 133 6.15Execu
28、te sequence (ES) DLPDU 141 6.16Return token (RT) DLPDU . 148 6.17BS EN 61158-4-1:2014IEC 61158-4-1:2014 IEC 2014 3 Request interval (RI) DLPDU . 149 6.18Claim LAS (CL) DLPDU . 150 6.19Transfer LAS (TL) DLPDU . 152 6.20Wakeup (WK) DLPDU . 155 6.21Idle (IDLE) DLPDU 157 6.22Spare DLPDUs 158 6.23Reserve
29、d (not to be used) DLPDUs . 159 6.247 DLPDU-parameter structure and encoding 160 Structure and encoding of EC-PARAMETERS . 160 7.1Structure and encoding of DC-PARAMETERS . 165 7.2Structure and encoding of RC-PARAMETERS . 166 7.3Structure and encoding of SD-Parameters . 168 7.4Structure and encoding
30、of SR-parameters . 176 7.5Structure and encoding of TD-parameters . 176 7.6Structure and encoding of RQ-parameters . 179 7.7Structure and encoding of RR-parameters . 179 7.8Structure and encoding of PN-parameters . 180 7.9Structure and encoding of DD-parameters . 182 7.108 DL-service elements of pro
31、cedure 182 Operation of the DL(SAP)-address, buffer and queue management services . 183 8.1Operation of the connection-mode services . 186 8.2Operation of the connectionless-mode services . 226 8.3Operation of the scheduling guidance services 237 8.49 DL-support subprotocol 246 General . 246 9.1Over
32、view of LAS operation 247 9.2DL-support subprotocol definition 247 9.3Elements of Procedures for receiving SPDUs 280 9.410 Other DLE elements of procedure. 282 DLE initialization . 282 10.1LAS behavior and operation 286 10.2DL-support operation . 293 10.3DL-bridge elements of procedure and bridge su
33、b-protocol . 298 10.4DL-management-information . 328 10.5Implementation profiles . 332 10.611 PICS proforma 337 Introduction . 338 11.1General . 338 11.2Normative references 338 11.3Definitions . 338 11.4Abbreviations 338 11.5Conformance . 339 11.6Instructions . 339 11.7Identification 339 11.8Implem
34、entation profile . 340 11.9Major low-level capabilities 344 11.10Major high-level capabilities 357 11.11Annex A (informative) Exemplary FCS implementation . 366 BS EN 61158-4-1:2014 4 IEC 61158-4-1:2014 IEC 2014 Annex B (informative) Type 1: Formal protocol finite state machines. 368 B.1 Basic recep
35、tion and transmission FSMs 368 B.2 FSMs for DLCs 379 B.3 FSMs for scheduling 385 B.4 FSMs for bridges . 385 Annex C (informative) Type 1: DLPDU and DL-addressing short-form summaries . 387 C.1 Fields used in short-form summaries . 387 C.2 DLPDU short-form summary grouped by function 388 C.3 DLPDU sh
36、ort-form summary in alphabetic order of DLPDU names 390 C.4 DLPDU short-form summary in alphabetic order of DLPDU acronyms 391 C.5 DLPDU FC code-point assignment matrix overview and detail 392 C.6 SD-parameters (status and data-description parameters) of CA, CD, ED and DT DLPDUs . 395 C.7 EC paramet
37、ers of EC DLPDUs 398 C.8 Parameters of DC and RC DLPDUs . 400 C.9 Parameters of TD, RQ and RR DLPDUs 401 C.10 Parameters of PN, PT, ES and RI DLPDUs . 404 C.11 Addressing summary extracted from figures and tables of 4.3 . 404 Bibliography 409 Figure 1 Relationships of DLSAPs, DLSAP-addresses, DLCEPs
38、, DLCEP-addresses, DLSEP-addresses and group DL-addresses . 19 Figure 2 Basic structure of a DL-address . 38 Figure 3 Basic structure of a sublink selector . 39 Figure 4 DL-address alternative structures . 39 Figure 5 Basic structure of MAC-addresses . 49 Figure 6 Representation of a DL-address as a
39、 MAC-address . 49 Figure 7 Linear relationships of sending and receiving DLCEP sequence-number variables . 62 Figure 8 DL-address alternative structures . 73 Figure 9 SHORT DL-address field alternative implicit structures 74 Figure 10 NODE DL-address field implicit structure 74 Figure 11 State trans
40、ition diagram for a DLCEP . 187 Figure 12 Projection of the sending and receiving DLCEP sequence-number variables of Figure 7 onto the cyclic sequence-number parameters of CA, CD, DT, ED and RC DLPDUs, with consequent determination of required actions 203 Figure 13 State transitions of a DLE 283 Fig
41、ure 14 Bridged network topology . 299 Figure 15 Spanning tree representation . 300 Figure 16 DLSDU transit delay, DLPDU lifetime and bridge forwarding delay . 304 Figure 17 Forwarding and delivering a received DLPDU 308 Figure 18 Forwarding a locally-originated DLPDU 309 Figure 19 Republishing a DLS
42、DU received from another link . 310 Figure 20 Bridge architecture . 311 Figure 21 Replacement for IL Fig 3-2 Bridge ports 320 Figure 22 Replacement for IL Fig 3-3 Bridge architecture . 321 Figure A.1 Example of FCS generation 366 BS EN 61158-4-1:2014IEC 61158-4-1:2014 IEC 2014 5 Figure A.2 Example o
43、f FCS syndrome checking on reception . 366 Figure C.1 Gross structure of FC code points 392 Figure C.2 Figure 2 Basic structure of a DL-address 405 Figure C.3 Figure 3 Basic structure of a sublink selector 405 Figure C.4 Figure 4 DL-address alternative structures . 405 Figure C.5 Figure 5 Basic stru
44、cture of MAC-addresses 405 Figure C.6 Figure 6 Representation of a DL-address as a MAC-address 405 Table 1 Link | node | selector addressing . 41 Table 2 Link-local node | selector addressing 43 Table 3 Link-local node designators . 45 Table 4 Node-local selector addressing . 46 Table 5 Predefined f
45、lat non-local DL-addresses . 47 Table 6 Predefined flat link-local DL-addresses . 48 Table 7 Predefined node-local DL-addresses . 48 Table 8 Correlation of DLPDUs with functional classes 54 Table 9 FCS length, polynomial and expected residual 76 Table 10 Summary structure of DLPDUs 82 Table 11 DLPDU
46、 restrictions based on dominant token 83 Table 12 Structure of EC DLPDUs . 83 Table 13 Structure of DC DLPDUs . 86 Table 14 Structure of RC DLPDUs . 88 Table 15 Structure of CA DLPDUs . 90 Table 16 Structure of CD DLPDUs . 96 Table 17 Structure of ED DLPDUs . 103 Table 18 Structure of DT DLPDUs . 11
47、1 Table 19 Structure of SR DLPDUs . 119 Table 20 Structure of CT DLPDUs . 121 Table 21 Structure of TD DLPDUs . 123 Table 22 Structure of RQ DLPDUs . 125 Table 23 Structure of RR DLPDUs . 127 Table 24 Structure of PN DLPDUs . 129 Table 25 Structure of PR DLPDUs . 132 Table 26 Structure of PT DLPDUs
48、133 Table 27 Structure of ES DLPDUs . 142 Table 28 Structure of RT DLPDUs . 148 Table 29 Structure of RI DLPDUs. 149 Table 30 Structure of CL DLPDUs 150 Table 31 Structure of TL DLPDUs 152 Table 32 Structure of WK DLPDUs. 155 Table 33 Structure of IDLE DLPDUs 157 Table 34 Assumed structure of undefi
49、ned (spare) DLPDUs 158 Table 35 Assumed structure of RESERVED (NOT TO BE USED) DLPDUs . 160 BS EN 61158-4-1:2014 6 IEC 61158-4-1:2014 IEC 2014 Table 36 Structure of an EC DLPDUs parameters . 161 Table 37 EC-parameters: 1st octet . 161 Table 38 EC-parameters: 2nd octet 161 Table 39 EC-parameters: 3rd and 4th octets . 162 Table 40 EC-parameters: 5th and 6th oc