《BS-EN-61158-4-3-2008.pdf》由会员分享,可在线阅读,更多相关《BS-EN-61158-4-3-2008.pdf(174页珍藏版)》请在三一文库上搜索。
1、BRITISH STANDARD BS EN 61158-4-3:2008 Industrial communication networks Fieldbus specifications Part 4-3: Data-link layer protocol specification Type 3 elements ICS 25.040.40; 35.100.20 ? Copyright British Standards Institution Provided by IHS under license with BSI - Uncontrolled Copy Licensee=Boei
2、ng Co/5910770001 Not for Resale, 08/14/2008 21:19:41 MDTNo reproduction or networking permitted without license from IHS -,-,- BS EN 61158-4-3:2008 This British Standard was published under the authority of the Standards Policy and Strategy Committee on 30 May 2008 BSI 2008 ISBN 978 0 580 61576 4 Na
3、tional foreword This British Standard is the UK implementation of EN 61158-4-3:2008. It is identical with IEC 61158-4-3:2007. Together with all of the other sections of BS EN 61158-4, it supersedes BS EN 61158-4:2004 which is withdrawn. The UK participation in its preparation was entrusted to Techni
4、cal Committee AMT/7, Industrial communications Process measurement and control, including Fieldbus. A list of organizations represented on this committee can be obtained on request to its secretary. This publication does not purport to include all the necessary provisions of a contract. Users are re
5、sponsible for its correct application. Compliance with a British Standard cannot confer immunity from legal obligations. Amendments/corrigenda issued since publication DateComments Copyright British Standards Institution Provided by IHS under license with BSI - Uncontrolled Copy Licensee=Boeing Co/5
6、910770001 Not for Resale, 08/14/2008 21:19:41 MDTNo reproduction or networking permitted without license from IHS -,-,- EUROPEAN STANDARD EN 61158-4-3 NORME EUROPENNE EUROPISCHE NORM February 2008 CENELEC European Committee for Electrotechnical Standardization Comit Europen de Normalisation Electrot
7、echnique Europisches Komitee fr Elektrotechnische Normung 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-4-3:2008 E ICS 35.100.20; 25.040.40 Partially supersed
8、es EN 61158-4:2004 English version Industrial communication networks - Fieldbus specifications - Part 4-3: Data-link layer protocol specification - Type 3 elements (IEC 61158-4-3:2007) Rseaux de communication industriels - Spcifications des bus de terrain - Partie 4-3: Spcification des protocoles de
9、s couches de liaison de donnes - Elments de type 3 (CEI 61158-4-3:2007) Industrielle Kommunikationsnetze - Feldbusse - Teil 4-3: Protokollspezifikation des Data Link Layer (Sicherungsschicht) - Typ 3-Elemente (IEC 61158-4-3:2007) This European Standard was approved by CENELEC on 2008-02-01. CENELEC
10、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 bibliographical references concerning such national standards may be obtained on appli
11、cation to the Central Secretariat 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 responsibility of a CENELEC member into its own language and notified to the Central Secretari
12、at has the same status as the official versions. CENELEC members 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 Net
13、herlands, Norway, Poland, Portugal, Romania, Slovakia, Slovenia, Spain, Sweden, Switzerland and the United Kingdom. Copyright British Standards Institution Provided by IHS under license with BSI - Uncontrolled Copy Licensee=Boeing Co/5910770001 Not for Resale, 08/14/2008 21:19:41 MDTNo reproduction
14、or networking permitted without license from IHS -,-,- Foreword The text of document 65C/474/FDIS, future edition 1 of IEC 61158-4-3, 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 was
15、approved by CENELEC as EN 61158-4-3 on 2008-02-01. This and the other parts of the EN 61158-4 series supersede EN 61158-4:2004. With respect to EN 61158-4:2004 the following changes were made: deletion of Type 6 fieldbus, and the placeholder for a Type 5 fieldbus data-link layer, for lack of market
16、relevance; addition of new fieldbus types; partition into multiple parts numbered 4-1, 4-2, , 4-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) 2008-11-01 latest date by w
17、hich 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-property-rights made by the holders
18、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 permission from their respective
19、intellectual-property-right holders. IEC and CENELEC draw attention to the fact that it is claimed that compliance with this standard may involve the use of patents as follows, where the xx notation indicates the holder of the patent right: Type 3 and possibly other types: DE 36 43 979 C2 SI Determi
20、nistisches Zugriffsverfahren nach dem Tokenprinzip fr eine Datenbertragung DE 36 43 979 A1 SI Deterministisches Zugriffsverfahren nach dem Tokenprinzip fr eine Datenbertragung IEC and CENELEC take no position concerning the evidence, validity and scope of these patent rights. The holders of these pa
21、tent rights have assured IEC that they are willing to negotiate licences under reasonable and non- discriminatory terms and conditions with applicants throughout the world. In this respect, the statement of the holders of these patent rights are registered with IEC. Information may be obtained from:
22、 SI: SIEMENS AG Ludwig Winkel Siemensallee 84 D-76181 Karlsruhe Germany Attention is drawn to the possibility that some of the elements of this standard may be the subject of patent rights other than those identified above. IEC and CENELEC shall not be held responsible for identifying any or all suc
23、h patent rights. Annex ZA has been added by CENELEC. _ Endorsement notice The text of the International Standard IEC 61158-4-3:2007 was approved by CENELEC as a European Standard without any modification. _ BS EN 61158-4-3:2008 2 Copyright British Standards Institution Provided by IHS under license
24、with BSI - Uncontrolled Copy Licensee=Boeing Co/5910770001 Not for Resale, 08/14/2008 21:19:41 MDTNo reproduction or networking permitted without license from IHS -,-,- CONTENTS INTRODUCTION.7 1 Scope.8 1.1 General.8 1.2 Specifications8 1.3 Procedures8 1.4 Applicability.8 1.5 Conformance.9 2 Normati
25、ve references .9 3 Terms, definitions, symbols and abbreviations9 3.1 Reference model terms and definitions9 3.2 Service convention terms and definitions.11 3.3 Common terms and definitions 12 3.4 Additional Type 3 definitions14 3.5 Common symbols and abbreviations .16 3.6 Type 3 symbols and abbrevi
26、ations.17 4 Common DL-protocol elements.21 4.1 Frame check sequence .21 5 Overview of the DL-protocol .23 5.1 General.23 5.2 Overview of the medium access control and transmission protocol24 5.3 Transmission modes and DL-entity25 5.4 Service assumed from the PhL30 5.5 Operational elements 33 5.6 Cyc
27、le and system reaction times .49 6 General structure and encoding of DLPDUs, and related elements of procedure 52 6.1 DLPDU granularity 52 6.2 Length octet (LE, LEr) .53 6.3 Address octet 54 6.4 Control octet (FC)56 6.5 DLPDU content error detection60 6.6 DATA_UNIT 61 6.7 Error control procedures61
28、7 DLPDU-specific structure, encoding and elements of procedure.63 7.1 DLPDUs of fixed length with no data field63 7.2 DLPDUs of fixed length with data field.64 7.3 DLPDUs with variable data field length66 7.4 Token DLPDU .67 7.5 ASP DLPDU 68 7.6 SYNCH DLPDU.68 7.7 Time Event (TE) DLPDU68 7.8 Clock V
29、alue (CV) DLPDU 68 7.9 Transmission procedures 69 8 Other DLE elements of procedure.72 8.1 DL-entity initialization72 8.2 States of the media access control of the DL-entity .72 BS EN 61158-4-3:2008 3 Copyright British Standards Institution Provided by IHS under license with BSI - Uncontrolled Copy
30、Licensee=Boeing Co/5910770001 Not for Resale, 08/14/2008 21:19:41 MDTNo reproduction or networking permitted without license from IHS -,-,- 8.3 Clock synchronization protocol78 Annex A (normative) DL-Protocol state machines 83 A.1 Overall structure83 A.2 Variation of state machines in different devi
31、ces.84 A.3 DL Data Resource.85 A.4 FLC / DLM.90 A.5 MAC114 A.6 SRU 142 Annex B (informative) Type 3 (synchronous): exemplary FCS implementations160 Annex C (informative) Type 3: Exemplary token procedure and message transfer periods .162 C.1 Procedure of token passing.162 C.2 Examples for token pass
32、ing procedure 163 C.3 Examples for message transfer periods asynchronous transmission.168 C.4 Examples for message transfer periods synchronous transmission.169 Bibliography170 Figure 1 Relationships of DLSAPs, DLSAP-addresses and group DL-addresses13 Figure 2 Logical token-passing ring .26 Figure 3
33、 PhL data service for asynchronous transmission30 Figure 4 Idle time TID136 Figure 5 Idle time TID2 (SDN, CS) .36 Figure 6 Idle time TID2 (MSRD).37 Figure 7 Slot time TSL1.37 Figure 8 Slot time TSL2.38 Figure 9 Slot time TSL1.43 Figure 10 Slot time TSL2.43 Figure 11 Token transfer period.49 Figure 1
34、2 Message transfer period.50 Figure 13 UART character .52 Figure 14 Octet structure .53 Figure 15 Length octet coding53 Figure 16 Address octet coding54 Figure 17 DAE/SAE octet in the DLPDU.55 Figure 18 Address extension octet.55 Figure 19 FC octet coding for send/request DLPDUs .56 Figure 20 FC oct
35、et coding for acknowledgement or response DLPDUs 57 Figure 21 FCS octet coding60 Figure 22 Data field .61 Figure 23 Ident user data.61 Figure 24 DLPDUs of fixed length with no data field.63 Figure 25 DLPDUs of fixed length with no data field.64 BS EN 61158-4-3:2008 4 Annex ZA (normative) Normative r
36、eferences to international publications with their corresponding European publications171 Copyright British Standards Institution Provided by IHS under license with BSI - Uncontrolled Copy Licensee=Boeing Co/5910770001 Not for Resale, 08/14/2008 21:19:41 MDTNo reproduction or networking permitted wi
37、thout license from IHS -,-,- Figure 28 DLPDUs with variable data field length.66 Figure 29 DLPDUs with variable data field length.67 Figure 30 Token DLPDU 67 Figure 31 Token DLPDU 68 Figure 32 Send/request DLPDU of fixed length with no data 69 Figure 33 Token DLPDU and send/request DLPDU of fixed le
38、ngth with data69 Figure 34 Send/request DLPDU with variable data field length.70 Figure 35 Send/request DLPDU of fixed length with no data 70 Figure 36 Token DLPDU and send/request DLPDU of fixed length with data71 Figure 37 Send/request DLPDU with variable data field length.71 Figure 38 DL-state-di
39、agram .73 Figure 39 Overview of clock synchronization79 Figure 40 Time master state machine 80 Figure 41 Time receiver state machine 81 Figure 42 Clock synchronization .82 Figure A.1 Structuring of the protocol machines.84 Figure A.2 Structure of the SRU Machine.143 Figure B.1 Example of FCS generat
40、ion for Type 3 (synchronous) 160 Figure B.2 Example of FCS syndrome checking on reception for Type 3 (synchronous) .160 Figure C.1 Derivation of the token holding time (TTH)163 Figure C.2 No usage of token holding time (TTH).164 Figure C.3 Usage of token holding time (TTH) for message transfer (equi
41、valence between TTH of each Master station)165 Figure C.4 Usage of token holding time (TTH) in different working load situations .167 Table 1 FCS length, polynomials and constants by Type 3 synchronous 22 Table 2 Characteristic features of the fieldbus data-link protocol24 Table 3 Transmission funct
42、ion code.58 Table 4 FCB, FCV in responder .60 Table 5 Operating parameters .72 Table A.1 Assignment of state machines85 Table A.2 Data resource 86 Table A.3 Primitives issued by DL-User to FLC90 Table A.4 Primitives issued by FLC to DL-User90 Table A.5 Primitives issued by DL-User to DLM .92 Table A
43、.6 Primitives issued by DLM to DL-User .93 Table A.7 Parameters used with primitives exchanged between DL-User and FLC.93 Table A.8 Parameters used with primitives exchanged between DL-User and DLM94 Table A.9 FLC/DLM state table 95 Table A.10 FLC / DLM function table108 BS EN 61158-4-3:2008 5 Figur
44、e 26 DLPDUs of fixed length with data field .65 Figure 27 DLPDUs of fixed length with data field .65 Copyright British Standards Institution Provided by IHS under license with BSI - Uncontrolled Copy Licensee=Boeing Co/5910770001 Not for Resale, 08/14/2008 21:19:41 MDTNo reproduction or networking p
45、ermitted without license from IHS -,-,- Table A.13 Parameters used with primitives exchanged between DLM and MAC .115 Table A.14 Local MAC variables 116 Table A.15 MAC state table .116 Table A.16 MAC function table.138 Table A.17 Primitives issued by DLM to SRC.144 Table A.18 Primitives issued by SR
46、C to DLM.145 Table A.19 Primitives issued by MAC to SRC.145 Table A.20 Primitives issued by SRC to MAC.145 Table A.21 Parameters used with primitives exchanged between MAC and SRC .146 Table A.22 FC structure.146 Table A.23 Local variables of SRC.146 Table A.24 SRC state table147 Table A.25 SRC func
47、tions159 BS EN 61158-4-3:2008 6 Table A.11 Primitives issued by DLM to MAC.115 Table A.12 Primitives issued by MAC to DLM.115 Copyright British Standards Institution Provided by IHS under license with BSI - Uncontrolled Copy Licensee=Boeing Co/5910770001 Not for Resale, 08/14/2008 21:19:41 MDTNo reproduction or networking permitted without license from IHS -,-,- INTRODUCTION This part of IEC 61158 is one of a series produced to facilitate the interconnection of automation system components. I