1、 INTERNATIONALSTANDARD IEC62056-46 Edition 1.12007-02 Electricity metering Data exchange for meter reading,tariff and load control Part 46:Data link layer using HDLC protocol Reference number IEC 62056-46:2002+A1:2006(E)Edition 1:2002 consolidated with amendment 1:2006 LICENSED TO MECON Limited.-RAN
2、CHI/BANGALOREFOR INTERNAL USE AT THIS LOCATION ONLY,SUPPLIED BY BOOK SUPPLY BUREAU.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 publishin
3、g 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
4、 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.Info
5、rmation 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 th
6、e 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 T
7、his 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 th
8、e Customer Service Centre:Email:custserviec.ch Tel:+41 22 919 02 11 Fax:+41 22 919 03 00 LICENSED TO MECON Limited.-RANCHI/BANGALOREFOR INTERNAL USE AT THIS LOCATION ONLY,SUPPLIED BY BOOK SUPPLY BUREAU.INTERNATIONAL STANDARD IEC62056-46 Edition 1.12007-02 Electricity metering Data exchange for meter
9、 reading,tariff and load control Part 46:Data link layer using HDLC protocol IEC 2007 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 t
10、he publisher.International Electrotechnical Commission,3,rue de Varemb,PO Box 131,CH-1211 Geneva 20,SwitzerlandTelephone:+41 22 919 02 11 Telefax:+41 22 919 03 00 E-mail:inmailiec.ch Web:www.iec.ch XB For price,see current cataloguePRICE CODE Commission Electrotechnique InternationaleInternational E
11、lectrotechnical Commission Edition 1:2002 consolidated with amendment 1:2006 LICENSED TO MECON Limited.-RANCHI/BANGALOREFOR INTERNAL USE AT THIS LOCATION ONLY,SUPPLIED BY BOOK SUPPLY BUREAU.2 62056-46 IEC:2002+A1:2006(E)CONTENTS FOREWORD.4 INTRODUCTION.6 1 Scope.7 2 Normative references.7 3 Terms,de
12、finitions 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 D
13、ata 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 t
14、he 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 communic
15、ation.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
16、Annex B(informative)Data model and protocol.65 Annex C(informative)Data link layer management services.66 LICENSED TO MECON Limited.-RANCHI/BANGALOREFOR INTERNAL USE AT THIS LOCATION ONLY,SUPPLIED BY BOOK SUPPLY BUREAU.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 d