Electricity metering - Data exchange for meter reading, tariff and load control - Part 53: COSEM application layer

Specifies the COSEM application layer in terms of structure, services and protocols for COSEM clients and servers, and defines how to use the 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-62, using either logical name (LN) or short name (SN) referencing.
This publication is of high relevance for Smart Grid.

General Information

Status
Replaced
Publication Date
10-Dec-2006
Current Stage
DELPUB - Deleted Publication
Completion Date
05-Jun-2013
Ref Project

Relations

Buy Standard

Standard
IEC 62056-53:2006 - Electricity metering - Data exchange for meter reading, tariff and load control - Part 53: COSEM application layer Released:12/11/2006 Isbn:2831889146
English language
144 pages
sale 15% off
Preview
sale 15% off
Preview

Standards Content (Sample)


INTERNATIONAL IEC
STANDARD 62056-53
Second edition
2006-12
Electricity metering –
Data exchange for meter reading,
tariff and load control –
Part 53:
COSEM application layer
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-53
Second edition
2006-12
Electricity metering –
Data exchange for meter reading,
tariff and load control –
Part 53:
COSEM application layer
© 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 XG
International Electrotechnical Commission
МеждународнаяЭлектротехническаяКомиссия
For price, see current catalogue

– 2 – 62056-53 © IEC:2006(E)
CONTENTS
FOREWORD.5

1 Scope.7
2 Normative references .7
3 Terms, definitions and abbreviations .8
4 The COSEM communications framework .10
4.1 Client/server type operation, communication profiles .10
4.2 Connection (association) oriented operation.12
5 Overview: the COSEM application layer .12
5.1 Specification method .12
5.2 Application layer structure .12
5.3 Service specification .13
5.4 Layer management services.15
5.5 Protocol specification .15
6 COSEM application layer – Service specification.16
6.1 Summary of services .16
6.2 Application association establishment and release .16
6.3 Special application associations .17
6.4 Data communication.18
6.5 Client COSEM application layer services.19
6.6 Server COSEM application layer services.38
6.7 Summary of COSEM application layer services and service parameters .55
7 COSEM application layer protocol specification .59
7.1 State definitions for the client side control function.59
7.2 State definitions for the server side control function .61
7.3 Protocol for application association establishment/release .62
7.4 Protocol for data communications.74
8 Specification of COSEM data types .89
8.1 The COSEM APDUs.89
8.2 The ACSE APDUs .90
8.3 Useful types .93
8.4 The xDLMS-Initiate.request/response/ConfirmedServiceError PDUs.98
8.5 The conformance block .98
8.6 Definition of APDUs for data communication .99

Annex A (normative) The xDLMS application service element.105
Annex B (normative) Using the COSEM Application Layer in various communication
profiles .107
Annex C (informative) AARQ and AARE encoding examples.126
Annex D (informative) Data model and protocol .138

Bibliography.139

INDEX .142

62056-53 © IEC:2006(E) – 3 –
Figure 1 – Client/server relationship in COSEM .10
Figure 2 – Exchanging messages via the communication protocol .11
Figure 3 – The COSEM application layer on the top of various lower layer stacks.11
Figure 4 – A complete communication session in the CO environment .12
Figure 5 – The structure of the COSEM application layers .13
Figure 6 – Structure of the COSEM AL when the server is using SN references.15
Figure 7 – Summary of COSEM application layer services .16
Figure 8 – Normal service sequence for the COSEM-OPEN service.17
Figure 9 – Client side services for application association establishment .19
Figure 10 – Client side services for releasing an application association.23
Figure 11 – Client side data communication services .26
Figure 12 – Client side services for event notification .35
Figure 13 – Server side services for application association establishment .38
Figure 14 – Server side services for releasing an application association .40
Figure 15 – Server side data communications services using LN referencing.44
Figure 16 – Partial state machine for the client side control function .60
Figure 17 – Partial state machine for the server side control function.61
Figure 18 – MSC for successful application association establishment preceded by a
successful lower layer connection establishment .63
Figure 19 – Graceful association release using the A-RELEASE service.69
Figure 20 – Graceful release of an application association by disconnection the
supporting layer .70
Figure 21 – Aborting an application association following a PH-ABORT.indication .71
Figure 22 – MSC for a confirmed GET service in case of success.75
Figure 23 – MSC for a confirmed SET service in case of success .75
Figure 24 – MSC for the SET service in case of failure .76
Figure 25 – MSC for the ACTION service (simplest case) .76
Figure 26 – Long data with the GET service in three data blocks .81
Figure 27 – Long data transfer in three data blocks with the SET service.83
Figure 28 – Long data transfer with the ACTION service.85
Figure 29 – MSC for the ReadRequest/Response services .87
Figure B.1 – Identification/addressing scheme in the 3-layer, connection-oriented,
HDLC based communication profile .110
Figure B.2 – Data link layer services provided to and used by the client COSEM
application layer .111
Figure B.3 – Data link layer services provided to and used by the server COSEM
application layer .112
Figure B.4 – Example: EventNotificaton triggered by the client .115
Figure B.5 – Multi-drop configuration and its model .116
Figure B.6 – Master/ Slave operation on the multi-drop bus .116
Figure B.7 – COSEM as a standard Internet application protocol .118
Figure B.8 – Examples for lower-layer protocols in the TCP-UDP/IP based profiles .119
Figure B.9 – Identification/addressing scheme in the TCP-UDP/IP based profile(s).120
Figure B.10 – Summary of TCP/UDP layer services on the client and server side .121
Figure D.1 – The three-step approach of COSEM .138

– 4 – 62056-53 © IEC:2006(E)
Table 1 – Mapping between client side LN and server side SN referencing services .37
Table 2 – Application layer services – summary.55
Table 3 – Summary of the service parameters in the COSEM-OPEN service primitives.56
Table 4 – Summary of the service parameters in the COSEM-RELEASE service primitives .57
Table 5 – Summary of the service parameters in the COSEM-ABORT service primitives .57
Table 6 – Summary of the service parameters in the COSEM GET service primitives .57
Table 7 – Summary of the service parameters in the COSEM SET service primitives.58
Table 8 – Summary of the service parameters in the COSEM ACTION service primitives .58
Table 9 – Summary of the service parameters in the COSEM EventNotification service
primitives .59
Table 10 – Mapping between the EventNotification and InformationReport services.88
Table B.1 – Application associations and data exchange in the 3-layer, connection-
oriented, HDLC based profile.113
Table B.2 –Application associations and data exchange in the TCP-UDP/IP based profile .123

62056-53 © IEC:2006(E) – 5 –
INTERNATIONAL ELECTROTECHNICAL COMMISSION
____________
ELECTRICITY METERING –
DATA EXCHANGE FOR METER READING,
TARIFF AND LOAD CONTROL –
Part 53: COSEM application layer

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

Questions, Comments and Discussion

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