《BS-EN-61158-4-2-2008.pdf》由会员分享,可在线阅读,更多相关《BS-EN-61158-4-2-2008.pdf(224页珍藏版)》请在三一文库上搜索。
1、BRITISH STANDARD BS EN 61158-4-2:2008 Industrial communication networks Fieldbus specifications Part 4-2: Data-link layer protocol specification Type 2 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:14 MDTNo reproduction or networking permitted without license from IHS -,-,- BS EN 61158-4-2: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 61575 7 Na
3、tional foreword This British Standard is the UK implementation of EN 61158-4-2:2008. It is identical with IEC 61158-4-2: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:14 MDTNo reproduction or networking permitted without license from IHS -,-,- EUROPEAN STANDARD EN 61158-4-2 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-2: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-2: Data-link layer protocol specification - Type 2 elements (IEC 61158-4-2:2007) Rseaux de communication industriels - Spcifications des bus de terrain - Partie 4-2: Spcification des protocoles de
9、s couches de liaison de donnes - Elments de type 2 (CEI 61158-4-2:2007) Industrielle Kommunikationsnetze - Feldbusse - Teil 4-2: Protokollspezifikation des Data Link Layer (Sicherungsschicht) - Typ 2-Elemente (IEC 61158-4-2: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:14 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-2, 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-2 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 2 and possibly other types: US 5,400,331 RA Communicat
20、ion network interface with screeners for incoming messages US 5,471,461 RA Digital communication network with a moderator station election process US 5,491,531 RA Media access controller with a shared class message delivery capability US 5,493,571 RA Apparatus and method for digital communications w
21、ith improved delimiter detection US 5,537,549 RA Communication network with time coordinated station activity by time slot and periodic interval number US 5,553,095 RA Method and apparatus for exchanging different classes of data during different time Intervals IEC and CENELEC take no position conce
22、rning the evidence, validity and scope of these patent rights. The holders of these patent 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 hol
23、ders of these patent rights are registered with IEC. Information may be obtained from: RA: Rockwell Automation, Inc. 1201 S. Second Street Milwaukee, WI 53204 USA Attention: Intellectual Property Dept. Attention is drawn to the possibility that some of the elements of this standard may be the subjec
24、t of patent rights other than those identified above. IEC and CENELEC shall not be held responsible for identifying any or all such patent rights. Annex ZA has been added by CENELEC. Endorsement notice The text of the International Standard IEC 61158-4-2:2007 was approved by CENELEC as a European St
25、andard without any modification. _ _ BS EN 61158-4-2:2008 2 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:14 MDTNo reproduction or networking permitted without license from IHS -,-,- C
26、ONTENTS INTRODUCTION.8 1 Scope.9 1.1 General.9 1.2 Specifications9 1.3 Procedures9 1.4 Applicability.10 1.5 Conformance.10 2 Normative references .10 3 Terms, definitions, symbols and abbreviations11 3.1 Reference model terms and definitions11 3.2 Service convention terms and definitions.13 3.3 Comm
27、on terms and definitions 14 3.4 Additional Type 2 definitions15 3.5 Type 2 symbols and abbreviations.22 4 Overview of the DL-protocol .23 4.1 General.23 4.2 Services provided by the DL25 4.3 Structure and definition of DL-addresses.26 4.4 Services assumed from the PhL 28 4.5 Functional classes.30 5
28、General structure and encoding of PhIDUs and DLPDUs and related elements of procedure.31 5.1 Overview.31 5.2 Media access procedure31 5.3 DLPDU structure and encoding .34 5.4 Lpacket components .38 5.5 DLPDU procedures .40 5.6 Summary of DLL support services and objects 41 6 Specific DLPDU structure
29、, encoding and procedures43 6.1 Modeling language 43 6.2 DLS user services .45 6.3 Generic tag Lpacket 51 6.4 Moderator Lpacket 52 6.5 Time distribution Lpacket 53 6.6 UCMM Lpacket56 6.7 Keeper UCMM Lpacket56 6.8 TUI Lpacket.57 6.9 Link parameters Lpacket and tMinus Lpacket 58 6.10 Im-alive Lpacket
30、.59 6.11 Ping Lpackets61 6.12 WAMI Lpacket.63 6.13 Debug Lpacket 63 6.14 IP Lpacket.64 6.15 Ethernet Lpacket .64 7 Objects for station management .64 7.1 General.64 BS EN 61158-4-2:2008 3 Copyright British Standards Institution Provided by IHS under license with BSI - Uncontrolled Copy Licensee=Boei
31、ng Co/5910770001 Not for Resale, 08/14/2008 21:19:14 MDTNo reproduction or networking permitted without license from IHS -,-,- 7.2 ControlNet object 65 7.3 Keeper object75 7.4 Scheduling object97 7.5 TCP/IP Interface object .108 7.6 Ethernet link object117 7.7 DeviceNet object .123 7.8 Connection co
32、nfiguration object (CCO)131 8 Other DLE elements of procedure.151 8.1 Network attachment monitor (NAM).151 8.2 Calculating link parameters .158 9 Detailed specification of DL components 166 9.1 General.166 9.2 Access control machine (ACM)166 9.3 TxLLC .183 9.4 RxLLC.187 9.5 Transmit machine (TxM)190
33、 9.6 Receive machine (RxM) 193 9.7 Serializer.199 9.8 Deserializer.200 9.9 DLL management 201 Annex A (normative) Indicators and switches204 A.1 Purpose 204 A.2 Indicators 204 A.3 Switches .215 Bibliography217 INDEX 218 Figure 1 Relationships of DLSAPs, DLSAP-addresses and group DL-addresses14 Figur
34、e 2 Data-link layer internal architecture24 Figure 3 Basic structure of a MAC ID address26 Figure 4 Basic structure of a generic tag address 26 Figure 5 Basic structure of a fixed tag address 27 Figure 6 M_symbols and Manchester encoding at 5 MHz (informative) 28 Figure 7 NUT structure 32 Figure 8 M
35、edia access during scheduled time32 Figure 9 Media access during unscheduled time 33 Figure 10 DLPDU format34 Figure 11 Aborting a DLPDU during transmission 38 Figure 12 Lpacket format .38 Figure 13 Generic tag Lpacket format 39 Figure 14 Fixed tag Lpacket format40 Figure 15 Goodness parameter of Ti
36、meDist_Lpacket .54 Figure 16 Example Im alive processing algorithm61 Annex ZA (normative) Normative references to international publications with their corresponding European publications .219 BS EN 61158-4-2:2008 4 Copyright British Standards Institution Provided by IHS under license with BSI - Unc
37、ontrolled Copy Licensee=Boeing Co/5910770001 Not for Resale, 08/14/2008 21:19:14 MDTNo reproduction or networking permitted without license from IHS -,-,- Figure 19 Keeper object operating state diagram .94 Figure 20 Synchronized network change processing97 Figure 21 State transition diagram for TCP
38、/IP Interface object.117 Figure 22 Connection configuration object edit flowchart151 Figure 23 NAM state machine152 Figure A.1 Non redundant network status indicator labeling .208 Figure A.2 Redundant network status indicator labeling .209 Table 1 Data-link layer components .23 Table 2 MAC ID addres
39、ses allocation 26 Table 3 Fixed tag service definitions27 Table 4 Data encoding rules 28 Table 5 M Data symbols 29 Table 6 Truth table for ph_status_indication.30 Table 7 FCS length, polynomials and constants.36 Table 8 DLL support services and objects42 Table 9 Elementary data types.45 Table 10 DLL
40、 events50 Table 11 Time distribution priority55 Table 12 Format of the TUI Lpacket.57 Table 13 ControlNet object class attributes66 Table 14 ControlNet object instance attributes.66 Table 15 TUI status flag bits 70 Table 16 Channel state bits .71 Table 17 ControlNet object common services.73 Table 1
41、8 ControlNet object class specific services.74 Table 19 Keeper object revision history .76 Table 20 Keeper object class attributes .76 Table 21 Keeper object instance attributes 76 Table 22 Keeper operating state definitions .79 Table 23 Port status flag bit definitions 79 Table 24 TUI status flag b
42、its 80 Table 25 Keeper attributes.83 Table 26 Memory requirements (in octets) for the Keeper attributes.83 Table 27 Keeper object common services 84 Table 28 Keeper object class specific services 85 Table 29 Service error codes .86 Table 30 Wire order format of the TUI Lpacket.90 Table 31 Service er
43、ror codes .91 Table 32 Keeper object operating states 91 Table 33 Keeper object state event matrix .95 Figure 17 Keeper CRC algorithm .81 Figure 18 Keeper object power-up state diagram .93 BS EN 61158-4-2:2008 5 Copyright British Standards Institution Provided by IHS under license with BSI - Uncontr
44、olled Copy Licensee=Boeing Co/5910770001 Not for Resale, 08/14/2008 21:19:14 MDTNo reproduction or networking permitted without license from IHS -,-,- Table 36 Scheduling object common services99 Table 37 Status error descriptions for Create.100 Table 38 Status error descriptions for Delete and Kick
45、_Timer 101 Table 39 Scheduling object class specific services 101 Table 40 Status error descriptions for Read .103 Table 41 Status error descriptions for Conditional_Write104 Table 42 Status error descriptions for Forced_Write 104 Table 43 Status error descriptions for Change_Start105 Table 44 Statu
46、s error descriptions for Break_Connections .105 Table 45 Status error descriptions for Change_Complete.106 Table 46 Status error descriptions for Restart_Connections.107 Table 47 TCP/IP Interface object class attributes.108 Table 48 TCP/IP Interface object instance attributes109 Table 49 Status bits
47、.111 Table 50 Configuration capability bits 111 Table 51 Configuration control bits.112 Table 52 Example path 112 Table 53 Interface configuration components.113 Table 54 Alloc control values .114 Table 55 TCP/IP Interface object common services .115 Table 56 Get_Attribute_All reply format .116 Table 57 Ethernet link object revision history.117 Table 58 Ethernet link object class attributes .118 Table 59 Ethernet link object instance attributes 118 Table 60 Interface flags bits.120 Table 61 Control bits122 Table 62 Ethernet Link object
链接地址:https://www.31doc.com/p-3743655.html