Electricity metering data exchange - The DLMS/COSEM suite - Part 6-2: COSEM interface classes

IEC 62056-6-2:2013 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.

Echange des données dans les équipements de comptage de l'énergie électrique - La suite DLMS/COSEM - Partie 6-2: Classes d'interfaces COSEM

La CEI 62056-6-2:2013 spécifie un modèle d'un compteur tel qu'il est vu à travers son/ses interface(s) de communication. Des blocs génériques de base sont définis à l'aide de méthodes orientées objet, sous la forme de classes d'interfaces pour modéliser les compteurs à partir d'une fonctionnalité simple jusqu'à une fonctionnalité très complexe.

General Information

Status
Published
Publication Date
29-May-2013
Current Stage
DELPUB - Deleted Publication
Completion Date
23-Feb-2016
Ref Project

Relations

Buy Standard

Standard
IEC 62056-6-2:2013 - Electricity metering data exchange - The DLMS/COSEM suite - Part 6-2: COSEM interface classes Released:5/30/2013
English and French language
416 pages
sale 15% off
Preview
sale 15% off
Preview

Standards Content (Sample)

IEC 62056-6-2
®

Edition 1.0 2013-05
INTERNATIONAL
STANDARD
NORME
INTERNATIONALE
colour
inside


Electricity metering data exchange – The DLMS/COSEM suite –
Part 6-2: COSEM interface classes

Échange de données dans les équipements de comptage de l'énergie
électrique – La suite DLMS/COSEM –
Partie 6-2: Classes d'interfaces COSEM

IEC 62056-6-2:2013

---------------------- Page: 1 ----------------------
THIS PUBLICATION IS COPYRIGHT PROTECTED
Copyright © 2013 IEC, Geneva, Switzerland

All rights reserved. Unless otherwise specified, no part of this publication may be reproduced or utilized in any form
or by any means, electronic or mechanical, 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.

---------------------- Page: 2 ----------------------
IEC 62056-6-2

®


Edition 1.0 2013-05




INTERNATIONAL



STANDARD




NORME



INTERNATIONALE
colour

inside










Electricity metering data exchange – The DLMS/COSEM suite –

Part 6-2: COSEM interface classes




Échange de données dans les équipements de comptage de l'énergie

électrique – La suite DLMS/COSEM –

Partie 6-2: Classes d'interfaces COSEM















INTERNATIONAL

ELECTROTECHNICAL

COMMISSION


COMMISSION

ELECTROTECHNIQUE

PRICE CODE
INTERNATIONALE

CODE PRIX XH


ICS 17.220; 35.110; 91.140.50 ISBN 978-2-83220-822-9



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éé.

® Registered trademark of the International Electrotechnical Commission
Marque déposée de la Commission Electrotechnique Internationale

---------------------- Page: 3 ----------------------
– 2 – 62056-6-2 © IEC:2013
CONTENTS
FOREWORD. 7
INTRODUCTION . 9
1 Scope . 10
2 Normative references . 10
3 Abbreviations . 12
4 Basic principles . 14
4.1 General . 14
4.2 Referencing methods . 15
4.3 Reserved base_names for special COSEM objects . 15
4.4 Class description notation . 15
4.5 Common data types . 18
4.6 Data formats . 19
4.6.1 Date and time formats . 19
4.6.2 Floating point number formats . 21
4.7 The COSEM server model . 23
4.8 The COSEM logical device . 24
4.8.1 General . 24
4.8.2 COSEM logical device name . 24
4.8.3 The “association view” of the logical device . 24
4.8.4 Mandatory contents of a COSEM logical device . 24
4.8.5 Management logical device . 25
4.9 Data security . 25
5 The COSEM interface classes . 25
5.1 Overview . 25
5.2 Interface classes for parameters and measurement data . 27
5.2.1 Data (class_id: 1, version: 0) . 27
5.2.2 Register (class_id: 3, version: 0) . 28
5.2.3 Extended register (class_id: 4, version: 0) . 32
5.2.4 Demand register (class_id: 5, version: 0) . 33
5.2.5 Register activation (class_id: 6, version: 0) . 36
5.2.6 Profile generic (class_id: 7, version: 1) . 38
5.2.7 Utility tables (class_id: 26, version: 0) . 43
5.2.8 Register table (class_id: 61, version: 0) . 44
5.2.9 Status mapping (class_id: 63, version: 0). 47
5.3 Interface classes for access control and management . 48
5.3.1 Association SN (class_id: 12, version: 2) . 48
5.3.2 Association LN (class_id: 15, version: 1) . 52
5.3.3 SAP assignment (class_id: 17, version: 0) . 58
5.3.4 Image transfer (class_id: 18, version: 0) . 59
5.3.5 Security setup (class_id: 64, version: 0) . 67
5.4 Interface classes for time- and event bound control . 68
5.4.1 Clock (class_id: 8, version: 0) . 68
5.4.2 Script table (class_id: 9, version: 0) . 71
5.4.3 Schedule (class_id: 10, version: 0) . 72
5.4.4 Special days table (class_id: 11, version: 0) . 75
5.4.5 Activity calendar (class_id: 20, version: 0) . 76

---------------------- Page: 4 ----------------------
62056-6-2 © IEC:2013 – 3 –
5.4.6 Register monitor (class_id: 21, version: 0) . 79
5.4.7 Single action schedule (class_id: 22, version: 0) . 80
5.4.8 Disconnect control (class_id: 70, version: 0) . 81
5.4.9 Limiter (class_id: 71, version: 0) . 84
5.4.10 Sensor manager interface class (class_id:67, version: 0) . 86
5.5 Interface classes for setting up data exchange via local ports and modems . 90
5.5.1 IEC local port setup (class_id: 19, version: 1) . 90
5.5.2 IEC HDLC setup (class_id: 23, version: 1) . 92
5.5.3 IEC twisted pair (1) setup (class_id: 24, version: 0) . 94
5.5.4 Modem configuration (class_id: 27, version: 1) . 95
5.5.5 Auto answer (class_id: 28, version: 0) . 96
5.5.6 Auto connect (class_id: 29, version: 1) . 98
5.6 Interface classes for setting up data exchange via M-Bus . 99
5.6.1 M-Bus slave port setup (class_id: 25, version: 0) . 99
5.6.2 M-Bus client (class_id: 72, version: 0) . 100
5.6.3 Wireless Mode Q channel (class_id: 73, version: 1) . 105
5.6.4 M-Bus master port setup (class_id: 74, version: 0) . 105
5.7 Interface classes for setting up data exchange over the Internet . 106
5.7.1 TCP-UDP setup (class_id: 41, version: 0) . 106
5.7.2 IPv4 setup (class_id: 42, version: 0) . 107
5.7.3 MAC address setup (class_id: 43, version: 0) . 111
5.7.4 PPP setup (class_id: 44, version: 0) . 111
5.7.5 GPRS modem setup (class_id: 45, version: 0) . 115
5.7.6 SMTP setup (class_id: 46, version: 0) . 116
5.8 Interface classes for setting up data exchange using S-FSK PLC . 117
5.8.1 General . 117
5.8.2 Definitions and abbreviations related to the S-FSK PLC profile . 117
5.8.3 Overview . 119
5.8.4 S-FSK Phy&MAC set-up (class_id: 50, version: 1) . 121
5.8.5 S-FSK Active initiator (class_id: 51, version: 0) . 125
5.8.6 S-FSK MAC synchronization timeouts (class_id: 52, version: 0) . 127
5.8.7 S-FSK MAC counters (class_id: 53, version: 0) . 129
5.8.8 IEC 61334-4-32 LLC setup (class_id: 55, version: 1) . 133
5.8.9 S-FSK Reporting system list (class_id: 56, version: 0) . 134
5.9 Interface classes for setting up the LLC layer for ISO/IEC 8802-2 . 135
5.9.1 General . 135
5.9.2 Definitions related to the ISO/IEC 8802-2 LLC layer . 135
5.9.3 ISO/IEC 8802-2 LLC Type 1 setup (class_id: 57, version: 0) . 135
5.9.4 ISO/IEC 8802-2 LLC Type 2 setup (class_id: 58, version: 0) . 136
5.9.5 ISO/IEC 8802-2 LLC Type 3 setup (class_id: 59, version: 0) . 137
5.10 Maintenance of the interface classes . 140
5.10.1 New versions of interface classes . 140
5.10.2 New interface classes . 140
5.10.3 Removal of interface classes . 140
6 Relation to OBIS . 140
6.1 General . 140
6.2 Abstract COSEM objects. 141
6.2.1 Use of value group C . 141
6.2.2 Data of historical billing periods . 142

---------------------- Page: 5 ----------------------
– 4 – 62056-6-2 © IEC:2013
6.2.3 Billing period values / reset counter entries . 143
6.2.4 Clock objects (class_id: 8) . 144
6.2.5 Modem configuration and related objects . 144
6.2.6 Script table objects (class_id: 9) . 144
6.2.7 Special days table objects (class_id: 11) . 145
6.2.8 Schedule objects (class_id: 10) . 145
6.2.9 Activity calendar objects (class_id: 20) . 145
6.2.10 Register activation objects (class_id: 6) . 146
6.2.11 Single action schedule objects (class_id: 22) . 146
6.2.12 Register monitor objects (class_id: 21) . 146
6.2.13 Limiter objects (class_id: 71) . 146
6.2.14 IEC local port setup objects (class_id: 19) . 146
6.2.15 Standard readout profile objects (class_id: 7) . 146
6.2.16 IEC HDLC setup objects (class_id: 23) . 147
6.2.17 IEC twisted pair (1) setup objects (class_id: 24) . 147
6.2.18 Objects related to data exchange over M-Bus . 147
6.2.19 Objects to set up data exchange over the Internet . 148
6.2.20 Objects for setting up data exchange using S-FSK PLC . 149
6.2.21 Objects for setting up the ISO/IEC 8802-2 LLC layer . 149
6.2.22 Association objects (class_id: 12, 15) . 150
6.2.23 SAP assignment object (class_id: 17) . 150
6.2.24 COSEM logical device name object . 150
6.2.25 Security setup and frame counter objects (class_id: 64) . 150
6.2.26 Image transfer objects (class_id: 18) . 151
6.2.27 Utility table objects (class_id: 26) . 151
6.2.28 Device ID objects . 152
6.2.29 Metering point ID objects . 152
6.2.30 Parameter changes and calibration objects . 152
6.2.31 I/O control signal objects . 152
6.2.32 Disconnect control objects (class_id: 70) . 153
6.2.33 Status of internal control signals objects . 153
6.2.34 Internal operating status objects . 153
6.2.35 Battery entries objects . 154
6.2.36 Power failure monitoring objects . 154
6.2.37 Operating time objects . 155
6.2.38 Environment related parameters objects . 155
6.2.39 Status register objects . 155
6.2.40 Event code objects . 155
6.2.41 Communication port log parameter objects . 156
6.2.42 Consumer message objects . 156
6.2.43 Currently active tariff objects . 156
6.2.44 Event counter objects . 156
6.2.45 Error register objects . 156
6.2.46 Alarm registers and alarm filters objects . 157
6.2.47 General list objects (class_id: 7) . 157
6.2.48 Event log objects . 158
6.2.49 Inactive objects . 158
6.3 Electricity related COSEM objects . 158
6.3.1 Value group D definitions . 158

---------------------- Page: 6 ----------------------
62056-6-2 © IEC:2013 – 5 –
6.3.2 Electricity ID numbers . 159
6.3.3 Billing period values / reset counter entries . 159
6.3.4 Other electricity related general purpose objects . 159
6.3.5 Measurement algorithm . 160
6.3.6 Metering point ID (electricity related) . 161
6.3.7 Electricity related status objects . 162
6.3.8 Electricity related list objects (class_id: 7) . 162
6.3.9 Threshold values . 162
6.3.10 Register monitor objects (class_id: 21) . 163
6.4 Coding of OBIS identifications . 163
7 Previous versions of interface classes . 164
7.1 General . 164
7.2 Profile generic (class_id: 7, version: 0) . 164
7.3 Association SN (class_id: 12, version: 0) . 168
7.4 Association SN (class_id: 12, version: 1) . 170
7.5 Association LN (class_id: 15, version: 0) . 173
7.6 IEC local port setup (class_id: 19, version: 0) . 178
7.7 IEC HDLC setup, (class_id: 23, version: 0) . 179
7.8 PSTN modem configuration (class_id: 27, version: 0) . 181
7.9 PSTN auto dial (class_id: 29, version: 0) . 182
7.10 S-FSK Phy&MAC setup (class_id: 50, version: 0) . 184
7.11 S-FSK IEC 61334-4-32 LLC setup (class_id: 55, version: 0) . 188
Annex A (informative) Significant technical changes with respect to IEC 62056-62 . 190
Bibliography . 193
Index . 195

Figure 1 – An interface class and its instances . 14
Figure 2 – The COSEM server model . 23
Figure 3 – Combined metering device . 23
Figure 4 – Overview of the interface classes – Part 1. 26
Figure 5 – Overview of the interface classes – Part 2. 27
Figure 6 – The time attributes when measuring sliding demand . 33
Figure 7 – The attributes in the case of block demand . 33
Figure 8 – The attributes in the case of sliding demand (number of periods = 3) . 34
Figure 9 – The meaning of the definitions concerning the Image . 60
Figure 10 – The Image Read and the Image Transfer services . 60
Figure 11 – Image transfer process flow chart . 64
Figure 12 – The generalized time concept . 69
Figure 13 – State diagram of the Disconnect control IC . 82
Figure 14 – Definition of upper and lower thresholds . 90
Figure 15 – Object model of DLMS/COSEM servers . 119
Figure 16 – Data of historical billing periods – example with module 12, VZ = 5 . 143

Table 1 – Reserved base_names for SN referencing . 15
Table 2 – Common data types . 18
Table 3 – Enumerated values for physical units . 30

---------------------- Page: 7 ----------------------
– 6 – 62056-6-2 © IEC:2013
Table 4 – Examples for scaler_unit. 32
Table 5 – Schedule . 72
Table 6 – Special days table . 73
Table 7 – Disconnect control IC – states and state transitions . 83
Table 8 – Explicit presentation of threshold value arrays . 90
Table 9 – Explicit presentation of action_sets . 90
Table 10 – Mapping IEC 61334-5-512 MIB variables to COSEM IC attributes / methods . 120
Table 11 – MAC addresses in the S-FSK profile . 125
Table 12 – Use of value group C for abstract objects in the COSEM context . 142
Table 13 – Representation of various values by appropriate ICs . 158
Table 14 – Measuring algorithms – enumerated values . 160
Table 15 – Threshold objects, electricity . 163
Table 16 – Register monitor objects, electricity . 163

---------------------- Page: 8 ----------------------
62056-6-2 © IEC:2013 – 7 –
INTERNATIONAL ELECTROTECHNICAL COMMISSION
____________

ELECTRICITY METERING DATA EXCHANGE –
THE DLMS/COSEM SUITE –

Part 6-2: COSEM 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 unifo
...

Questions, Comments and Discussion

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