1、Electricity metering Data exchange for meter reading,tariff andload control Part 21:Direct local data exchangeReference numberIEC 62056-21:2002(E)INTERNATIONALSTANDARDIEC62056-21First edition2002-05This English-language version is derived from the originalbilingual publication by leaving out all Fre
2、nch-languagepages.Missing page numbers correspond to the French-language pages.Publication numbering As from 1 January 1997 all IEC publications are issued with a designation in the 60000 series.For example,IEC 34-1 is now referred to as IEC 60034-1.Consolidated editions The IEC is now publishing co
3、nsolidated versions of its publications.For example,edition numbers 1.0,1.1 and 1.2 refer,respectively,to the base publication,the base publication incorporating amendment 1 and the base publication incorporating amendments 1 and 2.Further information on IEC publications The technical content of IEC
4、 publications is kept under constant review by the IEC,thus ensuring that the content reflects current technology.Information relating to this publication,including its validity,is available in the IEC Catalogue of publications(see below)in addition to new editions,amendments and corrigenda.Informat
5、ion on the subjects under consideration and work in progress undertaken by the technical committee which has prepared this publication,as well as the list of publications issued,is also available from the following:IEC Web Site(www.iec.ch)Catalogue of IEC publications The on-line catalogue on the IE
6、C web site(www.iec.ch/searchpub)enables you to search by a variety of criteria including text searches,technical committees and date of publication.On-line information is also available on recently issued publications,withdrawn and replaced publications,as well as corrigenda.IEC Just Published This
7、summary of recently issued publications(www.iec.ch/online_news/justpub)is also available by email.Please contact the Customer Service Centre(see below)for further information.Customer Service Centre If you have any questions regarding this publication or need further assistance,please contact the Cu
8、stomer Service Centre:Email:custserviec.ch Tel:+41 22 919 02 11 Fax:+41 22 919 03 00 Electricity metering Data exchange for meter reading,tariff andload control Part 21:Direct local data exchangeFor price,see current catalogue IEC 2002 Copyright-all rights reservedNo part of this publication may be
9、reproduced or utilized in any form or by any means,electronic or mechanical,including photocopying and microfilm,without permission in writing from the publisher.International Electrotechnical Commission,3,rue de Varemb,PO Box 131,CH-1211 Geneva 20,SwitzerlandTelephone:+41 22 919 02 11 Telefax:+41 2
10、2 919 03 00 E-mail:inmailiec.ch Web:www.iec.chINTERNATIONALSTANDARDIEC62056-21First edition2002-05XBCommission Electrotechnique InternationaleInternational Electrotechnical Commission PRICE CODE62056-21 IEC:2002 3 CONTENTSFOREWORD.9INTRODUCTION.131Scope.152Normative references.153Terms,definitions a
11、nd abbreviations.173.1Terms and definitions.173.2Abbreviations.194Physical properties.194.1Electrical current loop interface.194.2Electrical interface V.24/V.28.234.3Optical interface.254.3.1Construction of the reading head.254.3.2Characteristic data of the magnet.254.3.3Arrangement of components in
12、 the tariff device.294.3.4Alignment.294.3.5Optical characteristics.295Character transmission.335.1Type of transmission.335.2Transmission speed.335.3Signal quality.335.4Character format.335.5Character code.335.6Character security.336Data transmission protocol.356.1General.356.2Calculation of the bloc
13、k check character.356.3Message definitions.376.3.1Request message.376.3.2Identification message.376.3.3Acknowledgement/option select message.376.3.4Data message(except in programming mode).376.3.5Acknowledgement message.376.3.6Repeat-request message.376.3.7Programming command message.396.3.8Programm
14、ing command message using optional partial blocks.396.3.9Data message(programming mode).396.3.10 Data message(programming mode)using optional partial blocks.396.3.11 Error message(programming mode).396.3.12 Break message(programming mode).396.3.13 Block message(other protocols).396.3.14 Explanations
15、 of message contents.4162056-21 IEC:2002 5 6.4Communication modes.476.4.1Protocol mode A.476.4.2Protocol mode B.496.4.3Protocol mode C.536.4.4Protocol mode D.616.4.5Protocol mode E(other protocols).616.4.6Entering programming mode(unknown tariff device).636.4.7Partial block communication(optional,on
16、ly in protocol mode C).656.5Syntax diagrams.716.5.1Readout mode.736.5.2Programming mode.756.6Data set structure.77Annex A(normative)Flow chart for direct local data exchange protocol,protocol mode C.81Annex B(normative)Wake-up methods for battery-operated tariff devices.85Annex C(informative)Formatted codes.89Annex D(informative)Levels of access system security.127Annex E(normative)METERING HDLC protocol using protocol mode E for direct localdata exchange.129Bibliography.137Index.139Figure 1 Cir