1、Industrial communication networks Fieldbus specifications Part 3-18: Data-link layer service definition Type 18 elementsBS EN 61158-3-18:2008raising standards worldwideNO COPYING WITHOUT BSI PERMISSION EXCEPT AS PERMITTED BY COPYRIGHT LAWBSI British StandardsLicensed Copy: Wang Bin, ISO/EXCHANGE CHI
2、NA STANDARDS, 06/07/2009 08:03, Uncontrolled Copy, (c) BSINational forewordThis British Standard is the UK implementation of EN 61158-3-18:2008. It isidentical to IEC 61158-3-18: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 61572 6ICS 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-18:20089This Draft for Development was published under the authority of the Standards Policy and Strategy Committee on 31 January 2009Licensed Copy: Wang Bin, ISO/EXCHANGE CHINA STANDARDS, 06/07/2009 08:03, Uncontrolled Copy, (c) BSIEUROPEAN STANDARD EN 61158-3-18 NOR
6、ME EUROPENNE 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 exploita
7、tion in any form and by any means reserved worldwide for CENELEC members. Ref. No. EN 61158-3-18:2008 E ICS 35.100.20; 25.040.40 Partially supersedes EN 61158-3:2004English version Industrial communication networks - Fieldbus specifications - Part 3-18: Data-link layer service definition - Type 18 e
8、lements (IEC 61158-3-18:2007) Rseaux de communication industriels - Spcifications des bus de terrain - Partie 3-18: Dfinition des services des couches de liaison de donnes - Elments de type 18 (CEI 61158-3-18:2007) Industrielle Kommunikationsnetze - Feldbusse - Teil 3-18: Dienstfestlegungen des Data
9、 Link Layer (Sicherungsschicht) -Typ 18-Elemente (IEC 61158-3-18: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
10、 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 Standard exists in three official versions (English, French, German). A version in an
11、y 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 national electrotechnical committees of Austria, Belgium, Bulgaria, Cyprus, the Czech
12、Republic, 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-18:2008Licensed Copy: Wang Bi
13、n, ISO/EXCHANGE CHINA STANDARDS, 06/07/2009 08:03, Uncontrolled Copy, (c) BSIEN 61158-3-18:2008 - 2 - Foreword The text of document 65C/473/FDIS, future edition 1 of IEC 61158-3-18, prepared by SC 65C, Industrial networks, of IEC TC 65, Industrial-process measurement, control and automation, was sub
14、mitted to the IEC-CENELEC parallel vote and was approved by CENELEC as EN 61158-3-18 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 Typ
15、e 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
16、 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
17、intellectual-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 combinati
18、ons 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-18:2007 was approved by CENELEC as a European Standard without any modification. In the official version,
19、for Bibliography, the 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-18 NOTE Harmonized as EN 61158-4-18:2008 (not modified). IEC 61158-5-18 NOTE Harmonized as EN 61158-5-18:2008 (not modified). IEC 61158-6-18
20、NOTE Harmonized as EN 61158-6-18:2008 (not modified). IEC 61784-2 NOTE Harmonized as EN 61784-2:2008 (not modified). _ BS EN 61158-3-18:2008Licensed Copy: Wang Bin, ISO/EXCHANGE CHINA STANDARDS, 06/07/2009 08:03, Uncontrolled Copy, (c) BSI- 3 - EN 61158-3-18:2008 Annex ZA (normative) Normative refer
21、ences to international publications with their corresponding European 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 (i
22、ncluding any amendments) applies. NOTE When an international publication 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
23、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 - - ISO/IEC 10731 - 1)Information technology - Open Systems Interconnection - Basic Reference Model - Conventions for the definition of OSI ser
24、vices - - 1)Undated reference. 2)Valid edition at date of issue. BS EN 61158-3-18:2008Licensed Copy: Wang Bin, ISO/EXCHANGE CHINA STANDARDS, 06/07/2009 08:03, Uncontrolled Copy, (c) BSI 2 61158-3-18 IEC:2007(E) CONTENTS INTRODUCTION.6 1 Scope.7 1.1 Overview .7 1.2 Specifications7 1.3 Conformance.7 2
25、 Normative references .8 3 Terms, definitions, symbols, abbreviations and conventions .8 3.1 Reference model terms and definitions8 3.2 Service convention terms and definitions.9 3.3 Data-link service terms and definitions 10 3.4 Common symbols and abbreviations .13 3.5 Conventions 13 4 Data link se
26、rvices .15 4.1 Overview .15 4.2 Primitives of the DLS.15 4.3 CYCLIC-DATA-UPDATE.15 4.4 ACYCLIC-DATA-TRANSMIT 16 4.5 MASTER-TRANSMISSION-TRIGGER.17 5 DL-management Services.17 5.1 Overview .17 5.2 Required services .17 5.3 ESTABLISH-MASTER-POLLED17 5.4 ESTABLISH-SLAVE-POLLED.18 5.5 ESTABLISH-MASTER-P
27、ACKED19 5.6 ESTABLISH-SLAVE-PACKED 19 5.7 RELEASE-CONNECTION 20 5.8 SUSPEND-CONNECTION .20 5.9 RESUME-CONNECTION .20 5.10 ACTIVATE-STANDBY-MASTER21 5.11 ERROR .21 Bibliography23 Table 1 DLE station identifiers .15 Table 2 CYCLIC-DATA-UPDATE parameters 15 Table 3 ACYCLIC-DATA-TRANSMIT parameters16 Ta
28、ble 4 ESTABLISH-MASTER-POLLED parameters .18 Table 5 Baud rate parameter values 18 Table 6 ESTABLISH-SLAVE-POLLED parameters 18 Table 7 ESTABLISH-MASTER-PACKED parameters .19 Table 8 Baud rate parameter values 19 Table 9 Bit width parameter values 19 Table 10 ESTABLISH-SLAVE-PACKED parameters20 Tabl
29、e 11 RELEASE-CONNECTION parameters .20 Table 12 SUSPEND-CONNECTION parameters.20 BS EN 61158-3-18:2008Licensed Copy: Wang Bin, ISO/EXCHANGE CHINA STANDARDS, 06/07/2009 08:03, Uncontrolled Copy, (c) BSI61158-3-18 IEC:2007(E) 3 Table 13 RESUME-CONNECTION parameters 21 Table 14 ERROR parameters 21 BS E
30、N 61158-3-18:2008Licensed Copy: Wang Bin, ISO/EXCHANGE CHINA STANDARDS, 06/07/2009 08:03, Uncontrolled Copy, (c) BSI 6 61158-3-18 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 stan
31、dards 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 the OSI Basic Reference Model to the layer immediately above. Thus, the data-
32、link layer service defined in this standard is a conceptual architectural service, independent of administrative and implementation divisions. BS EN 61158-3-18:2008Licensed Copy: Wang Bin, ISO/EXCHANGE CHINA STANDARDS, 06/07/2009 08:03, Uncontrolled Copy, (c) BSI61158-3-18 IEC:2007(E) 7 INDUSTRIAL C
33、OMMUNICATION NETWORKS FIELDBUS SPECIFICATIONS Part 3-18: Data-link layer service definition Type 18 elements 1 Scope 1.1 Overview This standard provides common elements for basic time-critical and non-time-critical messaging communications between devices in an automation environment and material sp
34、ecific to Type 18 fieldbus. The term “time-critical” 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 app
35、lications requesting the actions, with attendant risk to equipment, plant and possibly human life. This standard defines in an abstract way the externally visible service provided by the Type 18 fieldbus data-link layer in terms of a) the primitive actions and events of the service; b) the parameter
36、s associated with each primitive action and event, and the form which they take; and c) the interrelationship between these actions and events, and their valid sequences. This standard defines the services provided to the Type 18 fieldbus application layer at the boundary between the application and
37、 data-link layers of the fieldbus reference model, and system management 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 ser
38、vices suitable for time-critical 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. Thi
39、s specification may be used as the 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-octe
40、t service parameters, and b) the correlation of paired request and confirm, or indication and response, primitives. 1.3 Conformance This standard does not specify individual implementations or products, nor do they constrain the implementations of data-link entities within industrial automation syst
41、ems. There is no conformance of equipment to this data-link layer service definition standard. Instead, conformance is achieved through implementation of the corresponding data-link protocol that fulfills the Type 18 data-link layer services defined in this standard. BS EN 61158-3-18:2008Licensed Co
42、py: Wang Bin, ISO/EXCHANGE CHINA STANDARDS, 06/07/2009 08:03, Uncontrolled Copy, (c) BSI 8 61158-3-18 IEC:2007(E) 2 Normative references The following referenced documents are indispensable for the application of this document. For dated references, only the edition cited applies. For undated refere
43、nces, the latest edition of the referenced document (including any amendments) applies. 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 add
44、ressing ISO/IEC 10731, Information technology Open Systems Interconnection Basic Reference Model Conventions for the definition of OSI services 3 Terms, definitions, symbols, abbreviations and conventions For the purposes of this document, the following terms, definitions, symbols, abbreviations and
45、 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 use of the following terms defined therein. 3.1.1 DL-address ISO/IEC 7498-33.1.2 DL-address-mapping ISO/IEC 7498-13.1.3 called-DL-add
46、ress ISO/IEC 7498-33.1.4 calling-DL-address ISO/IEC 7498-33.1.5 centralized multi-end-point-connection ISO/IEC 7498-13.1.6 DL-connection ISO/IEC 7498-13.1.7 DL-connection-end-point ISO/IEC 7498-13.1.8 DL-connection-end-point-identifier ISO/IEC 7498-13.1.9 DL-connection-mode transmission ISO/IEC 7498
47、-13.1.10 DL-connectionless-mode transmission ISO/IEC 7498-13.1.11 correspondent (N)-entities correspondent DL-entities (N=2) correspondent Ph-entities (N=1) ISO/IEC 7498-13.1.12 DL-duplex-transmission ISO/IEC 7498-13.1.13 (N)-entity DL-entity (N=2) Ph-entity (N=1) ISO/IEC 7498-13.1.14 DL-facility IS
48、O/IEC 7498-13.1.15 flow control ISO/IEC 7498-1BS EN 61158-3-18:2008Licensed Copy: Wang Bin, ISO/EXCHANGE CHINA STANDARDS, 06/07/2009 08:03, Uncontrolled Copy, (c) BSI61158-3-18 IEC:2007(E) 9 3.1.16 (N)-layer DL-layer (N=2) Ph-layer (N=1) ISO/IEC 7498-13.1.17 layer-management ISO/IEC 7498-13.1.18 DL-
49、local-view ISO/IEC 7498-33.1.19 DL-name ISO/IEC 7498-33.1.20 naming-(addressing)-domain ISO/IEC 7498-33.1.21 peer-entities ISO/IEC 7498-13.1.22 primitive name ISO/IEC 7498-33.1.23 DL-protocol ISO/IEC 7498-13.1.24 DL-protocol-connection-identifier ISO/IEC 7498-13.1.25 DL-protocol-data-unit ISO/IEC 7498-13.1.26 DL-relay ISO/IEC 7498-13.1.27 reset ISO/IEC 7498-13.1.28 responding-DL