《IEC-61158-6-8-2007.pdf》由会员分享,可在线阅读,更多相关《IEC-61158-6-8-2007.pdf(106页珍藏版)》请在三一文库上搜索。
1、 IEC 61158-6-8 Edition 1.0 2007-12 INTERNATIONAL STANDARD Industrial communication networks Fieldbus specifications Part 6-8: Application layer protocol specification Type 8 elements IEC 61158-6-8: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:54:36 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: inmailiec.ch Web: www.iec.ch About the IEC The Internati
5、onal 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 mak
6、e 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
7、 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 l
8、eading 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/custs
9、erv 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 IE
10、CLicensee=IHS Employees/1111111001, User=Japan, IHS Not for Resale, 01/01/2008 21:54:36 MSTNo reproduction or networking permitted without license from IHS -,-,- IEC 61158-6-8 Edition 1.0 2007-12 INTERNATIONAL STANDARD Industrial communication networks Fieldbus specifications Part 6-8: Application l
11、ayer protocol specification Type 8 elements INTERNATIONAL ELECTROTECHNICAL COMMISSION XD ICS 35.100.70; 25.040.40 PRICE CODE ISBN 2-8318-9478-6 Copyright International Electrotechnical Commission Provided by IHS under license with IECLicensee=IHS Employees/1111111001, User=Japan, IHS Not for Resale,
12、 01/01/2008 21:54:36 MSTNo reproduction or networking permitted without license from IHS -,-,- 2 61158-6-8 IEC:2007(E) CONTENTS FOREWORD.6 INTRODUCTION.8 1 Scope.9 1.1 General.9 1.2 Specifications9 1.3 Conformance.9 2 Normative references .10 3 Terms and definitions .10 3.1 ISO/IEC 7498-1 terms .10
13、3.9 ISO/IEC 8822 terms 11 3.11 ISO/IEC 9545 terms 11 3.16 ISO/IEC 8824 terms 11 3.37 ISO/IEC 8825 terms 12 3.40 Terms and definitions from IEC 61158-5-8.12 3.47 Other terms and definitions .12 4 FAL syntax description .13 4.1 FAL-AR PDU abstract syntax 13 4.2 Abstract syntax of PDUBody16 4.3 Type de
14、finitions for ASEs 20 4.4 Object definitions 23 4.5 Abstract syntax of Data types25 5 Transfer syntax 26 5.1 Peripherals encoding rules (PER)26 5.2 Encoding of APDU types .26 5.3 Encoding of tagged type values.28 5.4 Encoding of simple values.29 6 Protocol machine overview.35 7 AP-context state mach
15、ine.35 7.1 Primitive definitions .35 7.2 State machine description .36 7.3 AP to AP-context initiation state transitions .37 7.4 Functions 48 8 FAL service protocol machine (FSPM)51 8.1 Summary.51 8.2 Primitive definitions .51 8.3 FSPM state tables.53 9 Application relationship protocol machines (AR
16、PMs) 56 9.1 Queued user-triggered bidirectional-flow control (QUB-FC) ARPM 56 9.2 Buffered network-scheduled unidirectional (BNU) ARPM .78 9.3 Queued user-triggered bidirectional transparent mode (QUB-TM) ARPM86 10 DLL mapping protocol machine 90 10.1 Overview.90 10.2 Primitive definitions .91 10.3
17、DMPM state machine 94 Bibliography101 Copyright International Electrotechnical Commission Provided by IHS under license with IECLicensee=IHS Employees/1111111001, User=Japan, IHS Not for Resale, 01/01/2008 21:54:36 MSTNo reproduction or networking permitted without license from IHS -,-,- 61158-6-8 I
18、EC:2007(E) 3 Figure 1 APDU overview26 Figure 2 APDU header.26 Figure 3 PDU with type extension 26 Figure 4 PDU with address extension 27 Figure 5 PDU with type and length extension.27 Figure 6 Example of an Establish-Request PDU.27 Figure 7 Encoding of a PRIVATE tagged value 28 Figure 8 Encoding of
19、a context specific tagged value.28 Figure 9 Identification information fields.28 Figure 10 ID-info for tag 0 14 , length entry 0 6.29 Figure 11 ID-info for tag 15 255 , length entry 0 629 Figure 12 ID-info for tag 0 14 , length entry 7 25529 Figure 13 ID-info for tag 15 255 , length entry 7 255 29 F
20、igure 14 Encoding of Boolean value TRUE.29 Figure 15 Encoding of Boolean value FALSE.29 Figure 16 Encoding of Strings30 Figure 17 Encoding of BinaryDate value 31 Figure 18 Encoding of BinaryDate2000 value.31 Figure 19 Encoding of Time-of-day value.32 Figure 20 Encoding of Time-difference value .32 F
21、igure 21 Encoding of Time value33 Figure 22 Example for an Object definition.34 Figure 23 Primitives exchanged between protocol machines35 Figure 24 AP to AP-context initiation state machine.37 Figure 25 State transition diagram of FSPM.53 Figure 26 State transition diagram of QUB-FC ARPM 59 Figure
22、27 State transition diagram of the BNU ARPM 81 Figure 28 State transition diagram of QUB-TM AREP.88 Figure 29 State transition diagram of DMPM94 Table 1 Primitives issued by FAL-user to AP-context .35 Table 2 Primitives issued by AP-context to FAL-user .36 Table 3 AP-context state machine sender tra
23、nsactions 37 Table 4 AP-context state machine receiver transactions 41 Table 5 Function ResetArep.49 Table 6 Function ApContextTest 49 Table 7 Function ServicesSupportedTest.49 Table 8 Function ApExplicitConnection 49 Table 9 Function ImmediateAcknowledge 49 Table 10 Function ConfirmedServiceCheck49
24、 Table 11 Function UnconfirmedServiceCheck 49 Table 12 Function ArServiceCheck 50 Copyright International Electrotechnical Commission Provided by IHS under license with IECLicensee=IHS Employees/1111111001, User=Japan, IHS Not for Resale, 01/01/2008 21:54:36 MSTNo reproduction or networking permitte
25、d without license from IHS -,-,- 4 61158-6-8 IEC:2007(E) Table 13 Function ArFspmService .50 Table 14 Function ArAcceeSupported 50 Table 15 Function MaxFalPduLengthTest 50 Table 16 Function NegotiateOutstandingServices 50 Table 17 Function RequestedServicesSupportedTest 51 Table 18 Function Indicate
26、dServicesSupportedTest.51 Table 19 Function InvokeIdExistent .51 Table 20 Function SameService.51 Table 21 Primitives issued by AP-context to FSPM 52 Table 22 Primitives issued by FSPM to AP-context 52 Table 23 FSPM state table sender transactions 53 Table 24 FSPM state table receiver transactions 5
27、5 Table 25 Function SelectArep 55 Table 26 Primitives issued by FSPM to ARPM .56 Table 27 Primitives issued by ARPM to FSPM .56 Table 28 Parameters used with primitives exchanged between FSPM and ARPM 57 Table 29 QUB-FC ARPM states .59 Table 30 QUB-FC ARPM state table sender transactions60 Table 31
28、QUB-FC ARPM state table receiver transactions 65 Table 32 Function GetArepId ()76 Table 33 Function BuildFAL-PDU.76 Table 34 Function FAL_Pdu_Type .77 Table 35 Function AREPContextCheck()77 Table 36 Function AbortIdentifier .77 Table 37 Function AbortReason.77 Table 38 Function AbortDetail77 Table 3
29、9 Function StartTimer.78 Table 40 Function StopTimer .78 Table 41 Function ResetCounters78 Table 42 Function IncrementCounter .78 Table 43 Function DecrementCounter78 Table 44 Function GetCounterValue 78 Table 45 Primitives issued by FSPM to ARPM .79 Table 46 Primitives issued by ARPM to FSPM .79 Ta
30、ble 47 Parameters used with primitives exchanged between FSPM and ARPM 79 Table 48 BNU ARPM states .81 Table 49 BNU ARPM state table sender transactions81 Table 50 BNU ARPM state table receiver transactions82 Table 51 Function GetArepId ()85 Table 52 Function BuildFAL-PDU.85 Table 53 Function FAL_Pd
31、u_Type .85 Table 54 Function AbortIdentifier .85 Table 55 Function AbortReason.85 Copyright International Electrotechnical Commission Provided by IHS under license with IECLicensee=IHS Employees/1111111001, User=Japan, IHS Not for Resale, 01/01/2008 21:54:36 MSTNo reproduction or networking permitte
32、d without license from IHS -,-,- 61158-6-8 IEC:2007(E) 5 Table 56 Function AbortDetail85 Table 57 Primitives issued by FAL to ARPM 86 Table 58 Primitives issued by ARPM to FAL 86 Table 59 Parameters used with primitives exchanged between FAL and ARPM .86 Table 60 QUB-TM ARPM states.88 Table 61 QUB-T
33、M state table - sender transactions .88 Table 62 QUB-TM state table - receiver transactions .89 Table 63 Function GetArepId ()89 Table 64 Function BuildFAL-PDU.89 Table 65 Function FAL_Pdu_Type .89 Table 66 Function ResetCounters90 Table 67 Function IncrementCounter .90 Table 68 Function DecrementCo
34、unter90 Table 69 Function GetCounterValue 90 Table 70 Primitives issued by ARPM to DMPM 91 Table 71 Primitives issued by DMPM to ARPM 92 Table 72 Parameters used with primitives exchanged between ARPM and DMPM .93 Table 73 Primitives exchanged between data-link layer and DMPM .93 Table 74 DMPM state
35、 descriptions.94 Table 75 DMPM state table sender transactions .94 Table 76 DMPM state table receiver transactions98 Table 77 Function PickArep .99 Table 78 Function FindAREP .99 Table 79 Function SelectNextArep.99 Table 80 Function ArepRole.100 Table 81 Function FalArHeader .100 Table 82 Function A
36、ddUcsPduHeader100 Table 83 Function RemoveUcsPduHeader .100 Table 84 Function DlLinkStatus .100 Copyright International Electrotechnical Commission Provided by IHS under license with IECLicensee=IHS Employees/1111111001, User=Japan, IHS Not for Resale, 01/01/2008 21:54:36 MSTNo reproduction or netwo
37、rking permitted without license from IHS -,-,- 6 61158-6-8 IEC:2007(E) INTERNATIONAL ELECTROTECHNICAL COMMISSION _ INDUSTRIAL COMMUNICATION NETWORKS FIELDBUS SPECIFICATIONS Part 6-8: Application layer protocol specification Type 8 elements FOREWORD 1) The International Electrotechnical Commission (I
38、EC) 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 additi
39、on to other activities, IEC publishes International Standards, Technical 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 intereste
40、d in the subject dealt with may participate in this preparatory work. 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
41、conditions determined by agreement between the two organizations. 2) 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
42、 National Committees. 3) IEC Publications have the form of recommendations 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 t
43、he way in which they are used or for any misinterpretation by any end 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 an
44、y 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) All users sho
45、uld ensure that they have the latest edition of this publication. 7) No liability shall attach to IEC or its directors, employees, servants or agents including individual experts and members of its technical committees and IEC National Committees for any personal injury, property damage or other dam
46、age of any nature whatsoever, whether direct or indirect, or for costs (including legal fees) and expenses arising out of the publication, use of, or reliance upon, this IEC Publication or any other IEC Publications. 8) Attention is drawn to the Normative references cited in this publication. Use of
47、 the referenced publications is indispensable for the correct application of this publication. NOTE Use of some of the associated protocol types is restricted by their intellectual-property-right holders. In all cases, the commitment to limited release of intellectual-property-rights made by the holders of those rights permits a particular data-link layer protocol type to be used with physical layer and application layer protocols in Type combinations as specified explicitly in the IEC 61784 series. Use of the various protocol types in other combinations may require per
链接地址:https://www.31doc.com/p-3767714.html