IEC-61158-6-5-2007.pdf

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

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

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

2、nsee=IHS Employees/1111111001, User=Japan, IHSNot for Resale, 01/01/2008 21:43:43 MST -,-,- THIS PUBLICATION IS COPYRIGHT PROTECTED Copyright 2007 IEC, Geneva, Switzerland All rights reserved. Unless otherwise specified, no part of this publication may be reproduced or utilized in any form or by any

3、 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 additional rights to this publicat

4、ion, 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) is the leading global org

5、anization 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, a corrigenda or an amen

6、dment 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 publications. ? IEC Just Publi

7、shed: 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 and electrical terms cont

8、aining 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 feedback on this publication or

9、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 IEC Licensee=IHS Employees/1111111001, User=Japan, IHSNot for Resa

10、le, 01/01/2008 21:43:43 MST -,-,- IEC 61158-6-5 Edition 1.0 2007-12 INTERNATIONAL STANDARD Industrial communication networks Fieldbus specifications Part 6-5: Application layer protocol specification Type 5 elements INTERNATIONAL ELECTROTECHNICAL COMMISSION XE ICS 35.100.70; 25.040.40 PRICE CODE ISB

11、N 2-8318-9477-8 Copyright International Electrotechnical Commission Provided by IHS under license with IEC Licensee=IHS Employees/1111111001, User=Japan, IHSNot for Resale, 01/01/2008 21:43:43 MST No reproduction or networking permitted without license from IHS 2 61158-6-5 IEC:2007(E) CONTENTS FOREW

12、ORD.7 INTRODUCTION.9 1 Scope.10 1.1 General.10 1.2 Specifications11 1.3 Conformance.11 2 Normative references .11 3 Terms, definitions, symbols, abbreviations and conventions .11 3.1 Terms and definitions from other ISO/IEC standards .11 3.2 IEC/TR 61158-1 terms.12 3.3 Abbreviations and symbols16 3.

13、4 Conventions 17 3.5 Conventions used in state machines .17 4 Protocol19 4.1 Overview.19 4.2 FAL syntax description 19 4.3 Transfer syntax .19 4.4 FAL protocol state machine structure 75 4.5 SMK state machine .75 4.6 VCR state machine92 4.7 FAL service protocol machine (FSPM).93 4.8 Application rela

14、tionship protocol machines (ARPMs) .93 4.9 DLL mapping protocol machine (DMPM)108 Bibliography114 Figure 1 State transition diagram for SMK77 Figure 2 State transition diagram of client / server ARPM 97 Figure 3 State transition diagram of the publisher / subscriber ARPM 104 Figure 4 State transitio

15、n diagram of DMPM110 Table 1 Conventions used for state machines 17 Table 2 Data types.20 Table 3 Data types.20 Table 4 APDU header format .21 Table 5 FDA address use.22 Table 6 FDA address header field APDUs sent by a client VCR endpoint.23 Table 7 FDA address header field APDUs sent by a server VC

16、R endpoint .24 Table 8 FDA address header field APDUs sent by a publisher VCR endpoint.24 Table 9 FDA address header field APDUs sent by a report source VCR endpoint 25 Table 10 APDU trailer fields.25 Table 11 Request APDU parameters27 Table 12 SMK FDA address values29 Table 13 SMK FDA address value

17、s30 Copyright International Electrotechnical Commission Provided by IHS under license with IEC Licensee=IHS Employees/1111111001, User=Japan, IHSNot for Resale, 01/01/2008 21:43:43 MST -,-,- 61158-6-5 IEC:2007(E) 3 Table 14 Request APDU parameters31 Table 15 SMK FDA address values for SM identify 32

18、 Table 16 SMK FDA address values for SMK set assignment info request APDUs 32 Table 17 SMK clear address request APDU parameters.33 Table 18 SMK FDA address values for SMK set assignment info request APDUs 33 Table 19 SMK set assignment info request APDU parameters .34 Table 20 SMK set assignment in

19、fo response APDU parameters.35 Table 21 SMK FDA address values for SMK device clear assignment Info APDUs.36 Table 22 SMK clear assignment info request APDU parameters 36 Table 23 SMK FDA address values for SMK device annunciation request APDUs36 Table 24 SMK device annunciation request APDU paramet

20、ers.37 Table 25 Initiate request APDU parameters .40 Table 26 Initiate response APDU parameters.40 Table 27 Abort request APDU parameters .40 Table 28 Get response APDU parameters41 Table 29 Identify response APDU parameters41 Table 30 Get OD request APDU parameters 41 Table 31 Get OD response APDU

21、parameters42 Table 32 Initiate put OD request APDU parameters .42 Table 33 Put OD request APDU parameters.42 Table 34 Generic initiate download sequence request APDU parameters.43 Table 35 Generic download segment request APDU parameters44 Table 36 Generic terminate download sequence request APDU pa

22、rameters 44 Table 37 Response APDU parameters.44 Table 38 Initiate download sequence request APDU parameters45 Table 39 Download segment request APDU parameters 45 Table 40 Download segment response APDU parameters45 Table 41 Terminate download sequence request APDU parameters 46 Table 42 Initiate u

23、pload sequence request APDU parameters46 Table 43 Upload segment request APDU parameters.47 Table 44 Upload segment response APDU parameters 47 Table 45 Terminate upload sequence request APDU parameters.47 Table 46 Request domain download request APDU parameters.48 Table 47 Request domain upload req

24、uest APDU parameters .48 Table 48 Create program invocation request APDU parameters.49 Table 49 Create program invocation response APDU parameters 49 Table 50 Delete program invocation request APDU parameters .49 Table 51 Start request APDU parameters 50 Table 52 Stop request APDU parameters.50 Tabl

25、e 53 Resume request APDU parameters .50 Table 54 Reset request APDU parameters.51 Table 55 Kill request APDU parameters .51 Table 56 Read request APDU parameters51 Copyright International Electrotechnical Commission Provided by IHS under license with IEC Licensee=IHS Employees/1111111001, User=Japan

26、, IHSNot for Resale, 01/01/2008 21:43:43 MST No reproduction or networking permitted without license from IHS 4 61158-6-5 IEC:2007(E) Table 57 Read response APDU parameters.52 Table 58 Read with subindex request APDU parameters52 Table 59 Read with subindex response APDU parameters.52 Table 60 Write

27、 request APDU parameters52 Table 61 Write with subindex request APDU parameters53 Table 62 Define variable list request APDU parameters .53 Table 63 Define variable list response APDU parameters 53 Table 64 Delete variable list request APDU parameters .54 Table 65 Information report request APDU par

28、ameters 54 Table 66 Information report with subindex request APDU parameters 54 Table 67 Information report on change request APDU parameters .55 Table 68 Information report on change with subindex request APDU parameters.55 Table 69 Event notification request APDU parameters .55 Table 70 Alter even

29、t condition monitoring request APDU parameters.56 Table 71 Acknowledge event notification request APDU parameters56 Table 72 LAN redundancy diagnostic message request APDU parameters 57 Table 73 LAN redundancy get information response APDU parameters .59 Table 74 LAN redundancy get statistics reques

30、t APDU parameters61 Table 75 Object description header63 Table 76 Null object.63 Table 77 Structure of the list of object descriptions 64 Table 78 Structure of a load region in the S-OD.65 Table 79 Structure of a function invocation in the DP-OD.66 Table 80 Structure of an event in the S-OD67 Table

31、81 Structure of a data type in the ST-OD67 Table 82 Structure of a data type structure description in the ST-OD .68 Table 83 Structure of a simple variable in the S-OD.68 Table 84 Structure of an array in the S-OD 69 Table 85 Structure of a record in the S-OD 70 Table 86 Structure of a variable list

32、 in the DV-OD71 Table 87 Common error parameters.72 Table 88 PI error parameters .72 Table 89 OD error parameters .72 Table 90 Error class and error code values73 Table 91 SMKPM service primitives .76 Table 92 SMKPM states.77 Table 93 SMKPM state table initialization .78 Table 94 SMKPM state table r

33、eceive transitions78 Table 95 SMKPM state table internal events.83 Table 96 HseRepeatTimerExpires () 84 Table 97 RcvNewNetworkAddress (interface, address) 84 Table 98 RcvMsg ()84 Table 99 SntpSyncLost ().84 Copyright International Electrotechnical Commission Provided by IHS under license with IEC Li

34、censee=IHS Employees/1111111001, User=Japan, IHSNot for Resale, 01/01/2008 21:43:43 MST -,-,- 61158-6-5 IEC:2007(E) 5 Table 100 AddressToClear (sm_svc) .85 Table 101 AssignmentInfo_Set () .85 Table 102 ConfigurationSessionActive () .85 Table 103 DeviceRedundancyState () 85 Table 104 DevId_Match (sm_

35、svc) 86 Table 105 DuplicateQueryIdMatch (sm_svc) 86 Table 106 DuplicatePdTagDetected ()86 Table 107 FdaAddressType (sm_svc) 86 Table 108 IsValid (sm_svc)87 Table 109 NetworkAddressChange (interface, address).87 Table 110 NumberOfAssignedAddresses ()87 Table 111 OperationalRestore ()87 Table 112 PdTa

36、g_Match (sm_svc) .87 Table 113 PdTagDeviceIndex_Check (sm_svc)88 Table 114 Query_Match (sm_svc)88 Table 115 QueryType (sm_svc) .88 Table 116 SmCacheEntry (sm_svc) .88 Table 117 Clear_Address (interface_to_clear) .89 Table 118 Clear_DuplicatePdTagFlag () 89 Table 119 Get_AddlCode () .89 Table 120 New

37、_Address (interface, address).89 Table 121 Restart_HseRepeatTimer ().90 Table 122 Restore_Defaults () .90 Table 123 Send_SM_CommonErrorRsp (sm_service_type, svc_spec_params)90 Table 124 Send_SM_ReqRspMessage (sm_svc) .90 Table 125 Set_Assignment_Data (sm_svc) 90 Table 126 Set_DuplicatePdTagFlag ()91

38、 Table 127 SvcType (sm_svc) .91 Table 128 Additional code used by error class and code91 Table 129 Additional code parameter IDs.92 Table 130 Primitives issued by FSPM to ARPM .94 Table 131 Primitives issued by ARPM to FSPM .94 Table 132 Parameters used with primitives exchanged between FSPM and ARP

39、M 95 Table 133 Client / Server ARPM states 97 Table 134 Client / server ARPM state table sender transitions 98 Table 135 Client / server ARPM state table receiver transitions 99 Table 136 Primitives issued by FSPM to ARPM .101 Table 137 Primitives issued by ARPM to FSPM .102 Table 138 Parameters use

40、d with primitives exchanged between FSPM and ARPM 102 Table 139 Publisher / subscriber ARPM states.103 Table 140 MulticastARPM state table sender transitions .104 Table 141 MulticastARPM state table receiver transitions .105 Table 142 BuildFAL-ErrPDU() 105 Copyright International Electrotechnical Co

41、mmission Provided by IHS under license with IEC Licensee=IHS Employees/1111111001, User=Japan, IHSNot for Resale, 01/01/2008 21:43:43 MST -,-,- 6 61158-6-5 IEC:2007(E) Table 143 BuildFAL-ReqRspPDU() 106 Table 144 GetArepId() .106 Table 145 ConfigurationArCheckOK() 106 Table 146 FAL_Pdu_BufferSize().

42、106 Table 147 FAL_Pdu_Confirmed().106 Table 148 FAL_Pdu_DuplicateMsg ().106 Table 149 FAL_Pdu_GetVcrId() .107 Table 150 FAL_Pdu_InactivityCloseTime().107 Table 151 FAL_Pdu_TransmitDelayTime().107 Table 152 FAL_Pdu_SvcType() .107 Table 153 FAL_Pdu_RemoteAddress() 107 Table 154 FAL_Pdu_TrailerFields()

43、107 Table 155 FAL_Pdu_ServiceSpecificParameters() .108 Table 156 FAL_Pdu_Valid() .108 Table 157 MaxOutstandingReached() 108 Table 158 StartInactivityCloseTimer() 108 Table 159 Primitives issued by ARPM to DMPM 109 Table 160 Primitives issued by DMPM to ARPM 109 Table 161 Parameters used with primiti

44、ves exchanged between ARPM and DMPM .109 Table 162 Primitives exchanged between the socket model and DMPM.109 Table 163 Parameters of DMPM/socket model primitives .110 Table 164 DMPM state descriptions.110 Table 165 DMPM state table sender transitions 111 Table 166 DMPM state table receiver transiti

45、ons 112 Table 167 ConnectionOriented.112 Table 168 GetBufferedData .112 Table 169 GetConnectionId .112 Table 170 LoadBuffer 113 Table 171 RemainingBufferSizeCheck .113 Table 172 StartTransmitDelayTimer.113 Copyright International Electrotechnical Commission Provided by IHS under license with IEC Lic

46、ensee=IHS Employees/1111111001, User=Japan, IHSNot for Resale, 01/01/2008 21:43:43 MST No reproduction or networking permitted without license from IHS 61158-6-5 IEC:2007(E) 7 INTERNATIONAL ELECTROTECHNICAL COMMISSION _ INDUSTRIAL COMMUNICATION NETWORKS FIELDBUS SPECIFICATIONS Part 65: Application l

47、ayer protocol specification Type 5 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 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

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

当前位置:首页 > 其他


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