Prometer 100 DLMS Communication Protocol: Document Number: IPD000294 Issue: K 17 July 2018
Prometer 100 DLMS Communication Protocol: Document Number: IPD000294 Issue: K 17 July 2018
Protocol
Document number: IPD000294
Issue: K
17 July 2018
Contents
1. Introduction..............................................................................................................................................................3
1.1 Baud rate changeover.........................................................................................................................................3
2. Terminology..............................................................................................................................................................3
3. References.................................................................................................................................................................3
4. System Architecture.................................................................................................................................................3
5. Metering HDLC protocol using protocol Mode E for direct local data exchange.............................................4
5.1 Communication mode........................................................................................................................................4
5.2 Connecting.........................................................................................................................................................4
6. Metering HDLC / IPv4 protocol (DLMS / COSEM)............................................................................................4
6.1 General...............................................................................................................................................................4
6.2 DLMS Services..................................................................................................................................................4
6.3 Security..............................................................................................................................................................4
Note: Level 5 security is manufacturer specific and is out of the scope of this document......................................5
6.4 Supported objects...............................................................................................................................................5
6.4.1 IEC local port setup (HDLC Mode E).......................................................................................................5
6.4.2 IEC HDLC Setup.......................................................................................................................................5
6.4.3 Ethernet (TCP, IPv4, MAC address) Setup...............................................................................................6
6.4.4 Abstract objects (GET Services)...............................................................................................................6
6.4.5 Electricity objects (GET Services)............................................................................................................6
6.4.5.1 Supported data objects (Individual parameters)...............................................................................6
6.4.6 Profiles (GET Services)...........................................................................................................................10
6.4.6.1 Instant values..................................................................................................................................11
6.4.6.1.1 Instantaneous profile (Block 1)..............................................................................................12
6.4.6.1.2 Instantaneous Profile (Block 2 - Powers)..............................................................................12
6.4.6.1.3 Instantaneous Profile (Block 3 - Cumulative Energy)...........................................................13
6.4.6.1.4 Instantaneous Profile (Block 4 - Maximum Demand)...........................................................14
6.4.6.1.5 Instantaneous Profile (Block 5 - Miscellaneous line parameters)..........................................15
6.4.6.1.6 Instantaneous Profile (Block 6 - Scaling Parameters)...........................................................15
6.4.6.1.7 Instantaneous Profile (Block 7 - General Parameters)...........................................................15
6.4.6.1.8 Instantaneous Profile (Block 8 - Previous Logger IP)...........................................................16
Check the current issue before using this document.
1. Introduction
This document describes how to read data from the Prometer 100 using DLMS / COSEM. It’s not a guide for the
implementation of the server.
For DLMS / COSEM, this document describes the specifics for Prometer 100. For general information about the
protocol, refer to the standard documents (white, green and blue books from the DLMS User Association). The
implementation in Prometer 100 is based on Blue Book 10th edition and Green Book 7th edition.
DLMS / COSEM are supported on the optical (IEC1107), RS232, RS485 and Ethernet.
This document describes only meter reading, it is not intended for meter configuration. When configuring the meter,
other aspects have to be taken into consideration, not mentioned in this document.
2. Terminology
COSEM Companion Specification for Energy Metering
IP Integration Period
HOST A computer system to which data collected by BCS is returned for processing, and /or
which can collect data remotely from a meter or data concentrator.
** Marked Parameters Objects are applicable for DLMS Firmware version M6XXG03.
3. References
Ref. Number Title
1 Green_Book_7th_edition DLMS/COSEM Architecture and Protocols
2 Blue_Book_10th_edition COSEM Identification System and Interface Classes
4. System Architecture
Prometer 100 have multiple ports, namely:
a 1107/ANSI local optical port – DLMS MODE E sign on
a RS-232 remote port, which can be connected to modem (3G, GPRS or GSM) – HDLC DLMS
a RS-485 for daisy chaining– HDLC DLMS
a TCP/IP port – TCP DLMS
All ports are independent and can be communicated simultaneously
5. Metering HDLC protocol using protocol Mode E for direct local data
exchange
5.2 Connecting
When connecting to the meter using mode E programming mode the meter serial number is used as the device address.
The meter answers with an identification message where the manufacturer’s identification is “CWI”.
Communication @ 300 baud rate, 7E1
Client (HHU) => /?!<CR><LF>
Server (Tariff Device) <= /XXXZ\W<CR><LF>
Client (HHU) => <ACK>2Z2<CR><LF>
Communication @ Z baud rate, 7E1
Server (Tariff Device) <= <ACK>2Z2<CR><LF>
Communication @Z baud rate, 8N1
Client (HHU) initiates communication in metering HDLC protocol.
Where,
<CR> = 0x0D, <LF> = 0x0A, <ACK> = 0x06, W = 2
Z = baud rate
XXX is Manufacturer’s FLAG Identification
6.1 General
Prometer 100 supports referencing of COSEM objects using logical (long) names over HDLC and Ethernet (TCP/IP).
Physical layer uses 1 start bit, 8 data bits, no parity and one stop bit for HDLC.
Supported baud rates for HDLC depend on the specific port and for Ethernet (TCP/IP) it depends on the network; see
Prometer 100 User Manual for details.
All three modes of HDLC addressing is supported (1, 2 or 4 byte). The normal restrictions apply for restricted addresses
according to the standard.
6.3 Security
There are six application associations available in Prometer100. Their characteristics are as follows:
0x18 LLS password Password based sign-on where the client authenticates itself to
the meter using a password.
Read limited data for user
0x20 LLS (password corresponding to Password based sign-on where the client authenticates itself to
meter access level 1). the meter using a password.
Read all data for utility
0x30 HLS (AES Keys corresponding HLS mechanism defines a 4-pass sign-on scheme where the client and
to meter access level 2). server exchange challenges (a random number or code) and then reply
to the challenges with a processed response. The processing performed
on the challenges is an encryption using a secret “key”.
Level 1 access, Date & time correction, MD reset
0x40 HLS (AES Keys corresponding HLS mechanism defines a 4-pass sign-on scheme where the client and
to meter access level 3). server exchange challenges (a random number or code) and then reply
to the challenges with a processed response. The processing performed
on the challenges is an encryption using a secret “key”.
Level 2 access, Change CT-VT ratio, Linear transformer correction,
Display parameter change, Change LLS password level1, AES Key
level 2 & level3
0x50 HLS (AES Keys corresponding HLS mechanism defines a 4-pass sign-on scheme where the client and
to meter access level 4). server exchange challenges (a random number or code) and then reply
to the challenges with a processed response. The processing performed
on the challenges is an encryption using a secret “key”.
Level 3 access, Non-linear transformer correction, Calibration, Change
LLS password level1, AES Key level2, level3 & level4
Table 6-1
Note: Level 5 security is manufacturer specific and is out of the scope of this document.
Table 6-2
6.4.2 IEC HDLC Setup
Sr. No. Obis code Object Interface class
1. 0.0.22.0.0.255 IEC HDLC setup, serial channel IEC HDLC setup
Table 6-3
6.4.3 Ethernet (TCP, IPv4, MAC address) Setup
Sr. No. Obis code Object Interface class
1. 0.0.25.0.0.255 TCP / UDP setup TCP-UDP setup
Table 6-4
Table 6-5
†
The script 0.0.10.1.255 is ‘hidden’, i.e. the attribute 2 cannot be read.
* Logical device name consist manufacturer’s identification in first 3 characters and product type in next 6 characters.
For Prometer 100 rack and wall these are “CWIR3E1xx” and “CWIP3E1xx” respectively.
62. 1.0.1.6.0.255 Active Import Total (Q1+Q4) Maximum Demand Extended Register
63. 1.0.2.6.0.255 Active Export Total (Q2+Q3) Maximum Demand Extended Register
64. 1.0.129.6.0.255 Active Import Fundamental (Q1+Q4) Maximum Demand Extended Register
65. 1.0.130.6.0.255 Active Export Fundamental (Q2+Q3) Maximum Demand Extended Register
70. 1.0.9.6.0.255 Apparent While Active Import (Q1+Q4) Maximum Demand Extended Register
71. 1.0.10.6.0.255 Apparent While Active Export (Q2+Q3) Maximum Demand Extended Register
Table 6-6
Time Compression Info:
It has 1 byte value having following interpretation:-
Value 2 – Every time stamp information must be replaced by the data type null-data, since it can be unambiguously
calculated by the previous time stamp and the capture period and if Clear means Every time stamp information will
come along with every SIP block.
Value 0 – Every SIP block associated with Time stamp with identical data type.
Prometer 100 supports the Selective Access by Range for Logger profile and Daily energy snapshot profile. Meter
supports Selective Access by Entry for Billing data profile and Event log profiles.
In case of Selective access by Range, Prometer 100 supports the selective access as an instance of the Clock interface
class (IC-8) and the date-time attribute of the object is captured in the buffer.
In Load survey, Daily, event and Meter info profiles Clock will always be the first parameter.
Table 6-7
6.4.6.1 Instant values
The Instantaneous parameters shall be continuously updated by the meter as per internal sampling and computation
time. The energy values in the table shall be cumulative readings from the date of manufacturing. These shall be
continuously updated and last updated value shall be available for downloading as and when required. Each of the
parameters shall be readable at any instant by the HOST from remote. The snap shot of all the instantaneous values of
all parameters shall be readable by the HOST computer.
Instant values have A = 1, B = 0, F = 255, and unless otherwise specified, D = 7. Instant values are implemented using
the DLMS interface class Data and Register.
Table 6-8
6.4.6.1.2 Instantaneous Profile (Block 2 - Powers)
The supported objects are, as described in the following table:
Table 6-9
Table 6-10
6.4.6.1.4 Instantaneous Profile (Block 4 - Maximum Demand)
The supported objects are, as described in the following table:
10. 1.0.10.6.0.255 Apparent While Active Export (Q2+Q3) Maximum Extended Register
Demand
Table 6-11
6.4.6.1.5 Instantaneous Profile (Block 5 - Miscellaneous line parameters)
The supported objects are, as described in the following table:
Table 6-12
6.4.6.1.6 Instantaneous Profile (Block 6 - Scaling Parameters)
The supported objects are, as described in the following table:
Table 6-13
6.4.6.1.7 Instantaneous Profile (Block 7 - General Parameters)
The supported objects are, as described in the following table:
Table 6-14
6.4.6.1.8 Instantaneous Profile (Block 8 - Previous Logger IP)
The supported objects are, as described in the following table:
Table 6-15
6.4.6.2 Harmonics and THD
Harmonics and THD are available for voltages and currents supported on the meter. E = 0 gives the total. E = 1 is the
fundamental, E = 2 is 2nd harmonics, etc up to E = 31.
E = 124 gives the THD.
Table 6-16
†E = 1 to 31
Table 6-17
†E = 1 to 31
Table 6-18
6.4.6.4 Billing
These are parameters identified for accounting / billing purposes. These shall be generated by the meter for each billing
cycle and stored in the memory. The set of data for last 15 cycles shall be stored in the memory. At the end of each
cycle corresponding set of data shall be readable by the HOST from remote.
Energy objects are available as total (E = 0) and depending on meter configuration as eight different rate registers (E
from 1 to 8). The configuration for what energy objects are available as rate registers is set in the Time of Use node, the
TOU tab, in M-Cubed 100 (ConfigView).
Energy objects can also be retrieved for the current billing period (F = 255) or for one of 15 historical periods (F from
101 to 115). F=101 identifies the most recent billing period.
All energy objects are implemented using the DLMS interface class data, Register and extended register.
Energy objects always as A = 1 and B = 0, E and F as described above. Normal energy registers have D = 8, while
maximum demand has D = 6. C should have a value according to the following table:
Table 6-19
6.4.6.4.2 Billing Energy Parameters
Table 6-20
Table 6-21
†
Note: E = 1 To 8
10. 1.0.10.6.0.255 Apparent While Active Export (Q2+Q3) Universal Maximum Extended
Demand Register
Register
23. 1.0.9.6.E.255 Apparent While Active Import (Q1+Q4) Maximum Demand Extended
Register
24. 1.0.10.6.E.255 Apparent While Active Export (Q2+Q3) Maximum Demand Extended
Register
Table 6-22
†
Note: E = 1 To 8
10. 1.0.10.2.0.255 Apparent While Active Export (Q2+Q3) Universal Cumulative Extended
Maximum Demand Register
15. 1.0.1.2.E.255 Active Import Total (Q1+Q4) Cumulative Maximum Demand Extended
Register
16. 1.0.2.2.E.255 Active Export Total (Q2+Q3) Cumulative Maximum Demand Extended
Register
23. 1.0.9.2.E.255 Apparent While Active Import (Q1+Q4) Cumulative Maximum Extended
Demand Register
24. 1.0.10.2.E.255 Apparent While Active Export (Q2+Q3) Cumulative Maximum Extended
Demand Register
Register
Table 6-23
†
Note: E = 1 To 8
Table 6-25
†Note:
D = 7 (Instantaneous value),
27 (Average for IP),
24 (THD Average for IP),
132 (Average for IP of average (3 phase) parameter),
135 (Instantaneous value of average (3 phase) parameter),
Table 6-26
Status Flag bit interpretation (If bit value is 1 than condition is true)
4 Disturbed (Interval incomplete due to power off, time set, logger reset)
7 CT reversal
12 Low Voltage (One or more measuring voltage is below low voltage threshold)
Table 6-27
6.4.6.5.4 Logger external registers
Prometer 100 supports 4 external registers.
Table 6-28
Table 6-29
Table 6-30
1. PT Miss Occurrence – L1 1
2. PT Miss Restoration – L1 2
3. PT Miss Occurrence – L2 3
4. PT Miss Restoration – L2 4
5. PT Miss Occurrence – L3 5
6. PT Miss Restoration – L3 6
Table 6-31
1. CT Reverse Occurrence – L1 51
2. CT Reverse Restoration – L1 52
3. CT Reverse Occurrence – L2 53
4. CT Reverse Restoration – L2 54
5. CT Reverse Occurrence – L3 55
6. CT Reverse Restoration – L3 56
7. CT Open Occurrence – L1 57
8. CT Open Restoration – L1 58
9. CT Open Occurrence – L2 59
Table 6-32
Table 6-33
Table 6-34
Table 6-35
Table 6-36
Table 6-37
Table 6-38
Table 6-39
Table 6-40
Table 6-41
Table 6-42
Table 6-43
Table 6-44
Table 6-45
For event log 3, 7 and 9 parameters captured are listed in below Table 6 -5
Table 6-46
For event log 1, 2, 4, 5, 6 and 8 parameters captured are listed in below Table 6 -6
Table 6-47
10. 1.0.72.7.E.255† 3rd, 5th, 7th and 9th voltage harmonics – L3 Register
Table 6-48
†
E = 3, 5, 7 and 9
10. 1.0.71.7.E.255† 3rd, 5th, 7th and 9th current harmonics – L3 Register
Table 6-49
†
E = 3, 5, 7 and 9
For power quality event log 1 parameters captured are listed in below Table 6 -50
Table 6-50
For power quality event log 2 parameters captured are listed in below Table 6 -1
Table 6-51
For power quality event log 3 parameters captured are listed in below Table 6 -2
Table 6-52
For power quality event log 4 parameters captured are listed in below Table 6 -3
Table 6-53
Table 6-55
TimeSet_Level_1.doc
x