1、BSI Standards PublicationIndustrial communication networks Fieldbus specificationsPart 4-20: Data-link layer protocol specification Type 20 elementsBS EN 61158-4-20:2014National forewordThis British Standard is the UK implementation of EN 61158-4-20:2014. It isidentical to IEC 61158-4-20:2014.The UK
2、 participation in its preparation was entrusted to TechnicalCommittee AMT/7, Industrial communications: process measurement and control, including fieldbus.A list of organizations represented on this committee can be obtained onrequest to its secretary.This publication does not purport to include al
3、l 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 79448 3ICS 25.040.40; 35.100.20; 35.110Compliance with a British Standard cannot confer immunity fromlegal obligati
4、ons.This British Standard was published under the authority of theStandards Policy and Strategy Committee on 30 November 2014.Amendments/corrigenda issued since publicationDate Text affectedBRITISH STANDARDBS EN 61158-4-20:2014EUROPEAN STANDARDNORME EUROPENNEEUROPISCHE NORMEN 61158-4-20 October 2014
5、 ICS 25.040.40; 35.100.20; 35.110 English Version Industrial communication networks - Fieldbus specifications - Part 4-20: Data-link layer protocol specification - Type 20elements (IEC 61158-4-20:2014) Rseaux de communication industriels - Spcifications des bus de terrain - Partie 4-20: Spcification
6、 du protocole de la couche liaison de donnes - lments de type 20 (CEI 61158-4-20:2014) Industrielle Kommunikationsnetze - Feldbusse - Teil 4-20:Protokollspezifikation des Data Link Layer(Sicherungsschicht) - Typ 20-Elemente (IEC 61158-4-20:2014) This European Standard was approved by CENELEC on 2014
7、-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 bibliographical references concerning such national standards may be o
8、btained 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 responsibility of a CENELEC member into its own language and notifie
9、d 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, Former Yugoslav Republic of Macedonia, France, Germany, Gree
10、ce, 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 Electrotechnical Standardization Comit Europen de Normalisation Electr
11、otechniqueEuropisches 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. No. EN 61158-4-20:2014 E EN 61158-4-20:2014 - 2 - Foreword The
12、 text of document 65C/762/FDIS, future edition 1 of IEC 61158-4-20, prepared by SC 65C “Industrial networks” of IEC/TC 65 “Industrial-process measurement, control and automation“ was submitted to the IEC-CENELEC parallel vote and approved by CENELEC as EN 61158-4-20:2014. The following dates are fix
13、ed: 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 Attention is drawn to the
14、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. This document has been prepared under a mandate given to CENELEC by the European Commission and the European Fre
15、e Trade Association. Endorsement notice The text of the International Standard IEC 61158-4-20: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-1:2014 NO
16、TE Harmonised as EN 61158-1:2014 IEC 61158-3-20:2014 NOTE Harmonised as EN 61158-3-20:2014 IEC 61158-5-20:2014 NOTE Harmonised as EN 61158-5-20:2014 IEC 61784-1 NOTE Harmonised as EN 61784-1 IEC 61784-2 NOTE Harmonised as EN 61784-2 IEC 62591:2010 NOTE Harmonised as EN 62591:2010 BS EN 61158-4-20:20
17、14- 3 - EN 61158-4-20:2014 Annex ZA (normative) Normative references to international publications with their corresponding European publications The following documents, in whole or in part, are normatively referenced in this document and are indispensable for its application. For dated references,
18、 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 has been modified by common modifications, indicated by (mod), the relevant EN/HD applies. NOTE 2 Up-to-date information
19、 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-2 2014 Industrial communication networks - Fieldbus specifications Part 2: Physical layer specification and service definition EN 61158-2 2014 IEC 611
20、58-6-20 2014 Industrial communication networks - Fieldbus specifications Part 6-20: Application layer protocol specification - Type 20 elements EN 61158-6-20 2014 ISO/IEC 7498-1 - Information technology - Open Systems Interconnection - Basic reference model: The basic model - - ISO/IEC 7498-3 - Info
21、rmation technology - Open Systems Interconnection - Basic reference model: Naming and addressing - - ISO/IEC 10731 - Information technology - Open Systems Interconnection - Basic Reference Model - Conventions for the definition of OSI services - - BS EN 61158-4-20:2014 2 IEC 61158-4-20:2014 IEC 2014
22、 CONTENTS INTRODUCTION . 6 1 Scope . 7 General . 7 1.1Specifications 7 1.2Procedures 7 1.3Applicability . 7 1.4Conformance . 7 1.52 Normative references . 8 3 Terms, definitions, symbols and abbreviations 8 Reference model terms and definitions 8 3.1Service convention terms and definitions . 9 3.2Co
23、mmon terms and definitions 10 3.3Additional Type 20 definitions 12 3.4Common symbols and abbreviations . 18 3.5Data units 18 3.5.1Miscellaneous 18 3.5.2Additional Type 20 symbols and abbreviations 19 3.64 Data-link layer protocol specification 20 Overview . 20 4.1Parameters, timers and variables 21
24、4.2Parameters 21 4.2.1Timers . 22 4.2.2Variables . 22 4.2.3Logical link control 23 4.3General DLPDU structure 23 4.3.1DLPDU specific encoding and procedures . 26 4.3.2Framing . 27 4.3.3Error detection . 27 4.3.4Slave response to communication error . 28 4.3.5Medium access control 30 4.4Overview . 30
25、 4.4.1Master controlled medium access 31 4.4.2Burst mode controlled medium access . 32 4.4.3Token passing summary 32 4.4.4XMIT machine . 33 4.4.5RECV machine 34 4.4.6Slave MAC machine 35 4.4.7Master MAC machine 38 4.4.8DL-management-information . 41 4.5Bibliography 42 Figure 1 Relationships of DLSAP
26、s, DLSAP-addresses and group DL-addresses 11 Figure 2 DLPDU Structure . 23 Figure 3 Delimiter Structure . 23 Figure 4 Construction of 1-octet address field 24 BS EN 61158-4-20:2014IEC 61158-4-20:2014 IEC 2014 3 Figure 5 Construction of 5-octet address field 25 Figure 6 APDU format 25 Figure 7 DLPDU
27、framing 27 Figure 8 Two dimensional parity detection . 28 Figure 9 Communication error response DLL payload 29 Figure 10 MAC state machines 31 Figure 11 Master controlled medium access 31 Figure 12 Burst mode controlled medium access . 32 Figure 13 XMIT state machine . 33 Figure 14 RECV state machin
28、e 34 Figure 15 Slave MAC state machine 36 Figure 16 Master MAC state machine 38 Table 1 Slave response to communication error . 29 Table 2 Communication error code values . 29 Table 3 Token passing . 32 Table 4 XMIT state transitions . 33 Table 5 RECV state transitions 35 Table 6 Slave MAC state tra
29、nsitions 37 Table 7 Master MAC state transitions. 39 Table 8 Master DL parameters . 41 Table 9 Slave DL parameters . 41 BS EN 61158-4-20:2014 6 IEC 61158-4-20:2014 IEC 2014 INTRODUCTION This part of IEC 61158 is one of a series produced to facilitate the interconnection of automation system componen
30、ts. It is related to other standards in the set as defined by the “three-layer” fieldbus reference model described in IEC 61158-1. The data-link protocol provides the data-link service by making use of the services available from the physical layer. The primary aim of this standard is to provide a s
31、et of rules for communication expressed in terms of the procedures to be carried out by peer data-link entities (DLEs) at the time of communication. These rules for communication are intended to provide a sound basis for development in order to serve a variety of purposes: a) as a guide for implemen
32、tors and designers; b) for use in the testing and procurement of equipment; c) as part of an agreement for the admittance of systems into the open systems environment; d) as a refinement to the understanding of time-critical communications within OSI. This standard is concerned, in particular, with
33、the communication and interworking of sensors, effectors and other automation devices. By using this standard together with other standards positioned within the OSI or fieldbus reference models, otherwise incompatible systems may work together in any combination. BS EN 61158-4-20:2014IEC 61158-4-20
34、:2014 IEC 2014 7 INDUSTRIAL COMMUNICATION NETWORKS FIELDBUS SPECIFICATIONS Part 4-20: Data-link layer protocol specification Type 20 elements 1 Scope General 1.1The data-link layer provides basic time-critical messaging communications between devices in an automation environment. This protocol provi
35、des a means of connecting devices through a partial mesh network, such that most failures of an interconnection between two devices can be circumvented. In common practice the devices are interconnected in a non-redundant hierarchical manner reflecting application needs Specifications 1.2This Intern
36、ational Standard specifies a) procedures for the timely transfer of data and control information from one data-link user entity to a peer user entity, and among the data-link entities forming the distributed data-link service provider; b) the structure of the fieldbus DLPDUs used for the transfer of
37、 data and control information by the protocol of this standard, and their representation as physical interface data units. Procedures 1.3The procedures are defined in terms of a) the interactions between peer DL-entities (DLEs) through the exchange of fieldbus DLPDUs; b) the interactions between a D
38、L-service (DLS) provider and a DLS-user in the same system through the exchange of DLS primitives; c) the interactions between a DLS-provider and a Ph-service provider in the same system through the exchange of Ph-service primitives. Applicability 1.4These procedures are applicable to instances of c
39、ommunication between systems which support time-critical communications services within the data-link layer of the OSI or fieldbus reference models, and which require the ability to interconnect in an open systems interconnection environment. Profiles provide a simple multi-attribute means of summar
40、izing an implementations capabilities, and thus its applicability to various time-critical communications needs. Conformance 1.5This International Standard also specifies conformance requirements for systems implementing these procedures. This standard does not contain tests to demonstrate complianc
41、e with such requirements. BS EN 61158-4-20:2014 8 IEC 61158-4-20:2014 IEC 2014 2 Normative references The following documents, in whole or in part, are normatively referenced in this document and are indispensable for its application. For dated references, only the edition cited applies. For undated
42、 references, the latest edition of the referenced document (including any amendments) applies. NOTE All parts of the IEC 61158 series, as well as IEC 61784-1 and IEC 61784-2 are maintained simultaneously. Cross-references to these documents within the text therefore refer to the editions as dated in
43、 this list of normative references. IEC 61158-2:2014, Industrial communication networks Fieldbus specifications Part 2: Physical layer specification and service definition IEC 61158-6-20:2014, Industrial communication networks Fieldbus specifications Part 6-20: Application layer protocol specificati
44、on Type 20 elements ISO/IEC 7498-1, Information technology Open Systems Interconnection Basic Reference Model: The Basic Model ISO/IEC 7498-3, Information technology Open Systems Interconnection Basic Reference Model: Naming and addressing ISO/IEC 10731, Information technology Open Systems Interconn
45、ection Basic Reference Model Conventions for the definition of OSI services 3 Terms, definitions, symbols and abbreviations For the purposes of this document, the following terms, definitions, symbols, abbreviations and conventions apply. Reference model terms and definitions 3.1This standard is bas
46、ed in part on the concepts developed in ISO/IEC 7498-1 and ISO/IEC 7498-3, and makes use of the following terms defined therein: 3.1.1 called-DL-address 7498-3 3.1.2 calling-DL-address 7498-3 3.1.3 centralized multi-end-point-connection 7498-1 3.1.4 correspondent (N)-entities correspondent DL-entiti
47、es (N=2) correspondent Ph-entities (N=1) 7498-1 3.1.5 demultiplexing 7498-1 3.1.6 DL-address 7498-3 3.1.7 DL-address-mapping 7498-1 3.1.8 DL-connection 7498-1 3.1.9 DL-connection-end-point 7498-1 3.1.10 DL-connection-end-point-identifier 7498-1 3.1.11 DL-connection-mode transmission 7498-1 3.1.12 DL
48、-connectionless-mode transmission 7498-1 3.1.13 DL-data-sink 7498-1 3.1.14 DL-data-source 7498-1 3.1.15 DL-duplex-transmission 7498-1 3.1.16 DL-facility 7498-1 3.1.17 DL-local-view 7498-3 3.1.18 DL-name 7498-3 3.1.19 DL-protocol 7498-1 3.1.20 DL-protocol-connection-identifier 7498-1 3.1.21 DL-protoc
49、ol-control-information 7498-1 BS EN 61158-4-20:2014IEC 61158-4-20:2014 IEC 2014 9 3.1.22 DL-protocol-data-unit 7498-1 3.1.23 DL-protocol-version-identifier 7498-1 3.1.24 DL-relay 7498-1 3.1.25 DL-service-connection-identifier 7498-1 3.1.26 DL-service-data-unit 7498-1 3.1.27 DL-simplex-transmission 7498-1 3.1.28 DL-subsystem 7498-1 3.1.29 DL-user-data 7498-1 3.1.30 flow control 74
copyright@ 2008-2019 麦多课文库(www.mydoc123.com)网站版权所有
备案/许可证编号:苏ICP备17064731号-1