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 StandardsLicensed Copy: Wang Bin, ISO/EXCHANGE CHI
2、NA STANDARDS, 27/05/2009 02:54, Uncontrolled Copy, (c) BSINational forewordThis British Standard is 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
3、 participation in its preparation was entrusted to Technical CommitteeAMT/7, Industrial communications: 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 a
4、ll the necessary provisions of acontract. Users are responsible for its correct application. BSI 200ISBN 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 affectedB
5、RITISH STANDARDBS EN EN 61158-3-17:20089This British Standard was published under the authority of the StandardsPolicy and Strategy Committee on 31 January 2009. Licensed Copy: Wang Bin, ISO/EXCHANGE CHINA STANDARDS, 27/05/2009 02:54, Uncontrolled Copy, (c) BSIEUROPEAN STANDARD EN 61158-3-17 NORME E
6、UROPENNE EUROPISCHE NORM February 2008 CENELEC European Committee for Electrotechnical Standardization Comit Europen de Normalisation Electrotechnique Europisches Komitee fr Elektrotechnische Normung Central Secretariat: rue de Stassart 35, B - 1050 Brussels 2008 CENELEC - All rights of exploitation
7、 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 communication networks - Fieldbus specifications - Part 3-17: Data-link layer service definition - Type 17 eleme
8、nts (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 61158-3-17:2007) Industrielle Kommunikationsnetze - Feldbusse - Teil 3-17: Dienstfestlegungen des Data Lin
9、k 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 Regulations which stipulate the conditions for giving this European Standard the status of a national sta
10、ndard 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. This European Standard exists in three official versions (English, French, German). A version in any ot
11、her 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 members are the national electrotechnical committees of Austria, Belgium, Bulgaria, Cyprus, the Czech Repu
12、blic, Denmark, Estonia, Finland, France, Germany, Greece, Hungary, Iceland, Ireland, Italy, Latvia, Lithuania, Luxembourg, Malta, the Netherlands, Norway, Poland, Portugal, Romania, Slovakia, Slovenia, Spain, Sweden, Switzerland and the United Kingdom. BS EN 61158-3-17:2008Licensed Copy: Wang Bin, I
13、SO/EXCHANGE CHINA STANDARDS, 27/05/2009 02:54, Uncontrolled Copy, (c) BSIEN 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 submitt
14、ed 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 5
15、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 by
16、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 inte
17、llectual-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 combinations
18、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, for
19、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-2 N
20、OTE Harmonized as EN 61784-2:2008 (not modified). _ BS EN 61158-3-17:2008Licensed Copy: Wang Bin, ISO/EXCHANGE CHINA STANDARDS, 27/05/2009 02:54, Uncontrolled Copy, (c) BSI- 3 - EN 61158-3-17:2008 Annex ZA (normative) Normative references to international publications with their corresponding Europe
21、an publications The following referenced documents are indispensable for the application of this 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 public
22、ation has been modified by common modifications, indicated by (mod), the relevant EN/HD applies. 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
23、 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 definition of OSI services - - ISO/IEC 8802-3 - 1)Information technology - Telecommunic
24、ations 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 - - IETF RFC 826 - 1)Ethernet Address Resolution Protocol - - 1)Un
25、dated reference. 2)Valid edition at date of issue. BS EN 61158-3-17:2008Licensed Copy: Wang Bin, ISO/EXCHANGE CHINA STANDARDS, 27/05/2009 02:54, Uncontrolled Copy, (c) BSI 2 61158-3-17 IEC:2007(E) CONTENTS 0H 1HINTRODUCTION.59H6 2H1 Scope.60H7 3H2 Normative reference .61H8 4H3 Definitions 62H8 5H3.1
26、 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 structure . 68H13 11H4.3 Overview of addressing . 69H13 12H4.4 Types of data-link service 70H13 13H5 DLSAP ma
27、nagement 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 DLSAP . 75H14 18H5.5 Create . 76H15 19H5.6 Delete . 77H16 20H5.7 Bind 78H17 21H5.8 Unbind 79H19 22H6 Connec
28、tionless-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 service 84H21 27H6.5 Sequence of primitives 85H23 28H6.6 Connectionless-mode function. 86H24 29H6.7 Types
29、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 service 91H26 34H7.4 Constraints on sequence of primitives . 92H26 35H7.5 Set 93H26 36H7.6 Get 94H27 37H7.
30、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 time-sequence diagrams. 99H23 42HFigure 3 State transition diagram for sequences of connectionless-mode prim
31、itives at one DLSAP . 100H24 BS EN 61158-3-17:2008Licensed Copy: Wang Bin, ISO/EXCHANGE CHINA STANDARDS, 27/05/2009 02:54, Uncontrolled Copy, (c) BSI61158-3-17 IEC:2007(E) 3 43HFigure 4 Sequence of primitives for the DLM action service . 101H26 44HTable 1 Summary of DLSAP management primitives and p
32、arameters 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 49HTable 6 D
33、ata 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 53HTable 1
34、0 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:2008Licensed Copy: Wang Bin, ISO/EXCHANGE CHINA STANDARDS, 27/05/2009 02:54,
35、 Uncontrolled Copy, (c) BSI 6 61158-3-17 IEC:2007(E) INTRODUCTION This part of IEC 61158 is one 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 IE
36、C/TR 61158-1. Throughout the set of fieldbus standards, the term “service” refers to the abstract 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, indepe
37、ndent of administrative and implementation divisions. BS EN 61158-3-17:2008Licensed Copy: Wang Bin, ISO/EXCHANGE CHINA STANDARDS, 27/05/2009 02:54, Uncontrolled Copy, (c) BSI61158-3-17 IEC:2007(E) 7 INDUSTRIAL COMMUNICATION NETWORKS FIELDBUS SPECIFICATIONS Part 3-17: Data-link layer service definiti
38、on 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-critical” is used to represent the presence of a time-window, within which one or more specified actions are requi
39、red 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 risk to equipment, plant and possibly human life. This standard defines in an abstract way the externally vi
40、sible 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, and the form which they take; and c) the interrelationship between these actions and events, and their val
41、id 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 fieldbus reference model, and systems management at the boundary between the data-link layer and systems managem
42、ent 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 communications, and thus supplement the OSI Basic Reference Model in guiding the development of data-link p
43、rotocols for time-critical communications. A secondary objective is to provide migration paths from previously-existing industrial communications protocols. This specification may be used as the basis for formal DL-Programming-Interfaces. Nevertheless, it is not a formal programming interface, and a
44、ny 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 correlation of paired request and confirm, or indication and response, primitives. Conformance This standard
45、 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 equipment to this data-link layer service definition standard. Instead, conformance is achieved through implement
46、ation of the corresponding data-link protocol that fulfills the Type 17 data-link layer services defined in this standard. BS EN 61158-3-17:2008Licensed Copy: Wang Bin, ISO/EXCHANGE CHINA STANDARDS, 27/05/2009 02:54, Uncontrolled Copy, (c) BSI 8 61158-3-17 IEC:2007(E) 2 Normative reference The follo
47、wing 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 Open Syst
48、ems 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 definition of
49、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 Internet Engineering Task Force (IETF), Request for Comments (RFC): RFC 826 Ethernet Address Resolution Protocol (available at ) 3 Definit