1、Industrial communication networks Fieldbus specifications Part 3-17: Data-link layer service definition Type 17 elementsBS EN 61158-3-17:2008raising standards worldwideNO COPYING WITHOUT BSI PERMISSION EXCEPT AS PERMITTED BY COPYRIGHT LAWBSI British StandardsNational forewordThis British Standard is
2、 the UK implementation of EN 61158-3-17:2008. It isidentical to IEC 61158-3-17:2007. Together with all of the other sections of BS EN 61158-3, it supersedes BS EN 61158-3:2004 which is withdrawn.The UK participation in its preparation was entrusted to Technical CommitteeAMT/7, Industrial communicati
3、ons: process measurement and control, includ-ing fieldbus.A list of organizations represented on this committee can be obtained onrequest to its secretary.This publication does not purport to include all the necessary provisions of acontract. Users are responsible for its correct application. BSI 20
4、0ISBN 978 0 580 61571 9ICS 25.040.40; 35.100.20; 35.240.50Compliance with a British Standard cannot confer immunity fromlegal obligations.Amendments issued since publicationAmd. No. Date Text affectedBRITISH STANDARDBS EN EN 61158-3-17:20089This British Standard was published under the authority of
5、the StandardsPolicy and Strategy Committee on 31 January 2009. EUROPEAN STANDARD EN 61158-3-17 NORME EUROPENNE EUROPISCHE NORM February 2008 CENELEC European Committee for Electrotechnical Standardization Comit Europen de Normalisation Electrotechnique Europisches Komitee fr Elektrotechnische Normun
6、g Central Secretariat: rue de Stassart 35, B - 1050 Brussels 2008 CENELEC - All rights of exploitation in any form and by any means reserved worldwide for CENELEC members. Ref. No. EN 61158-3-17:2008 E ICS 35.100.20; 25.040.40 Partially supersedes EN 61158-3:2004English version Industrial communicat
7、ion networks - Fieldbus specifications - Part 3-17: Data-link layer service definition - Type 17 elements (IEC 61158-3-17:2007) Rseaux de communication industriels - Spcifications des bus de terrain - Partie 3-17: Dfinition des services des couches de liaison de donnes - Elments de type 17 (CEI 6115
8、8-3-17:2007) Industrielle Kommunikationsnetze - Feldbusse - Teil 3-17: Dienstfestlegungen des Data Link Layer (Sicherungsschicht) -Typ 17-Elemente (IEC 61158-3-17:2007) This European Standard was approved by CENELEC on 2008-02-01. CENELEC members are bound to comply with the CEN/CENELEC Internal Reg
9、ulations 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 obtained on application to the Central Secretariat or to any CENELEC member. T
10、his 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 notified to the Central Secretariat has the same status as the official versions. CENELEC memb
11、ers are the national electrotechnical committees of Austria, Belgium, Bulgaria, Cyprus, the Czech Republic, Denmark, Estonia, Finland, France, Germany, Greece, Hungary, Iceland, Ireland, Italy, Latvia, Lithuania, Luxembourg, Malta, the Netherlands, Norway, Poland, Portugal, Romania, Slovakia, Sloven
12、ia, Spain, Sweden, Switzerland and the United Kingdom. BS EN 61158-3-17:2008EN 61158-3-17:2008 - 2 - Foreword The text of document 65C/473/FDIS, future edition 1 of IEC 61158-3-17, prepared by SC 65C, Industrial networks, of IEC TC 65, Industrial-process measurement, control and automation, was subm
13、itted to the IEC-CENELEC parallel vote and was approved by CENELEC as EN 61158-3-17 on 2008-02-01. This and the other parts of the EN 61158-3 series supersede EN 61158-3:2004. With respect to EN 61158-3:2004 the following changes were made: deletion of Type 6 fieldbus, and the placeholder for a Type
14、 5 fieldbus data-link layer, for lack of market relevance; addition of new fieldbus types; partition into multiple parts numbered 3-1, 3-2, , 3-19. The following dates were fixed: latest date by which the EN has to be implemented at national level by publication of an identical national standard or
15、by endorsement (dop) 2008-11-01 latest date by which the national standards conflicting with the EN have to be withdrawn (dow) 2011-02-01 NOTE Use of some of the associated protocol types is restricted by their intellectual-property-right holders. In all cases, the commitment to limited release of i
16、ntellectual-property-rights made by the holders of those rights permits a particular data-link layer protocol type to be used with physical layer and application layer protocols in type combinations as specified explicitly in the EN 61784 series. Use of the various protocol types in other combinatio
17、ns may require permission from their respective intellectual-property-right holders. Annex ZA has been added by CENELEC. _ Endorsement notice The text of the International Standard IEC 61158-3-17:2007 was approved by CENELEC as a European Standard without any modification. In the official version, f
18、or Bibliography, the following notes have to be added for the standards indicated: IEC 61158-4-17 NOTE Harmonized as EN 61158-4-17:2008 (not modified). IEC 61158-5-17 NOTE Harmonized as EN 61158-5-17:2008 (not modified). IEC 61158-6-17 NOTE Harmonized as EN 61158-6-17:2008 (not modified). IEC 61784-
19、2 NOTE Harmonized as EN 61784-2:2008 (not modified). _ BS EN 61158-3-17:2008- 3 - EN 61158-3-17:2008 Annex ZA (normative) Normative references to international publications with their corresponding European publications The following referenced documents are indispensable for the application of this
20、 document. For dated references, only the edition cited applies. For undated references, the latest edition of the referenced document (including any amendments) applies. NOTE When an international publication has been modified by common modifications, indicated by (mod), the relevant EN/HD applies.
21、 Publication Year Title EN/HD Year ISO/IEC 7498-1 - 1)Information technology - Open Systems Interconnection - Basic Reference Model: The Basic Model EN ISO/IEC 7498-1 1995 2)ISO/IEC 7498-3 - 1)Information technology - Open Systems Interconnection - Basic Reference Model: Naming and addressing - - IS
22、O/IEC 10731 1994 Information technology - Open Systems Interconnection - Basic Reference Model - Conventions for the definition of OSI services - - ISO/IEC 8802-3 - 1)Information technology - Telecommunications and information exchange between systems - Local and metropolitan area networks - Specifi
23、c requirements - Part 3: Carrier sense multiple access with collision detection (CSMA/CD) access method and physical layer specifications - - IETF RFC 826 - 1)Ethernet Address Resolution Protocol - - 1)Undated reference. 2)Valid edition at date of issue. BS EN 61158-3-17:2008 2 61158-3-17 IEC:2007(E
24、) CONTENTS 0H 1HINTRODUCTION.59H6 2H1 Scope.60H7 3H2 Normative reference .61H8 4H3 Definitions 62H8 5H3.1 Terms and definitions 63H8 6H3.2 Abbreviations and symbols 64H10 7H3.3 Conventions 65H11 8H4 Overview of the data-link layer service . 66H11 9H4.1 General . 67H12 10H4.2 Overview of network stru
25、cture . 68H13 11H4.3 Overview of addressing . 69H13 12H4.4 Types of data-link service 70H13 13H5 DLSAP management service 71H14 14H5.1 Overview . 72H14 15H5.2 Facilities of the DLSAP management service. 73H14 16H5.3 Model of the DLSAP management service. 74H14 17H5.4 Sequence of primitives at one DL
26、SAP . 75H14 18H5.5 Create . 76H15 19H5.6 Delete . 77H16 20H5.7 Bind 78H17 21H5.8 Unbind 79H19 22H6 Connectionless-mode data-link service. 80H19 23H6.1 Overview . 81H19 24H6.2 Facilities of the connectionless-mode data-link service 82H20 25H6.3 Model of the data-link service 83H20 26H6.4 Quality of s
27、ervice 84H21 27H6.5 Sequence of primitives 85H23 28H6.6 Connectionless-mode function. 86H24 29H6.7 Types of primitives and parameters. 87H24 30H7 DL-management Service 88H25 31H7.1 Scope and inheritance. 89H25 32H7.2 Facilities of the DL-management service . 90H26 33H7.3 Model of the DL-management s
28、ervice 91H26 34H7.4 Constraints on sequence of primitives . 92H26 35H7.5 Set 93H26 36H7.6 Get 94H27 37H7.7 Action 95H28 38H7.8 Event 96H29 39HBibliography 97H30 40HFigure 1 Sequence of primitives for the DLSAP management DLS . 98H15 41HFigure 2 Summary of DL-connectionless-mode service primitive tim
29、e-sequence diagrams. 99H23 42HFigure 3 State transition diagram for sequences of connectionless-mode primitives at one DLSAP . 100H24 BS EN 61158-3-17:200861158-3-17 IEC:2007(E) 3 43HFigure 4 Sequence of primitives for the DLM action service . 101H26 44HTable 1 Summary of DLSAP management primitives
30、 and parameters 102H14 45HTable 2 DLSAP-management CREATE primitive and parameters. 103H15 46HTable 3 DLSAP-management DELETE primitive and parameters . 104H16 47HTable 4 DLSAP management BIND primitive and parameters. 105H17 48HTable 5 DLSAP management UNBIND primitive and parameter . 106H19 49HTab
31、le 6 Data delivery features of each type of service . 107H21 50HTable 7 Summary of DL-connectionless-mode primitives and parameters 108H23 51HTable 8 DL-connectionless-mode UNITDATA transfer primitives and parameters. 109H24 52HTable 9 Summary of DL-management primitives and parameters . 110H26 53HT
32、able 10 DLM-SET primitive and parameters . 111H27 54HTable 11 DLM-GET primitive and parameters. 112H27 55HTable 12 DLM-ACTION primitive and parameters. 113H28 56HTable 13 DLM-EVENT primitive and parameters 114H29 BS EN 61158-3-17:2008 6 61158-3-17 IEC:2007(E) INTRODUCTION This part of IEC 61158 is o
33、ne 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/TR 61158-1. Throughout the set of fieldbus standards, the term “service” refers to the abst
34、ract capability provided by one layer of the OSI Basic Reference Model to the layer immediately above. Thus, the data-link layer service defined in this standard is a conceptual architectural service, independent of administrative and implementation divisions. BS EN 61158-3-17:200861158-3-17 IEC:200
35、7(E) 7 INDUSTRIAL COMMUNICATION NETWORKS FIELDBUS SPECIFICATIONS Part 3-17: Data-link layer service definition Type 17 elements 1 Scope This part of IEC 61158 provides common elements for basic time-critical messaging communications between devices in an automation environment. The term “time-critic
36、al” is used to represent the presence of a time-window, within which one or more specified actions are required to be completed with some defined level of certainty. Failure to complete specified actions within the time window risks failure of the applications requesting the actions, with attendant
37、risk to equipment, plant and possibly human life. This standard defines in an abstract way the externally visible service provided by the Type 17 fieldbus data-link Layer in terms of a) the primitive actions and events of the service; b) the parameters associated with each primitive action and event
38、, and the form which they take; and c) the interrelationship between these actions and events, and their valid sequences. The purpose of this standard is to define the services provided to the Type 17 fieldbus application layer at the boundary between the application and data-link layers of the fiel
39、dbus reference model, and systems management at the boundary between the data-link layer and systems management of the fieldbus reference model; specifications The principal objective of this standard is to specify the characteristics of conceptual data-link layer services suitable for time-critical
40、 communications, and thus supplement the OSI Basic Reference Model in guiding the development of data-link protocols for time-critical communications. A secondary objective is to provide migration paths from previously-existing industrial communications protocols. This specification may be used as t
41、he basis for formal DL-Programming-Interfaces. Nevertheless, it is not a formal programming interface, and any such interface will need to address implementation issues not covered by this specification, including a) the sizes and octet ordering of various multi-octet service parameters, and b) the
42、correlation of paired request and confirm, or indication and response, primitives. Conformance This standard does not specify individual implementations or products, nor does it constrain the implementations of data-link entities within industrial automation systems. There is no conformance of equip
43、ment to this data-link layer service definition standard. Instead, conformance is achieved through implementation of the corresponding data-link protocol that fulfills the Type 17 data-link layer services defined in this standard. BS EN 61158-3-17:2008 8 61158-3-17 IEC:2007(E) 2 Normative reference
44、The following referenced documents are indispensable for the application of this document. For dated references, only the edition cited applies. For all other undated references, the latest edition of the referenced document (including any amendments) applies. ISO/IEC 7498-1, Information technology
45、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:1994, Information technology Open Systems Interconnection Basic Reference Model Conventions for the defin
46、ition of OSI services ISO/IEC 8802-3, Information technology Telecommunications and information exchange between systems Local and metropolitan area networks Specific requirements Part 3: Carrier sense multiple access with collision detection (CSMA/CD) access method and physical layer specifications
47、 Internet Engineering Task Force (IETF), Request for Comments (RFC): RFC 826 Ethernet Address Resolution Protocol (available at ) 3 Definitions For the purposes of this document, the following terms and definitions apply. 3.1 Terms and definitions 3.1.1 ISO/IEC 10731 terms a) (N)-connection b) (N)-e
48、ntity c) (N)-layer d) (N)-service e) (N)-service-access-point f) confirm (primitive) g) deliver (primitive) h) indication (primitive) i) request (primitive) j) response (primitive) 3.1.2 Other terms and definitions 3.1.2.1 bridge intermediate equipment that connects two or more segments using a data
49、-link layer relay function 3.1.2.2 domain part of the RTE network consisting of one or two subnetwork(s) NOTE Two subnetworks are required to compose a dual-redundant RTE network, and each end node in the domain is connected to both of the subnetworks. BS EN 61158-3-17:200861158-3-17 IEC:2007(E) 9 3.1.2.3 domain master station which performs diagnosis of routes to all other domains, distribution of network time to nodes