Electricity metering data exchange - The DLMS/COSEM suite - Part 4-7: DLMS/COSEM transport layer for IP networks

IEC 62056-4-7:2015 specifies a connection-less and a connection oriented transport layer (TL) for DLMS/COSEM communication profiles used on IP networks. These TLs provide OSI-style services to the service user DLMS/COSEM AL. The connection-less TL is based on the Internet Standard User Datagram Protocol (UDP). The connection-oriented TL is based on the Internet Standard Transmission Control Protocol (TCP). This first edition cancels and replaces the IEC 62056-47 published in 2006 and constitutes a technical revision. It includes the following changes:
- This standard is applicable now both for IP4 and IPv6 networks;
- Latest editions of the IEC 62056 suite are referenced. DLMS/COSEM IANA-registered port numbers added.

Echange des données de comptage de l'électricité - La suite DLMS/COSEM - Partie 4-7: Couche transport DLMS/COSEM pour réseaux IP

L'IEC 62056-4-7:2015 spécifie une couche transport sans connexion et une couche transport orientée connexion pour les profils de communication DLMS/COSEM utilisés sur les réseaux IP. Ces couches transport (TL - Transport Layer) offrent des services du modèle OSI à la couche application (AL - Application Layer) DLMS/COSEM utilisateur de service. La couche transport sans connexion est basée sur la norme Internet User Datagram Protocol (UDP, protocole de datagramme utilisateur). La couche transport orientée connexion est basée sur la norme Internet Transmission Control Protocol (TCP, protocole de contrôle de transmission). Cette première édition annule et remplace l'IEC 62056-47 parue en 2006. Elle constitue une révision technique. Elle inclut les modifications suivantes:
- La présente norme s'applique désormais aux deux réseaux IP4 et IPv6;
- Les dernières éditions de la série IEC 62056 sont référencées;
- Ajout des numéros de port assignés par l'IANA pour le DLMS/COSEM.

General Information

Status
Published
Publication Date
19-May-2015
Current Stage
PPUB - Publication issued
Start Date
15-Jun-2015
Completion Date
20-May-2015
Ref Project

Relations

Buy Standard

Standard
IEC 62056-4-7:2015 - Electricity metering data exchange - The DLMS/COSEM suite - Part 4-7: DLMS/COSEM transport layer for IP networks
English and French language
80 pages
sale 15% off
Preview
sale 15% off
Preview

Standards Content (Sample)


IEC 62056-4-7 ®
Edition 1.0 2015-05
INTERNATIONAL
STANDARD
NORME
INTERNATIONALE
colour
inside
Electricity metering data exchange – The DLMS/COSEM suite –
Part 4-7: DLMS/COSEM transport layer for IP networks

Échange des données de comptage de l'électricité – La suite DLMS/COSEM –
Partie 4-7: Couche transport DLMS/COSEM pour réseaux IP

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 more than 30 000 terms and
Technical Specifications, Technical Reports and other definitions in English and French, with equivalent terms in 15
documents. Available for PC, Mac OS, Android Tablets and additional languages. Also known as the International
iPad. Electrotechnical 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 More than 60 000 electrotechnical terminology entries in
variety of criteria (reference number, text, technical English and French extracted from the Terms and Definitions
committee,…). It also gives information on projects, replaced clause of IEC publications issued since 2002. Some entries
and withdrawn publications. have been 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 plus de 30 000 termes et définitions en
Spécifications techniques, Rapports techniques et autres
anglais et en français, ainsi que les termes équivalents dans
documents de l'IEC. Disponible pour PC, Mac OS, tablettes
15 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
Plus de 60 000 entrées terminologiques électrotechniques, en
La recherche avancée permet de trouver des publications IEC
en utilisant différents critères (numéro de référence, texte, anglais et en français, extraites des articles Termes et
comité d’études,…). Elle donne aussi des informations sur les Définitions des publications IEC parues depuis 2002. Plus
projets et les publications remplacées ou retirées. certaines entré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-4-7 ®
Edition 1.0 2015-05
INTERNATIONAL
STANDARD
NORME
INTERNATIONALE
colour
inside
Electricity metering data exchange – The DLMS/COSEM suite –

Part 4-7: DLMS/COSEM transport layer for IP networks

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

Partie 4-7: Couche transport DLMS/COSEM pour réseaux IP

INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
COMMISSION
ELECTROTECHNIQUE
INTERNATIONALE
ICS 17.220; 35.110; 91.140.50 ISBN 978-2-8322-2609-4

– 2 – IEC 62056-4-7:2015  IEC 2015
CONTENTS
FOREWORD . 4
INTRODUCTION . 6
1 Scope . 7
2 Normative references . 7
3 Terms, definitions and abbreviations . 8
3.1 Terms and definitions . 8
3.2 Abbreviations . 8
4 Overview . 9
5 The DLMS/COSEM connection-less, UDP-based transport layer . 10
5.1 General . 10
5.2 Service specification for the DLMS/COSEM UDP-based transport layer . 11
5.2.1 General . 11
5.2.2 The UDP-DATA service . 12
5.3 Protocol specification for the DLMS/COSEM UDP-based transport layer . 14
5.3.1 General . 14
5.3.2 The wrapper protocol data unit (WPDU) . 14
5.3.3 The DLMS/COSEM UDP-based transport layer protocol data unit . 15
5.3.4 Reserved wrapper port numbers (wPorts) . 16
5.3.5 Protocol state machine . 16
6 The DLMS/COSEM connection-oriented, TCP-based transport layer . 16
6.1 General . 16
6.2 Service specification for the DLMS/COSEM TCP-based transport layer . 17
6.2.1 General . 17
6.2.2 The TCP-CONNECT service . 18
6.2.3 The TCP-DISCONNECT service . 21
6.2.4 The TCP-ABORT service . 23
6.2.5 The TCP-DATA service . 24
6.3 Protocol specification for the DLMS/COSEM TCP-based transport layer . 26
6.3.1 General . 26
6.3.2 The wrapper protocol data unit (WPDU) . 26
6.3.3 The DLMS/COSEM TCP-based transport layer protocol data unit . 27
6.3.4 Reserved wrapper port numbers . 27
6.3.5 Definition of the procedures . 27
Annex A (informative) Converting OSI-style TL services to and from RFC-style TCP
function calls. 32
A.1 Transport layer and TCP connection establishment . 32
A.2 Closing a transport layer and a TCP connection . 33
A.3 TCP connection abort . 34
A.4 Data transfer using the TCP-DATA service . 35
INDEX . 37
Bibliography . 38

Figure 1 – DLMS/COSEM as a standard Internet application protocol . 9
Figure 2 – Transport layers of the DLMS/COSEM_on_IP profile . 10
Figure 3 – Services of the DLMS/COSEM connection-less, UDP-based transport layer . 12

Figure 4 – The wrapper protocol data unit (WPDU) . 15
Figure 5 – The DLMS/COSEM connection-less, UDP-based transport layer PDU (UDP-
PDU) . 15
Figure 6 – Services of the DLMS/COSEM connection-oriented,TCP-based transport
layer . 18
Figure 7 – The TCP packet format . 27
Figure 8 – TCP connection establishment . 28
Figure 9 – TCP disconnection . 29
Figure 10 – Data transfer using the DLMS/COSEM TCP-based transport layer . 30
Figure 11 – High-level state transition diagram for the wrapper sublayer . 31
Figure A.1 – TCP connection state diagram . 32
Figure A.2 – MSC and state transitions for establishing a transport layer and TCP
connection . 33
Figure A.3 – MSC and state transitions for closing a transport layer and TCP
connection . 34
Figure A.4 – Polling the TCP sublayer for TCP abort indication . 34
Figure A.5 – Sending an APDU in three TCP packets . 35
Figure A.6 – Receiving the message in several packets . 36

Table 1 – Reserved wrapper port numbers in the UDP-based DLMS/COSEM TL . 16

– 4 – IEC 62056-4-7:2015  IEC 2015
INTERNATIONAL ELECTROTECHNICAL COMMISSION
____________
ELECTRICITY METERING DATA EXCHANGE –
THE DLMS/COSEM SUITE –
Part 4-7: DLMS/COSEM transport layer for IP networks

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

Questions, Comments and Discussion

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