《IEC-61158-4-1-2007.pdf》由会员分享,可在线阅读,更多相关《IEC-61158-4-1-2007.pdf(428页珍藏版)》请在三一文库上搜索。
1、 IEC 61158-4-1 Edition 1.0 2007-12 INTERNATIONAL STANDARD Industrial communication networks Fieldbus specifications Part 4-1: Data-link layer protocol specification Type 1 elements IEC 61158-4-1: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:22:59 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:22:59 MSTNo reproduction or networking permitted without license from IHS -,-,- IEC 61158-4-1 Edition 1.0 2007-12 INTERNATIONAL STANDARD Industrial communication networks Fieldbus specifications Part 4-1: Data-link layer
11、 protocol specification Type 1 elements INTERNATIONAL ELECTROTECHNICAL COMMISSION XP ICS 35.100.20; 25.040.40 PRICE CODE ISBN 2-8318-9425-5 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:22:59 MSTNo reproduction or networking permitted without license from IHS -,-,- 2 61158-4-1 IEC:2007(E) CONTENTS FOREWORD.9 0 Introduction 11 0.1 General.11 0.2 Nomenclature for references within this standard 11 1 Scope.12 1.1 General.12 1.2 Specifications12 1.3 Procedures12 1.4 Applicab
13、ility.13 1.5 Conformance.13 2 Normative references .13 3 Terms, definitions, symbols and abbreviations13 3.1 Reference model terms and definitions13 3.2 Service convention terms and definitions.15 3.3 Terms and definitions16 3.4 Symbols and abbreviations25 4 Overview of the DL-protocol .29 4.1 Three
14、-level model of the DLL 29 4.2 Service provided by the DLL31 4.3 Structure and definition of DL-addresses.38 4.4 Service assumed from the PhL51 4.5 Functions of the DLL .54 4.6 Functional classes.56 4.7 Local parameters, variables, counters, timers and queues.58 5 General structure and encoding of P
15、hIDUs and DLPDUs, and related elements of procedure.72 5.1 PhIDU structure and encoding.72 5.2 Common DLPDU structure, encoding and elements of procedure72 6 DLPDU-specific structure, encoding and elements of procedure.83 6.1 Establish connection (EC) DLPDU.85 6.2 Disconnect connection (DC) DLPDU87
16、6.3 Reset connection (RC) DLPDU89 6.4 Compel acknowledgement (CA) DLPDU 91 6.5 Compel data (CD) DLPDU.98 6.6 Exchange data (ED) DLPDU105 6.7 Data (DT) DLPDU114 6.8 Status response (SR) DLPDU121 6.9 Compel time (CT) DLPDU .124 6.10 Time distribution (TD) DLPDU .126 6.11 Round-trip-delay query (RQ) DL
17、PDU.128 6.12 Round-trip-delay reply (RR) DLPDU 130 6.13 Probe node DL-address (PN) DLPDU132 6.14 Probe response (PR) DLPDU 134 6.15 Pass token (PT) DLPDU136 6.16 Execute sequence (ES) DLPDU 145 6.17 Return token (RT) DLPDU.151 Copyright International Electrotechnical Commission Provided by IHS under
18、 license with IECLicensee=IHS Employees/1111111001, User=Japan, IHS Not for Resale, 01/01/2008 21:22:59 MSTNo reproduction or networking permitted without license from IHS -,-,- 61158-4-1 IEC:2007(E) 3 6.18 Request interval (RI) DLPDU.153 6.19 Claim LAS (CL) DLPDU.154 6.20 Transfer LAS (TL) DLPDU.15
19、6 6.21 Wakeup (WK) DLPDU .159 6.22 Idle (IDLE) DLPDU 161 6.23 Spare DLPDUs162 6.24 Reserved (not to be used) DLPDUs.163 7 DLPDU-parameter structure and encoding164 7.1 Structure and encoding of EC-PARAMETERS.164 7.2 Structure and encoding of DC-PARAMETERS.169 7.3 Structure and encoding of RC-PARAMET
20、ERS.170 7.4 Structure and encoding of SD-Parameters.172 7.5 Structure and encoding of SR-parameters .179 7.6 Structure and encoding of TD-parameters .180 7.7 Structure and encoding of RQ-parameters.183 7.8 Structure and encoding of RR-parameters.183 7.9 Structure and encoding of PN-parameters .184 7
21、.10 Structure and encoding of DD-parameters.186 8 DL-service elements of procedure 186 8.1 Operation of the DL(SAP)-address, buffer and queue management services .187 8.2 Operation of the connection-mode services.191 8.3 Operation of the connectionless-mode services.232 8.4 Operation of the scheduli
22、ng guidance services243 9 DL-support subprotocol 253 9.1 Scope253 9.2 Overview of LAS operation 253 9.3 DL-support subprotocol definition 254 9.4 Elements of Procedures for receiving SPDUs287 10 Other DLE elements of procedure.288 10.1 DLE initialization .289 10.2 LAS behavior and operation 293 10.3
23、 DL-support operation.299 10.4 DL-bridge elements of procedure and bridge sub-protocol.305 10.5 DL-management-information .335 10.6 Implementation profiles .339 11 PICS proforma345 11.1 Introduction .345 11.2 Scope345 11.3 Normative references 345 11.4 Definitions.345 11.5 Abbreviations 345 11.6 Con
24、formance.346 11.7 Instructions .346 11.8 Identification346 11.9 Implementation profile.347 11.10 Major low-level capabilities351 11.11 Major high-level capabilities 365 Annex A (informative) Exemplary FCS implementation.376 Copyright International Electrotechnical Commission Provided by IHS under li
25、cense with IECLicensee=IHS Employees/1111111001, User=Japan, IHS Not for Resale, 01/01/2008 21:22:59 MSTNo reproduction or networking permitted without license from IHS -,-,- 4 61158-4-1 IEC:2007(E) Annex B (informative) Type 1: Formal protocol finite state machines.378 B.1 Basic reception and trans
26、mission FSMs 378 B.2 FSMs for DLCs389 B.3 FSMs for scheduling395 B.4 FSMs for bridges.395 Annex C (informative) Type 1: DLPDU and DL-addressing short-form summaries.397 C.1 Fields used in short-form summaries .397 C.2 DLPDU short-form summary grouped by function 399 C.3 DLPDU short-form summary in a
27、lphabetic order of DLPDU names 401 C.4 DLPDU short-form summary in alphabetic order of DLPDU acronyms402 C.5 DLPDU FC code-point assignment matrix overview and detail403 C.6 SD-parameters (status and data-description parameters) of CA, CD, ED and DT DLPDUs.406 C.7 EC parameters of EC DLPDUs 409 C.8
28、Parameters of DC and RC DLPDUs.411 C.9 Parameters of TD, RQ and RR DLPDUs413 C.10 Parameters of PN, PT, ES and RI DLPDUs .415 C.11 Addressing summary extracted from figures and tables of 4.3 .417 Bibliography421 INDEX 422 Figure 1 Relationships of DLSAPs, DLSAP-addresses, DLCEPs, DLCEP-addresses, DL
29、SEP-addresses and group DL-addresses .19 Figure 2 Basic structure of a DL-address .38 Figure 3 Basic structure of a sublink selector.39 Figure 4 DL-address alternative structures.39 Figure 5 Basic structure of MAC-addresses .51 Figure 6 Representation of a DL-address as a MAC-address .51 Figure 7 Li
30、near relationships of sending and receiving DLCEP sequence-number variables.63 Figure 8 DL-address alternative structures.75 Figure 9 SHORT DL-address field alternative implicit structures75 Figure 10 NODE DL-address field implicit structure 76 Figure 11 State transition diagram for a DLCEP.191 Figu
31、re 12 Projection of the sending and receiving DLCEP sequence-number variables of Figure 7 onto the cyclic sequence-number parameters of CA, CD, DT, ED and RC DLPDUs, with consequent determination of required actions208 Figure 13 State transitions of a DLE 289 Figure 14 Bridged network topology.306 F
32、igure 15 Spanning tree representation .306 Figure 16 DLSDU transit delay, DLPDU lifetime and bridge forwarding delay.311 Figure 17 Forwarding and delivering a received DLPDU 315 Figure 18 Forwarding a locally-originated DLPDU315 Figure 19 Republishing a DLSDU received from another link .316 Figure 2
33、0 Bridge architecture.318 Figure 21 Replacement for IL Fig 3-2 Bridge ports327 Figure 22 Replacement for IL Fig 3-3 Bridge architecture .327 Copyright International Electrotechnical Commission Provided by IHS under license with IECLicensee=IHS Employees/1111111001, User=Japan, IHS Not for Resale, 01
34、/01/2008 21:22:59 MSTNo reproduction or networking permitted without license from IHS -,-,- 61158-4-1 IEC:2007(E) 5 Figure A.1 Example of FCS generation 376 Figure A.2 Example of FCS syndrome checking on reception.376 Figure B.1 Gross structure of FC code points.403 Figure B.2 Figure 2 Basic structu
35、re of a DL-address 417 Figure B.3 Figure 3 Basic structure of a sublink selector417 Figure B.4 Figure 4 DL-address alternative structures .417 Figure B.5 Figure 5 Basic structure of MAC-addresses 417 Figure B.6 Figure 6 Representation of a DL-address as a MAC-address 417 Table 1 Link | node | select
36、or addressing .42 Table 2 Link-local node | selector addressing44 Table 3 Link-local node designators.46 Table 4 Node-local selector addressing .48 Table 5 Predefined flat non-local DL-addresses.49 Table 6 Predefined flat link-local DL-addresses .50 Table 7 Predefined node-local DL-addresses.50 Tabl
37、e 8 Correlation of DLPDUs with functional classes 56 Table 9 FCS length, polynomial and expected residual 77 Table 10 Summary structure of DLPDUs84 Table 11 DLPDU restrictions based on dominant token85 Table 12 Structure of EC DLPDUs .85 Table 13 Structure of DC DLPDUs .88 Table 14 Structure of RC D
38、LPDUs .90 Table 15 Structure of CA DLPDUs .92 Table 16 Structure of CD DLPDUs .98 Table 17 Structure of ED DLPDUs .106 Table 18 Structure of DT DLPDUs .114 Table 19 Structure of SR DLPDUs .122 Table 20 Structure of CT DLPDUs .124 Table 21 Structure of TD DLPDUs .126 Table 22 Structure of RQ DLPDUs.1
39、28 Table 23 Structure of RR DLPDUs .130 Table 24 Structure of PN DLPDUs .132 Table 25 Structure of PR DLPDUs .135 Table 26 Structure of PT DLPDUs136 Table 27 Structure of ES DLPDUs .145 Table 28 Structure of RT DLPDUs .151 Table 29 Structure of RI DLPDUs.153 Table 30 Structure of CL DLPDUs154 Table
40、31 Structure of TL DLPDUs156 Table 32 Structure of WK DLPDUs.159 Table 33 Structure of IDLE DLPDUs161 Table 34 Assumed structure of undefined (spare) DLPDUs162 Copyright International Electrotechnical Commission Provided by IHS under license with IECLicensee=IHS Employees/1111111001, User=Japan, IHS
41、 Not for Resale, 01/01/2008 21:22:59 MSTNo reproduction or networking permitted without license from IHS -,-,- 6 61158-4-1 IEC:2007(E) Table 35 Assumed structure of RESERVED (NOT TO BE USED) DLPDUs .164 Table 36 Structure of an EC DLPDUs parameters .165 Table 37 EC-parameters: 1st octet165 Table 38
42、EC-parameters: 2nd octet.165 Table 39 EC-parameters: 3rd and 4th octets.166 Table 40 EC-parameters: 5th and 6th octets .166 Table 41 EC-parameters: 7th octet .167 Table 42 EC-parameters: 8th octet .167 Table 43 EC-parameters: 9th and 10th octets .168 Table 44 EC-parameters: 11th octet168 Table 45 EC
43、-parameters: 12th octet169 Table 46 EC-parameters: 13th and 14th octets .169 Table 47 DC-parameters and RC-parameters: 1st octet 169 Table 48 DC-parameters and RC-parameters: 2nd octet .170 Table 49 Disconnect reasons.171 Table 50 Reset reasons.172 Table 51 RC-parameters: 3rd octet .172 Table 52 RC-
44、parameters: 4th octet .172 Table 53 Structure of connectionless-mode CA, CD, DT and ED DLPDUs173 Table 54 Short format SD-parameters for connectionless transaction initiators 174 Table 55 Short format SD-parameters for connectionless responders 174 Table 56 Reply status for unitdata-acknowledgment a
45、nd exchange-unitdata-reply DT DLPDUs175 Table 57 Structure of connection-oriented CA, CD, DT and ED DLPDUs177 Table 58 Short format SD-parameters for DLCEP state178 Table 59 Long format SD-parameters for DLCEP state: 1st octet 178 Table 60 Long format SD-parameters for DLCEP state: 2nd octet.178 Tab
46、le 61 Long format SD-parameters for DLCEP state: 3rd octet179 Table 62 Reply status for SR DLPDUs .180 Table 63 Short format SR-parameters180 Table 64 Structure of TD-parameters .181 Table 65 Structure and encoding of the DL-time-quality measures.181 Table 66 Approximate numeric significance of the
47、bits of seven-octet DL-time.182 Table 67 Approximate numeric significance of the bits of three-octet short time.183 Table 68 Structure of RQ-parameters 183 Table 69 Structure of RR-parameters.184 Table 70 Structure and encoding of the RR-time-quality measures 184 Table 71 Structure of PN-parameters.185 Table 72 PN-parameters: 1st octet185 Table 73 PN-parameters: 2nd octet.185 Table 74 PN-parameters: 3rd and 4th octets.186 Table 75 PN-parameters: 5th octet .186 Table 76 PN-parameters: 6th octet .186 Copyright International Electrotechnical Commission Provided by IHS under license with IECLi
链接地址:https://www.31doc.com/p-3767676.html