1、Electricity metering Data exchange for meter reading, tariff and load control Part 2 1 : Direct local data exchange The European Standard EN 62056-21:2002 has the status ofa British Standard ICs 17.220.20; 35.100; 91.140.50 BS EN 62056-2 1 12002 NO COPYING WITHOUT BSI PERMISSION EXCEPT AS PERMITTED
2、BY COPYRTCWT 1 Aw BS EN 62056-21 12002 Amd. No. National foreword This British Standard is the official English language version of EN 62056-21:2002. It is identical with IEC 62056-21:2002. It supersedes BS EN 61107:1996 which is withdrawn. The UKparticipation in its preparation was entrusted to Tec
3、hnical Committee PEL/13, Electricity meters, which has the responsibility to: Date Comments This British Standard, having been prepared under the direction of the Electrotechnical Sector Policy and Strategy Committee, was published under the authority of the Standards Policy and Strategy Committee o
4、n 17 July 2002 - - aid enquirers to understand the text; present to the responsible internationalEuropean committee any enquiries on the interpretation, or proposals for change, and keep the UK interests informed; monitor related international and European developments and promulgate them in the UK.
5、 - A list of organizations represented on this committee can be obtained on request to its secretary. From 1 January 1997, all IEC publications have the number 60000 added to the old number. For instance, IEC 27-1 has been renumbered as IEC 60027-1. For a period of time during the change over fi-om
6、one numbering system to the other, publications may contain identifiers from both systems. Cros s-r e fer en ces The British Standards which implement international or European publications referred to in this document may be found in the BSI Catalogue under the section entitled “International Stand
7、ards Correspondence Index”, or by using the “Search”faci1ity of the BSI Electronic Catalogue or of British Standards Online. This publication does not purport to include all the necessary provisions of a contract. Users are responsible for its correct application. Compliance with a British Standard
8、does not of itself confer immunity from legal obligations. Summary of pages This document comprises a fi-ont cover, an inside front cover, the EN title page, pages 2 to 71, and a back cover. The BSI copyright date displayed in this document indicates when the document was last issued. OBSI 17 July 2
9、002 ISBN O 580 39994 X EUROPEAN STANDARD EN 62056-21 NORME EUROP .ENNE EUROPfISCHE NORM June 2002 ICs 17.220.20;35.100;91.140.50 Supersedes EN 61107:1996 English version Electricity metering - Data exchange for meter reading, tariff and load control Part 21 : Direct local data exchange (I EC 62056-2
10、1 12002) Equipements de mesure de Inergie lectrique - Echange des donnes pour la lecture des compteurs, le contre des tarifs et de la charge directes en local Messung der elektrischen Energie - Phhierstand s, bertragung, Tarif- und Laststeuerung Teil 21: Daten, bertragung far festen und mobilen Ansc
11、hluss Partie 21 : Echange des donnes (CE1 62056-21 12002) (IEC 62056-21 12002) This European Standard was approved by CENELEC on 2002-05-01. CENELEC members are bound to comply with the CENKENELEC Internal Regulations which stipulate the conditions for giving this European Standard the status of a n
12、ational standard without any alteration. Up-to-date lists and bibliographical references concerning such national standards may be obtained on application to the Central Secretariat or to any CENELEC member. This European Standard exists in three official versions (English, French, German). A versio
13、n in any other language made by translation under the responsibility of a CENELEC member into its own language and notified to the Central Secretariat has the same status as the oficial versions. CENELEC members are the national electrotechnical committees of Austria, Belgium, Czech Republic, Denmar
14、k, Finland, France, Germany, Greece, Hungary, Iceland, Ireland, Italy, Luxembourg, Malta, Netherlands, Norway, Portugal, Slovakia, Spain, Sweden, Switzerland and United Kingdom. CENELEC European Committee for Electrotechnical Standardization Comit Europen de Normalisation Electrotechnique EuropYkche
15、s Komitee f, r Elektrotechnische Normung Central Secretariat: rue de Stassart 35, B - 1050 Brussels O 2002 CENELEC - All rights of exploitation in any form and by any means reserved worldwide for CENELEC members Ref. No. EN 62056-21:2002 E Page 2 EN 62056-212002 Foreword The text of document 13/1271
16、/FDIS, future edition 1 of IEC 62056-21, prepared by IEC TC 13, Equipment for electrical energy measurement and load control, was submitted to the IEC-CENELEC parallel vote and was approved by CENELEC as EN 62056-21 on 2001-05-01. This European Standard supersedes EN 61 107:1996. The following dates
17、 were fixed: latest date by which the EN has to be implemented at national level by publication of an identical national standard or by endorsement latest date by which the national standards conflicting with the EN have to be withdrawn (dop) 2003-02-01 (dow) 2005-05-01 The International Electrotech
18、nical Commission (IEC) and CENELEC draw attention to the fact that it is claimed that compliance with this International Standard / European Standard may involve the use of a maintenance service concerning the stack of protocols on which the present standard IEC 62056-21 / EN 62056-21 is based. The
19、IEC and CENELEC take no position concerning the evidence, validity and scope of this maintenance service. The providers of the maintenance service have assured the IEC that they are willing to provide services under reasonable and non-discriminatory terms and conditions with applicants throughout th
20、e world. In this respect, the statements of the providers of the maintenance service are registered with the IEC. Information may be obtained : Manufacturers identification, item 12) of 6.3.2: from The FLAG Association, UK Enhanced identification character, item 24) of 6.3.2: from DLMS 1) User Asso
21、ciation Geneva / Switzerland www.dlms.ch Annexes designated “normative“ are part of the body of the standard. Annexes designated “informative“ are given for information only. In this standard, annexes A, B, E and ZA are normative and annexes C and D are informative. Annex ZA has been added by CENELE
22、C. En dorse ment not i ce The text of the International Standard IEC 62056-21:2002 was approved by CENELEC as a European Standard without any modification. In the official version, for Bibliography, the following notes have to be added for the standards indicated : IEC 62056-61 NOTE Harmonized as EN
23、 62056-61:2002 (not modified) IEC 62056-62 NOTE Harmonized as EN 62056-62:2002 (not modified) 1) Device Language Message Specification O 17 July 2002 Page 3 EN 62056-212002 CONTENTS INTRODUCTION . 6 1 Scope . 2 Normative references . 3 Terms, definitions and abbreviations 3.1 Terms and definitions .
24、 . 8 3.2 Abbreviations . 9 4 Physical properties . 9 4.1 Electrical current loop interfac . 9 4.2 Electrical interface V.24N.28 . II 4.3 Optical interface . . 12 4.3.1 Construction of the re . 12 4.3.2 Characteristic data of . 12 4.3.3 Arrangement of components in the tariff device 14 4.3.4 Alignmen
25、t . 14 4.3.5 Optical characteristics. 14 5 Character transmission 16 5.1 Type of transmission 16 5.2 Transmission speed . 16 5.3 Signal quality . 16 5.4 Character format . 16 5.5 Character code 16 5.6 Character security . 16 6 Data transmission protocol 17 6.1 General . 17 6.2 Calculation of the blo
26、ck check character 17 6.3 Message definitions . 18 6.3.1 Request message 18 6.3.2 Identification message . 18 . 6.3.3 18 6.3.4 Data message (except 18 Ac k now1 edge m en t/o pt i 6.3.5 Acknowledgement message . 18 6.3.6 Repeat-request message . 18 6.3.7 Programming command message 19 6.3.9 Data mes
27、sage (programming mode) 19 Data message (programming mode) using optional partial blocks . 19 6.3.1 1 Error message (programming mode) 19 6.3.12 Break message (programming mode 19 6.3.13 Block message (other protocols) 19 6.3.14 Explanations of message contents . 20 6.3.8 Programming comman rtial bl
28、ocks . 19 6.3.10 O 17 July 2002 Page 4 EN 62056-212002 6.4 Communication modes 23 6.4.1 Protocol mode A 23 6.4.2 Protocol mode B 24 6.4.3 Protocol mode C 26 6.4.4 Protocol mode D 30 6.4.5 Protocol mode E (other protocols) 30 6.4.6 Entering programming mode (unknown tariff device) 31 6.4.7 Partial bl
29、ock communication (optional, only in protocol mode C) . 32 6.5 Syntax diagrams 35 6.5.1 Readout mode . 36 6.5.2 Programming mode . 37 Data set structure 38 6.6 Annex A (normative) Flow chart for direct local data exchange protocol. protocol mode C . 40 Annex B (normative) Wake-up methods for battery
30、-operated tariff devices 42 Annex C (informative) Formatted codes 44 Annex D (informative) Levels of access . system security 63 Annex E (normative) METERING HDLC protocol using protocol mode E for direct local data exchange 64 Annex ZA (normative) Normative references to international publications
31、with their corresponding European publications 70 Bibliography 68 Index 69 Figure 1 . Circuit diagrams . 11 Figure 2 . Construction of the reading head 12 Figure 3 . Characteristic data of the magnet . 13 Figure 4 . View into optical port 14 Figure 5 . Test arrangement for the transmitter . 15 Figur
32、e 6 . Test arrangement for the receiver . 15 Figure 7 . Setting up a block check character (example according to ISO/IEC 11 55) 17 Figure 8 . Diagram protocol mode A 23 Figure 9 . Transmission protocol for protocol mode A . 24 Figure 10 . Diagram protocol mode B . 25 Figure 11 . Transmission protoco
33、l for protocol mode B 25 Figure 12 . Diagram protocol mode C . 27 Figure 13 . Transmission protocol for protocol mode C giving data readout without acknowledgement from the HHU . 28 Figure 14 . Transmission protocol for protocol mode C giving data readout with confirmation of the suggested baud rate
34、 28 Figure 15 . Transmission protocol for protocol mode C giving data readout with rejection of the suggested baud rate 29 Figure 16 . Transmission protocol for protocol mode C . Switching to programming mode with acceptance of the suggested baud rate 29 O 17 July 2002 Page 5 EN 62056-212002 Figure
35、17 . Transmission protocol for protocol mode C . Switching to programming mode with rejection of the suggested baud rate 29 Figure 18 . Diagram protocol mode D . 30 Figure 19 . Transmission protocol for protocol mode D . 30 Figure 20 . Diagram for entering programming mode 31 Figure 21 . Example of
36、a partial block unformatted read 33 Figure 22 . Example of a partial block formatted write . 34 Figure 23 . Example of a partial block formatted write (with errors) . 35 Figure 24 . Syntax diagrams . readout mode 36 37 Figure 26 . Syntax diagram . programming mode . answer 38 Figure 27 . Data set st
37、ructure . 38 Figure A.l . Flow chart for direct local data exchange protocol, protocol mode C . 40 Figure B.l . The start sequence for battery-operated devices 42 Figure B.2 . Diagram for the start sequence of battery-operated devices by fast wake-up mode 43 Figure C.l . Example of channel types 45
38、Figure C.2 . Register coding diagram 48 55 Figure C.4 -Vector diagrams for quadrants I to IV 62 Figure E.l . Entering protocol mode E (HDLC) 64 Figure E.2 . Flow chart and switchover to METERING HDLC in protocol mode E . 65 Figure E.3 . Physical layer primitives 66 Figure E.4 . Physical layer primit
39、ives, simplified example with one mode change only . 66 Figure 25 . Syntax diagrams . programming Figure C.3 . Bit assignment for group data Table 1 . Electrical interface . 9 Table 2 . Read . Write and Execute commands . 32 O 17 July 2002 Page 6 EN 62056-212002 INTRODUCTION IEC TC 13 has the task o
40、f preparing standards for data exchange for the purposes of meter reading, tariff and load control, and consumer information using various alternative communication media, with reference to IS0 and ITU standards. Meter data exchange can be local or remote. This part of IEC 62056 is restricted to loc
41、al data exchange, whereas remote data exchange is covered by other standards of the IEC 62056 series. O 17 July 2002 Page 7 EN 62056-212002 ELECTRICITY METERING - DATA EXCHANGE FOR METER READING, TARIFF AND LOAD CONTROL - Part 21: Direct local data exchange 1 Scope This part of IEC 62056 describes h
42、ardware and protocol specifications for local meter data exchange. In such systems, a hand-held unit (HHU) or a unit with equivalent functions is connected to a tariff device or a group of devices. The connection can be permanent or disconnectable using an optical or electrical coupling. An electric
43、al interface is proposed for use with a permanent connection, or when more than one tariff device needs to be read at one site. The optical coupler should be easily disconnectable to enable data collection via an HHU. The protocol permits reading and programming of tariff devices. It is designed to
44、be particularly suitable for the environment of electricity metering, especially as regards electrical isolation and data security. While the protocol is well-defined, its use and application are left to the user. This standard is based on the reference model for communication in open systems. It is
45、 enhanced by further elements such as an optical interface, protocol controlled baud rate switchover, data transmission without acknowledgement of receipt. The protocol offers several modes for implementation in the tariff device. The HHU or equivalent unit acts as a master while the tariff device a
46、cts as a slave in protocol modes A to D. In protocol mode E, the HHU acts as a client and the tariff device acts as a server. As several systems are in practical use already, particular care was taken to maintain compatibility with existing systems and/or system components and their relevant protoco
47、ls. 2 Normative references The following normative documents contain provisions which, through reference in this text, constitute provisions of this International Standard. At the time of publication, the editions indicated were valid. All normative documents are subject to revision, and parties to
48、agreements based on this International Standard are encouraged to investigate the possibility of applying the most recent editions of the normative documents indicated below. Members of IEC and IS0 maintain registers of currently valid International Standards. IEC 60050-300:2001, Infernafional Elecf
49、rofechnical Vocabulary (IEV) - Elecfrical and elecfronic measuremenfs and measuring insfrumenfs - Parf 31 1: General ferms relafing fo measuremenfs - Parf 312: General ferms relafing fo elecfrical measuremenfs - Parf 313: Types of elecfrical measuring insfrumenfs - Parf 314: Specific ferms according fo fhe type of insfrumenf O 17 July 2002 Page 8 EN 62056-212002 IEC 62051 :1999, Elecfricify mefering - Glossary of ferms IEC 62056-42:2002, Elecfricify mefering - Dafa exchange for mefer reading, fariff and load confrol - Parf 42: Physical layer servic