1、BSI Standards PublicationIndustrial communication networks Fieldbus specificationsPart 3-1: Data-link layer service definition Type 1 elementsBS EN 61158-3-1:2014National forewordThis British Standard is the UK implementation of EN 61158-3-1:2014. It is identical to IEC 61158-3-1:2014. It supersedes
2、 BS EN 61158-3-1:2008 which is withdrawn.The UK participation in its preparation was entrusted to Technical Com-mittee AMT/7, Industrial communications: process measurement andcontrol, including fieldbus.A list of organizations represented on this committee can be obtained onrequest to its secretary
3、.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 79361 5ICS 25.040.40; 35.100.20; 35.240.50Compliance 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 31 October 2014.Amendments/corrigenda issued since publicationDate Text affectedBRITISH STANDARDBS EN 61158-3-1:2014EUROPEAN STANDARDNORME E
5、UROPENNEEUROPISCHE NORMEN 61158-3-1 October 2014 ICS 35.100.20; 35.110; 25.040.40 Supersedes EN 61158-3-1:2008 English Version Industrial communication networks - Fieldbus specifications - Part 3-1: Data-link layer service definition - Type 1 elements (IEC 61158-3-1:2014) Rseaux de communication ind
6、ustriels - Spcifications des bus de terrain - Partie 3-1: Dfinition des services de la couche liaison de donnes - lments de type 1 (CEI 61158-3-1:2014) Industrielle Kommunikationsnetze - Feldbusse - Teil 3-1:Dienstfestlegungen des Data Link Layer(Sicherungsschicht) - Typ 1-Elemente (IEC 61158-3-1:20
7、14) This European Standard was approved by CENELEC on 2014-09-17. 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 bibliographi
8、cal 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 responsibi
9、lity 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, Fo
10、rmer 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 Electrotechn
11、ical Standardization Comit Europen de Normalisation ElectrotechniqueEuropisches 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.
12、EN 61158-3-1:2014 E EN 61158-3-1:2014 - 2 - Foreword The text of document 65C/759/FDIS, future edition 2 of IEC 61158-3-1, 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 CEN
13、ELEC as EN 61158-3-1:2014. The following 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-17 latest date by which the national standards conflicting with the document have to be
14、 withdrawn (dow) 2017-09-17 This document supersedes EN 61158-3-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. This document
15、has been prepared under a mandate given to CENELEC by the European Commission and the European Free Trade Association. Endorsement notice The text of the International Standard IEC 61158-3-1:2014 was approved by CENELEC as a European Standard without any modification. In the official version, for Bi
16、bliography, the following notes have to be added for the standards indicated: IEC 61158-1 NOTE Harmonized as EN 61158-1. IEC 61158-2 NOTE Harmonized as EN 61158-2. IEC 61158-4-1 NOTE Harmonized as EN 61158-4-1. IEC 61158-5-9 NOTE Harmonized as EN 61158-5-9. IEC 61158-6-9 NOTE Harmonized as EN 61158-
17、6-9. IEC 61784-1 NOTE Harmonized as EN 61784-1. IEC 61784-2 NOTE Harmonized as EN 61784-2. BS EN 61158-3-1:2014- 3 - EN 61158-3-1:2014 Annex ZA (normative) Normative references to international publications with their corresponding European publications The following documents, in whole or in part,
18、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 has been mod
19、ified 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 ISO/IEC 7498-1 - Information technology - Open Syste
20、ms 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 1994 Information technology - Open Systems Interconnection - Basic Reference Model - Conventions for
21、 the definition of OSI services - - BS EN 61158-3-1:2014 2 IEC 61158-3-1:2014 IEC 2014 CONTENTS 0 INTRODUCTION 9 0.1 General . 9 0.2 Nomenclature for references within this standard 9 1 Scope . 10 General . 10 1.1Specifications 10 1.2Conformance . 10 1.32 Normative references . 11 3 Terms, definitio
22、ns, symbols, abbreviations and conventions . 11 Reference model terms and definitions 11 3.1Service convention terms and definitions . 12 3.2Data-link service terms and definitions 13 3.3Common symbols and abbreviations . 16 3.4Common conventions 17 3.54 Overview of the data-link layer service . 19
23、General . 19 4.1Types and classes of data-link layer service 21 4.2Quality-of-service (QoS) attributes common to multiple types of data-link 4.3layer service 22 5 DL(SAP)-address, queue and buffer management data-link layer service . 27 Facilities of the DL(SAP)-address, queue and buffer management
24、data-link 5.1layer service 27 Model of the DL(SAP)-address, queue and buffer management data-link 5.2layer service 27 Sequence of primitives at one DLSAP . 27 5.3DL(SAP)-address, queue and buffer management facilities . 29 5.46 Connection-mode data-link layer service 43 Facilities of the connection-
25、mode data-link layer service . 43 6.1Model of the connection-mode data-link layer service 44 6.2Quality of connection-mode service . 51 6.3Sequence of primitives 57 6.4Connection establishment phase . 68 6.5Connection release phase . 75 6.6Data transfer phase . 81 6.77 Connectionless-mode data-link
26、layer service 93 Facilities of the connectionless-mode data-link layer service . 93 7.1Model of the connectionless-mode data-link layer service . 93 7.2Quality of connectionless-mode service . 95 7.3Sequence of primitives 95 7.4Connectionless-mode functions . 98 7.58 Time and scheduling guidance dat
27、a-link layer service 109 Facilities and classes of the time and scheduling guidance data-link layer 8.1service 109 Model of the time and scheduling guidance data-link layer service 110 8.2Quality of scheduling guidance service 110 8.3Sequence of primitives at one DLE 110 8.4BS EN 61158-3-1:2014IEC 6
28、1158-3-1:2014 IEC 2014 3 Scheduling guidance functions 112 8.59 DL-management service . 123 Scope and inheritance . 123 9.1Facilities of the DL-management service . 123 9.2Model of the DL-management service 123 9.3Constraints on sequence of primitives . 123 9.4Set 124 9.5Get 125 9.6Action 125 9.7Eve
29、nt 126 9.8Bibliography 128 Figure 1 Relationships of DLSAPs, DLSAP-addresses, DLCEPs, DLCEP-addresses, DLSEP-addresses and group DL-addresses . 14 Figure 2 Example of paths, links, bridges, and the extended link . 20 Figure 3 Types of DL-timeliness In terms of elapsed DL-time and events at the asses
30、sing DLCEP . 25 Figure 4 Sequence of primitives for the DL(SAP)-address, queue and buffer management DLS . 29 Figure 5 Supported methods of data management for transmission and delivery 30 Figure 6 Peer-to-peer and multi-peer DLCs and their DLCEPs . 44 Figure 7 OSI abstract queue model of a peer DLC
31、 between a pair of DLS-users 45 Figure 8 OSI abstract queue model of a multi-peer DLC between a publishing DLS-user and a set of subscribing DLS-users . 49 Figure 9 Summary of DL-connection-mode service primitive time-sequence diagrams for peer DLCs (portion 1) 61 Figure 10 Summary of DL-connection-
32、mode service primitive time-sequence diagrams for peer DLCs (portion 2) 62 Figure 11 Summary of DL-connection-mode service primitive time-sequence diagrams for publishers of a multi-peer DLC (portion 1) . 63 Figure 12 Summary of DL-connection-mode service primitive time-sequence diagrams for publish
33、ers of a multi-peer DLC (portion 2) . 64 Figure 13 Summary of additional DL-connection-mode service primitive time-sequence diagrams for a multi-peer DLC subscriber where the diagrams differ from the corresponding ones for a publisher (portion 1) 65 Figure 14 Summary of additional DL-connection-mode
34、 service primitive time-sequence diagrams for a multi-peer DLC subscriber where the diagrams differ from the corresponding ones for a publisher (portion 2) 66 Figure 15 State transition diagram for sequences of DL-connection-mode service primitives at a DLCEP . 67 Figure 16 Peer DLC/DLCEP establishm
35、ent initiated by a single DLS-user 73 Figure 17 Multi-peer DLC/DLCEP establishment initiated by the publishing DLS-user 74 Figure 18 Multi-peer DLC/DLCEP establishment initiated by a subscribing DLS-user . 74 Figure 19 Multi-peer DLC/DLCEP establishment using known DLCEP addresses initiated first by
36、 the publishing DLS-user . 74 Figure 20 Multi-peer DLC/DLCEP establishment using known DLCEP addresses initiated first by one or more subscribing DLS-users . 74 Figure 21 Peer DLC/DLCEP establishment initiated simultaneously by both peer DLS-users, resulting in a merged DLC 75 BS EN 61158-3-1:2014 4
37、 IEC 61158-3-1:2014 IEC 2014 Figure 22 Multi-peer DLC/DLCEP establishment initiated simultaneously by both publishing and subscribing DLS-users, resulting in a merged DLC 75 Figure 23 Peer DLS-user invocation . 78 Figure 24 Publishing DLS-user invocation 78 Figure 25 Subscribing DLS-user invocation
38、78 Figure 26 Simultaneous invocation by both DLS-users . 78 Figure 27 Peer DLS-provider invocation . 78 Figure 28 Publishing DLS-provider invocation 78 Figure 29 Subscribing DLS-provider invocation 78 Figure 30 Simultaneous peer DLS-user and DLS-provider invocations . 78 Figure 31 Simultaneous publi
39、shing DLS-user and DLS-provider invocations 79 Figure 32 Simultaneous subscribing DLS-user and DLS-provider invocations 79 Figure 33 Sequence of primitives in a peer DLS-user rejection of a DLC/DLCEP establishment attempt . 79 Figure 34 Sequence of primitives in a publishing DLS-user rejection of a
40、DLC/DLCEP establishment attempt . 79 Figure 35 Sequence of primitives in a subscribing DLS-user rejection of a DLC/DLCEP establishment attempt . 79 Figure 36 Sequence of primitives in a DLS-provider rejection of a DLC/DLCEP establishment attempt . 80 Figure 37 Sequence of primitives in a DLS-user ca
41、ncellation of a DLC/DLCEP establishment attempt: both primitives are destroyed in the queue 80 Figure 38 Sequence of primitives in a DLS-user cancellation of a DLC/DLCEP establishment attempt: DL-DISCONNECT indication arrives before DL-CONNECT response is sent . 80 Figure 39 Sequence of primitives i
42、n a DLS-user cancellation of a DLC/DLCEP establishment attempt: peer DL-DISCONNECT indication arrives after DL-CONNECT response is sent . 80 Figure 40 Sequence of primitives in a DLS-user cancellation of a DLC/DLCEP establishment attempt: publishers DL-DISCONNECT indication arrives after DL-CONNECT
43、response is sent . 81 Figure 41 Sequence of primitives in a DLS-user cancellation of a DLC/DLCEP establishment attempt: subscribers DL-DISCONNECT request arrives after DL-CONNECT request has been communicated to the publisher 81 Figure 42 Sequence of primitives for a CLASSICAL or DISORDERED peer-to-
44、peer queue-to-queue data transfer 83 Figure 43 Sequence of primitives for an ORDERED or UNORDERED peer-to-peer, or an UNORDERED subscriber-to-publisher queue-to-queue data transfer 84 Figure 44 Sequence of primitives for a publisher-to-subscribers queue-to-queue data transfer . 84 Figure 45 Sequence
45、 of primitives for a failed queue-to-queue data transfer . 84 Figure 46 Sequence of primitives for an ORDERED or UNORDERED peer to peer, or an UNORDERED subscriber to publisher, buffer to buffer data transfer . 85 Figure 47 Sequence of primitives for a publisher to subscribers buffer to buffer data
46、transfer . 86 Figure 48 Sequence of primitives for an ORDERED or UNORDERED peer to peer, or an UNORDERED subscriber to publisher, buffer to queue data transfer 86 Figure 49 Sequence of primitives for a publisher to subscribers buffer to queue data transfer . 86 BS EN 61158-3-1:2014IEC 61158-3-1:2014
47、 IEC 2014 5 Figure 50 Sequence of primitives in a peer DLS-user initiated Reset . 89 Figure 51 Sequence of primitives in a publishing DLS-user initiated Reset . 90 Figure 52 Sequence of primitives in a subscribing DLS-user initiated Reset . 90 Figure 53 Sequence of primitives in a simultaneous peer
48、DLS-users initiated Reset 90 Figure 54 Sequence of primitives in a simultaneous multi-peer DLS-users initiated Reset 90 Figure 55 Sequence of primitives in a peer DLS-provider initiated Reset 90 Figure 56 Sequence of primitives in a publishing DLS-provider initiated Reset . 90 Figure 57 Sequence of
49、primitives in a subscribing DLS-provider initiated Reset . 91 Figure 58 Sequence of primitives in a simultaneous peer DLS-user and DLS-provider initiated Reset . 91 Figure 59 Sequence of primitives in a simultaneous publishing DLS-user and DLS-provider initiated Reset . 91 Figure 60 Sequence of primitives in a simultaneous subscribing DLS-user and DLS-provider initiated Reset . 91 Figure 61 Sequence of primi