1、 IEC 62056-6-2 Edition 3.0 2017-09 INTERNATIONAL STANDARD NORME INTERNATIONALE Electricity metering data exchange The DLMS/COSEM suite Part 6-2: COSEM interface classes change des donnes de comptage de llectricit La suite DLMS/COSEM Partie 6-2: Classes dinterfaces COSEM IEC 62056-6-2:2017-09(en-fr)
2、colour inside THIS PUBLICATION IS COPYRIGHT PROTECTED Copyright 2017 IEC, Geneva, Switzerland 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, withou
3、t permission in writing from either IEC or IECs 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 Commit
4、tee for further information. Droits de reproduction rservs. Sauf indication contraire, aucune partie de cette publication ne peut tre reproduite ni utilise sous quelque forme que ce soit et par aucun procd, lectronique ou mcanique, y compris la photocopie et les microfilms, sans laccord crit de lIEC
5、 ou du Comit national de lIEC du pays du demandeur. Si vous avez des questions sur le copyright de lIEC ou si vous dsirez obtenir des droits supplmentaires sur cette publication, utilisez les coordonnes ci-aprs ou contactez le Comit national de lIEC de votre pays de rsidence. IEC Central Office Tel.
6、: +41 22 919 02 11 3, rue de Varemb Fax: +41 22 919 03 00 CH-1211 Geneva 20 infoiec.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 re
7、lated 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. IEC Catalogue - webstore.iec.ch/catalogue The stand-alone applicat
8、ion for consulting the entire bibliographical information on IEC International Standards, Technical Specifications, Technical Reports and other documents. Available for PC, Mac OS, Android Tablets and iPad. IEC publications search - www.iec.ch/searchpub The advanced search enables to find IEC public
9、ations by a variety of criteria (reference number, text, technical committee,). It also gives information on projects, replaced and withdrawn publications. IEC Just Published - webstore.iec.ch/justpublished Stay up to date on all new IEC publications. Just Published details all new publications rele
10、ased. Available online and also once a month by email. Electropedia - www.electropedia.org The worlds leading online dictionary of electronic and electrical terms containing 20 000 terms and definitions in English and French, with equivalent terms in 16 additional languages. Also known as the Intern
11、ational Electrotechnical Vocabulary (IEV) online. IEC Glossary - std.iec.ch/glossary 65 000 electrotechnical terminology entries in English and French extracted from the Terms and Definitions clause of IEC publications issued since 2002. Some entries have been collected from earlier publications of
12、IEC TC 37, 77, 86 and CISPR. IEC Customer Service Centre - webstore.iec.ch/csc If you wish to give us your feedback on this publication or need further assistance, please contact the Customer Service Centre: csciec.ch. A propos de lIEC La Commission Electrotechnique Internationale (IEC) est la premi
13、re organisation mondiale qui labore et publie des Normes internationales pour tout ce qui a trait llectricit, llectronique et aux technologies apparentes. A propos des publications IEC Le contenu technique des publications IEC est constamment revu. Veuillez vous assurer que vous possdez ldition la p
14、lus rcente, un corrigendum ou amendement peut avoir t publi. Catalogue IEC - webstore.iec.ch/catalogue Application autonome pour consulter tous les renseignements bibliographiques sur les Normes internationales, Spcifications techniques, Rapports techniques et autres documents de lIEC. Disponible po
15、ur PC, Mac OS, tablettes Android et iPad. Recherche de publications IEC - www.iec.ch/searchpub La recherche avance permet de trouver des publications IEC en utilisant diffrents critres (numro de rfrence, texte, comit dtudes,). Elle donne aussi des informations sur les projets et les publications rem
16、places ou retires. IEC Just Published - webstore.iec.ch/justpublished Restez inform sur les nouvelles publications IEC. Just Published dtaille les nouvelles publications parues. Disponible en ligne et aussi une fois par mois par email. Electropedia - www.electropedia.org Le premier dictionnaire en l
17、igne de termes lectroniques et lectriques. Il contient 20 000 termes et dfinitions en anglais et en franais, ainsi que les termes quivalents dans 16 langues additionnelles. Egalement appel Vocabulaire Electrotechnique International (IEV) en ligne. Glossaire IEC - std.iec.ch/glossary 65 000 entres te
18、rminologiques lectrotechniques, en anglais et en franais, extraites des articles Termes et Dfinitions des publications IEC parues depuis 2002. Plus certaines entres antrieures extraites des publications des CE 37, 77, 86 et CISPR de lIEC. Service Clients - webstore.iec.ch/csc Si vous dsirez nous don
19、ner des commentaires sur cette publication ou si vous avez des questions contactez-nous: csciec.ch. IEC 62056-6-2 Edition 3.0 2017-09 INTERNATIONAL STANDARD NORME INTERNATIONALE Electricity metering data exchange The DLMS/COSEM suite Part 6-2: COSEM interface classes change des donnes de comptage de
20、 llectricit La suite DLMS/COSEM Partie 6-2: Classes dinterfaces COSEM INTERNATIONAL ELECTROTECHNICAL COMMISSION COMMISSION ELECTROTECHNIQUE INTERNATIONALE ICS 17.220; 35.110; 91.140.50 ISBN 978-2-8322-4771-6 Registered trademark of the International Electrotechnical Commission Marque dpose de la Com
21、mission Electrotechnique Internationale Warning! Make sure that you obtained this publication from an authorized distributor. Attention! Veuillez vous assurer que vous avez obtenu cette publication via un distributeur agr. colour inside 2 IEC 62056-6-2:2017 IEC 2017 CONTENTS FOREWORD . 10 INTRODUCTI
22、ON . 12 1 Scope 14 2 Normative references 14 3 Terms, definitions and abbreviated terms 17 3.1 Terms and definitions related to the Image transfer process (see 5.3.6) 17 3.2 Terms and definitions related to the S-FSK PLC setup classes (see 5.9) 18 3.3 Terms and definitions related to the PRIME NB OF
23、DM PLC setup ICs (see 5.11) . 19 3.4 Terms and definitions related to ZigBee (see 5.13) . 21 3.5 Terms and definitions related to Payment metering interface classes (see 5.5) . 22 3.6 Terms and definitions related to the Arbitrator IC (see 5.4.12) 27 3.7 Abbreviated terms . 27 4 Basic principles . 3
24、1 4.1 General . 31 4.2 Referencing methods 32 4.3 Reserved base_names for special COSEM objects . 33 4.4 Class description notation . 33 4.5 Common data types 35 4.6 Data formats . 37 4.6.1 Date and time formats . 37 4.6.2 Floating point number formats . 39 4.7 The COSEM server model 41 4.8 The COSE
25、M logical device . 42 4.8.1 General . 42 4.8.2 COSEM logical device name (LDN) . 42 4.8.3 The “association view” of the logical device . 42 4.8.4 Mandatory contents of a COSEM logical device . 43 4.8.5 Management logical device 43 4.9 Information security 43 5 The COSEM interface classes . 44 5.1 Ov
26、erview 44 5.2 Interface classes for parameters and measurement data 48 5.2.1 Data (class_id = 1, version = 0) . 48 5.2.2 Register (class_id = 3, version = 0) . 49 5.2.3 Extended register (class_id = 4, version = 0) . 53 5.2.4 Demand register (class_id = 5, version = 0) . 54 5.2.5 Register activation
27、 (class_id = 6, version = 0) 57 5.2.6 Profile generic (class_id = 7, version = 1) 59 5.2.7 Utility tables (class_id = 26, version = 0) . 64 5.2.8 Register table (class_id = 61, version = 0) . 65 5.2.9 Status mapping (class_id = 63, version = 0) 67 5.2.10 Compact data 69 5.3 Interface classes for acc
28、ess control and management 77 5.3.1 Overview . 77 5.3.2 Client user identification 78 IEC 62056-6-2:2017 IEC 2017 3 5.3.3 Association SN (class_id = 12, version = 4) . 78 5.3.4 Association LN (class_id = 15, version = 3) . 83 5.3.5 SAP assignment (class_id = 17, version = 0) . 90 5.3.6 Image transfe
29、r . 90 5.3.7 Security setup (class_id = 64, version = 1) 98 5.3.8 Push interface classes and objects 105 5.3.9 COSEM data protection . 111 5.3.10 Function control (class_id: 122, version: 0) 129 5.3.11 Array manager (class_id = 123, version = 0) 131 5.4 Interface classes for time- and event bound co
30、ntrol 138 5.4.1 Clock (class_id = 8, version = 0) 138 5.4.2 Script table (class_id = 9, version = 0) . 140 5.4.3 Schedule (class_id = 10, version = 0) 142 5.4.4 Special days table (class_id = 11, version = 0) 145 5.4.5 Activity calendar (class_id = 20, version = 0) . 146 5.4.6 Register monitor (clas
31、s_id = 21, version = 0) . 149 5.4.7 Single action schedule (class_id = 22, version = 0) 150 5.4.8 Disconnect control (class_id = 70, version = 0) 151 5.4.9 Limiter (class_id = 71, version = 0) 154 5.4.10 Parameter monitor (class_id = 65, version = 0) 157 5.4.11 Sensor manager interface class . 158 5
32、.4.12 Arbitrator . 162 5.4.13 Modelling examples: tariffication and billing . 166 5.5 Payment metering related interface classes 168 5.5.1 Overview of the COSEM accounting model 168 5.5.2 Account (class_id = 111, version = 0) 170 5.5.3 Credit interface class . 180 5.5.4 Charge (class_id = 113, versi
33、on = 0) . 190 5.5.5 Token gateway (class_id = 115, version = 0) . 196 5.6 Interface classes for setting up data exchange via local ports and modems 199 5.6.1 IEC local port setup (class_id = 19, version = 1) 199 5.6.2 IEC HDLC setup (class_id = 23, version = 1) . 200 5.6.3 IEC twisted pair (1) setup
34、 (class_id = 24, version = 1) . 202 5.6.4 Modem configuration (class_id = 27, version = 1) 204 5.6.5 Auto answer (class_id = 28, version = 2) . 206 5.6.6 Auto connect (class_id = 29, version = 2) 209 5.6.7 GPRS modem setup (class_id = 45, version = 0) . 211 5.6.8 GSM diagnostic (class_id: 47, versio
35、n: 1) 212 5.6.9 LTE monitoring (class_id: 151, version: 0) . 214 5.7 Interface classes for setting up data exchange via M-Bus . 215 5.7.1 Overview . 215 5.7.2 M-Bus slave port setup (class_id = 25, version = 0) . 216 5.7.3 M-Bus client (class_id = 72, version = 1) . 216 5.7.4 Wireless Mode Q channel
36、 (class_id = 73, version = 1) . 221 5.7.5 M-Bus master port setup (class_id = 74, version = 0) 222 5.7.6 DLMS/COSEM server M-Bus port setup (class_id = 76, version = 0) . 222 5.7.7 M-Bus diagnostic (class_id = 77, version = 0) 225 5.8 Interface classes for setting up data exchange over the Internet
37、. 227 5.8.1 TCP-UDP setup (class_id = 41, version = 0) 227 4 IEC 62056-6-2:2017 IEC 2017 5.8.2 IPv4 setup (class_id = 42, version = 0) 228 5.8.3 IPv6 setup (class_id = 48, version = 0) 231 5.8.4 MAC address setup (class_id = 43, version = 0) 234 5.8.5 PPP setup (class_id = 44, version = 0) 235 5.8.6
38、 SMTP setup (class_id = 46, version = 0) 239 5.8.7 NTP setup (class_id = 100, version = 0) 240 5.9 Interface classes for setting up data exchange using S-FSK PLC . 242 5.9.1 General . 242 5.9.2 Overview . 242 5.9.3 S-FSK Phy&MAC set-up (class_id = 50, version = 1) . 244 5.9.4 S-FSK Active initiator
39、(class_id = 51, version = 0) . 249 5.9.5 S-FSK MAC synchronization timeouts (class_id = 52, version = 0). 251 5.9.6 S-FSK MAC counters (class_id = 53, version = 0) 253 5.9.7 IEC 61334-4-32 LLC setup (class_id = 55, version = 1) . 256 5.9.8 S-FSK Reporting system list (class_id = 56, version = 0) . 2
40、57 5.10 Interface classes for setting up the LLC layer for ISO/IEC 8802-2 . 258 5.10.1 General . 258 5.10.2 ISO/IEC 8802-2 LLC Type 1 setup (class_id = 57, version = 0) 258 5.10.3 ISO/IEC 8802-2 LLC Type 2 setup (class_id = 58, version = 0) 259 5.10.4 ISO/IEC 8802-2 LLC Type 3 setup (class_id = 59,
41、version = 0) 260 5.11 Interface classes for setting up and managing DLMS/COSEM narrowband OFDM PLC profile for PRIME networks . 262 5.11.1 Overview . 262 5.11.2 Mapping of PRIME NB OFDM PLC PIB attributes to COSEM IC attributes . 263 5.11.3 61334-4-32 LLC SSCS setup (class_id = 80, version = 0) 265
42、5.11.4 PRIME NB OFDM PLC Physical layer parameters . 266 5.11.5 PRIME NB OFDM PLC Physical layer counters (class_id = 81, version = 0) 266 5.11.6 PRIME NB OFDM PLC MAC setup (class_id = 82, version = 0) . 267 5.11.7 NB OFDM PLC MAC functional parameters (class_id = 83 version = 0) . 268 5.11.8 PRIME
43、 NB OFDM PLC MAC counters (class_id = 84, version = 0) 270 5.11.9 PRIME NB OFDM PLC MAC network administration data (class_id = 85, version = 0) . 271 5.11.10 PRIME NB OFDM PLC MAC address setup (class_id = 43, version = 0) 274 5.11.11 PRIME NB OFDM PLC Application identification (class_id = 86, ver
44、sion = 0) . 274 5.12 Interface classes for setting up and managing the DLMS/COSEM narrowband OFDM PLC profile for G3-PLC networks 275 5.12.1 Overview . 275 5.12.2 Mapping of G3-PLC PIB attributes to COSEM IC attributes 275 5.12.3 G3-PLC MAC layer counters (class_id = 90, version = 1) . 277 5.12.4 G3
45、-PLC MAC setup (class_id = 91, version = 1) 278 5.12.5 G3-PLC 6LoWPAN adaptation layer setup (class_id = 92, version = 1) 283 5.13 Interface classes for setting up and managing DLMS/COSEM HS-PLC ISO/IEC 12139-1 neighbourhood networks 290 5.13.1 Overview . 290 5.13.2 HS-PLC ISO/IEC 12139-1 MAC setup
46、(class_id = 140, version = 0) . 290 5.13.3 HS-PLC ISO/IEC 12139-1 CPAS setup (class_id = 141, version = 0) . 291 5.13.4 HS-PLC ISO/IEC 12139-1 IP SSAS setup (class_id = 142, version = 0) . 292 IEC 62056-6-2:2017 IEC 2017 5 5.13.5 HS-PLC ISO/IEC 12139-1 HDLC SSAS setup (class_id = 143, version = 0) 2
47、93 5.14 ZigBee setup classes . 293 5.14.1 Overview . 293 5.14.2 ZigBee SAS startup (class_id = 101, version = 0) 295 5.14.3 ZigBee SAS join (class_id = 102, version = 0) . 297 5.14.4 ZigBee SAS APS fragmentation (class_id = 103, version = 0) . 298 5.14.5 ZigBee network control (class_id = 104, versi
48、on = 0). 298 5.14.6 ZigBee tunnel setup (class_id = 105, version = 0) . 305 5.15 Maintenance of the interface classes 307 5.15.1 New versions of interface classes 307 5.15.2 New interface classes 307 5.15.3 Removal of interface classes . 307 6 Relation to OBIS 307 6.1 General . 307 6.2 Abstract COSE
49、M objects . 308 6.2.1 Use of value group C . 308 6.2.2 Data of historical billing periods . 309 6.2.3 Billing period values / reset counter entries . 310 6.2.4 Other abstract general purpose OBIS codes 310 6.2.5 Clock objects (class_id = 8) . 311 6.2.6 Modem configuration and related objects . 311 6.2.7 Script table objects (class_id = 9) 311 6.2.8 Special days table objects (class_id = 11) . 313 6.2.9 Schedule objects (class_id = 10) . 313 6.2.10