1、 IEC 61158-6-21Edition 1.0 2010-08INTERNATIONAL STANDARD Industrial communication networks Fieldbus specifications Part 6-21:Application layer protocol specification Type 21 elements IEC 61158-6-21:2010(E)Copyrighted material licensed to BR Demo by Thomson Reuters(Scientific),Inc.,downloaded on Nov-
2、28-2014 by James Madison.No further reproduction or distribution is permitted.Uncontrolled when printed.THIS PUBLICATION IS COPYRIGHT PROTECTED Copyright 2010 IEC,Geneva,Switzerland All rights reserved.Unless otherwise specified,no part of this publication may be reproduced or utilized in any form o
3、r 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 have an enquiry about obtaining additional rights to this publ
4、ication,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 organi
5、zation 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 amendment m
6、ight 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 Published:www.iec.ch/o
7、nline_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 containing more than 20 000
8、 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 need further assistance,plea
9、se visit the Customer Service Centre FAQ or contact us:Email:csciec.ch Tel.:+41 22 919 02 11 Fax:+41 22 919 03 00 Copyrighted material licensed to BR Demo by Thomson Reuters(Scientific),Inc.,downloaded on Nov-28-2014 by James Madison.No further reproduction or distribution is permitted.Uncontrolled
10、when printed.IEC 61158-6-21Edition 1.0 2010-08INTERNATIONAL STANDARD Industrial communication networks Fieldbus specifications Part 6-21:Application layer protocol specification Type 21 elements INTERNATIONAL ELECTROTECHNICAL COMMISSION XAICS 25.04.40;35.100.70;35.110 PRICE CODEISBN 978-2-88912-135-
11、9 Registered trademark of the International Electrotechnical Commission Copyrighted material licensed to BR Demo by Thomson Reuters(Scientific),Inc.,downloaded on Nov-28-2014 by James Madison.No further reproduction or distribution is permitted.Uncontrolled when printed.2 61158-6-21 IEC:2010(E)CONTE
12、NTS FOREWORD.5 INTRODUCTION.7 1 Scope.8 1.1 General.8 1.2 Overview.8 1.3 Specifications.9 1.4 Conformance.9 2 Normative references.9 3 Terms,definitions,symbols,abbreviations,and conventions.10 3.1 Terms and definitions from other ISO/IEC standards.10 3.2 Other terms and definitions.10 3.3 Abbreviat
13、ions and symbols.16 3.4 Conventions.17 4 FAL syntax description.19 4.1 General.19 4.2 FAL-AR PDU abstract syntax.19 4.3 Abstract syntax of PDU body.20 4.4 Protocol data units(PDUs)for application service elements(ASEs).21 5 Transfer Syntax.24 5.1 Overview of encoding.24 5.2 APDU header encoding.25 5
14、.3 APDU body encoding.26 5.4 Encoding of Data types.26 6 FAL protocol state machines.30 7 AP context state machine.32 8 FAL service protocol machine.32 8.1 General.32 8.2 Common parameters of the primitives.32 8.3 AP ASE protocol machine.32 8.4 Service data object ASE protocol machine(SDOM).36 8.5 P
15、rocess data object ASE protocol machine(PDOM).40 9 AR protocol machine.41 9.1 General.41 9.2 Point-to-point user-triggered confirmed client/server AREP(PTC-AR)ARPM.42 9.3 Multipoint network-scheduled unconfirmed publisher/subscriber AREP(MSU-AR)ARPM.44 9.4 Multipoint user-triggered unconfirmed publi
16、sher/subscriber AREP(MTU-AR)ARPM.47 10 DLL mapping protocol machine.49 10.1 Primitive definitions.49 10.2 DMPM state machine.50 Bibliography.51 Figure 1 Common structure of specific fields.17 Figure 2 APDU overview.25 Copyrighted material licensed to BR Demo by Thomson Reuters(Scientific),Inc.,downloaded on Nov-28-2014 by James Madison.No further reproduction or distribution is permitted.Uncontrolled when printed.61158-6-21 IEC:2010(E)3 Figure 3 Type field.25 Figure 4 Encoding of Time of Day