《IEC-61158-4-2-2007.pdf》由会员分享,可在线阅读,更多相关《IEC-61158-4-2-2007.pdf(224页珍藏版)》请在三一文库上搜索。
1、 IEC 61158-4-2 Edition 1.0 2007-12 INTERNATIONAL STANDARD Industrial communication networks Fieldbus specifications Part 4-2: Data-link layer protocol specification Type 2 elements IEC 61158-4-2:2007(E) Copyright International Electrotechnical Commission Provided by IHS under license with IECLicense
2、e=IHS Employees/1111111001, User=Japan, IHS Not for Resale, 01/01/2008 21:29:41 MSTNo reproduction or networking permitted without license from IHS -,-,- THIS PUBLICATION IS COPYRIGHT PROTECTED Copyright 2007 IEC, Geneva, Switzerland All rights reserved. Unless otherwise specified, no part of this p
3、ublication may be reproduced or utilized in any form or by any means, electronic or mechanical, including photocopying and microfilm, without permission in writing from either IEC or IECs member National Committee in the country of the requester. If you have any questions about IEC copyright or have
4、 an enquiry about obtaining additional rights to this publication, please contact the address below or your local IEC member National Committee for further information. IEC Central Office 3, rue de Varemb CH-1211 Geneva 20 Switzerland Email: inmailiec.ch Web: www.iec.ch About the IEC The Internation
5、al Electrotechnical Commission (IEC) is the leading global organization that prepares and publishes International Standards for all electrical, electronic and related technologies. About IEC publications The technical content of IEC publications is kept under constant review by the IEC. Please make
6、sure that you have the latest edition, a corrigenda or an amendment might have been published. ? Catalogue of IEC publications: www.iec.ch/searchpub The IEC on-line Catalogue enables you to search by a variety of criteria (reference number, text, technical committee,). It also gives information on p
7、rojects, withdrawn and replaced publications. ? IEC Just Published: www.iec.ch/online_news/justpub Stay up to date on all new IEC publications. Just Published details twice a month all new publications released. Available on-line and also by email. ? Electropedia: www.electropedia.org The worlds lea
8、ding online dictionary of electronic and electrical terms containing more than 20 000 terms and definitions in English and French, with equivalent terms in additional languages. Also known as the International Electrotechnical Vocabulary online. ? Customer Service Centre: www.iec.ch/webstore/custser
9、v If you wish to give us your feedback on this publication or need further assistance, please visit the Customer Service Centre FAQ or contact us: Email: csciec.ch Tel.: +41 22 919 02 11 Fax: +41 22 919 03 00 Copyright International Electrotechnical Commission Provided by IHS under license with IECL
10、icensee=IHS Employees/1111111001, User=Japan, IHS Not for Resale, 01/01/2008 21:29:41 MSTNo reproduction or networking permitted without license from IHS -,-,- IEC 61158-4-2 Edition 1.0 2007-12 INTERNATIONAL STANDARD Industrial communication networks Fieldbus specifications Part 4-2: Data-link layer
11、 protocol specification Type 2 elements INTERNATIONAL ELECTROTECHNICAL COMMISSION XK ICS 35.100.20; 25.040.40 PRICE CODE ISBN 2-8318-9428-X Copyright International Electrotechnical Commission Provided by IHS under license with IECLicensee=IHS Employees/1111111001, User=Japan, IHS Not for Resale, 01/
12、01/2008 21:29:41 MSTNo reproduction or networking permitted without license from IHS -,-,- 2 61158-4-2 IEC:2007(E) CONTENTS FOREWORD.7 INTRODUCTION.9 1 Scope.10 1.1 General.10 1.2 Specifications10 1.3 Procedures10 1.4 Applicability.11 1.5 Conformance.11 2 Normative references .11 3 Terms, definition
13、s, symbols and abbreviations12 3.1 Reference model terms and definitions12 3.2 Service convention terms and definitions.14 3.3 Common terms and definitions 15 3.4 Additional Type 2 definitions16 3.5 Type 2 symbols and abbreviations.23 4 Overview of the DL-protocol .24 4.1 General.24 4.2 Services pro
14、vided by the DL26 4.3 Structure and definition of DL-addresses.27 4.4 Services assumed from the PhL 29 4.5 Functional classes.31 5 General structure and encoding of PhIDUs and DLPDUs and related elements of procedure.32 5.1 Overview.32 5.2 Media access procedure32 5.3 DLPDU structure and encoding .3
15、5 5.4 Lpacket components .39 5.5 DLPDU procedures .41 5.6 Summary of DLL support services and objects 42 6 Specific DLPDU structure, encoding and procedures44 6.1 Modeling language 44 6.2 DLS user services .46 6.3 Generic tag Lpacket 52 6.4 Moderator Lpacket 53 6.5 Time distribution Lpacket 54 6.6 U
16、CMM Lpacket57 6.7 Keeper UCMM Lpacket57 6.8 TUI Lpacket.58 6.9 Link parameters Lpacket and tMinus Lpacket 59 6.10 Im-alive Lpacket .60 6.11 Ping Lpackets62 6.12 WAMI Lpacket.64 6.13 Debug Lpacket 64 6.14 IP Lpacket.65 6.15 Ethernet Lpacket .65 7 Objects for station management .65 Copyright Internati
17、onal Electrotechnical Commission Provided by IHS under license with IECLicensee=IHS Employees/1111111001, User=Japan, IHS Not for Resale, 01/01/2008 21:29:41 MSTNo reproduction or networking permitted without license from IHS -,-,- 61158-4-2 IEC:2007(E) 3 7.1 General.65 7.2 ControlNet object 66 7.3
18、Keeper object76 7.4 Scheduling object98 7.5 TCP/IP Interface object .109 7.6 Ethernet link object118 7.7 DeviceNet object .124 7.8 Connection configuration object (CCO)132 8 Other DLE elements of procedure.152 8.1 Network attachment monitor (NAM).152 8.2 Calculating link parameters .159 9 Detailed s
19、pecification of DL components 167 9.1 General.167 9.2 Access control machine (ACM)167 9.3 TxLLC .184 9.4 RxLLC.188 9.5 Transmit machine (TxM)191 9.6 Receive machine (RxM) 194 9.7 Serializer.200 9.8 Deserializer.201 9.9 DLL management 202 Annex A (normative) Indicators and switches205 A.1 Purpose 205
20、 A.2 Indicators 205 A.3 Switches .216 Bibliography218 INDEX 219 Figure 1 Relationships of DLSAPs, DLSAP-addresses and group DL-addresses15 Figure 2 Data-link layer internal architecture25 Figure 3 Basic structure of a MAC ID address27 Figure 4 Basic structure of a generic tag address 27 Figure 5 Bas
21、ic structure of a fixed tag address 28 Figure 6 M_symbols and Manchester encoding at 5 MHz (informative) 29 Figure 7 NUT structure 33 Figure 8 Media access during scheduled time33 Figure 9 Media access during unscheduled time 34 Figure 10 DLPDU format35 Figure 11 Aborting a DLPDU during transmission
22、 39 Figure 12 Lpacket format .39 Figure 13 Generic tag Lpacket format 40 Figure 14 Fixed tag Lpacket format41 Figure 15 Goodness parameter of TimeDist_Lpacket .55 Figure 16 Example Im alive processing algorithm62 Figure 17 Keeper CRC algorithm .82 Figure 18 Keeper object power-up state diagram .94 C
23、opyright International Electrotechnical Commission Provided by IHS under license with IECLicensee=IHS Employees/1111111001, User=Japan, IHS Not for Resale, 01/01/2008 21:29:41 MSTNo reproduction or networking permitted without license from IHS -,-,- 4 61158-4-2 IEC:2007(E) Figure 19 Keeper object op
24、erating state diagram .95 Figure 20 Synchronized network change processing98 Figure 21 State transition diagram for TCP/IP Interface object.118 Figure 22 Connection configuration object edit flowchart152 Figure 23 NAM state machine153 Figure A.1 Non redundant network status indicator labeling .209 F
25、igure A.2 Redundant network status indicator labeling .210 Table 1 Data-link layer components .24 Table 2 MAC ID addresses allocation 27 Table 3 Fixed tag service definitions28 Table 4 Data encoding rules 29 Table 5 M Data symbols 30 Table 6 Truth table for ph_status_indication.31 Table 7 FCS length
26、, polynomials and constants.37 Table 8 DLL support services and objects43 Table 9 Elementary data types.46 Table 10 DLL events51 Table 11 Time distribution priority56 Table 12 Format of the TUI Lpacket.58 Table 13 ControlNet object class attributes67 Table 14 ControlNet object instance attributes.67
27、 Table 15 TUI status flag bits 71 Table 16 Channel state bits .72 Table 17 ControlNet object common services.74 Table 18 ControlNet object class specific services.75 Table 19 Keeper object revision history .77 Table 20 Keeper object class attributes .77 Table 21 Keeper object instance attributes 77
28、Table 22 Keeper operating state definitions .80 Table 23 Port status flag bit definitions 80 Table 24 TUI status flag bits 81 Table 25 Keeper attributes.84 Table 26 Memory requirements (in octets) for the Keeper attributes.84 Table 27 Keeper object common services 85 Table 28 Keeper object class spe
29、cific services 86 Table 29 Service error codes .87 Table 30 Wire order format of the TUI Lpacket.91 Table 31 Service error codes .92 Table 32 Keeper object operating states 92 Table 33 Keeper object state event matrix .96 Table 34 Scheduling object class attributes .99 Table 35 Scheduling object ins
30、tance attributes 100 Copyright International Electrotechnical Commission Provided by IHS under license with IECLicensee=IHS Employees/1111111001, User=Japan, IHS Not for Resale, 01/01/2008 21:29:41 MSTNo reproduction or networking permitted without license from IHS -,-,- 61158-4-2 IEC:2007(E) 5 Tabl
31、e 36 Scheduling object common services100 Table 37 Status error descriptions for Create.101 Table 38 Status error descriptions for Delete and Kick_Timer 102 Table 39 Scheduling object class specific services 102 Table 40 Status error descriptions for Read .104 Table 41 Status error descriptions for
32、Conditional_Write105 Table 42 Status error descriptions for Forced_Write 105 Table 43 Status error descriptions for Change_Start106 Table 44 Status error descriptions for Break_Connections .106 Table 45 Status error descriptions for Change_Complete.107 Table 46 Status error descriptions for Restart_
33、Connections.108 Table 47 TCP/IP Interface object class attributes.109 Table 48 TCP/IP Interface object instance attributes110 Table 49 Status bits.112 Table 50 Configuration capability bits 112 Table 51 Configuration control bits.113 Table 52 Example path 113 Table 53 Interface configuration compone
34、nts.114 Table 54 Alloc control values .115 Table 55 TCP/IP Interface object common services .116 Table 56 Get_Attribute_All reply format .117 Table 57 Ethernet link object revision history.118 Table 58 Ethernet link object class attributes .119 Table 59 Ethernet link object instance attributes 119 T
35、able 60 Interface flags bits.121 Table 61 Control bits123 Table 62 Ethernet Link object common services.123 Table 63 Ethernet Link object class specific services.124 Table 64 DeviceNet object revision history.124 Table 65 DeviceNet object class attributes.125 Table 66 DeviceNet object instance attri
36、butes125 Table 67 Bit rate attribute values .127 Table 68 BOI attribute values.128 Table 69 Diagnostic counters bit description 129 Table 70 DeviceNet object common services .130 Table 71 Reset service parameter .130 Table 72 Reset service parameter values 131 Table 73 DeviceNet object class specifi
37、c services131 Table 74 Connection configuration object revision history132 Table 75 Connection configuration object class attributes 132 Table 76 Format number values.134 Table 77 Connection configuration object instance attributes .135 Table 78 Originator connection status values.137 Copyright Inte
38、rnational Electrotechnical Commission Provided by IHS under license with IECLicensee=IHS Employees/1111111001, User=Japan, IHS Not for Resale, 01/01/2008 21:29:41 MSTNo reproduction or networking permitted without license from IHS -,-,- 6 61158-4-2 IEC:2007(E) Table 79 Target connection status value
39、s 138 Table 80 Connection flags .138 Table 81 I/O mapping formats140 Table 82 Connection configuration object common services.141 Table 83 Get_Attribute_All error codes 141 Table 84 Get_Attribute_All response142 Table 85 Set_Attribute_All error codes.143 Table 86 Set_Attribute_All request.144 Table
40、87 Create request parameters145 Table 88 Create error codes 146 Table 89 Delete error codes.146 Table 90 Restore error codes.146 Table 91 Connection configuration object class specific services.147 Table 92 Kick_Timer error codes .147 Table 93 Open_Connection error codes.148 Table 94 Close_Connectio
41、n error codes 148 Table 95 Stop_Connection error codes 148 Table 96 Change_Start error codes .149 Table 97 Get_Status service parameter .149 Table 98 Get_Status service response.149 Table 99 Get_Status service error codes .150 Table 100 Change_Complete service parameter150 Table 101 Change_Complete
42、service error codes 150 Table 102 Audit_Changes service parameter.151 Table 103 Audit_Changes service error codes .151 Table 104 NAM states153 Table 105 Default link parameters154 Table 106 PhL timing characteristics160 Table A.1 Module status indicator 206 Table A.2 Network status indicators.207 Ta
43、ble A.3 Network status indicator.211 Table A.4 Network status indicator.213 Table A.5 Combined module/network status indicator 214 Table A.6 I/O status indicator.215 Table A.7 Bit rate switch encoding .217 Copyright International Electrotechnical Commission Provided by IHS under license with IECLice
44、nsee=IHS Employees/1111111001, User=Japan, IHS Not for Resale, 01/01/2008 21:29:41 MSTNo reproduction or networking permitted without license from IHS -,-,- 61158-4-2 IEC:2007(E) 7 INTERNATIONAL ELECTROTECHNICAL COMMISSION _ INDUSTRIAL COMMUNICATION NETWORKS FIELDBUS SPECIFICATIONS Part 4-2: Data-li
45、nk layer protocol specification Type 2 elements FOREWORD 1) The International Electrotechnical Commission (IEC) is a worldwide organization for standardization comprising all national electrotechnical committees (IEC National Committees). The object of IEC is to promote international co-operation on
46、 all questions concerning standardization in the electrical and electronic fields. To this end and in addition to other activities, IEC publishes International Standards, Technical Specifications, Technical Reports, Publicly Available Specifications (PAS) and Guides (hereafter referred to as “IEC Pu
47、blication(s)”). Their preparation is entrusted to technical committees; any IEC National Committee interested in the subject dealt with may participate in this preparatory work. International, governmental and non- governmental organizations liaising with the IEC also participate in this preparation. IEC collaborates closely with the International Organization for Standardization (ISO) in accordance with conditions determined by agreement between the two organizations. 2) The formal decisio
链接地址:https://www.31doc.com/p-3769872.html