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

Specifies the transport layers for COSEM communication profiles for use on IPv4 networks. These communication profiles contain a connection-less and a connection-oriented transport layer, providing OSI-style services to the service user COSEM application layer. The connection-less transport layer is based on the Internet standard User Datagram Protocol. The connection-oriented transport layer is based on the Internet standard Transmission Control Protocol.
This publication is of high relevance for Smart Grid.

General Information

Status
Replaced
Publication Date
14-Nov-2006
Current Stage
DELPUB - Deleted Publication
Completion Date
20-May-2015
Ref Project

Relations

Buy Standard

Standard
IEC 62056-47:2006 - Electricity metering - Data exchange for meter reading, tariff and load control - Part 47: COSEM transport layers for IPv4 networks Released:11/15/2006 Isbn:2831888948
English language
39 pages
sale 15% off
Preview
sale 15% off
Preview

Standards Content (Sample)


INTERNATIONAL IEC
STANDARD 62056-47
First edition
2006-11
Electricity metering –
Data exchange for meter
reading, tariff and load control –
Part 47:
COSEM transport layers for IPv4 networks
Reference number
Publication numbering
As from 1 January 1997 all IEC publications are issued with a designation in the
60000 series. For example, IEC 34-1 is now referred to as IEC 60034-1.
Consolidated editions
The IEC is now publishing consolidated versions of its publications. For example,
edition numbers 1.0, 1.1 and 1.2 refer, respectively, to the base publication, the
base publication incorporating amendment 1 and the base publication incorporating
amendments 1 and 2.
Further information on IEC publications
The technical content of IEC publications is kept under constant review by the IEC,
thus ensuring that the content reflects current technology. Information relating to
this publication, including its validity, is available in the IEC Catalogue of
publications (see below) in addition to new editions, amendments and corrigenda.
Information on the subjects under consideration and work in progress undertaken
by the technical committee which has prepared this publication, as well as the list
of publications issued, is also available from the following:
• IEC Web Site (www.iec.ch)
• Catalogue of IEC publications
The on-line catalogue on the IEC web site (www.iec.ch/searchpub) enables you to
search by a variety of criteria including text searches, technical committees
and date of publication. On-line information is also available on recently issued
publications, withdrawn and replaced publications, as well as corrigenda.
• IEC Just Published
This summary of recently issued publications (www.iec.ch/online_news/ justpub)
is also available by email. Please contact the Customer Service Centre (see
below) for further information.
• Customer Service Centre
If you have any questions regarding this publication or need further assistance,
please contact the Customer Service Centre:

Email: custserv@iec.ch
Tel: +41 22 919 02 11
Fax: +41 22 919 03 00
INTERNATIONAL IEC
STANDARD 62056-47
First edition
2006-11
Electricity metering –
Data exchange for meter
reading, tariff and load control –
Part 47:
COSEM transport layers for IPv4 networks
© 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 W
International Electrotechnical Commission
МеждународнаяЭлектротехническаяКомиссия
For price, see current catalogue

– 2 – 62056-47 © IEC:2006(E)
CONTENTS
FOREWORD.3

1 Scope.5
2 Normative references .5
3 Terms, definitions and abbreviations .6
4 Overview .6
5 The COSEM connection-less, UDP-based transport layer.8
5.1 General .8
5.2 Service specification for the COSEM UDP-based transport layer .9
5.3 Protocol specification for the COSEM UDP-based transport layer.12
6 The COSEM connection-oriented, TCP-based transport layer.14
6.1 General .14
6.2 Service specification for the COSEM TCP-based transport layer .15
6.3 Protocol specification for the COSEM TCP-based transport layer .25

Annex A (informative) Converting OSI-style transport layer services to and from RFC-
style TCP function calls .32

Bibliography.38

INDEX .39

Figure 1 – COSEM as a standard Internet application protocol .7
Figure 2 – Transport layers of the COSEM_on_IP profile .8
Figure 3 – Services of the COSEM connection-less, UDP-based transport layer .9
Figure 4 – The wrapper protocol data unit (WPDU) .13
Figure 5 – The COSEM connection-less, UDP-based transport layer PDU (UDP-PDU) .13
Figure 6 – Services of the COSEM connection-oriented, TCP-based transport layer .16
Figure 7 – The TCP packet format .26
Figure 8 – Figure TCP connection establishment .27
Figure 9 – Disconnecting a TCP connection.28
Figure 10 – Data communication using the COSEM TCP-based transport layer .30
Figure 11 – High-level state transition diagram for the wrapper sub-layer .30
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 sub-layer for TCP abort indication .35
Figure A.5 – Sending an APDU in three TCP packets .36
Figure A.6 – Receiving the message in several packets.37

Table 1 – Reserved wrapper Port numbers in the UDP-based COSEM profile.14

62056-47 © IEC:2006(E) – 3 –
INTERNATIONAL ELECTROTECHNICAL COMMISSION
____________
ELECTRICITY METERING –
DATA EXCHANGE FOR METER READING,
TARIFF AND LOAD CONTROL –
Part 47: COSEM transport layers for IPv4 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 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-47 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 may be obtained from:
DLMS User Association
Geneva / Switzerland
www.dlms.ch
International Standard IEC 62056-47 has been prepared by IEC technical committee 13:
Equipment for electrical energy measurement and load control.
———————
Device Language Message Specification

– 4 – 62056-47 © IEC:2006(E)
The text of this standard is based on the following documents:
FDIS Report on voting
13/1386/FDIS 13/1397/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 list of all parts of IEC 62056 series, published under the general title Electricity metering –
Data exchange for meter reading, tariff and load control, can be found on the IEC website.
A bilingual version of the publication may be issued at a later date.

62056-47 © IEC:2006(E) – 5 –
ELECTRICITY METERING –
DATA EXCHANGE FOR METER READING,
TARIFF AND LOAD CONTROL –
Part 47: COSEM transport layers for IPv4 networks

1 Scope
This part of IEC 62056 specifies the transport layers for COSEM communication profiles for
use on IPv4 networks.
These communication profiles contain a connection-less and a connection-oriented transport
layer, providing OSI-style services to the service user COSEM application layer. The
connection-less transport layer is based on the Internet standard User Datagram Protocol.
The connection-oriented transport layer is based on the Internet standard Transmission
Control Protocol.
Although the major part of the COSEM transport layers is the UDP and TCP as they are
specified in the relevant Internet standards, they include an additional sub-layer, called
wrapper.
Annex A shows how the OSI-style transport layer services can be converted to and from UDP
and TCP function calls.
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 (IEV) – 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 62051:1999, Electricity metering – Glossary of terms
IEC 62051-1:2004, Ed.1., 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-53, Electricity metering – Data exchange for meter reading, tariff and load control
− Part 53: COSEM application layer
IEC 62056-62, Electricity metering – Data exchange for meter reading, tariff and load control
− Part 62: Interface classes
STD0005 – Internet Protocol
Author: J. Postel
Date: September 1981
Also: RFC0791, RFC079
...

Questions, Comments and Discussion

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