1、 IEC 61158-6-8Edition 1.0 2007-12INTERNATIONAL STANDARD Industrial communication networks Fieldbus specifications Part 6-8:Application layer protocol specification Type 8 elements IEC 61158-6-8:2007(E)LICENSED TO MECON Limited.-RANCHI/BANGALOREFOR INTERNAL USE AT THIS LOCATION ONLY,SUPPLIED BY BOOK
2、SUPPLY BUREAU.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 means,electronic or mechanical,including photocopying and microfilm,without permi
3、ssion 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 publication,please contact the address below or your local IEC member National Committee for f
4、urther 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 organization that prepares and publishes International Standards for all electrical,electronic a
5、nd 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 amendment might have been published.?Catalogue of IEC publications:www.iec.ch/searchpub The IEC on-li
6、ne 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 Published:www.iec.ch/online_news/justpub Stay up to date on all new IEC publications.Just Published details twic
7、e 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 containing more than 20 000 terms and definitions in English and French,with equivalent terms in additional languages
8、.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 need further assistance,please visit the Customer Service Centre FAQ or contact us:Email:csciec.ch Tel.:+41 22 919 02
9、11 Fax:+41 22 919 03 00 LICENSED TO MECON Limited.-RANCHI/BANGALOREFOR INTERNAL USE AT THIS LOCATION ONLY,SUPPLIED BY BOOK SUPPLY BUREAU.IEC 61158-6-8Edition 1.0 2007-12INTERNATIONAL STANDARD Industrial communication networks Fieldbus specifications Part 6-8:Application layer protocol specification
10、Type 8 elements INTERNATIONAL ELECTROTECHNICAL COMMISSION XDICS 35.100.70;25.040.40 PRICE CODEISBN 2-8318-9478-6LICENSED TO MECON Limited.-RANCHI/BANGALOREFOR INTERNAL USE AT THIS LOCATION ONLY,SUPPLIED BY BOOK SUPPLY BUREAU.2 61158-6-8 IEC:2007(E)CONTENTS FOREWORD.6 INTRODUCTION.8 1 Scope.9 1.1 Gen
11、eral.9 1.2 Specifications.9 1.3 Conformance.9 2 Normative references.10 3 Terms and definitions.10 3.1 ISO/IEC 7498-1 terms.10 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
12、and definitions.12 4 FAL syntax description.13 4.1 FAL-AR PDU abstract syntax.13 4.2 Abstract syntax of PDUBody.16 4.3 Type definitions for ASEs.20 4.4 Object definitions.23 4.5 Abstract syntax of Data types.25 5 Transfer syntax.26 5.1 Peripherals encoding rules(PER).26 5.2 Encoding of APDU types.26
13、 5.3 Encoding of tagged type values.28 5.4 Encoding of simple values.29 6 Protocol machine overview.35 7 AP-context state machine.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
14、).51 8.1 Summary.51 8.2 Primitive definitions.51 8.3 FSPM state tables.53 9 Application relationship protocol machines(ARPMs).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 trans
15、parent mode(QUB-TM)ARPM.86 10 DLL mapping protocol machine.90 10.1 Overview.90 10.2 Primitive definitions.91 10.3 DMPM state machine.94 Bibliography.101 LICENSED TO MECON Limited.-RANCHI/BANGALOREFOR INTERNAL USE AT THIS LOCATION ONLY,SUPPLIED BY BOOK SUPPLY BUREAU.61158-6-8 IEC:2007(E)3 Figure 1 AP
16、DU overview.26 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 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.6.29 Figure 12 ID-info for tag 0.14,length