《IEC-PAS-62573-2008.pdf》由会员分享,可在线阅读,更多相关《IEC-PAS-62573-2008.pdf(248页珍藏版)》请在三一文库上搜索。
1、 IEC/PAS 62573 Edition 1.0 2008-03 PUBLICLY AVAILABLE SPECIFICATION PRE-STANDARD Real-time Ethernet Real-time Automation Protocol for Industrial Ethernet (RAPIEnet) IEC/PAS 62573:2008(E) Copyright International Electrotechnical Commission Provided by IHS under license with IECLicensee=Boeing Co/5910
2、770001 Not for Resale, 07/25/2008 05:01:36 MDTNo reproduction or networking permitted without license from IHS -,-,- THIS PUBLICATION IS COPYRIGHT PROTECTED Copyright 2008 IEC, Geneva, Switzerland All rights reserved. Unless otherwise specified, no part of this publication may be reproduced or utili
3、zed 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 an enquiry about obtaining additiona
4、l 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 International Electrotechnical Commission (IEC)
5、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 sure that you have the latest edition
6、, 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 projects, withdrawn and replaced publi
7、cations. ? 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 leading online dictionary of electronic
8、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/custserv If you wish to give us your feedbac
9、k 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 IECLicensee=Boeing Co/5910770001 Not for
10、Resale, 07/25/2008 05:01:36 MDTNo reproduction or networking permitted without license from IHS -,-,- IEC/PAS 62573 Edition 1.0 2008-03 PUBLICLY AVAILABLE SPECIFICATION PRE-STANDARD Real-time Ethernet Real-time Automation Protocol for Industrial Ethernet (RAPIEnet) INTERNATIONAL ELECTROTECHNICAL COM
11、MISSION XL ICS 25.040.40 33.040.40 PRICE CODE ISBN 2-8318-9650-9 Copyright International Electrotechnical Commission Provided by IHS under license with IECLicensee=Boeing Co/5910770001 Not for Resale, 07/25/2008 05:01:36 MDTNo reproduction or networking permitted without license from IHS -,-,- 2 PAS
12、 62573 IEC:2008(E) CONTENTS FOREWORD.12 INTRODUCTION.13 1 Scope.14 2 Normative references .14 3 Terms, definitions, and abbreviations .15 3.1 IEC 61158 definitions 15 3.2 Definitions from other standards19 3.3 RAPIEnet terms and definitions.19 3.4 Symbols and abbreviations19 4 Technology overview19
13、4.1 General Information.19 4.2 Operating principles 20 4.2.1 Frame forwarding and receiving control .20 4.2.2 Link status monitoring21 4.2.3 Error detection.22 4.3 Topology .22 4.4 Device reference model.23 4.4.1 Physical layer24 4.4.2 Data link layer (DLL)24 4.4.3 Application layer24 4.5 Data link
14、layer overview 24 4.5.1 Extremely fast network recovery (EFR)24 4.5.2 Plug and play (PnP).25 4.5.3 Network management information base (NMIB) management 25 4.5.4 Automatic network configuration (ANC) .25 4.6 Application layer overview.25 5 Physical layer.26 5.1 Overview.26 5.2 100BASE-TX.27 5.3 100B
15、ASE-FX .27 5.4 1000BASE-T .27 5.5 1000BASE-X .27 6 Data link layer service definitions .27 6.1 Introduction .27 6.2 Scope27 6.2.1 Overview .27 6.2.2 Specifications28 6.2.3 Conformance.28 6.3 Normative references 28 6.4 Terms, definitions, symbols, abbreviations, and conventions.29 6.4.1 Reference mo
16、del terms and definitions29 6.4.2 Service convention terms and definitions.30 6.4.3 Data link service terms and definitions.31 6.4.4 Symbols and abbreviations34 Copyright International Electrotechnical Commission Provided by IHS under license with IECLicensee=Boeing Co/5910770001 Not for Resale, 07/
17、25/2008 05:01:36 MDTNo reproduction or networking permitted without license from IHS -,-,- PAS 62573 IEC:2008(E) 3 6.4.5 Conventions 35 6.5 Data link service and concept36 6.5.1 Overview .36 6.5.2 Detailed description of the data service .40 6.5.3 Detailed description of the sporadic data service.42
18、 6.5.4 Detailed description of network control message service .43 6.6 Data link management services.45 6.6.1 General .45 6.6.2 Data link management service (DLMS) facilities 46 6.6.3 Data link management service (DLMS)46 6.6.4 Overview of interactions 47 6.6.5 Detailed specification of service and
19、interactions.48 6.7 MAC control service 56 6.7.1 General .56 6.7.2 MAC control service 56 6.7.3 Overview of interactions 57 6.7.4 Detailed specification of service and interactions.57 6.8 Ph-control service .59 6.8.1 General .59 6.8.2 Ph-control service59 6.8.3 Overview of interactions 59 6.8.4 Deta
20、iled specification of service and interactions.60 7 Data link layer protocol specification 62 7.1 Introduction .62 7.2 Scope63 7.2.1 General .63 7.2.2 Specifications63 7.2.3 Procedures63 7.2.4 Applicability.63 7.2.5 Conformance.63 7.3 Overview of the data link protocol63 7.3.1 General .63 7.3.2 Over
21、view of medium access control.64 7.3.3 Service assumed from the physical layer.64 7.3.4 DLL architecture64 7.3.5 Data type.66 7.3.6 Local parameters and variables.68 7.4 General structure and encoding.83 7.4.1 Overview .83 7.4.2 MAPDU structure and encoding.83 7.4.3 Common MAC frame structure, encod
22、ing and elements of procedure 83 7.4.4 Order of bit transmission .93 7.4.5 Invalid DLPDU.94 7.5 DLPDU structure and procedure94 7.5.1 General .94 7.5.2 Common DLPDU field94 7.5.3 DL-DATA transfer95 7.5.4 DL-SPDATA transfer .97 7.5.5 Network control messages.99 Copyright International Electrotechnica
23、l Commission Provided by IHS under license with IECLicensee=Boeing Co/5910770001 Not for Resale, 07/25/2008 05:01:36 MDTNo reproduction or networking permitted without license from IHS -,-,- 4 PAS 62573 IEC:2008(E) 7.6 DLE elements of procedure .104 7.6.1 Overall structure104 7.6.2 DL-protocol machi
24、ne (DLPM).105 7.6.3 DLL management protocol.112 7.7 Constants135 7.7.1 General .135 7.7.2 Constants135 7.7.3 Data link layer error codes.136 8 Application layer service definition137 8.1 Introduction .137 8.2 Scope137 8.2.1 Overview .137 8.2.2 Specifications138 8.2.3 Conformance.139 8.3 Normative re
25、ferences 139 8.4 Terms, definitions, symbols, abbreviations, and conventions.139 8.4.1 ISO/IEC 7498-1 terms .139 8.4.2 ISO/IEC 8822 terms.139 8.4.3 ISO/IEC 9545 terms.139 8.4.4 Fieldbus data link layer terms140 8.4.5 Fieldbus application layer specific definitions 140 8.4.6 Abbreviations and symbols
26、 145 8.4.7 Conventions 146 8.5 Concepts.148 8.5.1 Common concepts.148 8.5.2 Type specific concepts 165 8.6 Data type ASE.168 8.6.1 General .168 8.6.2 Formal definition of data type objects 171 8.6.3 FAL defined data types173 8.6.4 Data type ASE service specification 176 8.7 Communication model speci
27、fication.176 8.7.1 ASEs.176 8.7.2 ARs .196 8.7.3 Summary of FAL classes .200 8.7.4 Permitted FAL services by AREP role200 9 Application layer protocol specification.201 9.1 Introduction .201 9.2 Scope201 9.2.1 General .201 9.2.2 Overview .201 9.2.3 Specifications202 9.2.4 Conformance.202 9.3 Normati
28、ve references 202 9.4 Terms, definitions, symbols, abbreviations, and conventions.202 9.4.1 ISO/IEC 8824 terms.202 9.4.2 ISO/IEC 10731 terms.203 9.4.3 Other terms and definitions203 9.5 Conventions 204 Copyright International Electrotechnical Commission Provided by IHS under license with IECLicensee
29、=Boeing Co/5910770001 Not for Resale, 07/25/2008 05:01:36 MDTNo reproduction or networking permitted without license from IHS -,-,- PAS 62573 IEC:2008(E) 5 9.5.1 General conventions204 9.5.2 Convention for the encoding of reserved bits and octets204 9.5.3 Conventions for the common coding of specifi
30、c field octets .204 9.5.4 Conventions for APDU abstract syntax definitions .205 9.5.5 Conventions for APDU transfer syntax definitions205 9.5.6 Conventions for AE state machine definitions 205 9.6 FAL syntax description 206 9.6.1 General .206 9.6.2 FAL-AR PDU abstract syntax.206 9.6.3 Abstract synta
31、x of PDU body .207 9.6.4 Protocol data units (PDUs) for application service elements (ASEs) 208 9.7 Transfer syntax .212 9.7.1 Overview of encoding 212 9.7.2 APDU header encoding .212 9.7.3 APDU body encoding.213 9.7.4 Encoding of Data types213 9.8 FAL protocol state machines .218 9.9 AP context sta
32、te machine219 9.10 FAL service protocol machine219 9.10.1 General .219 9.10.2 Common parameters of the primitives219 9.10.3 AP ASE protocol machine219 9.10.4 Service data object ASE protocol machine (SDOM).223 9.10.5 Process data object ASE protocol machine (PDOM) 226 9.11 AR protocol machine .227 9
33、.11.1 General .227 9.11.2 Point-to-point user-triggered confirmed client/server AREP (PTC-AR) ARPM228 9.11.3 Multipoint network-scheduled unconfirmed publisher/subscriber AREP (MSU-AR) ARPM.230 9.11.4 Multipoint user-triggered unconfirmed publisher/subscriber AREP (MTU-AR) ARPM .232 9.12 DLL mapping
34、 protocol machine .235 9.12.1 Primitive definitions .235 9.12.2 DMPM state machine.236 Annex A Data link layer technical description237 A.1 DL-address collision .237 A.1.1 General.237 A.1.2 Detecting DL-address collision 237 A.1.3 Clearing DL-address collision239 A.2 Automatic Ring Network Manager (
35、RNM) election procedure240 A.2.1 General.240 A.2.2 Primary RNM (RNMP) .241 A.2.3 Secondary RNM (RNMS).241 A.3 Path management 241 A.3.1 General.241 A.3.2 Path of line topology network 241 A.3.3 Path of ring topology network 242 A.4 Extremely fast network recovery.243 Copyright International Electrot
36、echnical Commission Provided by IHS under license with IECLicensee=Boeing Co/5910770001 Not for Resale, 07/25/2008 05:01:36 MDTNo reproduction or networking permitted without license from IHS -,-,- 6 PAS 62573 IEC:2008(E) A.4.1 Link fault with neighbouring device243 A.4.2 Link fault of remote device
37、 244 Figure 1 Forwarding and receiving Ethernet frames .20 Figure 2 Forward control of LNM21 Figure 3 Forward control of RNM .21 Figure 4 Link status information .22 Figure 5 Line topology .23 Figure 6 Ring topology.23 Figure 7 OSI basic reference model.24 Figure 8 Interaction between FAL and DLL 25
38、 Figure 9 Publisher-subscriber communication model26 Figure 10 Client-server communication model26 Figure 11 Relationships of DLSAPs, DLSAP-addresses, and group DL-addresses.32 Figure 12 Full-duplex flow control 37 Figure 13 Sequence diagram of DL-DATA service38 Figure 14 Sequence diagram of DL-SPDA
39、TA service.38 Figure 15 Sequence diagram of NCM service primitive 39 Figure 16 DL-DATA service .40 Figure 17 Sequence diagram of Reset, Set-value, Get-value, SAP-allocation, SAP- deallocation, Get-SAP information and Get-diagnostic information service primitives48 Figure 18 Sequence diagram of Event
40、 service primitive .48 Figure 19 Sequence diagram of MAC-reset and MAC-forward-control service primitive57 Figure 20 Sequence diagram of Ph-reset and Ph-get-link-status service primitive60 Figure 21 Sequence diagram of Ph-link-status-change service primitive 60 Figure 22 Interaction of PhS primitive
41、s with DLE64 Figure 23 Data link layer architecture.65 Figure 24 Common MAC frame format for RAPIEnet DLPDU .83 Figure 25 MAC frame format for other protocols.84 Figure 26 Version and Length field 85 Figure 27 DST_addr field.86 Figure 28 SRC_addr field.87 Figure 29 Frame Control Field .87 Figure 30
42、Extension field .89 Figure 31 DSAP field .89 Figure 32 Source service access point field .90 Figure 33 Length of group mask and extension information90 Figure 34 Group mask option field .91 Figure 35 Common DLPDU field 94 Figure 36 Building a DT DLPDU.95 Figure 37 DT DLPDU structure 95 Figure 38 SPD
43、T DLPDU structure98 Figure 39 NCM_LA DLPDU structure .99 Copyright International Electrotechnical Commission Provided by IHS under license with IECLicensee=Boeing Co/5910770001 Not for Resale, 07/25/2008 05:01:36 MDTNo reproduction or networking permitted without license from IHS -,-,- PAS 62573 IEC
44、:2008(E) 7 Figure 40 DLL structure and elements .105 Figure 41 State transition diagram of the DLPM.108 Figure 42 State transition diagram of DLM .116 Figure 43 Relationship to the OSI Basic Reference Model .149 Figure 44 Architectural positioning of the fieldbus application layer150 Figure 45 Clien
45、t/server interactions152 Figure 46 Pull model interactions.153 Figure 47 Push model interactions .154 Figure 48 APOs services conveyed by the FAL155 Figure 49 Application entity structure.157 Figure 50 FAL management of objects.158 Figure 51 ASE service conveyance159 Figure 52 Defined and establishe
46、d AREPs.161 Figure 53 FAL architectural components163 Figure 54 Interaction between FAL and DLL 166 Figure 56 Client-server communication model167 Figure 57 Object model167 Figure 58 ASEs of a RAPIEnet application.168 Figure 59 Data type class hierarchy example.169 Figure 60 The AR ASE conveys APDUs
47、 between APs190 Figure 61 Common structure of specific fields204 Figure 62 APDU overview 212 Figure 63 Type field.213 Figure 64 Encoding of time-of-day value 217 Figure 65 Encoding of time difference value.217 Figure 66 Primitives exchanged between protocol machines218 Figure 67 State transition dia
48、gram of APAM.221 Figure 68 State transition diagram of SDOM 224 Figure 69 State transition diagram of PDOM 226 Figure 70 State transition diagram of PTC-ARPM 229 Figure 71 State transition diagram of MSU-ARPM231 Figure 72 State transition diagram of MTU-ARPM234 Figure 11 State transition diagram of DMPM236 Figure A.1 RAPIEnet DL-address co