Electricity metering data exchange - The DLMS/COSEM suite - Part 5-3: DLMS/COSEM application layer

IEC 62056-5-3:2016 is available as IEC 62056-5-3:2016 RLV which contains the International Standard and its Redline version, showing all changes of the technical content compared to the previous edition.
IEC 62056-5-3:2016 specifies the DLMS/COSEM application layer in terms of structure, services and protocols for COSEM clients and servers, and defines how to use the DLMS/COSEM application layer in various communication profiles. It defines services for establishing and releasing application associations, and data communication services for accessing the methods and attributes of COSEM interface objects, defined in IEC 62056-6-2:2016, using either logical name (LN) or short name (SN) referencing. This second edition cancels and replaces the first edition of IEC 62056-5-3 published in 2013.

Echange des données de comptage de l'électricité - La suite DLMS/COSEM - Partie 5-3: Couche application DLMS/COSEM

L'IEC 62056-5-3:2016 indique la couche application DLMS/COSEM en termes de structure, de services et de protocoles pour les clients et serveurs COSEM, et définit comment utiliser la couche application DLMS/COSEM dans différents profils de communication. Elle définit les services permettant d'établir et de libérer des associations d'applications, ainsi que les services de communication de données permettant d'accéder aux méthodes et aux attributs des objets d'interface COSEM, définis dans l'IEC 62056-6-2, à l'aide du référencement par nom logique (LN) ou par nom abrégé (SN). Cette deuxième édition annule et remplace la première édition de l'IEC 62056-5-3 parue en 2013.

General Information

Status
Published
Publication Date
03-Mar-2016
Current Stage
DELPUB - Deleted Publication
Completion Date
10-Aug-2017
Ref Project

Relations

Buy Standard

Standard
IEC 62056-5-3:2016 RLV - Electricity metering data exchange - The DLMS/COSEM suite - Part 5-3: DLMS/COSEM application layer Released:3/4/2016 Isbn:9782832232187
English language
622 pages
sale 15% off
Preview
sale 15% off
Preview
Standard
IEC 62056-5-3:2016 - Electricity metering data exchange - The DLMS/COSEM suite - Part 5-3: DLMS/COSEM application layer Released:3/4/2016 Isbn:9782832230190
English and French language
416 pages
sale 15% off
Preview
sale 15% off
Preview

Standards Content (Sample)


IEC 62056-5-3 ®
Edition 2.0 2016-03
REDLINE VERSION
INTERNATIONAL
STANDARD
colour
inside
Electricity metering data exchange – The DLMS/COSEM suite –
Part 5-3: DLMS/COSEM application layer

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.

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.

IEC Catalogue - webstore.iec.ch/catalogue Electropedia - www.electropedia.org
The stand-alone application for consulting the entire The world's leading online dictionary of electronic and
bibliographical information on IEC International Standards, electrical terms containing 20 000 terms and definitions in
Technical Specifications, Technical Reports and other English and French, with equivalent terms in 15 additional
documents. Available for PC, Mac OS, Android Tablets and languages. Also known as the International Electrotechnical
iPad. Vocabulary (IEV) online.

IEC publications search - www.iec.ch/searchpub IEC Glossary - std.iec.ch/glossary
The advanced search enables to find IEC publications by a 65 000 electrotechnical terminology entries in English and
variety of criteria (reference number, text, technical French extracted from the Terms and Definitions clause of
committee,…). It also gives information on projects, replaced IEC publications issued since 2002. Some entries have been
and withdrawn publications. collected from earlier publications of IEC TC 37, 77, 86 and

CISPR.
IEC Just Published - webstore.iec.ch/justpublished
Stay up to date on all new IEC publications. Just Published IEC Customer Service Centre - webstore.iec.ch/csc
details all new publications released. Available online and If you wish to give us your feedback on this publication or
also once a month by email. need further assistance, please contact the Customer Service
Centre: csc@iec.ch.
IEC 62056-5-3 ®
Edition 2.0 2016-02
REDLINE VERSION
INTERNATIONAL
STANDARD
colour
inside
Electricity metering data exchange – The DLMS/COSEM suite –

Part 5-3: DLMS/COSEM application layer

INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
ICS 17.220; 35.110; 91.140.50 ISBN 978-2-8322-3218-7

– 2 – IEC 62056-5-3:2016 RLV  IEC 2016
CONTENTS
FOREWORD. 8
INTRODUCTION . 2
1 Scope . 11
2 Normative references . 11
3 Terms, definitions and abbreviations . 13
3.1 Terms and definitions . 13
3.2 Abbreviations . 13
4 Overview . 15
4.1 DLMS/COSEM application layer structure . 15
4.2 DLMS/COSEM application layer services . 17
4.2.1 ASO services . 17
4.2.2 Services provided for application association establishment and release . 17
4.2.3 Services provided for data transfer . 18
4.2.4 Layer management services . 23
4.2.5 Summary of DLMS/COSEM application layer services . 23
4.3 DLMS/COSEM application layer protocols . 25
5 Information security in DLMS/COSEM . 25
5.1 Definitions . 25
5.2 General . 25
5.3 Data access security . 26
5.3.1 Overview . 26
5.3.2 No security (lowest level security) authentication . 26
5.3.3 Low Level Security (LLS) authentication . 26
5.3.4 High Level Security (HLS) authentication . 27
5.4 Data transport security . 30
5.4.1 Applying, removing or checking the protection: ciphering and
deciphering . 30
5.4.2 Security context . 31
5.4.3 Security policy . 31
5.4.4 Security suite . 32
5.4.5 Security material . 32
5.4.6 Ciphered xDLMS APDUs . 32
5.4.7 Cryptographic keys . 36
5.4.8 The Galois/Counter Mode of Operation (GCM) . 39
6 DLMS/COSEM application layer service specification . 48
6.1 Service primitives and parameters . 48
6.2 The COSEM-OPEN service . 50
6.3 The COSEM-RELEASE service . 55
6.4 COSEM-ABORT service . 58
6.5 Security parameters .
6.5 Protection and general block transfer parameters . 58
6.6 The GET service . 63
6.7 The SET service . 66
6.8 The ACTION service . 68
6.9 The DataNotification service . 72
6.10 The EventNotification service . 73

6.11 The TriggerEventNotificationSending service . 74
6.12 Variable access specification . 75
6.13 The Read service . 75
6.14 The Write service . 79
6.15 The UnconfirmedWrite service . 82
6.16 The InformationReport service . 83
6.17 Client side layer management services: the SetMapperTable.request . 84
6.18 Summary of services and LN/SN data transfer service mapping . 85
7 DLMS/COSEM application layer protocol specification . 85
7.1 The control function . 85
7.1.1 State definitions of the client side control function . 85
7.1.2 State definitions of the server side control function . 87
7.2 The ACSE services and APDUs . 88
7.2.1 ACSE functional units, services and service parameters . 88
7.2.2 Registered COSEM names . 91
7.2.3 APDU encoding rules . 93
7.2.4 Protocol for application association establishment . 93
7.2.5 Protocol for application association release . 99
7.3 Protocol for the data transfer services . 102
7.3.1 Negotiation of services and options – the conformance block . 102
7.3.2 Confirmed and unconfirmed service invocations . 103
7.3.3 Protocol for the GET service . 105
7.3.4 Protocol for the SET service . 108
7.3.5 Protocol for the ACTION service . 111
7.3.6 Protocol of the DataNotification service . 113
7.3.7 Protocol for the EventNotification service . 113
7.3.8 Protocol for the Read service . 113
7.3.9 Protocol for the Write service . 117
7.3.10 Protocol for the UnconfirmedWrite service . 121
7.3.11 Protocol for the InformationReport service . 122
7.3.12 Protocol of general block transfer mechanism . 123
8 Abstract syntax of ACSE and COSEM APDUs . 134
Annex A (normative) Using the COSEM application layer in various communications
profiles . 149
A.1 General . 149
A.2 Targeted communication environments . 149
A.3 The structure of the profile . 149
A.4 Identification and addressing schemes . 149
A.5 Supporting layer services and service mapping . 150
A.6 Communication profile specific parameters of the COSEM AL services . 150
A.7 Specific considerations / constraints using certain services within a given
profile . 150
A.8 The 3-layer, connection-oriented, HDLC based communication profile . 150
A.9 The TCP-UDP/IP based communication profiles (COSEM_on_IP) . 150
A.10 The S-FSK PLC profile . 150
Annex B (normative) SMS short wrapper . 151
Annex C (informative) AARQ and AARE encoding examples . 152
C.1 General . 152
C.2 Encoding of the xDLMS InitiateRequest / InitiateResponse APDUs . 152

– 4 – IEC 62056-5-3:2016 RLV  IEC 2016
C.3 Specification of the AARQ and AARE APDUs . 155
C.4 Data for the examples . 156
C.5 Encoding of the AARQ APDU .
...


IEC 62056-5-3 ®
Edition 2.0 2016-03
INTERNATIONAL
STANDARD
NORME
INTERNATIONALE
colour
inside
Electricity metering data exchange – The DLMS/COSEM suite –
Part 5-3: DLMS/COSEM application layer

Échange des données de comptage de l'électricité – La suite DLMS/COSEM –
Partie 5-3: Couche application DLMS/COSEM

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 l'IEC ou du Comité national de l'IEC du pays du demandeur. Si vous avez des
questions sur le copyright de l'IEC 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 l'IEC 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.

IEC Catalogue - webstore.iec.ch/catalogue Electropedia - www.electropedia.org
The stand-alone application for consulting the entire The world's leading online dictionary of electronic and
bibliographical information on IEC International Standards, electrical terms containing 20 000 terms and definitions in
Technical Specifications, Technical Reports and other English and French, with equivalent terms in 15 additional
documents. Available for PC, Mac OS, Android Tablets and languages. Also known as the International Electrotechnical
iPad. Vocabulary (IEV) online.

IEC publications search - www.iec.ch/searchpub IEC Glossary - std.iec.ch/glossary
The advanced search enables to find IEC publications by a 65 000 electrotechnical terminology entries in English and
variety of criteria (reference number, text, technical French extracted from the Terms and Definitions clause of
committee,…). It also gives information on projects, replaced IEC publications issued since 2002. Some entries have been
and withdrawn publications. collected from earlier publications of IEC TC 37, 77, 86 and

CISPR.
IEC Just Published - webstore.iec.ch/justpublished

Stay up to date on all new IEC publications. Just Published IEC Customer Service Centre - webstore.iec.ch/csc
details all new publications released. Available online and If you wish to give us your feedback on this publication or
also once a month by email. need further assistance, please contact the Customer Service
Centre: csc@iec.ch.
A propos de l'IEC
La Commission Electrotechnique Internationale (IEC) 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 IEC
Le contenu technique des publications IEC est constamment revu. Veuillez vous assurer que vous possédez l’édition la
plus récente, un corrigendum ou amendement peut avoir été publié.

Catalogue IEC - webstore.iec.ch/catalogue Electropedia - www.electropedia.org
Application autonome pour consulter tous les renseignements
Le premier dictionnaire en ligne de termes électroniques et
bibliographiques sur les Normes internationales,
électriques. Il contient 20 000 termes et définitions en anglais
Spécifications techniques, Rapports techniques et autres
et en français, ainsi que les termes équivalents dans 15
documents de l'IEC. Disponible pour PC, Mac OS, tablettes
langues additionnelles. Egalement appelé Vocabulaire
Android et iPad.
Electrotechnique International (IEV) en ligne.

Recherche de publications IEC - www.iec.ch/searchpub
Glossaire IEC - std.iec.ch/glossary
La recherche avancée permet de trouver des publications IEC 65 000 entrées terminologiques électrotechniques, en anglais
en utilisant différents critères (numéro de référence, texte, et en français, extraites des articles Termes et Définitions des
comité d’études,…). Elle donne aussi des informations sur les publications IEC parues depuis 2002. Plus certaines entrées
projets et les publications remplacées ou retirées. antérieures extraites des publications des CE 37, 77, 86 et

CISPR de l'IEC.
IEC Just Published - webstore.iec.ch/justpublished

Service Clients - webstore.iec.ch/csc
Restez informé sur les nouvelles publications IEC. Just
Published détaille les nouvelles publications parues. Si vous désirez nous donner des commentaires sur cette
Disponible en ligne et aussi une fois par mois par email. publication ou si vous avez des questions contactez-nous:
csc@iec.ch.
IEC 62056-5-3 ®
Edition 2.0 2016-03
INTERNATIONAL
STANDARD
NORME
INTERNATIONALE
colour
inside
Electricity metering data exchange – The DLMS/COSEM suite –

Part 5-3: DLMS/COSEM application layer

Échange des données de comptage de l'électricité – La suite DLMS/COSEM –

Partie 5-3: Couche application DLMS/COSEM

INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
COMMISSION
ELECTROTECHNIQUE
INTERNATIONALE
ICS 17.220; 35.110; 91.140.50 ISBN 978-2-8322-3019-0

– 2 – IEC 62056-5-3:2016  IEC 2016
CONTENTS
FOREWORD. 8
INTRODUCTION . 10
1 Scope . 11
2 Normative references . 11
3 Terms, definitions and abbreviations . 13
3.1 Terms and definitions . 13
3.2 Abbreviations . 13
4 Overview . 15
4.1 DLMS/COSEM application layer structure . 15
4.2 DLMS/COSEM application layer services . 16
4.2.1 ASO services . 16
4.2.2 Services provided for application association establishment and release . 16
4.2.3 Services provided for data transfer . 17
4.2.4 Layer management services . 22
4.2.5 Summary of DLMS/COSEM application layer services . 22
4.3 DLMS/COSEM application layer protocols . 22
5 Information security in DLMS/COSEM . 23
5.1 Definitions . 23
5.2 General . 23
5.3 Data access security . 24
5.3.1 Overview . 24
5.3.2 No security (lowest level security) authentication . 24
5.3.3 Low Level Security (LLS) authentication . 24
5.3.4 High Level Security (HLS) authentication . 25
5.4 Data transport security . 27
5.4.1 Applying, removing or checking the protection: ciphering and
deciphering . 27
5.4.2 Security context . 28
5.4.3 Security policy . 28
5.4.4 Security suite . 29
5.4.5 Security material . 29
5.4.6 Ciphered xDLMS APDUs . 29
5.4.7 Cryptographic keys . 31
5.4.8 The Galois/Counter Mode of Operation (GCM) . 34
6 DLMS/COSEM application layer service specification . 43
6.1 Service primitives and parameters . 43
6.2 The COSEM-OPEN service . 45
6.3 The COSEM-RELEASE service . 50
6.4 COSEM-ABORT service . 52
6.5 Protection and general block transfer parameters . 53
6.6 The GET service . 57
6.7 The SET service . 59
6.8 The ACTION service . 62
6.9 The DataNotification service . 66
6.10 The EventNotification service . 67
6.11 The TriggerEventNotificationSending service . 68

6.12 Variable access specification . 69
6.13 The Read service . 69
6.14 The Write service . 73
6.15 The UnconfirmedWrite service . 76
6.16 The InformationReport service . 77
6.17 Client side layer management services: the SetMapperTable.request . 78
6.18 Summary of services and LN/SN data transfer service mapping . 78
7 DLMS/COSEM application layer protocol specification . 79
7.1 The control function . 79
7.1.1 State definitions of the client side control function . 79
7.1.2 State definitions of the server side control function . 81
7.2 The ACSE services and APDUs . 82
7.2.1 ACSE functional units, services and service parameters . 82
7.2.2 Registered COSEM names . 85
7.2.3 APDU encoding rules . 87
7.2.4 Protocol for application association establishment . 87
7.2.5 Protocol for application association release . 92
7.3 Protocol for the data transfer services . 95
7.3.1 Negotiation of services and options – the conformance block . 95
7.3.2 Confirmed and unconfirmed service invocations . 96
7.3.3 Protocol for the GET service . 98
7.3.4 Protocol for the SET service . 101
7.3.5 Protocol for the ACTION service . 104
7.3.6 Protocol of the DataNotification service . 106
7.3.7 Protocol for the EventNotification service . 1
...

Questions, Comments and Discussion

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