1、 IEC 62055-52Edition 1.0 2008-05INTERNATIONAL STANDARD Electricity metering Payment systems Part 52:Standard transfer specification(STS)Physical layer protocol for a two-way virtual token carrier for direct local connection IEC 62055-52:2008(E)LICENSED TO MECON Limited.-RANCHI/BANGALOREFOR INTERNAL
2、USE AT THIS LOCATION ONLY,SUPPLIED BY BOOK SUPPLY BUREAU.THIS PUBLICATION IS COPYRIGHT PROTECTED Copyright 2008 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,includi
3、ng 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 publication,please contact the address below or you
4、r 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 organization that prepares and publishes Internationa
5、l 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 might have been published.?Catalogue of IEC publ
6、ications: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/online_news/justpub Stay up to date on all new I
7、EC 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 terms and definitions in English and French,wi
8、th 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,please visit the Customer Service Centre FAQ or con
9、tact us:Email:csciec.ch Tel.:+41 22 919 02 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 62055-52Edition 1.0 2008-05INTERNATIONAL STANDARD Electricity metering Payment systems Part 52:Standard transfer spe
10、cification(STS)Physical layer protocol for a two-way virtual token carrier for direct local connection INTERNATIONAL ELECTROTECHNICAL COMMISSION XAICS 35.100.20;17.220.20;91.140.50 PRICE CODEISBN 2-8318-9747-5 LICENSED TO MECON Limited.-RANCHI/BANGALOREFOR INTERNAL USE AT THIS LOCATION ONLY,SUPPLIED
11、 BY BOOK SUPPLY BUREAU.2 62055-52 IEC:2008(E)CONTENTS FOREWORD.5 INTRODUCTION.7 1 Scope.9 2 Normative references.9 3 Terms,definitions and abbreviations.10 3.1 Terms and definitions.10 3.2 Abbreviations.10 3.3 Notation and terminology.11 3.4 Numbering conventions.12 4 STS protocol reference model.12
12、 5 POSToTokenCarrierInterface:Physical layer protocol.13 6 TokenCarrierToMeterInterface:Physical layer protocol.13 6.1 TCDU.13 6.1.1 General.13 6.1.2 TokenData.13 6.1.3 AuthenticationResult.14 6.1.4 ValidationResult.14 6.1.5 TokenResult.14 6.2 Physical connection and signal interfaces.14 6.2.1 Inter
13、face options.14 6.2.2 Option 1:Optical interface.14 6.2.3 Option 2:Current loop interface.14 6.2.4 Option 3:Voltage interface.14 6.3 Character transmission.14 6.3.1 Transmission type.14 6.3.2 Transmission format.15 6.3.3 Transmission speed.15 6.3.4 Character encoding.15 6.4 Message syntax definition
14、s.17 6.4.1 General.17 6.4.2 IDRequest message.17 6.4.3 IDResponse message.17 6.4.4 ReadCommand message.17 6.4.5 WriteCommand message.18 6.4.6 BreakCommand message.18 6.4.7 ACK:Acknowledge message.18 6.4.8 NAK:NegativeAcknowledge message.18 6.4.9 Data message.18 6.5 Message field definitions.19 6.6 P
15、hysical layer protocol functions.21 6.6.1 Server protocol flow diagram.21 6.6.2 IDRequestProcessing function.22 6.6.3 ReadCommandProcessing function.23 6.6.4 WriteCommandProcessing function.24 6.6.5 BreakCommandProcessing function.25 LICENSED TO MECON Limited.-RANCHI/BANGALOREFOR INTERNAL USE AT THI
16、S LOCATION ONLY,SUPPLIED BY BOOK SUPPLY BUREAU.62055-52 IEC:2008(E)3 6.6.6 Undefined command processing.26 6.6.7 TokenLockout function.27 6.7 Server timing requirements.27 6.7.1 Inter-message and inter-character timing.27 6.7.2 Transmission error timing.28 6.7.3 Message execution timing.29 6.8 RegisterTable.30 6.8.1 RegisterTable interface class.30 6.8.2 Register interface class.31 6.8.3 Predefined Registers and registerID values.32 6.9 Companion specifications and RegisterTable instantiations.4