在好例子网,分享、交流、成长!
您当前所在位置:首页Others 开发实例一般编程问题 → DLMS蓝皮书

DLMS蓝皮书

一般编程问题

下载此实例
  • 开发语言:Others
  • 实例大小:7.57M
  • 下载次数:5
  • 浏览次数:183
  • 发布时间:2023-02-25
  • 实例类别:一般编程问题
  • 发 布 人:admin_222
  • 文件格式:.pdf
  • 所需积分:2
 相关标签: DLMS协议文档

实例介绍

【实例简介】DLMS蓝皮书

【实例截图】

【核心代码】

CONTENTS
Foreword ............................................................................................................................ 15
List of main technical changes in Edition 13 .................................................................... 17
List of main technical changes in Edition 14 .................................................................... 18
Introduction ........................................................................................................................ 19
1 Scope .......................................................................................................................... 20
2 Referenced documents ................................................................................................ 21
3 Terms, definitions and abbreviated terms ..................................................................... 24
4 The COSEM interface classes ...................................................................................... 39
4.1 Basic principles ................................................................................................... 39
4.1.1 General ....................................................................................................... 39
4.1.2 Referencing methods ................................................................................... 40
4.1.3 Reserved base_names for special COSEM objects ....................................... 40
4.1.4 Class description notation ............................................................................ 40
4.1.5 Common data types ..................................................................................... 43
4.1.6 Data formats ................................................................................................ 44
4.1.7 The COSEM server model ............................................................................ 48
4.1.8 COSEM logical device .................................................................................. 49
4.1.9 Information security...................................................................................... 50
4.2 Overview of the COSEM interface classes ........................................................... 51
4.3 Interface classes for parameters and measurement data ...................................... 56
4.3.1 Data (class_id = 1, version = 0) .................................................................... 56
4.3.2 Register (class_id = 3, version = 0) .............................................................. 57
4.3.3 Extended register (class_id = 4, version = 0) ................................................ 62
4.3.4 Demand register (class_id = 5, version = 0) .................................................. 63
4.3.5 Register activation (class_id = 6, version = 0) ............................................... 66
4.3.6 Profile generic (class_id = 7, version = 1) ..................................................... 68
4.3.7 Utility tables (class_id = 26, version = 0) ...................................................... 73
4.3.8 Register table (class_id = 61, version = 0) .................................................... 74
4.3.9 Status mapping (class_id = 63, version = 0) .................................................. 76
4.3.10 Compact data (class_id = 62, version = 1) .................................................... 77
4.4 Interface classes for access control and management .......................................... 87
4.4.1 Overview ..................................................................................................... 87
4.4.2 Client user identification ............................................................................... 87
4.4.3 Association SN (class_id = 12, version 4) ..................................................... 88
4.4.4 Association LN (class_id = 15, version 3) ..................................................... 92
4.4.5 SAP assignment (class_id = 17, version = 0) ................................................ 98
4.4.6 Image transfer (class_id = 18, version = 0) ................................................... 99
4.4.7 Security setup (class_id = 64, version = 1).................................................. 106
4.4.8 Push interface class (class_id = 40, version = 2) ........................................ 112
4.4.9 COSEM data protection (class_id = 30, version = 0) ................................... 123
4.4.10 Function control (class_id = 122, version = 0) ............................................. 141
4.4.11 Array manager (class_id = 123, version = 0) ............................................... 142
4.4.12 Communication port protection (class_id = 124, version = 0) ....................... 148
4.5 Interface classes for time- and event bound control ............................................ 151
COSEM Interface Classes and OBIS Object Identification System
2/622 2020-08-31 DLMS UA 1000-1 Ed. 14 DLMS User Association
© Copyright 1997-2020 DLMS User Association
4.5.1 Clock (class_id = 8, version = 0) ................................................................. 151
4.5.2 Script table (class_id = 9, version = 0) ........................................................ 153
4.5.3 Schedule (class_id = 10, version = 0) ......................................................... 155
4.5.4 Special days table (class_id = 11, version = 0) ........................................... 158
4.5.5 Activity calendar (class_id = 20, version = 0) .............................................. 159
4.5.6 Register monitor (class_id = 21, version = 0) .............................................. 162
4.5.7 Single action schedule (class_id = 22, version = 0) ..................................... 163
4.5.8 Disconnect control (class_id = 70, version = 0) ........................................... 164
4.5.9 Limiter (class_id = 71, version = 0) ............................................................. 167
4.5.10 Parameter monitor (class_id = 65, version = 1) ........................................... 169
4.5.11 Sensor manager interface (class_id = 67, version = 0) ................................ 173
4.5.12 Arbitrator (class_id = 68, version = 0) ......................................................... 176
4.5.13 Modelling examples: tariffication and billing ................................................ 181
4.6 Payment metering related interface classes ....................................................... 182
4.6.1 Overview of the COSEM accounting model ................................................. 182
4.6.2 Account (class_id = 111, version = 0) ......................................................... 185
4.6.3 Credit interface (class_id = 112, version = 0) .............................................. 194
4.6.4 Charge (class_id = 113, version = 0) .......................................................... 205
4.6.5 Token gateway (class_id = 115, version = 0) .............................................. 211
4.7 Interface classes for setting up data exchange via local ports and modems ........ 213
4.7.1 IEC local port setup (class_id = 19, version = 1) ......................................... 213
4.7.2 IEC HDLC setup (class_id = 23, version = 1) .............................................. 214
4.7.3 IEC twisted pair (1) setup (class_id = 24, version = 1) ................................. 216
4.7.4 Modem configuration (class_id = 27, version = 1) ....................................... 219
4.7.5 Auto answer (class_id = 28, version = 2) .................................................... 220
4.7.6 Auto connect (class_id = 29, version = 2) ................................................... 223
4.7.7 GPRS modem setup (class_id = 45, version = 0) ........................................ 225
4.7.8 GSM diagnostic (class_id = 47, version = 2) ............................................... 226
4.7.9 LTE monitoring (class_id = 151, version = 1) .............................................. 229
4.8 Interface classes for setting up data exchange via M-Bus ................................... 233
4.8.1 Overview ................................................................................................... 233
4.8.2 M-Bus slave port setup (class_id = 25, version = 0) .................................... 233
4.8.3 M-Bus client (class_id = 72, version = 1) .................................................... 234
4.8.4 Wireless Mode Q channel (class_id = 73, version = 1) ................................ 239
4.8.5 M-Bus master port setup (class_id = 74, version = 0) .................................. 239
4.8.6 DLMS/COSEM server M-Bus port setup (class_id = 76, version = 0) ........... 240
4.8.7 M-Bus diagnostic (class_id = 77, version = 0) ............................................. 242
4.9 Interface classes for setting up data exchange over the Internet ......................... 245
4.9.1 TCP-UDP setup (class_id = 41, version = 0) ............................................... 245
4.9.2 IPv4 setup (class_id = 42, version = 0) ....................................................... 246
4.9.3 IPv6 setup (class_id = 48, version = 0) ....................................................... 249
4.9.4 MAC address setup (class_id = 43, version = 0) ......................................... 251
4.9.5 PPP setup (class_id = 44, version = 0) ....................................................... 252
4.9.6 SMTP setup (class_id = 46, version = 0) ..................................................... 256
4.9.7 NTP setup (class_id = 100, version = 0) ..................................................... 257
4.10 Interface classes for setting up data exchange using S-FSK PLC ....................... 259
COSEM Interface Classes and OBIS Object Identification System
DLMS User Association 2020-08-31 DLMS UA 1000-1 Ed 14 3/622
© Copyright 1997-2020 DLMS User Association
4.10.1 General ..................................................................................................... 259
4.10.2 Overview ................................................................................................... 259
4.10.3 S-FSK Phy&MAC set-up (class_id = 50, version = 1) .................................. 262
4.10.4 S-FSK Active initiator (class_id = 51, version = 0) ....................................... 266
4.10.5 S-FSK MAC synchronization timeouts (class_id = 52, version = 0) .............. 267
4.10.6 S-FSK MAC counters (class_id = 53, version = 0) ....................................... 269
4.10.7 IEC 61334-4-32 LLC setup (class_id = 55, version = 1) ............................... 272
4.10.8 S-FSK Reporting system list (class_id = 56, version = 0) ............................ 273
4.11 Interface classes for setting up the LLC layer for ISO/IEC 8802-2 ....................... 274
4.11.1 General ..................................................................................................... 274
4.11.2 ISO/IEC 8802-2 LLC Type 1 setup (class_id = 57, version = 0) ................... 274
4.11.3 ISO/IEC 8802-2 LLC Type 2 setup (class_id = 58, version = 0) ................... 274
4.11.4 ISO/IEC 8802-2 LLC Type 3 setup (class_id = 59, version = 0) ................... 276
4.12 Interface classes for setting up and managing DLMS/COSEM narrowband
OFDM PLC profile for PRIME networks .............................................................. 279
4.12.1 Overview ................................................................................................... 279
4.12.2 Mapping of PRIME NB OFDM PLC PIB attributes to COSEM IC
attributes ................................................................................................... 280
4.12.3 61334-4-32 LLC SSCS setup (class_id = 80, version = 0) ........................... 282
4.12.4 PRIME NB OFDM PLC Physical layer parameters ....................................... 282
4.12.5 PRIME NB OFDM PLC Physical layer counters (class_id = 81, version =
0) .............................................................................................................. 282
4.12.6 PRIME NB OFDM PLC MAC setup (class_id = 82, version = 0) ................... 283
4.12.7 PRIME NB OFDM PLC MAC functional parameters (class_id = 83
version = 0) ............................................................................................... 285
4.12.8 PRIME NB OFDM PLC MAC counters (class_id = 84, version = 0) .............. 286
4.12.9 PRIME NB OFDM PLC MAC network administration data (class_id = 85,
version = 0) ............................................................................................... 287
4.12.10 PRIME NB OFDM PLC MAC address setup (class_id = 43, version = 0) ...... 290
4.12.11 PRIME NB OFDM PLC Application identification (class_id = 86, version
= 0) ........................................................................................................... 290
4.13 Interface classes for setting up and managing the DLMS/COSEM
narrowband OFDM PLC profile for G3-PLC networks ......................................... 291
4.13.1 Overview ................................................................................................... 291
4.13.2 Mapping of G3-PLC IB attributes to COSEM IC attributes ............................ 291
4.13.3 G3-PLC MAC layer counters (class_id = 90, version = 1) ............................ 293
4.13.4 G3-PLC MAC setup (class_id = 91, version = 2) ......................................... 294
4.13.5 G3-PLC 6LoWPAN adaptation layer setup (class_id = 92, version = 2) ........ 307
4.14 Interface classes for setting up and managing DLMS/COSEM HS-PLC
ISO/IEC 12139-1 neighbourhood networks ......................................................... 313
4.14.1 Overview ................................................................................................... 313
4.14.2 HS-PLC ISO/IEC 12139-1 MAC setup (class_id = 140, version = 0) ............. 313
4.14.3 HS-PLC ISO/IEC 12139-1 CPAS setup (class_id = 141, version = 0) ........... 314
4.14.4 HS-PLC ISO/IEC 12139-1 IP SSAS setup (class_id = 142, version = 0) ....... 315
4.14.5 HS-PLC ISO/IEC 12139-1 HDLC SSAS setup (class_id = 143, version =
0) .............................................................................................................. 315
4.15 ZigBee® setup classes ...................................................................................... 317
4.15.1 Overview ................................................................................................... 317
COSEM Interface Classes and OBIS Object Identification System
4/622 2020-08-31 DLMS UA 1000-1 Ed. 14 DLMS User Association
© Copyright 1997-2020 DLMS User Association
4.15.2 ZigBee® SAS startup (class_id = 101, version = 0) ..................................... 318
4.15.3 ZigBee® SAS join (class_id = 102, version = 0) .......................................... 320
4.15.4 ZigBee® SAS APS fragmentation (class_id = 103, version = 0) ................... 321
4.15.5 ZigBee® network control (class_id = 104, version = 0) ................................ 322
4.15.6 ZigBee® tunnel setup (class_id = 105, version = 0) ..................................... 328
4.16 Interface classes for setting up and managing the DLMS/COSEM profile for
LPWAN networks .............................................................................................. 330
4.16.1 General ..................................................................................................... 330
4.16.2 Generic interface classes ........................................................................... 330
4.16.3 LPWAN specific interface classes ............................................................... 336
4.17 Interface classes for setting up and managing the DLMS/COSEM profile for
Wi-SUN networks ............................................................................................. 342
4.17.1 Wi-SUN setup (class_id = 95, version 0) ..................................................... 342
4.17.2 Wi-SUN diagnostic (class_id = 96, version 0) .............................................. 346
4.17.3 RPL diagnostic (class_id = 97, version 0) ................................................... 349
4.17.4 MPL diagnostic (class_id = 98, version 0) ................................................... 351
4.18 Interface classes for setting up and managing the DLMS/COSEM profile for
ISO/IEC 14908 PLC networks ............................................................................ 353
4.18.1 General ..................................................................................................... 353
4.18.2 ISO/IEC 14908 identification (class_id = 130, version = 0) .......................... 353
4.18.3 ISO/IEC 14908 protocol setup (class_id = 131, version = 0) ........................ 354
4.18.4 ISO/IEC 14908 protocol status (class_id = 132, version = 0) ....................... 354
4.18.5 ISO/IEC 14908 diagnostic (class_id = 133, version = 0) .............................. 356
5 Maintenance of the interface classes.......................................................................... 359
5.1 General ............................................................................................................. 359
5.1.1 New versions of interface classes ............................................................... 359
5.1.2 New interface classes ................................................................................ 359
5.1.3 Removal of interface classes ...................................................................... 359
5.2 Previous versions of interface classes – general ................................................ 359
5.3 Previous versions of interface classes for parameters and measurement
data .................................................................................................................. 359
5.3.1 Profile generic (class_id = 7, version = 0) ................................................... 359
5.3.2 Compact data (class_id = 62, version = 0) .................................................. 363
5.4 Previous versions of interface classes for access control and management ........ 366
5.4.1 Association SN (class_id = 12, version = 0) ................................................ 366
5.4.2 Association SN (class_id = 12, version = 1) ................................................ 368
5.4.3 Association SN (class_id = 12, version = 2) ................................................ 370
5.4.4 Association SN (class_id = 12, version = 3) ................................................ 373
5.4.5 Association LN (class_id = 15, version = 0) ................................................ 377
5.4.6 Association LN (class_id = 15, version = 1) ................................................ 381
5.4.7 Association LN (class_id = 15, version = 2) ................................................ 387
5.4.8 Security setup (class_id = 64, version = 0).................................................. 392
5.4.9 Push Setup (class_id = 40, version = 0) ...................................................... 394
5.4.10 Push Setup (class_id = 40, version = 1) ...................................................... 399
5.5 Previous versions of interface classes for time- and event- bound control ........... 407
5.5.1 Parameter monitor (class_id = 65, version = 0) ........................................... 407
5.6 Previous versions of payment metering related interface classes ........................ 408
COSEM Interface Classes and OBIS Object Identification System
DLMS User Association 2020-08-31 DLMS UA 1000-1 Ed 14 5/622
© Copyright 1997-2020 DLMS User Association
5.7 Previous versions of interface classes for setting up data exchange via local
ports and modems ............................................................................................. 408
5.7.1 IEC local port setup (class_id = 19, version = 0) ......................................... 408
5.7.2 IEC HDLC setup, (class_id = 23, version = 0) ............................................. 410
5.7.3 IEC twisted pair (1) setup (class_id = 24, version = 0) ................................. 411
5.7.4 PSTN modem configuration (class_id = 27, version = 0) .............................. 413
5.7.5 Auto answer (class_id = 28, version = 0) .................................................... 415
5.7.6 PSTN auto dial (class_id = 29, version = 0) ................................................ 416
5.7.7 Auto connect (class_id = 29, version = 1) ................................................... 417
5.7.8 GSM diagnostic (class_id = 47, version = 0) .............................................. 419
5.7.9 GSM diagnostic (class_id = 47, version = 1) ............................................... 421
5.7.10 LTE Monitoring (class_id = 155, version = 0) .............................................. 424
5.8 Previous versions of interface classes for setting up data exchange via M-
Bus ................................................................................................................... 425
5.8.1 M-Bus client (class_id = 72, version = 0) .................................................... 425
5.9 Previous versions of interface classes for setting up data exchange over the
internet ............................................................................................................. 430
5.10 Previous versions of interface classes for data exchange using S-FSK PLC ....... 430
5.10.1 S-FSK Phy&MAC setup (class_id = 50, version = 0) .................................... 430
5.10.2 S-FSK IEC 61334-4-32 LLC setup (class_id = 55, version = 0) .................... 433
5.11 Previous versions of interface classes for setting up the LLC layer for
ISO/IEC 8802-2 ................................................................................................. 434
5.12 Previous versions of interface classes for setting up and managing
DLMS/COSEM narrowband OFDM PLC profile for PRIME networks ................... 434
5.13 Previous versions of interface classes for setting up and managing
DLMS/COSEM narrowband OFDM PLC profile for G3-PLC networks .................. 434
5.13.1 Mapping of G3-PLC IB attributes to COSEM IC attributes (Original
version) ..................................................................................................... 434
5.13.2 G3 NB OFDM PLC MAC layer counters (class_id = 90, version = 0) ............ 436
5.13.3 G3 NB OFDM PLC MAC setup (class_id = 91, version = 0) ......................... 437
5.13.4 G3 NB OFDM PLC 6LoWPAN adaptation layer setup (class_id = 92,
version = 0) ............................................................................................... 440
5.13.5 Mapping of G3-PLC PIB attributes to COSEM IC attributes (previous
version) ..................................................................................................... 445
5.13.6 G3-PLC MAC setup (class_id = 91, version = 1) ......................................... 447
5.13.7 G3-PLC 6LoWPAN adaptation layer setup (class_id = 92, version = 1) ........ 453
5.14 Previous versions of interface classes for setting up and managing
DLMS/COSEM HS-PLC ISO/IEC 12139-1 neighbourhood networks .................... 459
5.15 Previous versions of ZigBee® setup classes ...................................................... 459
6 Relation to OBIS ........................................................................................................ 460
6.1 General ............................................................................................................. 460
6.2 Abstract COSEM objects ................................................................................... 460
6.2.1 Use of value group C ................................................................................. 460
6.2.2 Data of historical billing periods .................................................................. 462
6.2.3 Billing period values / reset counter entries ................................................. 463
6.2.4 Other abstract general purpose OBIS codes ............................................... 463
6.2.5 Clock objects (class_id = 1, 8) .................................................................... 464
6.2.6 Modem configuration and related objects .................................................... 464
COSEM Interface Classes and OBIS Object Identification System
6/622 2020-08-31 DLMS UA 1000-1 Ed. 14 DLMS User Association
© Copyright 1997-2020 DLMS User Association
6.2.7 Script table objects (class_id = 9) ............................................................... 465
6.2.8 Special days table objects (class_id = 11) .................................................. 466
6.2.9 Schedule objects (class_id = 10) ................................................................ 466
6.2.10 Activity calendar objects (class_id = 20) ..................................................... 466
6.2.11 Register activation objects (class_id = 6) .................................................... 467
6.2.12 Single action schedule objects (class_id = 22) ............................................ 467
6.2.13 Register monitor and alarm monitor objects (class_id = 21) ......................... 467
6.2.14 Parameter monitor objects (class_id = 65) .................................................. 468
6.2.15 Limiter objects (class_id = 71) .................................................................... 468
6.2.16 Array manager objects (class_id = 123) ..................................................... 468
6.2.17 Payment metering related objects ............................................................... 468
6.2.18 IEC local port setup objects (class_id = 19) ................................................ 469
6.2.19 Standard readout profile objects (class_id = 7) ........................................... 469
6.2.20 IEC HDLC setup objects (class_id = 23) ..................................................... 470
6.2.21 IEC twisted pair (1) setup objects (class_id = 24 etc.) ................................. 470
6.2.22 Objects related to data exchange over M-Bus ............................................. 470
6.2.23 Objects to set up data exchange over the Internet ...................................... 471
6.2.24 Objects to set up Push Setup (class_id = 40) .............................................. 473
6.2.25 Objects for setting up data exchange using S-FSK PLC .............................. 473
6.2.26 Objects for setting up the ISO/IEC 8802-2 LLC layer ................................... 474
6.2.27 Objects for data exchange using narrowband OFDM PLC for PRIME
networks .................................................................................................... 474
6.2.28 Objects for data exchange using narrow-band OFDM PLC for G3-PLC
networks .................................................................................................... 475
6.2.29 ZigBee® setup objects ............................................................................... 476
6.2.30 Objects for setting up and managing data exchange using ISO/IEC
14908 PLC networks .................................................................................. 476
6.2.31 Objects for data exchange using HS-PLC ISO/IEC 12139-1 ISO/EC
12139-1 networks ...................................................................................... 476
6.2.32 Objects for data exchange using Wi-SUN networks ..................................... 477
6.2.33 Association objects (class_id = 12, 15) ....................................................... 477
6.2.34 SAP assignment object (class_id = 17) ....................................................... 477
6.2.35 COSEM logical device name object ............................................................ 478
6.2.36 Information security related objects (class_id = 64 etc.) .............................. 478
6.2.37 Image transfer objects (class_id = 18) ........................................................ 479
6.2.38 Function control objects (class_id = 122) .................................................... 479
6.2.39 Communication port protection objects (class_id = 124) .............................. 479
6.2.40 Utility table objects (class_id = 26) ............................................................. 479
6.2.41 Compact data objects (class_id = 62) ......................................................... 480
6.2.42 Device ID objects ....................................................................................... 480
6.2.43 Metering point ID objects ............................................................................ 480
6.2.44 Parameter changes and calibration objects ................................................. 481
6.2.45 I/O control signal objects ............................................................................ 481
6.2.46 Disconnect control objects (class_id = 70) .................................................. 481
6.2.47 Arbitrator objects (class_id = 68) ................................................................ 481
6.2.48 Status of internal control signals objects ..................................................... 482
6.2.49 Internal operating status objects ................................................................. 482
COSEM Interface Classes and OBIS Object Identification System
DLMS User Association 2020-08-31 DLMS UA 1000-1 Ed 14 7/622
© Copyright 1997-2020 DLMS User Association
6.2.50 Battery entries objects ............................................................................... 482
6.2.51 Power failure monitoring objects ................................................................. 483
6.2.52 Operating time objects ............................................................................... 483
6.2.53 Environment related parameters objects ..................................................... 483
6.2.54 Status register objects ............................................................................... 484
6.2.55 Event code objects ..................................................................................... 484
6.2.56 Communication port log parameter objects ................................................. 484
6.2.57 Consumer message objects ....................................................................... 484
6.2.58 Currently active tariff objects ...................................................................... 485
6.2.59 Event counter objects ................................................................................. 485
6.2.60 Profile entry digital signature objects .......................................................... 485
6.2.61 Profile entry counter objects ....................................................................... 485
6.2.62 Meter tamper event related objects ............................................................. 486
6.2.63 Error register objects.................................................................................. 486
6.2.64 Alarm register, Alarm filter and Alarm descriptor objects ............................. 487
6.2.65 General list objects .................................................................................... 487
6.2.66 Event log objects (class_id = 7) .................................................................. 488
6.2.67 Inactive objects .......................................................................................... 488
6.3 Electricity related COSEM objects ..................................................................... 489
6.3.1 Value group D definitions ........................................................................... 489
6.3.2 ID numbers – Electricity ............................................................................. 489
6.3.3 Billing period values / reset counter entries ................................................. 489
6.3.4 Other electricity related general purpose objects ......................................... 490
6.3.5 Measurement algorithm .............................................................................. 491
6.3.6 Metering point ID (electricity related) .......................................................... 492
6.3.7 Electricity related status objects ................................................................. 493
6.3.8 List objects – Electricity (class_id = 7) ........................................................ 493
6.3.9 Threshold values........................................................................................ 494
6.3.10 Register monitor objects (class_id = 21) ..................................................... 494
6.4 HCA related COSEM objects ............................................................................. 496
6.4.1 General ..................................................................................................... 496
6.4.2 ID numbers – HCA ..................................................................................... 496
6.4.3 Billing period values / reset counter entries - HCA ...................................... 496
6.4.4 General purpose objects – HCA ................................................................. 497
6.4.5 Measured Values – HCA ............................................................................ 497
6.4.6 Error register objects – HCA ....................................................................... 499
6.4.7 List objects – HCA ..................................................................................... 499
6.4.8 Data profile objects – HCA ......................................................................... 499
6.5 Thermal energy meter related COSEM objects ................................................... 500
6.5.1 General ..................................................................................................... 500
6.5.2 ID numbers – Thermal energy meter ........................................................... 500
6.5.3 Billing period values / reset counter entries - Thermal energy meter ............ 500
6.5.4 General purpose objects – Thermal energy meter ....................................... 501
6.5.5 Measured values - Thermal energy meter ................................................... 501
6.5.6 Error register objects – Thermal energy meter ............................................ 503
6.5.7 List objects – Thermal energy meter ........................................................... 504
COSEM Interface Classes and OBIS Object Identification System
8/622 2020-08-31 DLMS UA 1000-1 Ed. 14 DLMS User Association
© Copyright 1997-2020 DLMS User Association
6.5.8 Data profile objects – Thermal energy meter ............................................... 504
6.6 Gas related COSEM objects .............................................................................. 505
6.6.1 General ..................................................................................................... 505
6.6.2 ID numbers – Gas ...................................................................................... 505
6.6.3 Billing period values / reset counter entries – Gas ....................................... 505
6.6.4 Other general purpose objects – Gas.......................................................... 505
6.6.5 Internal operating status objects – Gas ....................................................... 507
6.6.6 Measured values – Gas .............................................................................. 508
6.6.7 Conversion related factors and coefficients – Gas ....................................... 509
6.6.8 Calculation methods – Gas ......................................................................... 510
6.6.9 Natural gas analysis ................................................................................... 510
6.6.10 List objects – Gas ...................................................................................... 511
6.7 Water meter related COSEM objects ................................................................. 512
6.7.1 General ..................................................................................................... 512
6.7.2 ID numbers – water meter .......................................................................... 512
6.7.3 Billing period values / reset counter entries – water meter ........................... 512
6.7.4 General purpose objects – water meter ...................................................... 513
6.7.5 Measured values – water meter .................................................................. 513
6.7.6 Error register objects – water meter ............................................................ 515
6.7.7 List objects – water meter .......................................................................... 515
6.7.8 Data profile objects – water meter .............................................................. 515
6.7.9 Coding of OBIS identifications .................................................................... 516
7 COSEM Object Identification System (OBIS) .............................................................. 517
7.1 Scope ............................................................................................................... 517
7.2 OBIS code structure .......................................................................................... 517
7.2.1 Value groups and their use ......................................................................... 517
7.2.2 Manufacturer specific codes ....................................................................... 517
7.2.3 Reserved ranges ........................................................................................ 518
7.2.4 Summary of rules for manufacturer, utility, consortia and country
specific codes ............................................................................................ 518
7.2.5 Standard object codes ................................................................................ 519
7.3 Value group definitions – overview .................................................................... 519
7.3.1 Value group A ............................................................................................ 519
7.3.2 Value group B ............................................................................................ 519
7.3.3 Value group C ............................................................................................ 520
7.3.4 Value group D ............................................................................................ 521
7.3.5 Value group E ............................................................................................ 523
7.3.6 Value group F ............................................................................................ 523
7.4 Abstract objects (Value group A = 0) ................................................................. 524
7.4.1 General and service entry objects – Abstract .............................................. 524
7.4.2 Error registers, alarm registers / filters / descriptor objects – Abstract ......... 528
7.4.3 List objects – Abstract ................................................................................ 529
7.4.4 Register table objects – Abstract ................................................................ 529
7.4.5 Data profile objects – Abstract .................................................................... 529
7.5 Electricity (Value group A = 1) ........................................................................... 530
7.5.1 Value group C codes – Electricity ............................................................... 530
COSEM Interface Classes and OBIS Object Identification System
DLMS User Association 2020-08-31 DLMS UA 1000-1 Ed 14 9/622
© Copyright 1997-2020 DLMS User Association
7.5.2 Value group D codes – Electricity ............................................................... 532
7.5.3 Value group E codes – Electricity ............................................................... 535
7.5.4 Value group F codes – Electricity ............................................................... 540
7.5.5 OBIS codes – Electricity ............................................................................. 541
7.6 Heat Cost Allocators (Value group A = 4) ........................................................... 547
7.6.1 General ..................................................................................................... 547
7.6.2 Value group C codes – HCA ....................................................................... 547
7.6.3 Value group D codes – HCA ....................................................................... 548
7.6.4 Value group E codes – HCA ....................................................................... 548
7.6.5 OBIS codes – HCA ..................................................................................... 549
7.7 Thermal energy (Value group A = 5 or A = 6) ..................................................... 552
7.7.1 General ..................................................................................................... 552
7.7.2 Value group C codes – Thermal energy ...................................................... 552
7.7.3 Value group D codes – Thermal energy ...................................................... 553
7.7.4 Value group E codes – Thermal energy ...................................................... 554
7.7.5 OBIS codes – Thermal energy .................................................................... 554
7.8 Gas (Value group A = 7) .................................................................................... 559
7.8.1 General introduction to gas measurement ................................................... 559
7.8.2 Value group C codes – Gas ........................................................................ 566
7.8.3 Value group D codes – Gas ........................................................................ 568
7.8.4 Value group E codes – Gas ........................................................................ 580
7.8.5 Value group F codes – Gas ........................................................................ 583
7.8.6 OBIS codes – Gas ..................................................................................... 583
7.9 Water (Value group A = 8 and A = 9) ................................................................. 591
7.9.1 General ..................................................................................................... 591
7.9.2 Value group C codes – Water ..................................................................... 591
7.9.3 Value group D codes – Water ..................................................................... 592
7.9.4 Value group E codes – Water ..................................................................... 592
7.9.5 OBIS codes – Water ................................................................................... 593
7.10 Other media (Value group A= 15) ...................................................................... 595
7.10.1 General ..................................................................................................... 595
7.10.2 Value group C codes – Other media ........................................................... 595
7.10.3 Value group E codes – Other media ........................................................... 595
7.10.4 Value group D codes – Other media ........................................................... 595
7.10.5 Value group F codes – Other media............................................................ 595
7.11 Code presentation ............................................................................................. 595
7.11.1 Reduced ID codes (e.g. for IEC 62056-21) .................................................. 595
7.11.2 Display ...................................................................................................... 596
7.11.3 Special handling of value group F ............................................................... 596
7.11.4 COSEM ..................................................................................................... 597
Annex A (Informative) Additional information on Auto answer and Auto connect ICs ........... 598
Annex B (Informative) Additional information to M-Bus client (class_id = 72, version 1) ...... 600
Annex C (Informative) Additional information on IPv6 setup (class_id = 48, version = 0) ..... 602
C.1 General ............................................................................................................. 602
C.2 IPv6 addressing ................................................................................................ 602
C.3 IPv6 header format ............................................................................................ 603
COSEM Interface Classes and OBIS Object Identification System
10/622 2020-08-31 DLMS UA 1000-1 Ed. 14 DLMS User Association
© Copyright 1997-2020 DLMS User Association
C.4 IPv6 header extensions ..................................................................................... 604
C.4.1 Overview ................................................................................................... 604
C.4.2 Hop-by-Hop options ................................................................................... 605
C.4.3 Destination options .................................................................................... 605
C.4.4 Routing options .......................................................................................... 605
C.4.5 Fragment options ....................................................................................... 606
C.4.6 Security options ......................................................................................... 606
Annex D (Informative) Overview of the narrow-band OFDM PLC technology for PRIME
networks ................................................................................................................... 607
Annex E (informative) Overview of the narrow-band OFDM PLC technology for G3-PLC
networks ................................................................................................................... 608
Annex F (informative) Bibliography .................................................................................... 609
Index ................................................................................................................................ 611
Figure 1 – The three steps approach of DLMS/COSEM: Modelling – Messaging –
Transporting ....................................................................................................................... 20
Figure 2 – The meaning of the definitions concerning the Image .......................................... 25
Figure 3 – An interface class and its instances .................................................................... 39
Figure 4 – The COSEM server model .................................................................................. 48
Figure 5 – Combined metering device ................................................................................. 49
Figure 6 – Overview of the interface classes – Part 1........................................................... 51
Figure 7 – Overview of the interface classes – Part 2........................................................... 52
Figure 8 – Overview of the interface classes – Part 3........................................................... 53
Figure 9 – The time attributes when measuring sliding demand ............................................ 63
Figure 10 – The attributes in the case of block demand ....................................................... 63
Figure 11 – The attributes in the case of sliding demand (number of periods = 3) ................. 64
Figure 12 – Image transfer process flow chart ................................................................... 104
Figure 13 – COSEM model of push operation .................................................................... 113
Figure 14 – Push windows, delays and retries ................................................................... 115
Figure 15 – COSEM model of data protection .................................................................... 125
Figure 16 – Example: Read protection_buffer attribute ....................................................... 127
Figure 17 – Example of managing an array ........................................................................ 143
Figure 18 – The generalized time concept ......................................................................... 151
Figure 19 – State diagram of the Disconnect control IC ...................................................... 164
Figure 20 – Definition of upper and lower thresholds ......................................................... 176
Figure 21 – COSEM tariffication model (example) .............................................................. 181
Figure 22 – COSEM billing model (example) ...................................................................... 182
Figure 23 – Outline Account model .................................................................................... 184
Figure 24 – Diagram of attribute relationships ................................................................... 185
Figure 25 – Credit States when priority >0 ......................................................................... 195
Figure 26 – Operation of current_credit_status flags .......................................................... 198
Figure 27 – Interaction of current_credit_amount and available_credit with Token
“Credit” and Emergency “Credit” ........................................................................................ 204
COSEM Interface Classes and OBIS Object Identification System
DLMS User Association 2020-08-31 DLMS UA 1000-1 Ed 14 11/622
© Copyright 1997-2020 DLMS User Association
Figure 28 – Object model of DLMS/COSEM servers .......................................................... 259
Figure 29 – Object model of DLMS/COSEM servers .......................................................... 279
Figure 30 – Example of a ZigBee® network ....................................................................... 318
Figure 31 – Push windows and delays ............................................................................... 394
Figure 32 – Push windows and delays ............................................................................... 399
Figure 33 – Data of historical billing periods – example with modulo 12, VZ = 5 ................. 462
Figure 34 – Quadrant definitions for active and reactive power .......................................... 532
Figure 35 – Model of the line and the transformer for calculation of loss quantities ............. 537
Figure 36 – Residential gas metering installation ............................................................... 559
Figure 37 – Industrial gas metering installation (single stream) .......................................... 560
Figure 38 – City gate or border crossing installation (multi stream) .................................... 561
Figure 39 – Data flow of volume conversion and energy calculation ................................... 563
Figure 40 – Reduced ID code presentation ........................................................................ 596
Figure A. 1 – Network connectivity example for a GSM/GPRS network ............................... 598
Figure B. 1 – Encryption key status diagram ...................................................................... 600
Figure C. 1 – IPv6 address formats ................................................................................... 602
Figure C. 2 – IPv6 header format ..................................................................................... 603
Figure C. 3 – Traffic class parameter format ...................................................................... 604
Table 1 – Reserved base_names for SN referencing ........................................................... 40
Table 2 – Common data types ............................................................................................. 43
Table 3 – List of interface classes by class_id ..................................................................... 53
Table 4 – Enumerated values for physical units ................................................................... 58
Table 5 – Examples for scaler_unit...................................................................................... 62
Table 6 – Encoding of selective access parameters with data_index .................................... 81
Table 7 – Example daily billing data captured to compact_buffer .......................................... 82
Table 8 – “Compact data“ object attributes – Daily billing data example ............................... 83
Table 10 – Example diagnostic and alarm data captured to compact_buffer ......................... 84
Table 11 – “Compact data“ object attributes – Diagnostic and Alarm data example ............... 84
Table 12 – Example diagnostic and alarm data read from “Profile generic” buffer ................. 84
Table 13 – Example logbook data entries in “Profile generic” buffer ..................................... 85
Table 14 – Example logbook data captured to compact_buffer ............................................. 85
Table 15 – “Compact data“ object attributes – Logbook data example .................................. 85
Table 16 – Example logbook data read from “Profile generic” buffer ..................................... 86
Table 17 – Key information required to establish data protection keys ................................ 135
Table 18 – Protection parameters of protection_parameters_get attribute .......................... 136
Table 19 – Protection parameters of protection_parameters_set attribute ........................... 137
Table 20 – Protection parameters of get_protected_attributes method ............................... 138
Table 21 – Protection parameters of set_protected_attributes method ................................ 139
Table 22 – Protection parameters of invoke_protected_method method ............................. 140
Table 23 – Schedule ......................................................................................................... 155
COSEM Interface Classes and OBIS Object Identification System
12/622 2020-08-31 DLMS UA 1000-1 Ed. 14 DLMS User Association
© Copyright 1997-2020 DLMS User Association
Table 24 – Special days table ........................................................................................... 155
Table 25 – Disconnect control IC – states and state transitions .......................................... 165
Table 26 – Explicit presentation of threshold value arrays .................................................. 176
Table 27 – Explicit presentation of action_sets .................................................................. 176
Table 28 – Credit states .................................................................................................... 195
Table 29 – Credit state transitions ..................................................................................... 196
Table 30 – Fatal error register ........................................................................................... 218
Table 31 – Mapping IEC 61334-4-512:2001 MIB variables to COSEM IC attributes /
methods ........................................................................................................................... 260
Table 32 – MAC addresses in the S-FSK profile ................................................................ 265
Table 33 – Mapping of PRIME NB OFDM PLC PIB attributes to COSEM IC attributes ........ 280
Table 34 – Mapping of G3-PLC IB attributes specified in ITU-T G.9903:2017 to
COSEM IC attributes ........................................................................................................ 291
Table 35 – Use of ZigBee® setup COSEM interface classes .............................................. 318
Table 36 – C/D Rule 1 ...................................................................................................... 334
Table 37 – Encoding of selective access parameters with data_index ................................ 398
Table 38 – ADS address elements .................................................................................... 413
Table 39 – Mapping of G3-PLC IB attributes specified in ITU-T G.9903:2013 Amd. 1 to
COSEM IC attributes ........................................................................................................ 434
Table 40 – Mapping of G3-PLC IB attributes to COSEM IC attributes ................................. 445
Table 41 – Use of value group C for abstract objects in the COSEM context ...................... 461
Table 42 – Representation of various values by appropriate ICs ........................................ 489
Table 43 – Measuring algorithms – enumerated values ...................................................... 491
Table 44 – Threshold objects, electricity ............................................................................ 494
Table 45 – Register monitor objects, electricity .................................................................. 495
Table 46 – Digital / Analogue output configurations – enumerated values ........................... 506
Table 47 – Indexes and index differences .......................................................................... 508
Table 48 – Flow rate ......................................................................................................... 509
Table 49 – Process values ................................................................................................ 509
Table 50 – Conversion related factors and coefficients ...................................................... 510
Table 51 – Calculation methods ........................................................................................ 510
Table 52 – Natural gas analysis ........................................................................................ 511
Table 53 – OBIS code structure and use of value groups ................................................... 517
Table 54 – Rules for manufacturer, utility, consortia and country specific codes ................. 518
Table 55 – Value group A codes........................................................................................ 519
Table 56 – Value group B codes........................................................................................ 520
Table 57 – Value group C codes – Abstract objects ........................................................... 520
Table 58 – Value group D codes – Consortia specific identifiers ......................................... 521
Table 59 – Value group D codes – Country specific identifiers ........................................... 521
Table 60 – OBIS codes for general and service entry objects ............................................. 524
Table 61 – OBIS codes for error registers, alarm registers and alarm filters – Abstract ....... 528
COSEM Interface Classes and OBIS Object Identification System
DLMS User Association 2020-08-31 DLMS UA 1000-1 Ed 14 13/622
© Copyright 1997-2020 DLMS User Association
Table 62 – OBIS codes for list objects – Abstract .............................................................. 529
Table 63 – OBIS codes for Register table objects – Abstract .............................................. 529
Table 64 – OBIS codes for data profile objects – Abstract .................................................. 529
Table 65 – Value group C codes – Electricity ..................................................................... 530
Table 66 – Value group D codes – Electricity ..................................................................... 532
Table 67 – Value group E codes – Electricity – Tariff rates ................................................ 535
Table 68 – Value group E codes – Electricity – Harmonics ................................................. 535
Table 69 – Value group E codes – Electricity – Extended phase angle measurement.......... 536
Table 70 – Value group E codes – Electricity – Transformer and line losses ....................... 537
Table 71 – Value group E codes – Electricity – UNIPEDE voltage dips ............................... 540
Table 72 – OBIS codes for general and service entry objects – Electricity .......................... 541
Table 73 – OBIS codes for error register objects – Electricity ............................................. 545
Table 74 – OBIS codes for list objects – Electricity ............................................................ 545
Table 75 – OBIS codes for data profile objects – Electricity ............................................... 545
Table 76 – OBIS codes for Register table objects – Electricity ........................................... 546
Table 77 – Value group C codes – HCA ............................................................................ 547
Table 78 – Value group D codes – HCA ............................................................................ 548
Table 79 – Value group E codes – HCA ............................................................................. 548
Table 80 – OBIS codes for general and service entry objects – HCA .................................. 549
Table 81 – OBIS codes for error register objects – HCA ..................................................... 550
Table 82 – OBIS codes for list objects – HCA .................................................................... 550
Table 83 – OBIS codes for data profile objects – HCA ....................................................... 550
Table 84 – OBIS codes for HCA related objects (examples) ............................................... 551
Table 85 – Value group C codes – Thermal energy ............................................................ 552
Table 86 – Value group D codes – Thermal energy ............................................................ 553
Table 87 – Value group E codes – Thermal Energy – Tariff rates ....................................... 554
Table 88 – OBIS codes for general and service entry objects – Thermal energy ................. 554
Table 89 – OBIS codes for error register objects – Thermal energy .................................... 556
Table 90 – OBIS codes for list objects – Thermal Energy Meters ....................................... 557
Table 91 – OBIS codes for data profile objects – Thermal energy ...................................... 557
Table 92 – OBIS codes for Thermal energy related objects (examples) .............................. 557
Table 93 – OBIS codes of the main objects in the gas conversion process data flow .......... 564
Table 94 – Value group C codes – Gas ............................................................................. 566
Table 95 – Value group D codes – Gas – Indexes and index differences ............................ 569
Table 96 – Value group D codes – Gas – Flow rate ........................................................... 573
Table 97 – Value group D codes – Gas – Process values .................................................. 575
Table 98 – Value group D codes – Gas – Conversion related factors and coefficients ......... 578
Table 99 – Value group D codes – Gas – Natural gas analysis values ................................ 579
Table 100 – Value group E codes – Gas – Indexes and index differences – Tariff rates ...... 580
Table 101 – Value group E codes – Gas – Conversion related factors and coefficients ....... 581
Table 102 – Value group E codes – Gas – Calculation methods ......................................... 582
COSEM Interface Classes and OBIS Object Identification System
14/622 2020-08-31 DLMS UA 1000-1 Ed. 14 DLMS User Association
© Copyright 1997-2020 DLMS User Association
Table 103 – Value group E codes – Gas – Natural gas analysis values – Averages ............ 582
Table 104 – OBIS codes for general and service entry objects – Gas ................................. 583
Table 105 – OBIS codes for error register objects – Gas.................................................... 590
Table 106 – OBIS codes for list objects – Gas ................................................................... 590
Table 107 – OBIS codes for data profile objects – Gas ...................................................... 591
Table 108 – Value group C codes – Water ......................................................................... 591
Table 109 – Value group D codes – Water ......................................................................... 592
Table 110 – Value group E codes – Water ......................................................................... 592
Table 111 – OBIS codes for general and service entry objects – Water .............................. 593
Table 112 – OBIS codes for error register objects – Water ................................................. 594
Table 113 – OBIS codes for list objects – Water Meters ..................................................... 594
Table 114 – OBIS codes for data profile objects – Water ................................................... 594
Table 115 – OBIS codes for water related objects (examples) ............................................ 594
Table 116 – Value group C codes – Other media ............................................................... 595
Table 117 – Example of display code replacement ............................................................. 596
Table 118 – Value group F – Billing periods ...................................................................... 597
Table B. 1 – Encryption key is preset in the slave and cannot be changed ......................... 601
Table B. 2 – Encryption key is preset in the slave and new key is set after installation........ 601
Table B. 3 – Encryption key is not preset in the slave, but can be set, case a) ................... 601
Table B. 4 – Encryption key is not preset in the slave, but can be set, case b) ................... 601
Table C. 1 – IPv6 header vs. IPv6 IC ................................................................................. 604
Table C. 2 – Optional IPv6 header extensions vs. IPv6 IC .................................................. 605


标签: DLMS协议文档

网友评论

发表评论

(您的评论需要经过审核才能显示)

查看所有0条评论>>

小贴士

感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。

  • 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
  • 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
  • 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
  • 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。

关于好例子网

本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明

;
报警