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

General Information

Status
Published
Publication Date
18-Feb-2002
Current Stage
DELPUB - Deleted Publication
Completion Date
11-Dec-2006
Ref Project

Relations

Buy Standard

Standard
IEC 62056-53:2002 - Electricity metering - Data exchange for meter reading, tariff and load control - Part 53: COSEM application layer Released:2/19/2002 Isbn:2831861594
English language
123 pages
sale 15% off
Preview
sale 15% off
Preview

Standards Content (Sample)


INTERNATIONAL IEC
STANDARD
62056-53
First edition
2002-02
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/catlg-e.htm) 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/JP.htm) 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
First edition
2002-02
Electricity metering –
Data exchange for meter reading,
tariff and load control –
Part 53:
COSEM application layer
 IEC 2002  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é Geneva, Switzerland
Telefax: +41 22 919 0300 e-mail: inmail@iec.ch IEC web site http://www.iec.ch
Commission Electrotechnique Internationale
PRICE CODE
XF
International Electrotechnical Commission
For price, see current catalogue

– 2 – 62056-53  IEC:2002(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.11

5 Overview : the COSEM application layer .12
5.1 Specification method .12
5.2 Application layer structure .12
5.3 Service specification .13
5.3.1 Services provided for application association establishment and
release .13
5.3.2 Data communication services .14
5.4 Layer management services .15
5.5 Protocol specification .15
6 COSEM application layer – Service specification.15
6.1 Summary of services .15
6.2 Application association establishment and release .16
6.3 Special application associations .17
6.3.1 Mandatory application associations .17
6.3.2 Pre-established application associations .17
6.3.3 Non-confirmed application associations.17
6.4 Data communication.17
6.5 Client COSEM application layer services.18
6.5.1 Application association establishment.18
6.5.2 Application association release.22
6.5.3 Client/server type data communication services .24
6.5.4 Client side services for event notification.33
6.5.5 Client side layer management services.35
6.6 Server COSEM application layer services.37
6.6.1 Application association establishment.37

6.6.2 Application association release.39
6.6.3 Client/server type data communication services .42
7 COSEM application layer protocol specification .53
7.1 State definitions for the client side Control function .54
7.2 State definitions for the server side Control function.55
7.3 Protocol for application association establishment/release .56
7.3.1 Establishment of an application association.56
7.3.2 Establishment of special application associations .58
7.3.3 The AARQ and AARE APDUs.59
7.3.4 Managing the parameters for application association establishment .60
7.3.5 Repeated COSEM-OPEN.request service invocations .61
7.3.6 Releasing an application association .64
7.3.7 Registered COSEM names .66

62056-53  IEC:2002(E) – 3 –
7.4 Protocol for data communications.69

7.4.1 Protocol for the xDLMS services using LN referencing.69

7.4.2 Protocol for the xDLMS services using SN referencing .83

8 Specification of COSEM data types and APDU-s .87

8.1 The COSEM APDUs.87

8.2 The AARQ and AARE APDUs.88

8.3 Useful types .89

8.4 The xDLMS-Initiate.request/response/ConfirmedServiceError PDUs.94

8.5 The conformance block .95

8.6 Definition of APDUs for data communication .96
8.6.1 COSEM APDUs using logical name referencing.96
8.6.2 DLMS APDUs using short name referencing.100
Annex A (normative) The 3-layer, connection-oriented, HDLC based profile.101
A.1 Introduction .101
A.2 The HDLC-based data link layer – Overview.101
A.2.1 Services of the HDLC based data link layer .102
Annex B (normative) The xDLMS application service element .105
B.1 Introduction .105
B.2 DLMS compliance .105
B.3 Extensions to DLMS for COSEM .105
B.3.1 Additional services .105
B.3.2 Additional data types .105
B.3.3 The conformance block.106
B.3.4 DLMS version number .106
B.3.5 Other necessary modifications.106
Annex C (informative) AARQ and AARE encoding examples.107
C.1 Encoding example of the xDLMS-Initiate.request PDU.107
C.2 Encoding example of an AARQ not using the ACSE security mechanism.108
C.3 Encoding example of an AARQ using low level authentication .109
C.4 Encoding example of an AARQ using high-level authentication .110
C.5 Encoding example for the AARE APDU, case of success .111

C.6 Encoding example of the xDLMS-Initiate.response PDU .111
C.7 Encoding of the AARE not using security or using low level security.113
C.8 Encoding of the AARE using high-level security.114
C.9 Encoding example for the AARE-pdu, case of failure 1.115
C.10 Encoding example for the AARE APDU, case of failure 2 .116
Annex D (informative) Data model and protocol .119
Figure 1 – Client/server relationship in COSEM .10
Figure 2 – Exchanging messages via the communications protocol.10
Figure 3 – The COSEM application layer on the top of various lower layer stacks.11
Figure 4 – A complete communications session in the CO environment .12
Figure 5 – The structure of the COSEM application layers .13

– 4 – 62056-53  IEC:2002(E)
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.16

Figure 9 – Client side services for application association establishment .18

Figure 10 – Client services for releasing an application association .22

Figure 11 – Client side data communication services .24

Figure 12 – Client side services for event notification .34

Figure 13 – Server side services for application association establishment .37

Figure 14 – Server side services for releasing an application association .40
Figure 15 – Server side data communications services using LN referencing.42
Figure 16 – Partial state machine for the client side control function .54
Figure 17 – Partial state machine for the server side control function.55
Figure 18 – MSC for successful application association establishment.57
Figure 19 – Handling non-confirmed COSEM-OPEN.request at the client side .62
Figure 20 – Handling the reception of a non-confirmed AARQ at the server side.63
Figure 21 – Graceful release of an application association.65
Figure 22 – Aborting an application association following a PH-ABORT.indication .66
Figure 23 – MSC for a confirmed GET service in case of success.70
Figure 24 – MSC for a confirmed SET service in case of success .70
Figure 25 – MSC for the SET service in case of failure .71
Figure 26 – MSC for the ACTION service (simplest case) .71
Figure 27 – Example: EventNotificaton triggered by the client.
...

Questions, Comments and Discussion

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