1、Industrial communication networks Fieldbus specifications Part 3-7: Data-link layer service definition Type 7 elementsBS EN 61158-3-7:2008raising standards worldwideNO COPYING WITHOUT BSI PERMISSION EXCEPT AS PERMITTED BY COPYRIGHT LAWBSI British StandardsNational forewordThis British Standard is th
2、e UK implementation of EN 61158-3-7:2008. It isidentical to IEC 61158-3-7: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 communications:
3、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 2009ISB
4、N 978 0 580 61564 1ICS 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-7:2008This British Standard was published under the authority of the St
5、andardsPolicy and Strategy Committee on 31 January 2009. EUROPEAN STANDARD EN 61158-3-7 NORME EUROPENNE EUROPISCHE NORM February 2008 CENELEC European Committee for Electrotechnical Standardization Comit Europen de Normalisation Electrotechnique Europisches Komitee fr Elektrotechnische Normung Centr
6、al 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-7:2008 E ICS 35.100.20; 25.040.40 Partially supersedes EN 61158-3:2004 English version Industrial communication net
7、works - Fieldbus specifications - Part 3-7: Data-link layer service definition - Type 7 elements (IEC 61158-3-7:2007) Rseaux de communication industriels - Spcifications des bus de terrain - Partie 3-7: Dfinition des services des couches de liaison de donnes - Elments de type 7 (CEI 61158-3-7:2007)
8、Industrielle Kommunikationsnetze - Feldbusse - Teil 3-7: Dienstfestlegungen des Data Link Layer (Sicherungsschicht) - Typ 7-Elemente (IEC 61158-3-7: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
9、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. This European St
10、andard 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 members are the nat
11、ional 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, Slovenia, Spain, Swed
12、en, Switzerland and the United Kingdom. BS EN 61158-3-7:2008EN 61158-3-7:2008 - 2 - Foreword The text of document 65C/473/FDIS, future edition 1 of IEC 61158-3-7, prepared by SC 65C, Industrial networks, of IEC TC 65, Industrial-process measurement, control and automation, was submitted to the IEC-C
13、ENELEC parallel vote and was approved by CENELEC as EN 61158-3-7 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 fieldbus data-li
14、nk 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 endorsement (dop
15、) 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 intellectual-propert
16、y-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 may require perm
17、ission 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-7:2007 was approved by CENELEC as a European Standard without any modification. In the official version, for Bibliography, the
18、 following notes have to be added for the standards indicated: IEC 61158-2 NOTE Harmonized as EN 61158-2:2008 (not modified). IEC 61158-4-7 NOTE Harmonized as EN 61158-4-7:2008 (not modified). IEC 61158-5-7 NOTE Harmonized as EN 61158-5-7:2008 (not modified). IEC 61158-6-7 NOTE Harmonized as EN 6115
19、8-6-7:2008 (not modified). IEC 61784-1 NOTE Harmonized as EN 61784-1:2008 (not modified). _ BS EN 61158-3-7:2008- 3 - EN 61158-3-7:2008 Annex ZA (normative) Normative references to international publications with their corresponding European publications The following referenced documents are indisp
20、ensable 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 publication has been modified by common modifications, indicated by
21、 (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 19952)ISO/IEC 7498-3 -1)Information technology - Open Systems Interconnection - Basic Reference Mod
22、el: Naming and addressing - - ISO/IEC 10731 -1)Information technology - Open Systems Interconnection - Basic Reference Model - Conventions for the definition of OSI services- - 1)Undated reference. 2)Valid edition at date of issue. BS EN 61158-3-7:2008 2 61158-3-7 IEC:2007(E) CONTENTS INTRODUCTION.6
23、 1 Scope.7 1.1 Overview .7 1.2 Specifications 7 1.3 Conformance.7 2 Normative references8 3 Terms, definitions, symbols, abbreviations and conventions 8 3.1 Reference model terms and definitions 8 3.2 Service convention terms and definitions .9 3.3 Data-link service terms and definitions.9 3.4 Symbo
24、ls and abbreviations 13 3.5 Common conventions 14 4 Data-link layer services and concepts .16 4.1 Field of application, object .16 4.2 General description of services16 4.3 Sequences of primitives.21 4.4 Buffer writing .22 4.5 Buffer reading24 4.6 Buffer transfer .25 4.7 Explicit request for buffer
25、transfer 26 4.8 Unacknowledged message transfer30 4.9 Acknowledged message transfer32 Bibliography35 Figure 1 Relationships of DLSAPs, DLSAP-addresses and group DL-addresses .11 Figure 2 General description of medium allocation20 Figure 3 Primitives associated with the buffer writing service 23 Figu
26、re 4 Primitives associated with the buffer reading service.24 Figure 5 Primitives associated with the buffer transfer service 25 Figure 6 Primitives associated with the specified explicit request for a buffer transfer28 Figure 7 Primitives associated with the free explicit request for a buffer trans
27、fer .29 Figure 8 Primitives associated with the unacknowledged message transfer request service 31 Figure 9 Primitives associated with the acknowledged message transfer request service 33 Table 1 Summary of DL-services and primitives for buffer transfers 22 Table 2 Summary of DL-services and primiti
28、ves for message exchanges 22 Table 3 DL-Put primitives and parameters 23 Table 4 DL-Get primitives and parameters24 Table 5 DL-Buffer-Sent primitive and parameter .26 Table 6 DL-Buffer-Received primitive and parameter 26 Table 7 DL-Spec-Update primitives and parameters .28 Table 8 DL-Free-Update pri
29、mitives and parameters 30 BS EN 61158-3-7:200861158-3-7 IEC:2007(E) 3 Table 9 DL-Message primitives and parameters .31 Table 10 DL-Message-Ack primitives and parameters.33 BS EN 61158-3-7:2008 6 61158-3-7 IEC:2007(E) INTRODUCTION This part of IEC 61158 is one of a series produced to facilitate the i
30、nterconnection 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 abstract capability provided by one layer of th
31、e 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-7:200861158-3-7 IEC:2007(E) 7 INDUSTRIAL COMMUNICATION NETWORKS FIEL
32、DBUS SPECIFICATIONS Part 3-7: Data-link layer service definition Type 7 elements 1 Scope 1.1 Overview 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 prese
33、nce 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 risk to equipment, plant and possi
34、bly human life. This standard defines in an abstract way the externally visible service provided by the Type 7 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
35、 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 7 fieldbus application layer at the boundary between the application and data-link layers of the fieldbus reference model, and systems ma
36、nagement at the boundary between the data-link layer and systems management of the fieldbus reference model. 1.2 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 supple
37、ment 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 the basis for formal DL-Programmi
38、ng-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 correlation of paired request an
39、d confirm, or indication and response, primitives. 1.3 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 equipment to this data-link layer
40、 service definition standard. Instead, conformance is achieved through implementation of the corresponding data-link protocol that fulfills the Type 7 data-link layer services defined in this standard. BS EN 61158-3-7:2008 8 61158-3-7 IEC:2007(E) 2 Normative references The following referenced docum
41、ents 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. ISO/IEC 7498-1, Information technology Open Systems Interconnection Basic Refer
42、ence 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 Interconnection Basic Reference Model Conventions for the definition of OSI services 3 Terms, definitions, s
43、ymbols, abbreviations and conventions For the purposes of this document, the following terms, definitions, symbols, abbreviations and conventions apply. 3.1 Reference model terms and definitions This standard is based in part on the concepts developed in ISO/IEC 7498-1 and ISO/IEC 7498-3, and makes
44、use of the following terms defined therein: 3.1.1 DL-address 7498-33.1.2 DL-connection 7498-13.1.3 DL-connection-end-point 7498-13.1.4 DL-connection-end-point-identifier 7498-13.1.5 correspondent (N)-entities correspondent DL-entities (N=2) correspondent Ph-entities (N=1) 7498-13.1.6 (N)-entity DL-e
45、ntity (N=2) Ph-entity (N=1) 7498-13.1.7 flow control 7498-13.1.8 (N)-layer DL-layer (N=2) Ph-layer (N=1) 7498-13.1.9 DL-name 7498-33.1.10 peer-entities 7498-13.1.11 primitive name 7498-33.1.12 DL-protocol 7498-13.1.13 DL-protocol-connection-identifier 7498-13.1.14 DL-protocol-data-unit 7498-1BS EN 6
46、1158-3-7:200861158-3-7 IEC:2007(E) 9 3.1.15 DL-relay 7498-13.1.16 (N)-service DL-service (N=2) Ph-service (N=1) 7498-13.1.17 (N)-service-access-point DL-service-access-point (N=2) Ph-service-access-point (N=1) 7498-13.1.18 DL-service-data-unit 7498-13.1.19 DLS-user-data 7498-13.2 Service convention
47、terms and definitions This standard also makes use of the following terms defined in ISO/IEC 10731 as they apply to the data-link layer: 3.2.1 acceptor 3.2.2 confirm (primitive); requestor.deliver (primitive) 3.2.3 deliver (primitive) 3.2.4 DL-service-primitive; primitive 3.2.5 DL-service-provider 3
48、.2.6 DL-service-user 3.2.7 indication (primitive); acceptor.deliver (primitive) 3.2.8 multi-peer 3.2.9 request (primitive); requestor.submit (primitive) 3.2.10 requestor 3.2.11 response (primitive); acceptor.submit (primitive) 3.2.12 submit (primitive) 3.3 Data-link service terms and definitions 3.3
49、.1 acknowledgement response DLPDU information that the recipient of an acknowledged message emits in order to signal either the proper reception of the message or the lack of available resources to store the message, received by the DLE on the local link that emitted the message which requested the acknowledgement BS EN 61158-3-7:2008 10 61158-3-7 IEC:2007(E) 3.3.2 basic cycl