IEC-61158-4-12-2007.pdf

上传人:来看看 文档编号:3769994 上传时间:2019-09-23 格式:PDF 页数:148 大小:1.52MB
返回 下载 相关 举报
IEC-61158-4-12-2007.pdf_第1页
第1页 / 共148页
IEC-61158-4-12-2007.pdf_第2页
第2页 / 共148页
IEC-61158-4-12-2007.pdf_第3页
第3页 / 共148页
IEC-61158-4-12-2007.pdf_第4页
第4页 / 共148页
IEC-61158-4-12-2007.pdf_第5页
第5页 / 共148页
亲,该文档总共148页,到这儿已超出免费预览范围,如果喜欢就下载吧!
资源描述

《IEC-61158-4-12-2007.pdf》由会员分享,可在线阅读,更多相关《IEC-61158-4-12-2007.pdf(148页珍藏版)》请在三一文库上搜索。

1、 IEC 61158-4-12 Edition 1.0 2007-12 INTERNATIONAL STANDARD Industrial communication networks Fieldbus specifications Part 4-12: Data-link layer protocol specification Type 12 elements IEC 61158-4-12:2007(E) Copyright International Electrotechnical Commission Provided by IHS under license with IECLic

2、ensee=IHS Employees/1111111001, User=Japan, IHS Not for Resale, 01/01/2008 21:25:39 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 th

3、is publication 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

4、have 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 Interna

5、tional 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 m

6、ake 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

7、on projects, 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

8、 leading 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/cus

9、tserv 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

10、IECLicensee=IHS Employees/1111111001, User=Japan, IHS Not for Resale, 01/01/2008 21:25:39 MSTNo reproduction or networking permitted without license from IHS -,-,- IEC 61158-4-12 Edition 1.0 2007-12 INTERNATIONAL STANDARD Industrial communication networks Fieldbus specifications Part 4-12: Data-link

11、 layer protocol specification Type 12 elements INTERNATIONAL ELECTROTECHNICAL COMMISSION XG ICS 35.100.20; 25.040.40 PRICE CODE ISBN 2-8318-9439-5 Copyright International Electrotechnical Commission Provided by IHS under license with IECLicensee=IHS Employees/1111111001, User=Japan, IHS Not for Resa

12、le, 01/01/2008 21:25:39 MSTNo reproduction or networking permitted without license from IHS -,-,- 2 61158-4-12 IEC:2007(E) CONTENTS FOREWORD.7 INTRODUCTION.9 1 Scope.10 1.1 General.10 1.2 Specifications10 1.3 Procedures10 1.4 Applicability.10 1.5 Conformance.10 2 Normative references .11 3 Terms, de

13、finitions, symbols and abbreviations11 3.1 Reference model terms and definitions11 3.2 Service convention terms and definitions.12 3.3 Common terms and definitions 13 3.4 Additional Type 12 definitions13 3.5 Common symbols and abbreviations .16 3.6 Additional Type 12 symbols and abbreviations 17 3.7

14、 Conventions 19 4 Overview of the DL-protocol .24 4.1 Operating principle24 4.2 Topology .24 4.3 Frame processing principles24 4.4 Data-link layer overview 25 4.5 Error detection overview26 4.6 Node reference model .26 4.7 Operation overview .27 5 Frame structure28 5.1 Frame coding principles 28 5.2

15、 Data types and encoding rules 28 5.3 DLPDU structure .31 5.4 Type 12 DLPDU structure33 5.5 Network variable structure.48 5.6 Type 12 mailbox structure .48 6 Attributes49 6.1 Management .49 6.2 Statistics .66 6.3 Watchdogs 69 6.4 Slave information interface72 6.5 Media independent interface (MII) .7

16、7 6.6 Fieldbus memory management unit (FMMU)80 6.7 Sync manager .83 6.8 Distributed clock90 7 DL-user memory.94 7.1 Overview.94 7.2 Mailbox access type 95 7.3 Buffered access type.98 8 Type 12: FDL protocol state machines.100 Copyright International Electrotechnical Commission Provided by IHS under

17、license with IECLicensee=IHS Employees/1111111001, User=Japan, IHS Not for Resale, 01/01/2008 21:25:39 MSTNo reproduction or networking permitted without license from IHS -,-,- 61158-4-12 IEC:2007(E) 3 8.1 Overview of slave DL state machines 100 8.2 State machine description .100 Annex A (informativ

18、e) Type 12: Additional specifications on DL-Protocol state machines108 A.1 DHSM .108 A.2 SYSM127 A.3 RMSM .140 Bibliography144 Figure 1 Type description example 20 Figure 2 Common structure of specific fields21 Figure 3 Frame structure25 Figure 4 Mapping of data in a frame.26 Figure 5 Slave node ref

19、erence model.27 Figure 6 Type 12 PDUs embedded in Ethernet frame.28 Figure 7 Type 12 PDUs embedded in UDP/IP 28 Figure 8 DL information type description51 Figure 9 Address type description53 Figure 10 DL control type description.55 Figure 11 DL status type description57 Figure 12 Successful write se

20、quence to DL-user control register .59 Figure 13 Successful read sequence to the DL-user status register .60 Figure 14 RX error counter type description.67 Figure 15 Lost link counter type description .68 Figure 16 Additional counter type description.69 Figure 17 Sync configuration type description7

21、0 Figure 18 Watchdog divider type description70 Figure 19 Sync manager watchdog type description.71 Figure 20 Sync manager watchdog status type description 71 Figure 21 Watchdog counter type description.72 Figure 22 Slave information interface access type description .72 Figure 23 Slave information

22、interface control/status type description .74 Figure 24 Slave information interface address type description76 Figure 25 Slave information interface data type description .77 Figure 26 MII control/status type description78 Figure 27 MII address type description 79 Figure 28 MII data type description

23、 80 Figure 29 FMMU mapping example80 Figure 30 FMMU entity type description .81 Figure 31 SyncM mailbox interaction84 Figure 32 SyncM buffer allocation84 Figure 33 SyncM buffer interaction 85 Figure 34 Handling of write/read toggle with read mailbox .86 Figure 35 Sync manager channel type descriptio

24、n .88 Copyright International Electrotechnical Commission Provided by IHS under license with IECLicensee=IHS Employees/1111111001, User=Japan, IHS Not for Resale, 01/01/2008 21:25:39 MSTNo reproduction or networking permitted without license from IHS -,-,- 4 61158-4-12 IEC:2007(E) Figure 36 Distribu

25、ted clock local time parameter type description 92 Figure 37 Successful write sequence to mailbox 95 Figure 38 Bad write sequence to mailbox.96 Figure 39 Successful read sequence to mailbox.96 Figure 40 Bad read sequence to mailbox .97 Figure 41 Successful write sequence to buffer .98 Figure 42 Succ

26、essful read sequence to buffer99 Figure 43 Structuring of the protocol machines of an slave 100 Figure 44 Slave information interface read operation .102 Figure 45 Slave information interface write operation.103 Figure 46 Slave information interface reload operation 104 Figure 47 Distributed clock 1

27、06 Figure 48 Delay measurement sequence .107 Table 1 PDU element description example.20 Table 2 Example attribute description 21 Table 3 State machine description elements 22 Table 4 Description of state machine elements 23 Table 5 Conventions used in state machines .23 Table 6 Transfer Syntax for b

28、it sequences .29 Table 7 Transfer syntax for data type Unsignedn .29 Table 8 Transfer syntax for data type Integern.30 Table 9 Type 12 frame inside an Ethernet frame31 Table 10 Type 12 frame inside an UDP PDU32 Table 11 Type 12 frame structure containing Type 12 PDUs 33 Table 12 Type 12 frame struct

29、ure containing network variables .33 Table 13 Type 12 frame structure containing mailbox 33 Table 14 Auto Increment Physical Read (APRD)34 Table 15 Configured Address Physical Read (FPRD).35 Table 16 Broadcast Read (BRD)36 Table 17 Logical Read (LRD).37 Table 18 Auto Increment Physical Write (APWR)

30、.38 Table 19 Configured Address Physical Write (FPWR) 39 Table 20 Broadcast Write (BWR) .40 Table 21 Logical Write (LWR) 41 Table 22 Auto Increment Physical ReadWrite (APRW).42 Table 23 Configured Address Physical ReadWrite (FPRW)43 Table 24 Broadcast ReadWrite (BRW) .44 Table 25 Logical ReadWrite (

31、LRW)45 Table 26 Auto Increment Physical Read Multiple Write (ARMW) 46 Table 27 Configured Address Physical Read Multiple Write (FRMW) .47 Table 28 Network variable .48 Table 29 Mailbox .48 Copyright International Electrotechnical Commission Provided by IHS under license with IECLicensee=IHS Employee

32、s/1111111001, User=Japan, IHS Not for Resale, 01/01/2008 21:25:39 MSTNo reproduction or networking permitted without license from IHS -,-,- 61158-4-12 IEC:2007(E) 5 Table 30 Error Reply Service Data.49 Table 31 DL information.52 Table 32 Configured station address54 Table 33 DL control .55 Table 34

33、DL status.58 Table 35 DLS-user specific registers61 Table 36 DLS-user event .63 Table 37 DLS-user event mask 64 Table 38 External event .65 Table 39 External event mask66 Table 40 RX error counter67 Table 41 Lost link counter68 Table 42 Watchdog divider.70 Table 43 PDI watchdog70 Table 44 Sync manag

34、er channel watchdog 71 Table 45 Sync manager watchdog Status 71 Table 46 Watchdog counter .72 Table 47 Slave information interface size.73 Table 48 Slave information interface control/status 75 Table 49 Actual slave information interface address 76 Table 50 Actual slave information interface data 77

35、 Table 51 MII control/status.78 Table 52 Actual MII address.79 Table 53 Actual MII data 80 Table 54 Fieldbus memory management unit (FMMU) entity 82 Table 55 Fieldbus memory management unit (FMMU)83 Table 56 Sync manager channel88 Table 57 Sync manager Structure90 Table 58 Distributed clock local ti

36、me parameter .93 Table 59 Distributed clock DLS-user parameter .94 Table A.1 Primitives issued by DHSM to PSM108 Table A.2 Primitives issued by PSM to DHSM108 Table A.3 Parameters used with primitives exchanged between DHSM and PSM.108 Table A.4 Identifier for the octets of a Ethernet frame 109 Tabl

37、e A.5 DHSM state table.111 Table A.6 DHSM function table .127 Table A.7 Primitives issued by SYSM to DHSM127 Table A.8 Primitives issued by DHSM to SYSM128 Table A.9 Primitives issued by DL-User to SYSM.128 Table A.10 Primitives issued by SYSM to DL-User.128 Table A.11 Parameters used with primitive

38、s exchanged between SYSM and DHSM 128 Table A.12 SYSM state table .130 Table A.13 SYSM function table140 Copyright International Electrotechnical Commission Provided by IHS under license with IECLicensee=IHS Employees/1111111001, User=Japan, IHS Not for Resale, 01/01/2008 21:25:39 MSTNo reproduction

39、 or networking permitted without license from IHS -,-,- 6 61158-4-12 IEC:2007(E) Table A.14 Primitives issued by RMSM to SYSM .140 Table A.15 Primitives issued by SYSM to RMSM .140 Table A.16 Parameters used with primitives exchanged between RMSM and SYSM 140 Table A.17 RMSM state table.142 Table A.

40、18 RMSM function table.143 Copyright International Electrotechnical Commission Provided by IHS under license with IECLicensee=IHS Employees/1111111001, User=Japan, IHS Not for Resale, 01/01/2008 21:25:39 MSTNo reproduction or networking permitted without license from IHS -,-,- 61158-4-12 IEC:2007(E)

41、 7 INTERNATIONAL ELECTROTECHNICAL COMMISSION _ INDUSTRIAL COMMUNICATION NETWORKS FIELDBUS SPECIFICATIONS Part 4-12: Data-link layer protocol specification Type 12 elements FOREWORD 1) The International Electrotechnical Commission (IEC) is a worldwide organization for standardization comprising all n

42、ational electrotechnical committees (IEC National Committees). The object of IEC is to promote international co-operation on all questions concerning standardization in the electrical and electronic fields. To this end and in addition to other activities, IEC publishes International Standards, Techn

43、ical Specifications, Technical Reports, Publicly Available Specifications (PAS) and Guides (hereafter referred to as “IEC Publication(s)”). Their preparation is entrusted to technical committees; any IEC National Committee interested in the subject dealt with may participate in this preparatory work

44、. 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)

45、 The formal decisions or agreements of IEC on technical matters express, as nearly as possible, an international consensus of opinion on the relevant subjects since each technical committee has representation from all interested IEC National Committees. 3) IEC Publications have the form of recommend

46、ations for international use and are accepted by IEC National Committees in that sense. While all reasonable efforts are made to ensure that the technical content of IEC Publications is accurate, IEC cannot be held responsible for the way in which they are used or for any misinterpretation by any en

47、d user. 4) In order to promote international uniformity, IEC National Committees undertake to apply IEC Publications transparently to the maximum extent possible in their national and regional publications. Any divergence between any IEC Publication and the corresponding national or regional publication shall be clearly indicated in the latter. 5) IEC provides no marking procedure to indicate its approval and cannot be rendered responsible for any equipment declared to be in conformity with an IEC Publication. 6) A

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 其他


经营许可证编号:宁ICP备18001539号-1