Electricity metering - Data exchange for meter reading, tariff and load control -- Part 62: Interface classes

This part of IEC 62056 specifies a model of a meter as it is seen through its communication interface(s). Generic building blocks are defined using object-oriented methods, in the form of interface classes to model meters from simple up to veryu complex functionality.

Messung der elektrischen Energie - Zählerstandsübertragung, Tarif- und Laststeuerung -- Teil 62: Interface-Klassen

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 62: Classes d'interface

Merjenje električne energije – Izmenjevanje podatkov za odbiranja stanja števcev, tarife in obremenitve – 62. del: Razredi vmesnikov (IEC 62056-62:2006)

General Information

Status
Withdrawn
Publication Date
16-Jul-2007
Withdrawal Date
05-Jun-2016
Current Stage
9900 - Withdrawal (Adopted Project)
Start Date
06-Jun-2016
Due Date
29-Jun-2016
Completion Date
06-Jun-2016

Relations

Buy Standard

Standard
EN 62056-62:2007
English language
130 pages
sale 10% off
Preview
sale 10% off
Preview
e-Library read for
1 day
Draft
prEN 62056-62:2005
English language
122 pages
sale 10% off
Preview
sale 10% off
Preview
e-Library read for
1 day

Standards Content (Sample)

SLOVENSKI STANDARD
SIST EN 62056-62:2007
01-september-2007
1DGRPHãþD
SIST EN 62056-62:2004
0HUMHQMHHOHNWULþQHHQHUJLMH±,]PHQMHYDQMHSRGDWNRY]DRGELUDQMDVWDQMDãWHYFHY
WDULIHLQREUHPHQLWYH±GHO5D]UHGLYPHVQLNRY ,(&
Electricity metering - Data exchange for meter reading, tariff and load control -- Part 62:
Interface classes
Messung der elektrischen Energie - Zählerstandsübertragung, Tarif- und Laststeuerung -
- Teil 62: Interface-Klassen
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 62: Classes d'interface
Ta slovenski standard je istoveten z: EN 62056-62:2007
ICS:
17.220.20 0HUMHQMHHOHNWULþQLKLQ Measurement of electrical
PDJQHWQLKYHOLþLQ and magnetic quantities
35.200 Vmesniška in povezovalna Interface and interconnection
oprema equipment
91.140.50 Sistemi za oskrbo z elektriko Electricity supply systems
SIST EN 62056-62:2007 en
2003-01.Slovenski inštitut za standardizacijo. Razmnoževanje celote ali delov tega standarda ni dovoljeno.

---------------------- Page: 1 ----------------------

SIST EN 62056-62:2007

---------------------- Page: 2 ----------------------

SIST EN 62056-62:2007


EUROPEAN STANDARD
EN 62056-62

NORME EUROPÉENNE
February 2007
EUROPÄISCHE NORM

ICS 91.140.50; 35.200 Supersedes EN 62056-62:2002


English version


Electricity metering -
Data exchange for meter reading, tariff and load control -
Part 62: Interface classes
(IEC 62056-62:2006)


Equipements de mesure  Messung der elektrischen Energie -
de l'énergie électrique - Zählerstandsübertragung,
Echange des données Tarif- und Laststeuerung -
pour la lecture des compteurs, Teil 62: Interface-Klassen
le contrôle des tarifs et de la charge - (IEC 62056-62:2006)
Partie 62: Classes d'interface
(CEI 62056-62:2006)




This European Standard was approved by CENELEC on 2006-12-01. CENELEC members are bound to comply
with the CEN/CENELEC Internal Regulations which stipulate the conditions for giving this European Standard
the status of a national 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 version 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 official versions.

CENELEC members are the national electrotechnical committees of Austria, Belgium, Bulgaria, Cyprus, the
Czech Republic, Denmark, Estonia, Finland, France, Germany, Greece, Hungary, Iceland, Ireland, Italy, Latvia,
Lithuania, Luxembourg, Malta, the Netherlands, Norway, Poland, Portugal, Romania, Slovakia, Slovenia, Spain,
Sweden, Switzerland and the United Kingdom.

CENELEC
European Committee for Electrotechnical Standardization
Comité Européen de Normalisation Electrotechnique
Europäisches Komitee für Elektrotechnische Normung

Central Secretariat: rue de Stassart 35, B - 1050 Brussels


© 2007 CENELEC - All rights of exploitation in any form and by any means reserved worldwide for CENELEC members.
Ref. No. EN 62056-62:2007 E

---------------------- Page: 3 ----------------------

SIST EN 62056-62:2007
EN 62056-62:2007 - 2 -
Foreword
The text of document 13/1389/FDIS, future edition 2 of IEC 62056-62, 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-62 on 2006-12-01.
This European Standard supersedes EN 62056-62:2002.
It includes the following significant technical changes with respect to EN 62056-62:2002:
– the list of common data types has been amended, some new types have been added;
– formatting for floating point numbers has been added;
– new HLS mechanisms have been added;
– instance specific data types have been replaced with a well-defined set of applicable data types;
– new units have been added;
– encoding of application_context_name and authentication_mechanism_name attributes of the
Association LN class has has been clarified;
– new interface classes “Register table” and “Status mapping” have been added;
– a new version of the “IEC local port setup”, “Modem configuration”, “Auto connect” and “HDLC setup”
interface classes have been added;
– new interface classes for setting up a TCP/IP based communication profile have been added.
References to related IETF RFCs and standards, as well as related definitions have been added;
– several amendments in Annex D “Relation to OBIS” have been made.
The following dates were fixed:
– latest date by which the EN has to be implemented
at national level by publication of an identical
(dop) 2007-09-01
national standard or by endorsement
– latest date by which the national standards conflicting
(dow) 2009-12-01
with the EN have to be withdrawn
The International Electrotechnical 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-62 /
EN 62056-62 is based.

The IEC and CENELEC take 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 with applicants throughout the world. In this
respect, the statement of the provider of the maintenance service is registered with the IEC. Information
(see also 4.6.2 and Annex E) may be obtained from:

1)
DLMS User Association
Geneva / Switzerland
www.dlms.ch


1)
Device Language Message Specification

---------------------- Page: 4 ----------------------

SIST EN 62056-62:2007
- 3 - EN 62056-62:2007
Annex ZA has been added by CENELEC.
__________
Endorsement notice
The text of the International Standard IEC 62056-62:2006 was approved by CENELEC as a European
Standard without any modification.
In the official version, for Bibliography, the following note has to be added for the standard indicated:
IEC 61334-6 NOTE  Harmonized as EN 61334-6:2000 (not modified).
__________

---------------------- Page: 5 ----------------------

SIST EN 62056-62:2007
EN 62056-62:2007 - 4 -
Annex ZA
(normative)

Normative references to international publications
with their corresponding European publications

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.

NOTE  When an international publication has been modified by common modifications, indicated by (mod), the relevant EN/HD
applies.

Publication Year Title EN/HD Year

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 60559 1989 Binary floating-point arithmetic for HD 592 S1 1991
microprocessor systems


IEC 61334-4-41 1996 Distribution automation using distribution line EN 61334-4-41 1996
carrier systems -
Part 4: Data communication protocols -
Section 41: Application protocols -
Distribution line message specification


IEC/TR 62051 1999 Electricity metering - Glossary of terms - -


IEC/TR 62051-1 2004 Electricity metering - Data exchange for meter - -
reading, tariff and load control - Glossary of
terms -
Part 1: Terms related to data exchange with
metering using DLMS/COSEM


IEC 62056-21 2002 Electricity metering - Data exchange EN 62056-21 2002
for meter reading, tariff and load control -
Part 21: Direct local data exchange


IEC 62056-31 1999 Electricity metering - Data exchange EN 62056-31 2000
for meter reading, tariff and load control -
Part 31: Use of local area networks on twisted
pair with carrier signalling


IEC 62056-46 2002 Electricity metering - Data exchange EN 62056-46 2002
A1 2006 for meter reading, tariff and load control - A1 2007
Part 46: Data link layer using HDLC protocol


IEC 62056-47 2006 Electricity metering - Data exchange EN 62056-47 2007
for meter reading, tariff and load control -
Part 47: COSEM transport layers for IPv4
networks

---------------------- Page: 6 ----------------------

SIST EN 62056-62:2007
- 5 - EN 62056-62:2007
Publication Year Title EN/HD Year
IEC 62056-53 2006 Electricity metering - Data exchange EN 62056-53 2007
for meter reading, tariff and load control -
Part 53: COSEM application layer


IEC 62056-61 2006 Electricity metering - Data exchange EN 62056-61 2007
for meter reading, tariff and load control -
Part 61: Object identification system (OBIS)


ANSI C12.19:1997/ 1997 Utility Industry End Device Data Tables - -
IEEE 1377


STD 0005 1981 Internet Protocol - -


STD 0051 1994 The Point-to-Point Protocol (PPP) - -

---------------------- Page: 7 ----------------------

SIST EN 62056-62:2007

---------------------- Page: 8 ----------------------

SIST EN 62056-62:2007


INTERNATIONAL IEC


STANDARD 62056-62





Second edition
2006-11


Electricity metering –
Data exchange for meter
reading, tariff and load control –
Part 62:
Interface classes
© IEC 2006 ⎯ 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é, PO Box 131, CH-1211 Geneva 20, Switzerland
Telephone: +41 22 919 02 11 Telefax: +41 22 919 03 00 E-mail: inmail@iec.ch Web: www.iec.ch
PRICE CODE
Commission Electrotechnique Internationale XF
International Electrotechnical Commission
МеждународнаяЭлектротехническаяКомиссия
For price, see current catalogue

---------------------- Page: 9 ----------------------

SIST EN 62056-62:2007
– 2 – 62056-62 © IEC:2006(E)
CONTENTS

FOREWORD.4
INTRODUCTION.6
1 Scope.7
2 Normative references .7
3 Terms, definitions and abbreviations .8
4 Basic principles .9
4.1 General .9
4.2 Class description notation .10
4.3 Common data types .12
4.4 Data formats .13
4.5 The COSEM server model .17
4.6 COSEM logical device.18
4.7 Authentication procedures.19
5 The interface classes .20
5.1 Data (class_id: 1) .22
5.2 Register (class_id: 3) .22
5.3 Extended register (class_id: 4) .26
5.4 Demand register (class_id: 5).27
5.5 Register activation (class_id: 6).30
5.6 Profile generic (class_id: 7) .32
5.7 Clock (class_id: 8).37
5.8 Script table (class_id: 9).40
5.9 Schedule (class_id: 10) .41
5.10 Special days table (class_id: 11) .44
5.11 Activity calendar (class_id: 20) .45
5.12 Association LN (class_id: 15) .48
5.13 Association SN (class_id: 12) .53
5.14 SAP assignment (class_id: 17) .56
5.15 Register monitor (class_id: 21) .56
5.16 Utility tables (class_id: 26) .57
5.17 Single action schedule (class_id: 22).59
5.18 Register table (class_id: 61) .60
5.19 Status mapping (class_id: 63) .62
6 Maintenance of the interface classes.63
6.1 New interface classes .63
6.2 New versions of interface classes.63
6.3 Removal of interface classes.63

Annex A (normative) Protocol related interface classes.64
Annex B (normative) Data model and protocol .84
Annex C (normative) Using short names for accessing attributes and methods .85
Annex D (normative) Relation to OBIS .94
Annex E (informative) Previous versions of interface classes.116

Bibliography.122

---------------------- Page: 10 ----------------------

SIST EN 62056-62:2007
62056-62 © IEC:2006(E) – 3 –

Index .123

Figure 1 – An interface class and its instances .10
Figure 2 – The COSEM server model.17
Figure 3 – Combined metering device.17
Figure 4 – Overview of the interface classes.21
Figure 5 – The attributes when measuring sliding demand .27
Figure 6 – The attributes when measuring current_average_value if number of periods
is 1 .27
Figure 7 – The attributes if the number of periods is 3 .28
Figure 8 – The generalized time concept .38
Figure B.1 – The three step approach of COSEM.84

Table 1 – Common data types .12

---------------------- Page: 11 ----------------------

SIST EN 62056-62:2007
– 4 – 62056-62 © IEC:2006(E)
INTERNATIONAL ELECTROTECHNICAL COMMISSION
____________

ELECTRICITY METERING – DATA EXCHANGE
FOR METER READING, TARIFF AND LOAD CONTROL –

Part 62: Interface classes


FOREWORD
1) The International Electrotechnical Commission (IEC) is a worldwide organization for standardization comprising
all national electrotechnical committees (IEC National Committees). The object of 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, IEC publishes International Standards, Technical Specifications,
Technical Reports, Publicly Available Specifications (PAS) and Guides (hereafter referred to as “IEC
Publication(s)”). 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. 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 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 IEC National Committees.
3) IEC Publications have the form of recommendations for international use and are accepted by IEC National
Committees in that sense. While all reasonable efforts are made to ensure that the technical content of IEC
Publications is accurate, IEC cannot be held responsible for the way in which they are used or for any
misinterpretation by any end user.
4) In order to promote international uniformity, IEC National Committees undertake to apply IEC Publications
transparently to the maximum extent possible in their national and regional publications. Any divergence
between any IEC Publication and the corresponding national or regional publication shall be clearly indicated in
the latter.
5) IEC provides no marking procedure to indicate its approval and cannot be rendered responsible for any
equipment declared to be in conformity with an IEC Publication.
6) All users should ensure that they have the latest edition of this publication.
7) No liability shall attach to IEC or its directors, employees, servants or agents including individual experts and
members of its technical committees and IEC National Committees for any personal injury, property damage or
other damage of any nature whatsoever, whether direct or indirect, or for costs (including legal fees) and
expenses arising out of the publication, use of, or reliance upon, this IEC Publication or any other IEC
Publications.
8) Attention is drawn to the Normative references cited in this publication. Use of the referenced publications is
indispensable for the correct application of this publication.
9) Attention is drawn to the possibility that some of the elements of this IEC Publication may be the subject of
patent rights. IEC shall not be held responsible for identifying any or all such patent rights.
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-62 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 with applicants throughout the world. In this respect, the
statement of the provider of the maintenance service is registered with the IEC. Information (see also 4.6.2 and
Annex E) may be obtained from:
1
DLMS User Association
Geneva / Switzerland
www.dlms.ch
———————
1
Device Language Message Specification.

---------------------- Page: 12 ----------------------

SIST EN 62056-62:2007
62056-62 © IEC:2006(E) – 5 –
International Standard IEC 62056-62 Ed. 2 has been prepared by IEC technical committee 13:
Equipment for electrical energy measurement and load control.
This second edition cancels and replaces the first edition published in 2002 and constitutes a
technical revision.
This edition includes the following significant technical changes with respect to the previous
edition:
• the list of common data types has been amended, some new types have been added;
• formatting for floating point numbers has been added;
• new HLS mechanisms have been added;
• instance specific data types have been replaced with a well-defined set of applicable data
types;
• new units have been added;
• encoding of application_context_name and authentication_mechanism_name attributes of
the Association LN class has has been clarified;
• new interface classes “Register table” and “Status mapping” have been added;
• a new version of the “IEC local port setup”, “Modem configuration”, “Auto connect” and
“HDLC setup” interface classes have been added;
• new interface classes for setting up a TCP/IP based communication profile have been
added. References to related IETF RFCs and standards, as well as related definitions
have been added;
• several amendments in Annex D “Relation to OBIS” have been made.
The text of this standard is based on the following documents:
FDIS Report on voting
13/1389/FDIS 13/1400/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.
This publication has been drafted in accordance with the ISO/IEC Directives, Part 2.
The committee has decided that the contents of this publication will remain unchanged until
the maintenance result date indicated on the IEC web site under "http://webstore.iec.ch" in
the data related to the specific publication. At this date, the publication will be
• reconfirmed,
• withdrawn,
• replaced by a revised edition, or
• amended.
A bilingual version of the publication may be issued at a later date.

---------------------- Page: 13 ----------------------

SIST EN 62056-62:2007
– 6 – 62056-62 © IEC:2006(E)
INTRODUCTION
Driven by the need of the utilities to optimize their business processes, the meter becomes
more and more part of an integrated metering and billing system. Whereas in the past the
commercial value of a meter was mainly generated by its data acquisition and processing
capabilities, nowadays the critical issues are system integration and interoperability.
The Companion Specification for Energy Metering (COSEM) addresses these challenges by
looking at the meter as an integrated part of a commercial process, which starts with the
measurement of the delivered product (energy) and ends with the revenue collection.
The meter is specified by its “behaviour” as seen from the utility's business processes. The
formal specification of the behaviour is based on object modelling techniques (interface
classes and objects). The specification of these objects forms a major part of COSEM.
The COSEM server model (see 4.5) represents only the externally visible elements of the
meter. The client applications that support the business processes of the utilities, customers
and meter manufacturers make use of this server model. The meter offers means to retrieve
its structural model (the list of objects visible through the interface), and provides access to
the attributes and specific methods of these objects.
The set of different interface classes form a standardized library from which the manufacturer
can assemble (model) its individual products. The elements are designed so that with them
the entire range of products (from residential to commercial and industrial applications) can
be covered. The choice of the subset of interface classes used to build a meter, their
instantiation, and their implementation are part of the product design and therefore left to the
manufacturer. The concept of the standardized metering interface class library provides the
different users and manufacturers with a maximum of diversity without having to sacrifice
interoperability.

---------------------- Page: 14 ----------------------

SIST EN 62056-62:2007
62056-62 © IEC:2006(E) – 7 –
ELECTRICITY METERING – DATA EXCHANGE
FOR METER READING, TARIFF AND LOAD CONTROL –

Part 62: Interface classes



1 Scope
This part of IEC 62056 specifies a model of a meter as it is seen through its communication
interface(s). Generic building blocks are defined using object-oriented methods, in the form of
interface classes to model meters from simple up to very complex functionality.
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 – Chapter 311: General terms relating to
measurements – Chapter 312: General terms relating to electrical measurements – Chapter
313: Types of electrical measuring instruments – Chapter 314: Specific terms according to the
type of instrument
IEC 60559:1989, Binary floating-point arithmetic for microprocessor systems
IEC 61334-4-41:1996, Distribution automation using distribution line carrier systems – Part 4:
Data communication protocols – Section 41: Application protocols – Distribution line message
specification
IEC 62051:1999, Electricity metering – Glossary of terms
IEC 62051-1:2004, Electricity metering – Data exchange for meter reading, tariff and load
control – Glossary of terms – Part 1: Terms related to data exchange with metering
equipment using DLMS/COSEM
IEC 62056-21:2002, Electricity metering – Data exchange for meter reading, tariff and load
control – Part 21: Direct local data exchange
IEC 62056-31:1999, Electricity metering – Data exchange for meter reading, tariff and load
control – Part 31: Using local area networks on twisted pair with carrier signalling
IEC 62056-46:2002, Electricity metering – Data exchange for meter reading, tariff and load
control – Part 46: Data link layer using HDLC-protocol
2
Amendment 1
IEC 62056-47:2006, Electricity metering – Data exchange for meter reading, tariff and load
control – Part 47: COSEM transport layers for IPv4 networks
IEC 62056-53:2006, Electricity metering – Data exchange for meter reading, tariff and load

control – Part 53: COSEM Application layer
———————
2
To be published.

---------------------- Page: 15 ----------------------

SIST EN 62056-62:2007
– 8 – 62056-62 © IEC:2006(E)
IEC 62056-61:2006, Electricity metering – Data exchange for meter reading, tariff and load
control – Part 61: Object identification system(OBIS)
ANSI C12.19:1997 / IEEE 1377:1997, Utility Industry End Device Data Tables
STD 0005: 1981, Internet Protocol (Also: IETF RFC 0791, RFC 0792, RFC 0919, RFC 0922,
RFC 0950, RFC 1112)

STD 0051: 1994, The Point-to-Point Protocol (PPP) (Also: IETF RFC 1661, RFC 1662)
3 Terms, definitions and abbreviations
3.1 Terms and definitions
For the purposes of this document, the terms and definitions given in IEC 60050-300,
IEC 62051, and IEC 62051-1 apply.
3.2 Abbreviations
AARE Application Association Response
AARQ Application Association ReQuest
ACSE Application Control Service Element
APDU Application Protocol Data Unit
ASE Application Service Element
A-XDR Adapted eXtended Data Representation
CHAP Challenge Handshake Authentication Protocol
COSEM Companion Specificationfor Energy Metering
CtoS Client to Server Challenge
DHCP Dynamic Host Control Protocol
DLMS Device Language Message Specification
DNS Domain Name Server
EAP Extensible Authentication Protocol
GMT Greenwich Mean Time
GPS Global Positioning System
HLS High Level Security
IANA Internet Assigned Numbers Authority
IC I
...

SLOVENSKI oSIST prEN 62056-62:2005

PREDSTANDARD
december 2005
Merjenje električne energije – Izmenjevanje podatkov za odbiranja stanja
števcev, tarife in obremenitve – 62. del: Razredi vmesnikov
Electricity metering - Data exchange for meter reading, tariff and load control - Part
62: Interface classes
ICS 35.200; 91.140.50 Referenčna številka
oSIST prEN 62056-62:2005(en)
©  Standard je založil in izdal Slovenski inštitut za standardizacijo. Razmnoževanje ali kopiranje celote ali delov tega dokumenta ni dovoljeno

---------------------- Page: 1 ----------------------
13/1342/CDV
COMMITTEE DRAFT FOR VOTE (CDV)
PROJET DE COMITÉ POUR VOTE (CDV)

Project number 62056-62/Ed.2
Numéro de projet
IEC/TC or SC: Date of circulation Closing date for voting (Voting
TC 13
Date de diffusion mandatory for P-members)

CEI/CE ou SC:

Date de clôture du vote (Vote
2005-04-15
obligatoire pour les membres (P))
2005-09-16

TC/SC Title: Equipment for electrical energy measurement and load control
Secretary: Mr. Gyozo KMETHY
Secrétaire:
Also of interest to the following committees Supersedes document
Intéresse également les comités suivants Remplace le document
   13/1324/CD
Functions concerned
Fonctions concernées
Safety EMC Environment Quality assurance
Sécurité
CEM Environnement Assurance qualité
CE DOCUMENT EST TOUJOURS À L'ÉTUDE ET SUSCEPTIBLE DE THIS DOCUMENT IS STILL UNDER STUDY AND SUBJECT TO CHANGE. IT
MODIFICATION. IL NE PEUT SERVIR DE RÉFÉRENCE. SHOULD NOT BE USED FOR REFERENCE PURPOSES.
LES RÉCIPIENDAIRES DU PRÉSENT DOCUMENT SONT INVITÉS À RECIPIENTS OF THIS DOCUMENT ARE INVITED TO SUBMIT, WITH THEIR
PRÉSENTER, AVEC LEURS OBSERVATIONS, LA NOTIFICATION DES COMMENTS, NOTIFICATION OF ANY RELEVANT PATENT RIGHTS OF
DROITS DE PROPRIÉTÉ DONT ILS AURAIENT ÉVENTUELLEMENT WHICH THEY ARE AWARE AND TO PROVIDE SUPPORTING
CONNAISSANCE ET À FOURNIR UNE DOCUMENTATION EXPLICATIVE. DOCUMENTATION.



Title : IEC 62056-62: Electricity metering – data exchange for meter reading, tariff and load control –
Part 62: Interface classes


Note d'introduction Introductory note










ATTENTION ATTENTION
Parallel IEC CDV/CENELEC Enquiry) CDV soumis en parallèle au vote (CEI) et à
l’enquête (CENELEC)

Copyright © 2005 International Electrotechnical Commission, IEC. All rights reserved. It is
permitted to download this electronic file, to make a copy and to print out the content for the sole
purpose of preparing National Committee positions. You may not copy or "mirror" the file or
printed version of the document, or any part of it, for any other purpose without permission in
writing from IEC.
FORM CDV (IEC)
2002-08-09

---------------------- Page: 2 ----------------------
62056-62/Ed.2 CDV © IEC:200X(E) – 2 –
CONTENTS

FOREWORD.6
INTRODUCTION.8
1 Scope .9
2 Normative references .9
3 Terms, definitions and abbreviations .10
3.1 Terms and definitions .10
3.2 Abbreviations .10
4 Basic principles .11
4.1 General .11
4.2 Class description notation.12
4.3 Common data types.14
4.4 Data formats for date and time notation.16
4.5 The COSEM server model .18
4.6 COSEM logical device .18
4.6.1 General .18
4.6.2 COSEM logical device name .19
4.6.3 The “association view” of the logical device .19
4.6.4 Mandatory contents of a COSEM logical device .19
4.6.5 Management logical device .19
4.7 Authentication procedures .20
4.7.1 Low Level Security (LLS) authentication .20
4.7.2 High Level Security (HLS) authentication.20
5 The interface classes.21
5.1 Data (class_id: 1) .23
5.2 Register (class_id: 3).23
5.3 Extended register (class_id: 4).27
5.4 Demand register (class_id: 5) .28
5.5 Register activation (class_id: 6) .31
5.6 Profile generic (class_id: 7).32
5.7 Clock (class_id: 8) .37
5.8 Script table (class_id: 9) .40
5.9 Schedule (class_id: 10) .41
5.10 Special days table (class_id: 11).45
5.11 Activity calendar (class_id: 20).45
5.12 Association LN (class_id: 15).48
5.13 Association SN (class_id: 12).52
5.14 SAP assignment (class_id: 17).54
5.15 Register monitor (class_id: 21).55
5.16 Utility tables (class_id: 26).56
5.17 Single action schedule (class_id: 22) .57
5.18 Register table (class_id: 61) .58
5.19 Status mapping (class_id: 63) .60
6 Maintenance of the interface classes .61
6.1 New interface classes.61
6.2 New versions of interface classes .61
6.3 Removal of interface classes .61

---------------------- Page: 3 ----------------------
62056-62/Ed.2 CDV © IEC:200X(E) – 3 –
Annex A (normative) Protocol related interface classes.62
A.1 IEC local port setup (class_id: 19).62
A.2 Modem configuration (class_id: 27).63
A.3 Auto answer (class_id: 28).65
A.4 Auto connect (class_id: 29).66
A.5 IEC HDLC setup class (class_id: 23).68
A.6 IEC twisted pair (1) setup (class_id: 24) .69
A.7 TCP-UDP setup (class_id: 41) .70
A.8 IPv4 setup (class_id: 42) .71
A.9 Ethernet setup (class_id: 43) .75
A.10 PPP setup (class_id: 44).75
A.11 GPRS modem setup (class_id: 45).79
A.12 SMTP setup (Class_id: 46) .80
Annex B (normative) Data model and protocol .82
Annex C (normative) Using short names for accessing attributes and methods.83
C.1 Introduction – referencing methods .83
C.2 Guidelines for assigning short names.83
C.3 Reserved base_names for special COSEM objects.90
Annex D (normative) Relation to OBIS.91
D.1 Mapping of data items to COSEM objects and attributes.91
D.1.1 Abstract COSEM objects.91
D.1.1.1 Clock (class_id:8) .92
D.1.1.2 Modem configuration (class_id: 27) .92
D.1.1.3 Auto connect (class_id: 29) .92
D.1.1.4 Auto answer (class_id: 28) .93
D.1.1.5 Script tables (class_id: 9) .93
D.1.1.6 Special days table (class_id: 11) .93
D.1.1.7 Schedule (class_id: 10).94
D.1.1.8 Activity calendar (class_id: 20) .94
D.1.1.9 Register activation (class_id: 6).94
D.1.1.10 Single action schedule (class_id: 22).94
D.1.1.11 Register monitor (class_id: 21).95
D.1.1.12 IEC local port setup (class_id: 19).95
D.1.1.13 Standard readout profile (class_id: 7).95
D.1.1.14 IEC HDLC setup (class_id: 23).96
D.1.1.15 IEC twisted pair (1) setup (class_id: 24) .96
D.1.1.16 TCP-UDP setup (class_id: 41).96
D.1.1.17 IPv4 setup (class_id: 42).96
D.1.1.18 Ethernet setup (class_id: 43).97
D.1.1.19 PPP setup (class_id: 44).97
D.1.1.20 GPRS modem setup (class_id: 45) .97
D.1.1.21 SMTP setup (class_id: 46) .97
D.1.1.22 Association objects (class_id: 12, 15).98
D.1.1.23 SAP assignment object (class_id: 17).98
D.1.1.24 COSEM logical device name .98
D.1.1.25 Utility tables (class_id: 26) .98

---------------------- Page: 4 ----------------------
62056-62/Ed.2 CDV © IEC:200X(E) – 4 –
D.1.1.26 Device ID .99
D.1.1.27 Metering point ID .99
D.1.1.28 Parameter changes.100
D.1.1.29 I/O control signals.100
D.1.1.30 Internal status.100
D.1.1.31 Battery entries .101
D.1.1.32 Power failure monitoring .101
D.1.1.33 Operating time.101
D.1.1.34 Status register objects .101
D.1.1.35 Communication port log parameters .102
D.1.1.36 Error values.102
D.1.1.37 General list objects (class_id: 7) .102
D.1.2 Electricity related COSEM objects.103
D.1.2.1 Value group D definitions .103
D.1.2.2 Data of previous billing periods .103
D.1.2.3 Electricity ID numbers .103
D.1.2.4 Entries related to billing periods .104
D.1.2.5 Program entries .104
D.1.2.6 Input and output pulse constants, nominal values, coefficients .105
D.1.2.7 Ratios .105
D.1.2.8 Measurement period duration – Recording interval – Billing period
duration values, time entries .105
D.1.2.9 Measurement algorithm for active power.106
D.1.2.10 Measurement algorithm for active energy .106
D.1.2.11 Measurement algorithm for reactive power .106
D.1.2.12 Measurement algorithm for reactive energy .107
D.1.2.13 Measurement algorithm for apparent power.107
D.1.2.14 Measurement algorithm for apparent energy.108
D.1.2.15 Measurement algorithm for power factor calculation .108
D.1.2.16 Metering point ID (electricity related).108
D.1.2.17 Electricity related statuses .109
D.1.2.18 Electricity related list objects (class_id: 7) .109
D.1.2.19 Threshold values and Register monitor objects (class_id:
21) .109
D.2 Coding of OBIS identifications.110
Annex E (informative) Previous versions of interface classes .112
E.1 Interface class versions prior to the publication of Edition 1 of this standard .112
E.2 IEC local port setup (class_id: 19).112
E.3 PSTN modem configuration (class_id: 27).113
E.4 PSTN auto dial (class_id: 29).115
E.5 IEC HDLC setup class, (class_id:23), version 0.116
Bibliography .118
Index.120

---------------------- Page: 5 ----------------------
62056-62/Ed.2 CDV © IEC:200X(E) – 5 –
List of Figures
Figure 1 – An interface class and its instances .12
Figure 2 – The COSEM server model .18
Figure 3 – Combined metering device .18
Figure 4 – Overview of the interface classes.22
Figure 5 – The attributes when measuring sliding demand .28
Figure 6 – The attributes when measuring current_average_value if number of periods
is 1 28
Figure 7 – The attributes if the number of periods is 3 .29
Figure 8 – The generalized time concept .38

Figure B. 1 – The three step approach of COSEM .82

List of Tables
Table 1 – Common data types.15

---------------------- Page: 6 ----------------------
62056-62/Ed.2 CDV © IEC:200X(E) – 6 –
INTERNATIONAL ELECTROTECHNICAL COMMISSION
____________

ELECTRICITY METERING – DATA EXCHANGE
FOR METER READING, TARIFF AND LOAD CONTROL –

Part 62: Interface classes

FOREWORD
1) The International Electrotechnical Commission (IEC) is a worldwide organization for standardization comprising
all national electrotechnical committees (IEC National Committees). The object of 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, IEC publishes International Standards, Technical Specifications,
Technical Reports, Publicly Available Specifications (PAS) and Guides (hereafter referred to as “IEC
Publication(s)”). 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. 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 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 IEC National Committees.
3) IEC Publications have the form of recommendations for international use and are accepted by IEC National
Committees in that sense. While all reasonable efforts are made to ensure that the technical content of IEC
Publications is accurate, IEC cannot be held responsible for the way in which they are used or for any
misinterpretation by any end user.
4) In order to promote international uniformity, IEC National Committees undertake to apply IEC Publications
transparently to the maximum extent possible in their national and regional publications. Any divergence
between any IEC Publication and the corresponding national or regional publication shall be clearly indicated in
the latter.
5) IEC provides no marking procedure to indicate its approval and cannot be rendered responsible for any
equipment declared to be in conformity with an IEC Publication.
6) All users should ensure that they have the latest edition of this publication.
7) No liability shall attach to IEC or its directors, employees, servants or agents including individual experts and
members of its technical committees and IEC National Committees for any personal injury, property damage or
other damage of any nature whatsoever, whether direct or indirect, or for costs (including legal fees) and
expenses arising out of the publication, use of, or reliance upon, this IEC Publication or any other IEC
Publications.
8) Attention is drawn to the Normative references cited in this publication. Use of the referenced publications is
indispensable for the correct application of this publication.
9) Attention is drawn to the possibility that some of the elements of this IEC Publication may be the subject of
patent rights. IEC shall not be held responsible for identifying any or all such patent rights.
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-62 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 with applicants throughout the world. In this respect, the
statement of the provider of the maintenance service is registered with the IEC. Information (see also chapter 4.6.2
and Annex E) may be obtained from:
1
DLMS User Association
Geneva / Switzerland
www.dlms.ch
International Standard IEC 62056-62 Ed. 2 has been prepared by IEC technical committee 13:
Equipment for electrical energy measurement and load control.
———————
1
Device Language Message Specification.

---------------------- Page: 7 ----------------------
62056-62/Ed.2 CDV © IEC:200X(E) – 7 –
Main changes in this edition 2 are the following:
• the list of common data types has been amended, some new types have been added;
• new HLS mechanisms have been added;
• instance specific data types have been replaced with well defined set of applicable data
types;
• new units have been added;
• new interface classes “Register table” and “Status mapping” have been added;
• a new version of the “IEC local port setup”, “Modem configuration”, “Auto connect” and
“HDLC setup” interface classes have been added;
• new interface classes for setting up a TCP/IP based communication profile have been
added. References to related RFC-s and Internet Standards, as well as related definitions
have been added.
For easier tracking of the changes, new text is highlighted by yellow.
The text of this standard is based on the following documents:
FDIS Report on voting
13/XXXX/FDIS 13/XXXX/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.
This publication has been drafted in accordance with the ISO/IEC Directives, Part 2.
Annexes A, B, C and D form an integral part of this standard.
Annex E is for information only.
The committee has decided that the contents of this publication will remain unchanged until
)
2
the maintenance result date indicated on the IEC web site under "http://webstore.iec.ch" in
the data related to the specific publication. At this date, the publication will be
• reconfirmed,
• withdrawn,
• replaced by a revised edition, or
• amended.
———————
)
2
The National Committees are requested to note that for this publication the maintenance result date is 2010.

---------------------- Page: 8 ----------------------
62056-62/Ed.2 CDV © IEC:200X(E) – 8 –
INTRODUCTION
Driven by the need of the utilities to optimise their business processes, the meter becomes
more and more part of an integrated metering and billing system. Whereas in the past the
commercial value of a meter was mainly generated by its data acquisition and processing
capabilities, nowadays the critical issues are system integration and interoperability.
The Companion Specification for Energy Metering (COSEM) addresses these challenges by
looking at the meter as an integrated part of a commercial process, which starts with the
measurement of the delivered product (energy) and ends with the revenue collection.
The meter is specified by its “behaviour” as seen from the utility's business processes. The
formal specification of the behaviour is based on object modelling techniques (interface
classes and objects). The specification of these objects forms a major part of COSEM.
The COSEM server model (see 4.5) represents only the externally visible elements of the
meter. The client applications that support the business processes of the utilities, customers
and meter manufacturers make use of this server model. The meter offers means to retrieve
its structural model (the list of objects visible through the interface), and provides access to
the attributes and specific methods of these objects.
The set of different interface classes form a standardized library from which the manufacturer
can assemble (model) its individual products. The elements are designed so that with them
the entire range of products (from residential to commercial and industrial applications) can
be covered. The choice of the subset of interface classes used to build a meter, their
instantiation, and their implementation are part of the product design and therefore left to the
manufacturer. The concept of the standardized metering interface class library provides the
different users and manufacturers with a maximum of diversity without having to sacrifice
interoperability.

---------------------- Page: 9 ----------------------
62056-62/Ed.2 CDV © IEC:200X(E) – 9 –
ELECTRICITY METERING – DATA EXCHANGE
FOR METER READING, TARIFF AND LOAD CONTROL –

Part 62: Interface classes

1 Scope
This part of IEC 62056 specifies a model of a meter as it is seen through its communication
interface(s). Generic building blocks are defined using object-oriented methods, in the form of
interface classes to model meters from simple up to very complex functionality.
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 – Chapter 311: General terms relating to
measurements – Chapter 312: General terms relating to electrical measurements – Chapter
313: Types of electrical measuring instruments – Chapter 314: Specific terms according to the
type of instrument
IEC 60559:1989, Binary floating-point arithmetic for microprocessor systems
IEC 61334-4-41:1996, Distribution automation using distribution line carrier systems – Part 4:
Data communication protocols – Section 41: Application protocols – Distribution line message
specification
IEC 62051:1999, Electricity metering – Glossary of terms
IEC 62051-1:2004, Electricity metering – Glossary of terms – Part 1: Terms related to data
exchange with metering equipment using DLMS/COSEM
IEC 62056-21:2002, Data exchange for meter reading, tariff and load control – Part 21: Direct
local data exchange
IEC 62056-31:1999, Electricity metering – Data exchange for meter reading, tariff and load
control – Part 31: Using local area networks on twisted pair with carrier signalling
IEC 62056-46:2001, Electricity metering – Data exchange for meter reading, tariff and load
control – Part 46: Data link layer using HDLC-protocol
3
IEC 62056-46 Amd. 1:200X , Electricity metering – Data exchange for meter reading, tariff

and load control – Part 46: Data link layer using HDLC-protocol
2
IEC 62056-47:200X , Electricity metering – Data exchange for meter reading, tariff and load
control – Part 47: COSEM transport layers for IP networks
2
IEC 62056-53 Ed.2:200X , Electricity metering – Data exchange for meter reading, tariff and

load control – Part 53: COSEM Application layer
———————
3
To be published

---------------------- Page: 10 -------------------
...

Questions, Comments and Discussion

Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.