Electricity metering - Data exchange for meter reading, tariff and load control - Part 46: Data link layer using HDLC protocol

Specifies the data link layer for connection-oriented, HDLC-based, asynchronous communication profile.
This publication is of high relevance for Smart Grid.

General Information

Status
Published
Publication Date
14-Feb-2007
Current Stage
PPUB - Publication issued
Start Date
15-Mar-2002
Completion Date
18-Feb-2002
Ref Project

Relations

Buy Standard

Standard
IEC 62056-46:2002 - Electricity metering - Data exchange for meter reading, tariff and load control - Part 46: Data link layer using HDLC protocol
English language
69 pages
sale 15% off
Preview
sale 15% off
Preview
Standard
IEC 62056-46:2002+AMD1:2006 CSV - Electricity metering - Data exchange for meter reading, tariff and load control - Part 46: Data link layer using HDLC protocol Released:2/15/2007 Isbn:2831889588
English language
72 pages
sale 15% off
Preview
sale 15% off
Preview

Standards Content (Sample)


INTERNATIONAL IEC
STANDARD
62056-46
First edition
2002-02
Electricity metering –
Data exchange for meter reading,
tariff and load control –
Part 46:
Data link layer using HDLC protocol
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-46
First edition
2002-02
Electricity metering –
Data exchange for meter reading,
tariff and load control –
Part 46:
Data link layer using UDLC protocol
 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
XB
International Electrotechnical Commission
For price, see current catalogue

– 2 – 62056-46  IEC:2002(E)
CONTENTS
FOREWORD .4
1 Scope.6
2 Normative references .6
3 Terms, definitions and abbreviations .7
4 Overview .8
4.1 The LLC sub-layer.8
4.2 The MAC sub-layer.8
4.3 Specification method .8
5 The LLC sub-layer .9
5.1 The role of the LLC sub-layer .9
5.2 Service specification for the LLC sub-layer.9
5.2.1 Setting up the Data Link Connection.10
5.2.2 Disconnecting the Data Link Connection.13
5.2.3 Data communication .16
5.3 Protocol specification for the LLC sub-layer.20
5.3.1 Overview .20
5.3.2 LLC protocol data unit (LPDU) structure .20
5.3.3 State transition tables for the LLC sub-layer .21
6 The MAC sub-layer.22
6.1 HDLC selections.22
6.2 Service specification for the MAC sub-layer.22
6.2.1 Setting up the MAC connection.22
6.2.2 Disconnecting the MAC connection.26
6.2.3 Data communication .30
6.3 Physical layer services used by the MAC sub-layer .32
6.3.1 Overview .32
6.3.2 Setting up a physical link .33
6.3.3 Disconnecting the physical link .33
6.3.4 Data communication .33
6.4 Protocol specification for the MAC sub-layer .33
6.4.1 The MAC PDU and the HDLC frame .33
6.4.2 MAC addressing .35
6.4.3 Command and response frames .39
6.4.4 Elements of the procedures .42
6.4.5 State transition diagram for the server MAC sub-layer .57
Annex A (informative) FCS calculation.59
Annex B (informative) Data model and protocol .62
Annex C (informative) Data link layer management services .63

62056-46  IEC:2002(E) – 3 –
Figure 1 – Data Link (LLC) services for setting up the Data Link Connection .10
Figure 2 – Data Link (LLC) services for disconnecting the Data Link Connection .13
Figure 3 – Data link layer data communication services .17
Figure 4 – The ISO/IEC 8802-2 LLC protocol data unit format.20
Figure 5 – The used LLC protocol data unit format.20
Figure 6 – MAC sub-layer services for setting up the MAC (DL) connection at the client
and server sides .23
Figure 7 – MAC sub-layer services for disconnecting the MAC (DL) connection at the
client and server sides .26
Figure 8 – MAC sub-layer data communication services .30
Figure 9 – Physical layer services used by the MAC sub-layer.33
Figure 10 – MAC sub-layer frame format (HDLC frame format type 3).34
Figure 11 – Multiple frames.34
Figure 12 – The frame format field .34
Figure 13 – MSC for long MSDU transfer in a transparent manner .51
Figure 14 – Example configuration to illustrate broadcasting.52
Figure 15 – Sending out a pending UI frame with a .response data.53
Figure 16 – Sending out a pending UI frame with a response to a RR frame .54
Figure 17 – Sending out a pending UI frame on receipt of an empty UI frame .54
Figure 18 – State transition diagram for the server MAC sub-layer.58
Figure B.1 – The three-step approach of COSEM .62
Figure C.1 – Layer management services .63
Table 1 – State transition table of the client side LLC sub-layer .21
Table 2 – State transition table of the server side LLC sub-layer.21
Table 3 – Table of reserved client addresses .37
Table 4 – Table of reserved server addresses.37
Table 5 – Handling inopportune address lengths.39
Table 6 – Command and response frames .39
Table 7 – Control field format.40
Table 8 – Example for parameter negotiation values with the SNRM/UA frames .47
Table 9 – Summary of MAC Addresses for the example.52
Table 10 – Broadcast UI frame handling .52

– 4 – 62056-46  IEC:2002(E)
INTERNATIONAL ELECTROTECHNICAL COMMISSION
___________
ELECTRICITY METERING – DATA EXCHANGE
FOR METER READING, TARIFF AND LOAD CONTROL –
Part 46: Data link layer using HDLC protocol
FOREWORD
1) The IEC (International Electrotechnical Commission) is a worldwide organization for standardization comprising
all national electrotechnical committees (IEC National Committees). The object of the IEC is to promote inter-
national co-operation on all questions concerning standardization in the electrical and electronic fields. To this
end and in addition to other activities, the IEC publishes International Standards. 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. The IEC collaborates closely with the International Organization for Standardiza-
tion (ISO) in accordance with conditions determined by agreement between the two organizations.
2) The formal decisions or agreements of the IEC on technical matters express, as nearly as possible, an interna-
tional consensus of opinion on the relevant subjects since each technical committee has representation from all
interested National Committees.
3) The documents produced have the form of recommendations for international use and are published in the form
of standards, technical specifications, technical reports or guides and they are accepted by the National Com-
mittees in that sense.
4) In order to promote international unification, IEC National Committees undertake to apply IEC International
Standards transparently to the maximum extent possible in their national and regional standards. Any diver-
gence between the IEC Standard and the corresponding national or regional standard shall be clearly indicated
in the latter.
5) The IEC provides no marking procedure to indicate its approval and cannot be rendered responsible for any
equipment declared to be in conformity with one of its standards.
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-46 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 reason-
able and non-discriminatory terms and conditions for 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-46 has been prepared by IEC technical committee 13:
Equipment for electrical energy measurement and load control.
The text of this standard is based on the following documents:
FDIS Report on voting
13/1267/FDIS 13/1273/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 3.
________
Device Language Message Specification.

62056-46  IEC:2002(E) – 5 –
Annexes A, B and C are for information only.
The committee has decided that the contents of this publication will remain unchanged until
2006. At this date, the publication will be
• reconfirmed;
• withdrawn;
• replaced by a revised edition, or
• amended.
A bilingual version of this publication may be issued at a later date.

– 6 – 62056-46  IEC:2002(E)
ELECTRICITY METERING – DATA ECHANGE
...


IEC 62056-46 ®
Edition 1.1 2007-02
CONSOLIDATED VERSION
INTERNATIONAL
STANDARD
Electricity metering – Data exchange for meter reading, tariff and load control –
Part 46: Data link layer using HDLC protocol
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.

Useful links:
IEC publications search - www.iec.ch/searchpub Electropedia - www.electropedia.org
The advanced search enables you to find IEC publications The world's leading online dictionary of electronic and
by a variety of criteria (reference number, text, technical electrical terms containing more than 30 000 terms and
committee,…). definitions in English and French, with equivalent terms in
It also gives information on projects, replaced and additional languages. Also known as the International
withdrawn publications. Electrotechnical Vocabulary (IEV) on-line.

IEC Just Published - webstore.iec.ch/justpublished Customer Service Centre - webstore.iec.ch/csc
Stay up to date on all new IEC publications. Just Published If you wish to give us your feedback on this publication
details all new publications released. Available on-line and or need further assistance, please contact the
also once a month by email. Customer Service Centre: csc@iec.ch.

IEC 62056-46 ®
Edition 1.1 2007-02
CONSOLIDATED VERSION
INTERNATIONAL
STANDARD
Electricity metering – Data exchange for meter reading, tariff and load control –

Part 46: Data link layer using HDLC protocol

INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
ICS 91.140.50; 35.100.20 ISBN 978-2-8322-8958-8

– 2 – 62056-46 © IEC:2002+A1:2006(E)
CONTENTS
FOREWORD .4
INTRODUCTION.6

1 Scope.7
2 Normative references .7
3 Terms, definitions and abbreviations .8
4 Overview .9
4.1 The LLC sub-layer.9
4.2 The MAC sub-layer.9
4.3 Specification method .10
5 The LLC sub-layer .10
5.1 The role of the LLC sub-layer .10
5.2 Service specification for the LLC sub-layer.11
5.2.1 Setting up the Data Link Connection.11
5.2.2 Disconnecting the Data Link Connection.14
5.2.3 Data communication .18
5.3 Protocol specification for the LLC sub-layer.22
5.3.1 Overview .22
5.3.2 LLC protocol data unit (LPDU) structure .22
5.3.3 State transition tables for the LLC sub-layer .23
6 The MAC sub-layer.24
6.1 HDLC selections.24
6.2 Service specification for the MAC sub-layer.25
6.2.1 Setting up the MAC connection.25
6.2.2 Disconnecting the MAC connection.28
6.2.3 Data communication .33
6.3 Physical layer services used by the MAC sub-layer .35
6.3.1 Overview .35
6.3.2 Setting up a physical link .36
6.3.3 Disconnecting the physical link .36
6.3.4 Data communication .36
6.4 Protocol specification for the MAC sub-layer .36
6.4.1 The MAC PDU and the HDLC frame .36
6.4.2 MAC addressing .38
6.4.3 Command and response frames .42
6.4.4 Elements of the procedures .45
6.4.5 State transition diagram for the server MAC sub-layer .60
Annex A (informative) FCS calculation .62
Annex B (informative) Data model and protocol .65
Annex C (informative) Data link layer management services .66

62056-46 © IEC:2002+A1:2006(E) – 3 –
Figure 1 – Data Link (LLC) services for setting up the Data Link Connection .11
Figure 2 – Data Link (LLC) services for disconnecting the Data Link Connection .15
Figure 3 – Data link layer data communication services .19
Figure 4 – The ISO/IEC 8802-2 LLC protocol data unit format.22
Figure 5 – The used LLC protocol data unit format.22
Figure 6 – MAC sub-layer services for setting up the MAC (DL) connection at the client
and server sides .25
Figure 7 – MAC sub-layer services for disconnecting the MAC (DL) connection at the
client and server sides .29
Figure 8 – MAC sub-layer data communication services .33
Figure 9 – Physical layer services used by the MAC sub-layer.36
Figure 10 – MAC sub-layer frame format (HDLC frame format type 3).36
Figure 11 – Multiple frames .37
Figure 12 – The frame format field .37
Figure 13 – MSC for long MSDU transfer in a transparent manner .54
Figure 14 – Example configuration to illustrate broadcasting.55
Figure 15 – Sending out a pending UI frame with a .response data .56
Figure 16 – Sending out a pending UI frame with a response to a RR frame .57
Figure 17 – Sending out a pending UI frame on receipt of an empty UI frame .57
Figure 18 – State transition diagram for the server MAC sub-layer.61
Figure B.1 – The three-step approach of COSEM .65
Figure C.1 – Layer management services .66

Table 1 – State transition table of the client side LLC sub-layer .23
Table 2 – State transition table of the server side LLC sub-layer.24
Table 3 – Table of reserved client addresses .40
Table 4 – Table of reserved server addresses .40
Table 5 – Handling inopportune address lengths.42
Table 6 – Command and response frames .42
Table 7 – Control field format.43
Table 8 – Example for parameter negotiation values with the SNRM/UA frames .50
Table 9 – Summary of MAC Addresses for the example.55
Table 10 – Broadcast UI frame handling .55

– 4 – 62056-46 © IEC:2002+A1:2006(E)
INTERNATIONAL ELECTROTECHNICAL COMMISSION
___________
ELECTRICITY METERING – DATA EXCHANGE
FOR METER READING, TARIFF AND LOAD CONTROL –

Part 46: Data link layer using HDLC protocol

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.
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-46 is based.
The IEC takes no position concerning the evidence, validity and scope of
...

Questions, Comments and Discussion

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