IEC-61158-6-2-2007.pdf

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

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

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

2、see=IHS Employees/1111111001, User=Japan, IHS Not for Resale, 01/01/2008 21:18:55 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

3、 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 ha

4、ve 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: 0H inmailiec.ch Web: 1H www.iec.ch About the IEC The Int

5、ernational 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. Plea

6、se make sure that you have the latest edition, a corrigenda or an amendment might have been published. ? Catalogue of IEC publications: 2H 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 infor

7、mation on projects, withdrawn and replaced publications. ? IEC Just Published: 3H 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: 4H www.electropedia.o

8、rg The worlds 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: 5H www.iec

9、.ch/webstore/custserv 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: 6H csciec.ch Tel.: +41 22 919 02 11 Fax: +41 22 919 03 00 Copyright International Electrotechnical Commission Provided by IHS

10、under license with IECLicensee=IHS Employees/1111111001, User=Japan, IHS Not for Resale, 01/01/2008 21:18:55 MSTNo reproduction or networking permitted without license from IHS -,-,- IEC 61158-6-2 Edition 1.0 2007-12 INTERNATIONAL STANDARD Industrial communication networks Fieldbus specifications Pa

11、rt 6-2: Application layer protocol specification Type 2 elements INTERNATIONAL ELECTROTECHNICAL COMMISSION XL ICS 35.100.70; 25.040.40 PRICE CODE ISBN 2-8318-9474-3 Copyright International Electrotechnical Commission Provided by IHS under license with IECLicensee=IHS Employees/1111111001, User=Japan

12、, IHS Not for Resale, 01/01/2008 21:18:55 MSTNo reproduction or networking permitted without license from IHS -,-,- 2 61158-6-2 IEC:2007(E) CONTENTS FOREWORD.12 INTRODUCTION.14 1 Scope.15 1.1 General .15 1.2 Specifications15 1.3 Conformance.15 2 Normative references .16 3 Terms, definitions, symbols

13、, abbreviations and conventions .17 3.1 Terms and definitions from other ISO/IEC standards .17 3.2 Terms and definitions from IEC 61158-5-2.18 3.3 Additional terms and definitions.18 3.4 Abbreviations and symbols24 3.5 Conventions 24 3.6 Conventions used in state machines28 4 Abstract syntax.30 4.1

14、FAL PDU abstract syntax.30 4.2 Data abstract syntax specification .110 4.3 Encapsulation abstract syntax .114 5 Transfer syntax.128 5.1 Compact encoding.128 5.2 Data type reporting136 6 Structure of FAL protocol state machines .141 7 AP-Context state machine 142 7.1 Overview .142 7.2 Connection obje

15、ct state machine.142 8 FAL service protocol machine (FSPM)151 8.1 General .151 8.2 Primitive definitions .151 8.3 Parameters of primitives155 8.4 FSPM state machines156 9 Application relationship protocol machines (ARPMs) 157 9.1 General .157 9.2 Connection-less ARPM (UCMM)157 9.3 Connection-oriente

16、d ARPMs (transports).167 10 DLL mapping protocol machine 1 (DMPM 1) .237 10.1 General .237 10.2 Link producer 237 10.3 Link consumer.237 10.4 Primitive definitions .237 10.5 DMPM state machine 239 10.6 Data-link Layer service selection .241 11 DLL mapping protocol machine 2 (DMPM 2) .241 11.1 Genera

17、l .241 11.2 Mapping of UCMM PDUs.241 11.3 Mapping of transport class 0 and class 1 PDUs .246 11.4 Mapping of transport class 2 and class 3 PDUs 248 Copyright International Electrotechnical Commission Provided by IHS under license with IECLicensee=IHS Employees/1111111001, User=Japan, IHS Not for Res

18、ale, 01/01/2008 21:18:55 MSTNo reproduction or networking permitted without license from IHS -,-,- 61158-6-2 IEC:2007(E) 3 11.5 Mapping of transport classes 4 to 6 .248 11.6 IGMP Usage248 11.7 Management of an encapsulation session .249 12 DLL mapping protocol machine 3 (DMPM 3) .250 Bibliography251

19、 Figure 1 Attribute table format and terms .24 Figure 2 Service request/response parameter25 Figure 3 Example of an STD 29 Figure 4 Network connection parameters .48 Figure 5 Time tick 50 Figure 6 Connection establishment time-out.52 Figure 7 Transport Class Trigger attribute76 Figure 8 CP2/3_initia

20、l_comm_characteristics attribute format 79 Figure 9 Segment type.87 Figure 10 Port segment88 Figure 11 Logical segment encoding90 Figure 12 Extended network segment 94 Figure 13 Encapsulation message115 Figure 14 FixedLengthBitString compact encoding bit placement rules 132 Figure 15 Example compact

21、 encoding of a SWORD FixedLengthBitString133 Figure 16 Example compact encoding of a WORD FixedLengthBitString133 Figure 17 Example compact encoding of a DWORD FixedLengthBitString .133 Figure 18 Example compact encoding of a LWORD FixedLengthBitString 133 Figure 19 Example 2 of formal encoding of a

22、 structure type specification.138 Figure 20 Example of abbreviated encoding of a structure type specification .138 Figure 21 Example 1 of formal encoding of an array type specification.139 Figure 22 Example 2 of formal encoding of an array type specification.139 Figure 23 Example 1 of abbreviated en

23、coding of an array type specification 140 Figure 24 Example 2 of abbreviated encoding of an array type specification 140 Figure 25 I/O Connection object state transition diagram .142 Figure 26 Bridged Connection object state transition diagram .146 Figure 27 Explicit Messaging Connection object stat

24、e transition diagram .148 Figure 28 State transition diagram of UCMM client.160 Figure 29 State transition diagram of highend UCMM server161 Figure 30 State transition diagram of lowend UCMM server .164 Figure 31 Sequence diagram for a UCMM with one outstanding message165 Figure 32 Sequence diagram

25、for a UCMM with multiple outstanding messages166 Figure 33 TPDU buffer .167 Figure 34 Data flow diagram using a client transport class 0 and server transport class 0 170 Figure 35 Sequence diagram of data transfer using transport class 0.170 Figure 36 Class 0 client STD171 Figure 37 Class 0 server S

26、TD 172 Copyright International Electrotechnical Commission Provided by IHS under license with IECLicensee=IHS Employees/1111111001, User=Japan, IHS Not for Resale, 01/01/2008 21:18:55 MSTNo reproduction or networking permitted without license from IHS -,-,- 4 61158-6-2 IEC:2007(E) Figure 38 Data flo

27、w diagram using client transport class 1 and server transport class 1 173 Figure 39 Sequence diagram of data transfer using client transport class 1 and server transport class 1.174 Figure 40 Class 1 client STD176 Figure 41 Class 1 server STD 177 Figure 42 Data flow diagram using client transport cl

28、ass 2 and server transport class 2 179 Figure 43 Diagram of data transfer using client transport class 2 and server transport class 2 without returned data 180 Figure 44 Sequence diagram of data transfer using client transport class 2 and server transport class 2 with returned data181 Figure 45 Clas

29、s 2 client STD182 Figure 46 Class 2 server STD 184 Figure 47 Data flow diagram using client transport class 3 and server transport class 3 187 Figure 48 Sequence diagram of data transfer using client transport class 3 and server transport class 3 without returned data.188 Figure 49 Sequence diagram

30、of data transfer using client transport class 3 and server transport class 3 with returned data189 Figure 50 Class 3 client STD191 Figure 51 Class 3 server STD 194 Figure 52 Data flow diagram using transport classes 4 and 5.196 Figure 53 Sequence diagram of message exchange using transport classes 4

31、 and 5 .197 Figure 54 Sequence diagram of messages overwriting each other .198 Figure 55 Sequence diagram of queued message exchange using transport classes 4 and 5 199 Figure 56 Sequence diagram of retries using transport classes 4 and 5 .199 Figure 57 Sequence diagram of idle traffic using transpo

32、rt classes 4 and 5200 Figure 58 Classes 4 and 5 basic structure201 Figure 59 Class 6 basic structure.202 Figure 60 Classes 4 to 6 general STD203 Figure 61 Class 4 sender STD .205 Figure 62 Class 4 receiver STD .208 Figure 63 Sequence diagram of three fragments using transport class 5211 Figure 64 Se

33、quence diagram of fragmentation with retries using transport class 5.212 Figure 65 Sequence diagram of two fragments using transport class 5.212 Figure 66 Sequence diagram of aborted message using transport class 5213 Figure 67 Class 5 sender STD .214 Figure 68 Class 5 receiver STD .217 Figure 69 Da

34、ta flow diagram for transport class 6 221 Figure 70 Sequence diagram of message exchange using transport class 6 223 Figure 71 Sequence diagram of retries using transport class 6 223 Figure 72 Sequence diagram of idle traffic using transport class 6 .224 Figure 73 Sequence diagram of request overwri

35、ting null 225 Figure 74 Sequence diagram of response overwriting ACK of null225 Copyright International Electrotechnical Commission Provided by IHS under license with IECLicensee=IHS Employees/1111111001, User=Japan, IHS Not for Resale, 01/01/2008 21:18:55 MSTNo reproduction or networking permitted

36、without license from IHS -,-,- 61158-6-2 IEC:2007(E) 5 Figure 75 Sequence diagram of three fragments using transport class 6226 Figure 76 Sequence diagram of fragmentation with retries using transport class 6.227 Figure 77 Sequence diagram of two fragments using transport class 6.227 Figure 78 Seque

37、nce diagram of aborted fragmented sequence using transport class 6 228 Figure 79 Class 6 client STD229 Figure 80 Class 6 server STD 232 Figure 81 Data flow diagram for a link producer and consumer 237 Figure 82 State transition diagram for a link producer 240 Figure 83 State transition diagram for a

38、 link consumer.240 Table 1 Get_Attribute_All response service rules .26 Table 2 Example class level object/service specific response data of Get_Attribute_All 26 Table 3 Example Get_Attribute_All data array method .26 Table 4 Set_Attribute_All request service rules 27 Table 5 Example Set_Attribute_A

39、ll attribute ordering method.27 Table 6 Example Set_Attribute_All data array method28 Table 7 State event matrix format 29 Table 8 Example state event matrix .30 Table 9 UCMM_PDU header format .33 Table 10 UCMM command codes.33 Table 11 Transport class 0 header.34 Table 12 Transport class 1 header.3

40、4 Table 13 Transport class 2 header.34 Table 14 Transport class 3 header.35 Table 15 Classes 4 to 6 header format.35 Table 16 Real-time data header exclusive owner 36 Table 17 Real-time data header redundant owner 36 Table 18 Forward_Open request format .39 Table 19 Forward_Open_Good response format

41、 39 Table 20 Forward_Open_Bad response format 40 Table 21 Large_Forward_Open request format 41 Table 22 Large_Forward_Open_Good response format .41 Table 23 Large_Forward_Open_Bad response format42 Table 24 Forward_Close request format.43 Table 25 Forward_Close_Good response format43 Table 26 Forwar

42、d_Close_Bad response format43 Table 27 Unconnected_Send request format44 Table 28 Unconnected_Send_Good response format.45 Table 29 Unconnected_Send_Bad response format .45 Table 30 Get_Connection_Data request format46 Table 31 Get_Connection_Data response format .46 Table 32 Search_Connection_Data

43、request format 47 Copyright International Electrotechnical Commission Provided by IHS under license with IECLicensee=IHS Employees/1111111001, User=Japan, IHS Not for Resale, 01/01/2008 21:18:55 MSTNo reproduction or networking permitted without license from IHS -,-,- 6 61158-6-2 IEC:2007(E) Table 3

44、3 Get_Object_Owner request format 47 Table 34 Forward_Open_Good response format 47 Table 35 Time-out multiplier.50 Table 36 Time tick units .51 Table 37 Selection of connection ID.54 Table 38 Transport class, trigger and Is_Server format 55 Table 39 MR_Request_Header format .55 Table 40 MR_Response_

45、Header format.55 Table 41 Structure of Get_Attribute_All_ResponsePDU body.56 Table 42 Structure of Set_Attribute_All_RequestPDU body56 Table 43 Structure of Get_Attribute_List_RequestPDU body56 Table 44 Structure of Get_Attribute_List_ResponsePDU body .56 Table 45 Structure of Set_Attribute_List_Req

46、uestPDU body 57 Table 46 Structure of Set_Attribute_List_ResponsePDU body57 Table 47 Structure of Reset_RequestPDU body.57 Table 48 Structure of Reset_ResponsePDU body 57 Table 49 Structure of Start_RequestPDU body.57 Table 50 Structure of Start_ResponsePDU body58 Table 51 Structure of Stop_RequestP

47、DU body.58 Table 52 Structure of Stop_ResponsePDU body 58 Table 53 Structure of Create_RequestPDU body58 Table 54 Structure of Create_ResponsePDU body.58 Table 55 Structure of Delete_RequestPDU body59 Table 56 Structure of Delete_ResponsePDU body .59 Table 57 Structure of Get_Attribute_Single_ResponsePDU body .59 Table 58 Structure of Set_Attribute_Single_RequestPDU body 59 Table 59 Structure of Set_Attribute_Single_ResponsePDU body59 Table 60 Structure of Find_Next_Object_Instance_RequestPDU body .59 Table 61 Structure of Find_Next_Object_Ins

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

当前位置:首页 > 其他


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