1、 IEC 61158-6-7Edition 1.0 2007-12INTERNATIONAL STANDARD Industrial communication networks Fieldbus specifications Part 6-7:Application layer protocol specification Type 7 elements IEC 61158-6-7: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-7Edition 1.0 2007-12INTERNATIONAL STANDARD Industrial communication networks Fieldbus specifications Part 6-7:Application layer protocol specification
10、Type 7 elements INTERNATIONAL ELECTROTECHNICAL COMMISSION XGICS 35.100.70;25.040.40 PRICE CODEISBN 2-8318-9484-0LICENSED TO MECON Limited.-RANCHI/BANGALOREFOR INTERNAL USE AT THIS LOCATION ONLY,SUPPLIED BY BOOK SUPPLY BUREAU.2 61158-6-7 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,definitions,symbols,abbreviations and conventions.10 3.1 Terms and definitions from other ISO/IEC standards.10 3.2 Terms and definitions from IEC 61158-5-7.11 3.3 Additional terms and definitions.12 3.4 Abbreviations and
12、 symbols.16 3.5 Conventions.16 3.6 Conventions used in state machines.16 4 Abstract syntax of data type.17 4.1 Data abstract syntax specification.17 4.2 FAL PDU abstract syntax.21 5 Transfer syntaxes.22 5.1 Compact encoding.22 5.2 Data type encoding.23 6 Structure of protocol machines.82 7 AP-contex
13、t state machine.83 8 Sub-MMS FAL service protocol machine(FSPM).83 8.1 General.83 8.2 Projection of the SUB-MMS PDUs on the MCS services.83 8.3 Projection of the SUB-MMS abort service on the MCS services.83 8.4 Construction of a SUB-MMS-PDU from a service primitive.84 8.5 Extraction of a valid servi
14、ce primitive from a SUB-MMS-PDU.84 8.6 Negotiation of an abstract syntax and a transfer syntax commonly called presentation-context.84 8.7 Identification of the SUB-MMS core abstract syntax.86 8.8 Identification of the application context name.87 8.9 Identification of the ASE of the core abstract sy
15、ntax and the transfer syntax.87 9 Association relationship protocol machine(ARPM).87 10 DLL mapping protocol machine(DMPM).88 10.1 MPS ARPM and DMPM.88 10.2 MCS ARPM and DMPM.99 11 Protocol options.135 11.1 Conformances classes.135 Bibliography.155 Figure 1 Example of an evaluation net.17 Figure 2 E
16、ncoding of a CompactValue.22 Figure 3 Organisation of the bits and octets within a PDU.24 LICENSED TO MECON Limited.-RANCHI/BANGALOREFOR INTERNAL USE AT THIS LOCATION ONLY,SUPPLIED BY BOOK SUPPLY BUREAU.61158-6-7 IEC:2007(E)3 Figure 4 Encoding of a Bitstring.27 Figure 5 Encoding of a Floating point value.28 Figure 6 Encoding of a structure.29 Figure 7 Encoding of a Boolean array.30 Figure 8 Representation of a MCS PDU.36 Figure 9 Relationships among Protocol Machines and Adjacent Layers.82 Figur