1、 IEC 62056-42 Edition 1.0 2002-02 INTERNATIONAL STANDARD NORME INTERNATIONALE Electricity metering Data exchange for meter reading, tariff and load control Part 42: Physical layer services and procedures for connection-oriented asynchronous data exchange Equipements de mesure de lnergie lectrique Ec
2、hange des donnes pour la lecture des compteurs, le contrle des tarifs et de la charge Partie 42: Services et procdures de la couche physique pour lchange de donnes laide de connexion asynchrone IEC 62056-42:2002 colour inside THIS PUBLICATION IS COPYRIGHT PROTECTED Copyright 2002 IEC, Geneva, Switze
3、rland 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 permission in writing from either IEC or IECs member National Committee in the country
4、 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 further information. Droits de reproduction rservs. Sauf indication contraire, a
5、ucune partie de cette publication ne peut tre reproduite ni utilise sous quelque forme que ce soit et par aucun procd, lectronique ou mcanique, y compris la photocopie et les microfilms, sans laccord crit de la CEI ou du Comit national de la CEI du pays du demandeur. Si vous avez des questions sur l
6、e copyright de la CEI ou si vous dsirez obtenir des droits supplmentaires sur cette publication, utilisez les coordonnes ci-aprs ou contactez le Comit national de la CEI de votre pays de rsidence. IEC Central Office Tel.: +41 22 919 02 11 3, rue de Varemb Fax: +41 22 919 03 00 CH-1211 Geneva 20 info
7、iec.ch Switzerland 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 and related technologies. About IEC publications The technical content of IEC publicat
8、ions 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. Useful links: IEC publications search - www.iec.ch/searchpub The advanced search enables you to find IEC publications by a variety of criteria (re
9、ference number, text, technical committee,). It also gives information on projects, replaced and withdrawn publications. IEC Just Published - webstore.iec.ch/justpublished Stay up to date on all new IEC publications. Just Published details all new publications released. Available on-line and also on
10、ce a month by email. Electropedia - www.electropedia.org The worlds leading online dictionary of electronic and electrical terms containing more than 30 000 terms and definitions in English and French, with equivalent terms in additional languages. Also known as the International Electrotechnical Vo
11、cabulary (IEV) on-line. Customer Service Centre - webstore.iec.ch/csc If you wish to give us your feedback on this publication or need further assistance, please contact the Customer Service Centre: csciec.ch. A propos de la CEI La Commission Electrotechnique Internationale (CEI) est la premire orga
12、nisation mondiale qui labore et publie des Normes internationales pour tout ce qui a trait llectricit, llectronique et aux technologies apparentes. A propos des publications CEI Le contenu technique des publications de la CEI est constamment revu. Veuillez vous assurer que vous possdez ldition la pl
13、us rcente, un corrigendum ou amendement peut avoir t publi. Liens utiles: Recherche de publications CEI - www.iec.ch/searchpub La recherche avance vous permet de trouver des publications CEI en utilisant diffrents critres (numro de rfrence, texte, comit dtudes,). Elle donne aussi des informations su
14、r les projets et les publications remplaces ou retires. Just Published CEI - webstore.iec.ch/justpublished Restez inform sur les nouvelles publications de la CEI. Just Published dtaille les nouvelles publications parues. Disponible en ligne et aussi une fois par mois par email. Electropedia - www.el
15、ectropedia.org Le premier dictionnaire en ligne au monde de termes lectroniques et lectriques. Il contient plus de 30 000 termes et dfinitions en anglais et en franais, ainsi que les termes quivalents dans les langues additionnelles. Egalement appel Vocabulaire Electrotechnique International (VEI) e
16、n ligne. Service Clients - webstore.iec.ch/csc Si vous dsirez nous donner des commentaires sur cette publication ou si vous avez des questions contactez-nous: csciec.ch. IEC 62056-42 Edition 1.0 2002-02 INTERNATIONAL STANDARD NORME INTERNATIONALE Electricity metering Data exchange for meter reading,
17、 tariff and load control Part 42: Physical layer services and procedures for connection-oriented asynchronous data exchange Equipements de mesure de lnergie lectrique Echange des donnes pour la lecture des compteurs, le contrle des tarifs et de la charge Partie 42: Services et procdures de la couche
18、 physique pour lchange de donnes laide de connexion asynchrone INTERNATIONAL ELECTROTECHNICAL COMMISSION COMMISSION ELECTROTECHNIQUE INTERNATIONALE U ICS 35.100.10; 91.140.50 PRICE CODE CODE PRIX ISBN 978-2-83220-724-6 Registered trademark of the International Electrotechnical Commission Marque dpos
19、e de la Commission Electrotechnique Internationale Warning! Make sure that you obtained this publication from an authorized distributor. Attention! Veuillez vous assurer que vous avez obtenu cette publication via un distributeur agr. colour inside 2 62056-42 IEC:2002 CONTENTS FOREWORD 4 1 Scope . 5
20、2 Normative references . 5 3 Terms, definitions and abbreviations 6 4 Overview 7 5 Service specification. 8 5.1 List of services 8 5.1.1 Connection establishment/release related services 8 5.1.2 Data communication services 8 5.1.3 Layer management services 8 5.2 Use of the physical layer services .
21、10 5.3 Service definitions . 10 5.3.1 PH-CONNECT.request 10 5.3.2 PH-CONNECT.indication . 11 5.3.3 PH-CONNECT.confirm 11 5.3.4 PH-ABORT.request . 12 5.3.5 PH-ABORT.confirm 12 5.3.6 PH-ABORT.indication 12 5.3.7 PH-DATA.request 13 5.3.8 PH-DATA.indication . 13 6 Protocol specification . 14 6.1 Physica
22、l layer protocol data unit 14 6.2 Transmission order and characteristics . 14 6.3 Physical layer operation description of the procedures . 14 6.3.1 General . 14 6.3.2 Setting up a physical connection . 15 6.3.3 The identification service . 16 6.3.4 Data communications 20 6.3.5 Disconnection of an ex
23、isting physical connection . 20 Annex A (informative) An example: PH service primitives and Hayes commands 21 Annex B (informative) Data model and protocol 26 Bibliography 27 Figure 1 Typical PSTN configuration 7 Figure 2 The location of the physical layer . 8 Figure 3 Protocol layer services of the
24、 COSEM 3-layer connection oriented profile 10 Figure 4 MSC for physical connection establishment . 16 Figure 5 MSC for IDENTIFY.request/.response message exchange . 18 Figure 6 Handling the identification service at the COSEM server side. 18 Figure 7 Partial state machine for the client side physica
25、l layer . 19 Figure A.1 MSC for physical connection request 21 Figure A.2 Physical connection establishment at the CALLING station . 22 Figure A.3 MSC for physical connection establishment 23 Figure A.4 Data exchange between the calling and called stations . 24 Figure A.5 MSC for a physical disconne
26、ction . 25 Figure B.1 The three-step approach of COSEM . 26 62056-42 IEC:2002 3 INTERNATIONAL ELECTROTECHNICAL COMMISSION _ ELECTRICITY METERING DATA EXCHANGE FOR METER READING, TARIFF AND LOAD CONTROL Part 42: Physical layer services and procedures for connection-oriented asynchronous data exchange
27、 FOREWORD 1) The IEC (International Electrotechnical Commission) is a worldwide organization for standardization comprising all national electrotechnical committees (IEC National Committees). The object of the IEC is to promote international co-operation on all questions concerning standardization i
28、n the electrical and electronic fields. To this end and in addition to other activities, the IEC publishes International Standards. Their preparation is entrusted to technical committees; any IEC National Committee interested in the subject dealt with may participate in this preparatory work. Intern
29、ational, governmental and non-governmental organizations liaising with the IEC also participate in this preparation. The IEC collaborates closely with the International Organization for Standardization (ISO) in accordance with conditions determined by agreement between the two organizations. 2) The
30、formal decisions or agreements of the IEC on technical matters express, as nearly as possible, an international consensus of opinion on the relevant subjects since each technical committee has representation from all interested National Committees. 3) The documents produced have the form of recommen
31、dations for international use and are published in the form of standards, technical specifications, technical reports or guides and they are accepted by the National Committees in that sense. 4) In order to promote international unification, IEC National Committees undertake to apply IEC Internation
32、al Standards transparently to the maximum extent possible in their national and regional standards. Any divergence between the IEC Standard and the corresponding national or regional standard shall be clearly indicated in the latter. 5) The IEC provides no marking procedure to indicate its approval
33、and cannot be rendered responsible for any equipment declared to be in conformity with one of its standards. The International Electrotechnical Commission (IEC) draws attention to the fact that it is claimed that compliance with this International Standard may involve the use of a maintenance servic
34、e concerning the stack of protocols on which the present standard IEC 62056-42 is based. The IEC takes no position concerning the evidence, validity and scope of this maintenance service. The provider of the maintenance service has assured the IEC that he is willing to provide services under reasona
35、ble and non-discriminatory terms and conditions for applicants throughout the world. In this respect, the statement of the provider of the maintenance service is registered with the IEC. Information (see also 6.3.3) may be obtained from: DLMS 1User Association Geneva / Switzerland www.dlms.ch Intern
36、ational Standard IEC 62056-42 has been prepared by IEC technical committee 13: Equipment for electrical energy measurement and load control. This bilingual version (2013-05) corresponds to the monolingual English version, published in 2002-02. _ 1Device Language Message Specification. 4 62056-42 IEC
37、:2002 The text of this standard is based on the following documents: FDIS Report on voting 13/1266/FDIS 13/1272/RVD Full information on the voting for the approval of this standard can be found in the report on voting indicated in the above table. The French version of this standard has not been vot
38、ed upon. This publication has been drafted in accordance with the ISO/IEC Directives, Part 3. Annexes A and B are for information only. The committee has decided that the contents of this publication will remain unchanged until 2006. At this date, the publication will be reconfirmed; withdrawn; repl
39、aced by a revised edition, or amended. IMPORTANT The colour inside logo on the cover page of this publication indicates that it contains colours which are considered to be useful for the correct understanding of its contents. Users should therefore print this document using a colour printer. 62056-4
40、2 IEC:2002 5 ELECTRICITY METERING DATA EXCHANGE FOR METER READING, TARIFF AND LOAD CONTROL Part 42: Physical layer services and procedures for connection-oriented asynchronous data exchange 1 Scope This part of IEC 62056 specifies the physical layer services and protocols within the Companion Specif
41、ication for Energy Metering (COSEM) three-layer connection oriented profile for asynchronous data communication. The document does not specify physical layer signals and mechanical aspects. Local, implementation-specific issues are also not specified. In annex A, an example of how this physical laye
42、r can be used for data exchange through the Public Switched Telephone Network (PSTN) using intelligent Hayes modems is given. The use of the physical layer for the purposes of direct local data exchange using an optical port or a current loop physical interface is specified in IEC 62056-21. Annex B
43、gives an explanation of the role of data models and protocols in electricity meter data exchange. 2 Normative references The following referenced documents are indispensable for the application of this document. For dated references, only the edition cited applies. For undated references, the latest
44、 edition of the referenced document (including any amendments) applies. IEC 60050-300:2001, International Electrotechnical Vocabulary Electrical and electronic measurements and measuring instruments Part 311: General terms relating to measurements Part 312: General terms relating to electrical measu
45、rements Part 313: Types of electrical measuring instruments Part 314: Specific terms according to the type of instrument IEC/TR 62051:1999, Electricity metering Glossary of terms IEC 62056-21, Electricity metering Data exchange for meter reading, tariff and load control Part 21: Direct local data ex
46、change 1IEC 62056-46, Electricity metering Data exchange for meter reading, tariff and load control Part 46: Data link layer using HDLC protocol 1IEC 62056-53, Electricity metering Data exchange for meter reading, tariff and load control Part 53: COSEM application layer 1IEC 62056-61, Electricity me
47、tering Data exchange for meter reading, tariff and load control Part 61: OBIS Object identification system 1IEC 62056-62, Electricity metering Data exchange for meter reading, tariff and load control Part 62: Interface objects 1NEMA C12.21:1999, Protocol Specification for Telephone Modem Communicati
48、on _ 1To be published. 6 62056-42 IEC:2002 3 Terms, definitions and abbreviations 3.1 Terms and definitions For the purpose of this part of IEC 62056, the definitions in IEC 60050-300 and IEC/TR 62051 as well as the following definitions apply: 3.1.1 client a station asking for services, normally th
49、e master station 3.1.2 master central station station which takes the initiative and controls the data flow 3.1.3 server a station delivering services. The tariff device (meter) is normally the server, delivering the requested values or executing the requested tasks 3.1.4 slave station responding to requests of a master station. The tariff devi