IEC 62056-42:2002
(Main)Electricity metering - Data exchange for meter reading, tariff and load control - Part 42: Physical layer services and procedures for connection-oriented asynchronous data exchange
Electricity metering - Data exchange for meter reading, tariff and load control - Part 42: Physical layer services and procedures for connection-oriented asynchronous data exchange
IEC 62056-42:2002 specifies the physical layer services and protocols within the Companion Specification for Energy Metering (COSEM) three-layer connection oriented profile for asynchronous data communication. In annex A, an example of how this physical layer can be used for data exchange through the Public Switched Telephone Network (PSTN) using intelligent Hayes modems is given. Annex B gives an explanation of the role of data models and protocols in electricity meter data exchange. This bilingual version (2013-05) corresponds to the monolingual English version, published in 2002-02.
Equipements de mesure de l'énergie électrique - Echange de données pour la lecture des compteurs, le contrôle de tarifs et de la charge - Partie 42: Services et procédures de la couche physique pour l'échange de données à l'aide de connexion asynchrone
La CEI 62056-42:2002 spécifie les services et protocoles de la couche physique à l'intérieur du modèle de connexion à trois couches de la spécification d'accompagnement pour la mesure de l'énergie (COSEM) (en anglais, Companion Specification for Energy Metering) pour la communication des données asynchrones. Un exemple est donné à l'Annexe A de la façon dont cette couche physique peut être utilisée pour l'échange des données en utilisant des modems Hayes intelligents à travers le Réseau Téléphonique Commuté Publique (RTCP). L'Annexe B donne une explication du rôle des modèles de données et des protocoles de données dans les échanges des compteurs d'électricité. La présente version bilingue (2013-05) correspond à la version anglaise monolingue publiée en 2002-02.
General Information
Buy Standard
Standards Content (Sample)
INTERNATIONAL IEC
STANDARD
62056-42
First edition
2002-02
Electricity metering –
Data exchange for meter reading,
tariff and load control –
Part 42:
Physical layer services and procedures
for connection-oriented asynchronous
data exchange
Reference number
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 consolidated 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 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.
Information 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 IEC web site (www.iec.ch/catlg-e.htm) 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 summary of recently issued publications (www.iec.ch/JP.htm) 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 Customer Service Centre:
Email: custserv@iec.ch
Tel: +41 22 919 02 11
Fax: +41 22 919 03 00
INTERNATIONAL IEC
STANDARD
62056-42
First edition
2002-02
Electricity metering –
Data exchange for meter reading,
tariff and load control –
Part 42:
Physical layer services and procedures
for connection-oriented asynchronous
data exchange
IEC 2002 Copyright - all rights reserved
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 the publisher.
International Electrotechnical Commission 3, rue de Varembé Geneva, Switzerland
Telefax: +41 22 919 0300 e-mail: inmail@iec.ch IEC web site http://www.iec.ch
Commission Electrotechnique Internationale
PRICE CODE
U
International Electrotechnical Commission
For price, see current catalogue
– 2 – 62056-42 IEC:2002(E)
CONTENTS
FOREWORD .4
1 Scope.5
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 .9
5.3 Service definitions .9
5.3.1 PH-CONNECT.request .9
5.3.2 PH-CONNECT.indication .10
5.3.3 PH-CONNECT.confirm .10
5.3.4 PH-ABORT.request .11
5.3.5 PH-ABORT.confirm .11
5.3.6 PH-ABORT.indication .11
5.3.7 PH-DATA.request .12
5.3.8 PH-DATA.indication.12
6 Protocol specification .13
6.1 Physical layer protocol data unit.13
6.2 Transmission order and characteristics .13
6.3 Physical layer operation – description of the procedures .13
6.3.1 General .13
6.3.2 Setting up a physical connection .14
6.3.3 The identification service .15
6.3.4 Data communications .19
6.3.5 Disconnection of an existing physical connection.19
Annex A (informative) An example: PH service primitives and Hayes commands .20
Annex B (informative) Data model and protocol .25
Bibliography.26
Figure 1 – Typical PSTN configuration .7
Figure 2 – The location of the physical layer .8
Figure 3 – Protocol layer services of the COSEM 3-layer connection oriented profile.9
Figure 4 – MSC for physical connection establishment.15
Figure 5 – MSC for IDENTIFY.request/.response message exchange .17
Figure 6 – Handling the identification service at the COSEM server side.17
Figure 7 – Partial state machine for the client side physical layer.18
Figure A.1 – MSC for physical connection request .20
Figure A.2 – Physical connection establishment at the CALLING station.21
Figure A.3 – MSC for physical connection establishment .22
Figure A.4 – Data exchange between the calling and called stations.23
Figure A.5 – MSC for a physical disconnection .24
Figure B.1 – The three-step approach of COSEM .25
62056-42 IEC:2002(E) – 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
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 in 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. International, 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 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 recommendations 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 International
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 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 service 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
reasonable 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 User Association
Geneva / Switzerland
www.dlms.ch
International Standard IEC 62056-42 has been prepared by IEC technical committee 13:
Equipment for electrical energy measurement and load control.
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.
_________
Device Language Message Specification.
– 4 – 62056-42 IEC:2002(E)
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;
• replaced by a revised edition, or
• amended.
A bilingual version of this publication may be issued at a later date.
62056-42 IEC:2002(E) – 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 Specification 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 layer 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 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 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 measurements – 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 exchange
IEC 62056-46, Electricity metering – Data exchange for meter reading, tariff and load control –
Part 46: Data link layer using HDLC protocol
IEC 62056-53, Electricity metering – Data exchange for meter reading, tariff and load control –
Part 53: COSEM application layer
IEC 62056-61, Electricity metering – Data exchange for meter reading, tariff and load control
– Part 61: OBIS Object identification system
IEC 62056-62, Electricity metering – Data exchange for meter reading, tariff and load control –
Part 62: Interface objects
NEMA C12.21:1999, Protocol Specification for Telephone Modem Communication
_________
To be published.
– 6 – 62056-42 IEC:2002(E)
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
...
IEC 62056-42 ®
Edition 1.0 2002-02
INTERNATIONAL
STANDARD
NORME
INTERNATIONALE
colour
inside
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 l’énergie électrique – Echange des données pour
la lecture des compteurs, le contrôle des tarifs et de la charge –
Partie 42: Services et procédures de la couche physique pour l'échange de
données à l'aide de connexion asynchrone
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 IEC's 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 further information.
Droits de reproduction réservés. Sauf indication contraire, aucune partie de cette publication ne peut être reproduite ni
utilisée sous quelque forme que ce soit et par aucun procédé, électronique ou mécanique, y compris la photocopie et les
microfilms, sans l'accord écrit de la CEI ou du Comité national de la CEI du pays du demandeur.
Si vous avez des questions sur le copyright de la CEI ou si vous désirez obtenir des droits supplémentaires sur cette
publication, utilisez les coordonnées ci-après ou contactez le Comité national de la CEI de votre pays de résidence.
IEC Central Office Tel.: +41 22 919 02 11
3, rue de Varembé Fax: +41 22 919 03 00
CH-1211 Geneva 20 info@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 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.
Useful links:
IEC publications search - www.iec.ch/searchpub Electropedia - www.electropedia.org
The advanced search enables you to find IEC publications The world's leading online dictionary of electronic and
by a variety of criteria (reference number, text, technical electrical terms containing more than 30 000 terms and
committee,…). definitions in English and French, with equivalent terms in
It also gives information on projects, replaced and additional languages. Also known as the International
withdrawn publications. Electrotechnical Vocabulary (IEV) on-line.
IEC Just Published - webstore.iec.ch/justpublished Customer Service Centre - webstore.iec.ch/csc
Stay up to date on all new IEC publications. Just Published If you wish to give us your feedback on this publication
details all new publications released. Available on-line and or need further assistance, please contact the
also once a month by email. Customer Service Centre: csc@iec.ch.
A propos de la CEI
La Commission Electrotechnique Internationale (CEI) est la première organisation mondiale qui élabore et publie des
Normes internationales pour tout ce qui a trait à l'électricité, à l'électronique et aux technologies apparentées.
A propos des publications CEI
Le contenu technique des publications de la CEI est constamment revu. Veuillez vous assurer que vous possédez
l’édition la plus récente, un corrigendum ou amendement peut avoir été publié.
Liens utiles:
Recherche de publications CEI - www.iec.ch/searchpub Electropedia - www.electropedia.org
La recherche avancée vous permet de trouver des Le premier dictionnaire en ligne au monde de termes
publications CEI en utilisant différents critères (numéro de électroniques et électriques. Il contient plus de 30 000
référence, texte, comité d’études,…). termes et définitions en anglais et en français, ainsi que
Elle donne aussi des informations sur les projets et les les termes équivalents dans les langues additionnelles.
publications remplacées ou retirées. Egalement appelé Vocabulaire Electrotechnique
International (VEI) en ligne.
Just Published CEI - webstore.iec.ch/justpublished
Service Clients - webstore.iec.ch/csc
Restez informé sur les nouvelles publications de la CEI.
Just Published détaille les nouvelles publications parues. Si vous désirez nous donner des commentaires sur
Disponible en ligne et aussi une fois par mois par email. cette publication ou si vous avez des questions
contactez-nous: csc@iec.ch.
IEC 62056-42 ®
Edition 1.0 2002-02
INTERNATIONAL
STANDARD
NORME
INTERNATIONALE
colour
inside
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 l’énergie électrique – Echange des données pour
la lecture des compteurs, le contrôle des tarifs et de la charge –
Partie 42: Services et procédures de la couche physique pour l'échange de
données à l'aide de connexion asynchrone
INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
COMMISSION
ELECTROTECHNIQUE
PRICE CODE
INTERNATIONALE
CODE PRIX U
ICS 35.100.10; 91.140.50 ISBN 978-2-83220-724-6
– 2 – 62056-42 IEC:2002
CONTENTS
FOREWORD . 4
1 Scope . 5
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 . 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 Physical 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 existing 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 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 physical 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 disconnection . 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
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 in 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. International, 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 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 recommendations 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 International
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 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 service 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
reasonable 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 User Association
Geneva / Switzerland
www.dlms.ch
International 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.
_________
Device Language Message Specification.
– 4 – 62056-42 IEC:2002
The text of this standard is based on the following documents
...
Questions, Comments and Discussion
Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.