We use cookies to optimize site functionality and provide the best possible experience.
View our new Privacy and Protection of Personal Data here.
Accept Settings
INDEX

LKM Series Electricity Meter Protocol to Modbus Protocol Gateways User Manual

1. About LKM Series Meter Protocol Gateways

LKM series meter protocol gateway between an electricity meter and a Modbus RTU master

LKM series gateways read electricity meters that talk IEC 62056-21 (mode C, with automatic detection of mode A and B, and mode D) or the P1 companion standard (DSMR) and map the values to Modbus RTU registers.

A PLC, an RTU or a software system reads the meter values over Modbus RTU, or over Modbus TCP when a Modbus TCP to RTU gateway such as a REDZ CKL series gateway is placed in front of the LKM. No IEC 62056-21 or P1 implementation is needed in the master.

One gateway reads up to 10 meters on its RS485 meter bus, one after the other.

DLMS/COSEM and ANSI C12 meters are not supported by this series. DLMS/COSEM meters are served by other LKM series, which have their own manuals.

The figure shows the whole chain. The modem side of an LKM talks to the Modbus master over RS485 or RS232. The meter side reads the meter over RS485, over RS232, over the P1 interface of the meter, or, with the LKM614, directly inside the meter.

System: a Modbus RTU master reads the LKM, which reads the meter over RS485, RS232, P1 or directly inside the meter

LKM614 is made for EMH LZQJ-XC meters and is a direct replacement for Variomod XC modules.

1.1 What this manual covers

This manual covers six models on five firmware images: LKM111, LKM114, LKM614, LKM141, LKM144 and LKM124.

Other LKM series have their own manuals.

This manual describes firmware v3.0. A unit with an older firmware answers differently in several places; the differences are listed where they matter, and a unit can be told apart by reading one register (see 10.1 "Which firmware is running").

1.2 What is new in v3.0

  • Meter data can be read as 64-bit floating point values (function 04), in addition to the raw integers of function 03.
  • The list of OBIS codes that is read from the meter is a table that you can change over Modbus, with up to 64 rows.
  • A diagnostics block, a per-meter health block and a row validity mask show what the gateway sees.
  • A built-in meter trace shows the telegrams of the meter on the modem line, so that you can find the OBIS codes it sends; it is off by default and is switched on over Modbus.
  • Requests that are valid but cannot be served are answered with a Modbus exception frame.
  • A built-in write lock protects the settings against unintended writes; it is off by default and is switched on over Modbus.
  • The firmware can be updated over Modbus with a staged A/B update on units with the new bootloader.
  • Meter bytes are checked for parity and the meter telegram is checked with its block check character, so a corrupted digit no longer reaches a register.

See chapter 7 "IEC62056-21 and MODBUS Definitions" for the addressing, chapter 9 "OBIS Table: Choosing and Loading the Rows" for the OBIS table and chapter 12 "Firmware Upgrade" for the firmware update.

2. Hardware Features

An LKM has a modem side that connects to the Modbus RTU master and a meter side that connects to the meter.

The meter side is connected to the meter directly or through an optical probe. The modem side can be connected to a field device such as a PLC or an RTU, or to a serial device server that is connected to an automation software system that reads Modbus RTU devices.

2.1 Features

  • Reads electricity meters that communicate in IEC 62056-21 or in the P1 companion standard and maps the values to a Modbus register table.
  • Reads up to 10 meters on the RS485 meter bus.
  • The Modbus address, the reading period, the reading table character and the number of meters are set with Modbus commands.
  • A user defined initialization string can be sent before the IEC 62056-21 request.
  • The list of OBIS codes is a table that can be loaded over Modbus.
  • Wide range power input: 7 V - 24 V DC.
  • Wide operating temperature range from -40 to 85 degrees C.
  • Very small form factor, only 2.1 x 4.2 x 4.4 cm, ABS housing with IP40 protection.
  • The firmware can be updated over the serial line of the modem side.

2.2 Plug and Play Version

  • LKM614 is designed for EMH LZQJ-XC meters and replaces the Variomod XC modules.
  • It takes its power directly from the meter and its serial interface is connected directly to the meter.
  • It uses the same firmware image as the LKM114.

2.3 Models and Variants

ModelModem sideMeter sideMeter protocol
LKM111RS232RS232IEC 62056-21
LKM114RS485RS232 / TTL levelIEC 62056-21
LKM124RS485P1 (DSMR)P1 companion standard
LKM141RS232RS485IEC 62056-21
LKM144RS485RS485IEC 62056-21
LKM614RS485Direct connection to the meterIEC 62056-21

The six LKM models with their modem side, meter side and meter protocol

The firmware knows only whether the modem side and the meter side are RS485. It cannot tell a TTL meter side from an RS232 one, which is why LKM114 and LKM614 share one image.

The LKM124 reads P1 meters: the meter pushes its telegram by itself, so the gateway sends no request, no acknowledgement and no baud rate negotiation, and the telegrams carry no block check character.

2.4 Environment and housing

ItemStandalone modelsLKM614
Operating temperature-40 to 85 degrees C-40 to 85 degrees C
Storage temperature-55 to 125 degrees C-55 to 125 degrees C
Humidity5 to 95 %, non-condensing5 to 95 %, non-condensing
HousingABS, IP40ABS, IP51
Dimensions (height x width x depth)21 x 42 x 44 mm105 x 45 x 27 mm
Weightapprox. 60 gapprox. 60 g
ESD and EMCTested to EN IEC 61326-1; ESD 4 kV contact, 8 kV air-

3. Installation

3.1 Mounting

The standalone versions are only 2.1 x 4.2 x 4.4 cm and can be treated as a part of the cable: no special mounting is needed, connect the cables and use it.

LKM standalone gateway as part of the cable

The plug and play version LKM614 fits directly into an EMH LZQJ-XC meter: plug it into the meter.

LKM614 plugged into an EMH LZQJ-XC meter

3.2 Power and wiring

The standalone versions take 7 V - 24 V DC on the meter side terminal; the input has polarity protection.

WARNING:

Check the polarity when you connect several devices to the same power source; a wrong connection can burn the device.

The connector pinouts are in chapter 4 "Panel Descriptions and Pin Mappings". Connect the modem side to the Modbus master, the meter side to the meter, set the operation mode switch and then apply power.

3.3 First start check

  1. Set the operation mode switch for the baud rate of your Modbus master and your meter (see 4.4 "Operation mode switch"). The switch is read at power-up only, so power the unit off and on after every change.
  2. Apply power. The system LED changes its state every second.
  3. With a factory unit the Modbus address is 1 and the modem side runs at 8N1 with the speed of the switch position.
  4. Read register 0x00C0 with one register quantity: any answer means the unit runs firmware v3.0, and the value is the register map version.
  5. Read the meter values (see 7.4 "Reading the meter values"). A new unit reads one meter with the built-in 64-row table after about one read period, 10 seconds by default (7 seconds on the LKM124).

3.4 Factory settings

A new unit, and a unit with an empty EEPROM, starts with these settings. A firmware update does not change the stored settings.

SettingRegisterFactory value
Modbus slave address0x00801
Read period0x008110 seconds (LKM124: 7 seconds)
Table character of the acknowledgement0x00820x30 (ASCII 0)
BCC mode0x00830, block check character verified
Init string0x00840, off
Number of meters0x00851
Modem side framing0x00860, 8N1
Broadcast mode0x00870, discovery
Word order of the float64 view0x00880, natural
Write lock0x00890, off
Meter protocol mode0x009F0, IEC mode C, A and B automatic
IEC address of the meters0x00A0 ...0, no address is sent
OBIS table0x00F0 - 0x00F9Built-in table of 64 rows

4. Panel Descriptions and Pin Mappings

4.1 Modem side connectors

Modem side terminal connector

LKM111 modem side: terminal connector for a 3 wire RS232 connection, pin 1 GND, pin 2 Rx, pin 3 Tx.

Modem side DB9 male connector of the LKM141

LKM141 modem side: DB9 male connector for RS232, only Tx, Rx and GND are used: pin 2 Rx, pin 3 Tx, pin 5 GND; the other pins are not used.

LKM114, LKM124 and LKM144 modem side: terminal connector for a 2 wire RS485 connection and GND, pin 1 GND, pin 2 A, pin 3 B.

LKM614 operation mode selection switch and RS485 terminal

LKM614 modem side: terminal connector for a 2 wire RS485 connection and GND, pin 1 A, pin 2 B, pin 3 GND.

4.2 Meter side connectors

Meter side terminal connector with power input

LKM111 and LKM114 meter side: terminal connector with the power input: pin 1 power +, pin 2 power - / GND, pin 3 GND, pin 4 Rx, pin 5 Tx.

LKM141 and LKM144 meter side: terminal connector for 2 wire RS485 and GND with the power input: pin 1 power +, pin 2 power - / GND, pin 3 GND, pin 4 A, pin 5 B.

LKM124 meter side: terminal connector for a 3 wire P1 companion standard connection with the power input: pin 1 power +, pin 2 power - / GND, pin 3 GND, pin 4 Rx (data), pin 5 CTRL (data request).

The RJ12 cable to the P1 meter is arranged by the user in the length needed. RJ12 pins, as in the P1 companion standard: 1 +5 V power supply, 2 data request (CTRL), 3 data GND, 4 not connected, 5 data (Rx), 6 power GND.

RJ12 connector of the P1 interface

The LKM124 drives a level shifter on its P1 side with the CTRL pin.

4.3 Wiring diagrams

The drawings show how every model is connected. The signal assignment of the terminals was checked against the board netlist: on the meter side terminal the two signal pins and GND are next to each other and the two power pins are at the other end; on the modem side terminal pin 1 is GND and pins 2 and 3 are the two signal pins.

The meter side terminal is counted from the signal end in the board netlist (the B line is X1.1 and a power pin is X1.5) and from the power end in the pin tables of this manual (pin 1 is power +). The order of the signals is the same.

The power input goes through a bridge rectifier, so the unit is protected against a reversed power connection. Use the power range given in the hardware features.

4.3.1 LKM144

LKM144 wiring: RS485 to the master, power input and RS485 to the meter

4.3.2 LKM141

LKM141 wiring: RS232 DB9 to the master, power input and RS485 to the meter

4.3.3 LKM114

LKM114 wiring: RS485 to the master, power input and RS232 to the meter

4.3.4 LKM111

LKM111 wiring: RS232 to the master, power input and RS232 to the meter

4.3.5 LKM124

On the LKM124 the P1 data comes in on the pin Rx and the data request goes out on the pin CTRL. The RJ12 cable of the meter is wired by signal name: RJ12 pin 5 (data) to Rx, RJ12 pin 2 (data request) to CTRL and RJ12 pin 3 (data GND) to GND.

LKM124 wiring: RS485 to the master, power input and the P1 meter with an RJ12 cable

4.3.6 LKM614

The LKM614 has no meter side terminal: it plugs into the meter, takes its power from the meter and its serial interface is connected to the meter directly. Its RS485 terminal has pin 1 A, pin 2 B and pin 3 GND.

LKM614 wiring: RS485 terminal to the master, plugged into the meter

4.4 Operation mode switch

Operation mode selection switch (DIP) of the standalone models

The operation mode switch is read once at power-up, in the start-up routine, and never again while the unit runs. After changing it, power the unit off and on to apply the new setting.

The LKM614 has no power input of its own: to power it off and on, unplug it from the meter and plug it in again.

LKM111, LKM114, LKM141, LKM144 and LKM614 (IEC 62056-21 models):

Pin positions (1-2)LEDModem sideMeter side
OFF-OFFMode 1 LED ON19200 8N1Starts at 300 baud and changes to the target baud rate during the IEC 62056-21 exchange (automatic mode)
ON-OFFMode 2 LED ON9600 8N1Starts at 300 baud and changes to the target baud rate (automatic mode)
OFF-ONMode 3 LED ON19200 8N119200 7E1 fixed
ON-ONMode 4 LED ON9600 8N19600 7E1 fixed

The positions of this table were checked on a unit with the switch in every position: the modem side speed, the mode LED and the meter side behaviour are as listed. The LKM141 has the same board and the same firmware as the other IEC models and uses this table too.

Operation mode switch positions and the resulting modes for the IEC models and for the LKM124

LKM124 (P1 model), modem side and meter side run at the same fixed speed, 8N1:

Pin positions (1-2)LEDModem sideMeter side
OFF-OFFMode 1 LED ON9600 8N19600 8N1 fixed
ON-OFFMode 2 LED ON19200 8N119200 8N1 fixed
OFF-ONMode 3 LED ON57600 8N157600 8N1 fixed
ON-ONMode 4 LED ON115200 8N1115200 8N1 fixed

On the LKM124 the four switch positions select 9600, 19200, 57600 and 115200 bit/s on the Modbus side, in the order of the table above (OFF-OFF 9600, ON-OFF 19200, OFF-ON 57600, ON-ON 115200); this was measured on a unit, which answered in each position only at its own speed. The P1 side runs at the same speed (firmware); 115200 was measured with a real Landis+Gyr P1 meter.

The LKM141 uses the same table as the other IEC models above. It is the same board and the same code: the RS232 and RS485 parts that a model does not use are left unpopulated. The unit has one switch, the two-position operation mode switch.

5. Top Panel and LEDs

5.1 Standalone models

Top side LEDs of the standalone models

LEDDescription
1Mode 1 LED
2Mode 2 LED
3Mode 3 LED
4Mode 4 LED
5System LED: toggles every second
6Tx LED: data is sent from the modem side to the meter side
7Rx LED: data is received from the meter side to the modem side

5.2 LKM614

Top side LEDs of the LKM614

LEDDescription
1Mode 4 LED
2Mode 3 LED
3Mode 2 LED
4Mode 1 LED
5System LED: toggles every second
6Rx LED: data is received from the meter
7Tx LED: data is sent to the meter

During a firmware update the four mode LEDs show the progress: one more LED lights for every 25 % of the transfer, and all four are on at 100 %.

The LEDs on the top side and the LED progress during a firmware update

6. Usage Scenarios and Connection Diagrams

The LKM can be used in different ways; the scenarios below are examples and you can build your own.

Every figure shows the LKM configuration with its Device Function. The network side is on the left: a TCP/IP network, shown as WAN / LAN, a Modbus TCP client or a server, a field device, and a Modbus TCP to RTU gateway where one is used; the line from the gateway or the field device to the LKM is a Modbus RTU (RS485) line. The meter side is on the right: its lines are marked RS485 or RS232.

6.1 Direct cable to the meter, remote server over TCP/IP

Connect the LKM to the RS485 or P1 serial line of the meter in a fixed baud rate mode, and connect its modem side to a device that converts Modbus TCP to Modbus RTU, for example a REDZ CKL series gateway.

Usage scenario: direct cable to the meter, remote server over TCP/IP

6.2 Optical probe to the meter, remote server over TCP/IP

Connect the LKM to the optical probe of the meter, for example a REDZ KMK series probe, in an automatic baud rate mode (the meter starts at 300 baud).

Usage scenario: optical probe to the meter, remote server over TCP/IP

6.3 Direct cable to the meter, server by cable

The modem side is connected by cable to a data acquisition server that reads the LKM with Modbus RTU.

Usage scenario: direct cable to the meter, server by cable

6.4 Direct cable to the meter, field device

The modem side is connected to a field device such as a PLC or an RTU that reads the LKM with Modbus RTU.

Usage scenario: direct cable to the meter, field device

6.5 LKM614 in an EMH LZQJ-XC meter

The LKM614 plugs into an EMH LZQJ-XC meter and is used in a fixed or automatic baud rate mode, depending on the meter settings; its modem side goes to a PLC or RTU, and from there, if needed, to a Modbus TCP to RTU gateway.

Usage scenario: LKM614 in an EMH LZQJ-XC meter, PLC or RTU and, if needed, a Modbus TCP to RTU gateway

6.6 Several meters on one RS485 bus

Only the models with an RS485 meter side can read several meters. LKM111 and LKM114 (RS232 meter side), LKM124 (P1 meter side) and LKM614 (plugged into the meter) read one meter.

LKM141 and LKM144 read up to 10 meters on their RS485 meter side; each meter needs its own IEC address, entered in the unit, and the meters are read one after the other.

The number of meters times the number of rows of the OBIS table can not exceed 256, so ten meters need a table of at most 25 rows. See 9.3 "Rows, meters and the limit of 256".

One LKM144 on an RS485 meter line with up to 10 meters: IEC address registers and meter index byte of every meter

Meter 1 is read with the first address byte 0x00, meter 2 with 0x01 and so on up to meter 10 with 0x09; the IEC address of meter 1 is set in register 0x00A0, that of meter 2 in 0x00AC and that of meter 10 in 0x00BC.

6.7 Behind a Modbus TCP to RTU gateway

Usage scenario: several LKM on one Modbus RTU line behind a Modbus TCP to RTU gateway

WARNING:

Some Modbus TCP to RTU gateways forward unit id 255 to the serial line as their default id. In the default broadcast mode every LKM on the line then answers at once and the replies collide; set the broadcast mode to 2 on such a line (see 8.6 "Broadcast and address recovery").

7. IEC62056-21 and MODBUS Definitions

The modem side of an LKM is a Modbus RTU slave. This chapter explains how the registers are addressed and what they contain. The reading process of the meter side is in chapter 8 "Communication and Protection Settings", the choice of the OBIS rows in chapter 9 "OBIS Table: Choosing and Loading the Rows".

7.1 Addressing and function codes

  • Modem side: RS485 half duplex, Modbus RTU slave, 8N1. The baud rate follows the operation mode switch; the slave address is setting 0x0080 (factory value 1).
  • The Modbus address of a register is (meter index x 256) + offset: the first address byte of the request is the meter index 0..9 and the second byte is the register offset. Meter 1 has index 0, meter 2 has index 1, and so on.
  • The meter index selects the meter for the data block, the float64 view, the meter health block and the row validity mask. All other blocks belong to the device: function 03 ignores the index there, and function 06 and 16 need it to be 0.
  • A meter index at or above the configured meter count is answered with exception 02.
  • Every value of the data block and of the 32-bit settings is 32 bits wide, big-endian, and takes two registers.
  • Function 03 (read holding registers) reads up to 124 registers per request. Function 04 (read input registers) is the float64 view of the data block. Function 06 writes one register. Function 16 writes two registers at a time.
  • The bytes of one request must follow each other without a gap of 20 ms or more; a longer gap discards the half received frame.
MeterAddress of the first row (hex)Decimal
Meter 10x00000
Meter 20x0100256
Meter 30x0200512
.........
Meter 100x09002304

Address model: high byte meter index, low byte register offset, and the register blocks

Function codeNameUse
0x03 (3)Read Holding RegistersReads the data rows, the settings, the diagnostics, the meter health block and the OBIS table registers, up to 124 registers per request.
0x04 (4)Read Input RegistersReads the data rows as float64 values with the decimal point applied, 4 registers per row.
0x06 (6)Write Single RegisterWrites one 16-bit register: a setting, the write lock key, an OBIS table control register, the trace level or the update command; the answer is an echo of the request.
0x10 (16)Write Multiple RegistersWrites the 32-bit settings (the IEC addresses and the init string), the IEC address text and the rows of the OBIS table: exactly two registers per request.
0x01, 0x02, 0x05, 0x08Coil and diagnostic functionsNot supported: the unit answers with exception 01.

NOTE:

Some tools number the registers from 1 (reference numbers such as 40001 for the address 0). This manual uses the address of the frame, which starts at 0x0000: in a tool that numbers from 1 add 1 to the address of this manual.

The row i of the OBIS table is at the address 2 x i (row 0 at 0x0000, row 1 at 0x0002, ...), and in the float64 view at 4 x i. Start a read at an even address and read an even number of registers: an odd start address is answered with exception 02 and an odd quantity with exception 03.

NOTE:

Documents of older firmware versions list odd addresses (1, 3, 5, ...) for the rows. Use the even addresses of this manual: a v3.0 unit refuses an odd start address.

7.2 Data registers

The data block holds one 32-bit value for every row of the active OBIS table. A new unit uses the built-in 64-row table below; you can replace it with your own table (see chapter 9 "OBIS Table: Choosing and Loading the Rows").

RowsAddress of meter 1 (hex)OBIS codesMeaning
0 - 160x0000 - 0x002021.25, 41.25, 61.25, 1.25, 23.25, 43.25, 63.25, 3.25, 29.25, 49.25, 69.25, 9.25, 31.25, 51.25, 71.25, 11.25, 91.25Average values of period 1: active, reactive and apparent import per phase and total, current per phase, any phase and neutral
17 - 190x0022 - 0x002612.7.1, 12.7.12, 12.7.31Instantaneous voltage (any phase)
200x0028155.25Manufacturer specific code
21 - 290x002A - 0x003A32.25, 52.25, 72.25, 12.25, 33.25, 53.25, 73.25, 13.25, 14.25Average voltage per phase and any phase, power factor per phase and total, frequency
30 - 350x003C - 0x00461.6.0, 2.6.0, 3.6.0, 4.6.0, 9.6.0, 10.6.0Maximum demand, total of all tariffs
36 - 410x0048 - 0x0052140.7, 141.7, 142.7, 143.7, 144.7, 145.7Manufacturer specific codes
42 - 460x0054 - 0x005C1.8.0, 1.8.1, 1.8.2, 1.8.3, 1.8.4Active energy import: total and tariff 1 to 4
47 - 510x005E - 0x00662.8.0 ... 2.8.4Active energy export: total and tariff 1 to 4
52 - 560x0068 - 0x00703.8.0 ... 3.8.4Reactive energy import: total and tariff 1 to 4
57 - 610x0072 - 0x007A4.8.0 ... 4.8.4Reactive energy export: total and tariff 1 to 4
62 - 630x007C - 0x007E9.8.0, 10.8.0Apparent energy import and export, total

The complete list with the meaning of every row, the settings and the diagnostics registers is available from REDZ on request.

7.3 How the values are stored

  • The gateway searches the OBIS code of a row as a text anywhere in the line of the meter telegram and reads the value from the first parenthesis after it up to the closing parenthesis or an asterisk. Line prefixes such as 1-1: need no configuration.
  • A match is rejected when the character right before it is a digit, so the row 1.25 does not match the line 21.25.
  • The first matching line of the telegram wins; the plain line comes before its billing period lines (ending with *NN), so the current value is stored.
  • The digits are joined and the decimal point is removed: 000004.449*kWh is stored as 4449. The unit in the telegram is ignored and the scale is not converted, so the value 000000.03*MWh is stored as 3 and you apply the scale yourself.
  • The number of decimals of a value can change from one reading to the next on some meters, which is why the float64 view is the safer way to read such values.
  • A negative value is stored as a two's complement number in the 32-bit register, for example -12.5 is stored as -125 (0xFFFFFF83); read it as a signed 32-bit value.
  • Dates and times become plain numbers: 0.9.2(26-09-09) is stored as 260909 and 0.9.1(17:31:35) as 173135.
  • At most 11 digits are accumulated, and the register is unsigned 32-bit, so a value above 4294967295 wraps.
  • A value that the meter can not supply (a field with dashes only) is stored as 0, and its row is still marked as matched in the row validity mask: the mask tells that the line was found, not that the number is valid.

7.4 Reading the meter values

Example: read the total active import energy 1.8.0 of meter 1 from the built-in table (row 42, address 0x0054, two registers) of the unit with address 1. The meter sent 012345.678*kWh.

Request:  01 03 00 54 00 02 85 DB
Response: 01 03 04 00 BC 61 4E 92 73      (0x00BC614E = 12345678)

Anatomy of a Modbus RTU request, an answer and an exception frame of the LKM

The picture shows the same frames byte by byte: the address of the unit, the function code, the start address and the quantity of the request, the byte count and the two registers of the answer, and the CRC at the end of every frame.

The same value as a float64 with the decimal point applied is read with function 04 from the address 4 x row, four registers per row (0x00A8 for row 42).

Request:  01 04 00 A8 00 04 70 29
Response: 01 04 08 40 C8 1C D6 C8 B4 39 58 4F 93      (12345.678)
  • Function 04 returns raw / 10^d for every row, where d is the number of digits after the decimal point in the meter text; a text without a decimal point gives d = 0. The request quantity is a multiple of 4, 4 to 124, so up to 31 rows are read in one request.
  • Setting 0x0088 selects the order of the 16-bit words of the float64 value: 0 natural order (default), 1 reversed, for masters that expect the low word first.
  • Function 03 keeps the raw integer form, so existing masters work unchanged.

To read the rows of meter 2 use the meter index 1 in the first address byte. Example: the same row of meter 2:

Request:  01 03 01 54 00 02 84 27

To read all rows of a 24 row table in one request ask for 48 registers from address 0:

Request:  01 03 00 00 00 30 45 DE

A request can not be longer than 124 registers; split a bigger read, for example 64 rows (128 registers) into two reads of 64 registers (32 rows each), one from address 0 and one from address 64.

7.5 Settings registers

The settings are read with function 03 and written with function 06 (one register) or 16 (two registers). They are stored in the EEPROM and survive a power cycle and a firmware update.

AddressSettingAccepted valuesFactory value
0x0080Modbus slave address1..2471
0x0081Read period in seconds, counted from the last byte received from the meter5..25410 (LKM124: 7)
0x0082Table character of the IEC acknowledgement0x30..0x400x30 (ASCII 0)
0x0083BCC mode (see 8.2 "BCC mode and meter data integrity")0..20 (BCC verified)
0x0084Number of times the init string is sent before the request0..40 (off)
0x0085Number of meters1..10, and rows x meters not above 2561
0x0086Modem side framing0 = 8N1, 1 = 8E1, 2 = 8O10 (8N1)
0x0087Broadcast mode0..20 (discovery)
0x0088Word order of the float64 view0..10 (natural)
0x0089Write lock0..10 (off)

The reading period is counted from the last byte received from the meter. With several meters the gateway goes to the next meter immediately when a meter does not reply.

The meter side IEC address of each meter is a 32-bit setting: 0x00A0 for meter 1 and 0x00AC, 0x00AE, 0x00B0, 0x00B2, 0x00B4, 0x00B6, 0x00B8, 0x00BA, 0x00BC for meters 2 to 10. The value 0 means that no address is sent. It is written with function 16, two registers per request.

Some meters have more than one read-out table, for example a service table. Write the character of the table you want to read into 0x0082: ASCII 7 is 0x37. The number of the table can be taken from the communication log of the meter reading software.

7.6 Changing settings

Example: set the read period to 10 seconds, the table character to ASCII 7 (0x37), the BCC mode to 0 and the number of meters to 2. The response of function 06 is an echo of the request.

Period:       01 06 00 81 00 0A 59 E5
Table char:   01 06 00 82 00 37 68 34
BCC mode:     01 06 00 83 00 00 78 22
Meter count:  01 06 00 85 00 02 19 E2

Example: set the IEC address of meter 1 to 12345678 (0x00BC614E); the response repeats the address, the register count and the CRC:

Request:  01 10 00 A0 00 02 04 00 BC 61 4E 91 97
Response: 01 10 00 A0 00 02 41 EA

A function 06 frame has the slave address, the function code 06, the register address, the value and the CRC; the response repeats the request. A function 16 frame has the slave address, the function code 10 (hex), the address of the first register, the number of registers, the number of data bytes to follow (2 bytes per register), the data and the CRC. In the example 0x00BC614E is 12345678 in decimal.

The IEC address of a meter is usually the same as the serial number of the meter.

  • Write the table (see chapter 9 "OBIS Table: Choosing and Loading the Rows") first, then the meter count, because a meter count that makes rows x meters bigger than 256 is refused with exception 03.
  • A new value is applied at once; only the EEPROM bytes that change are written, and a write is answered in about 15 ms.
  • A change of the Modbus address is answered with the old address; the new address is used from the next request, and the old address is not answered any more.
  • The modem framing (0x0086) is applied at the next power-up.

7.7 Monitoring registers

AddressNameDescription
0x00A2Successful readoutsCounter, incremented when a readout ends with the character !
0x00A4Day counterSeconds since power-up. At 86400 seconds the device performs a planned software reset, so a unit restarts itself every 24 hours.
0x00A6Original firmware versionVersion stamp written at factory programming, read only
0x00A8Running firmware versionVersion stamp of the running firmware, read only
0x00AAInit string4 bytes sent before the request when 0x0084 is not 0; written with function 16

Each of these values has two registers: read them from the even address with a quantity of 2, for example the running version with 01 03 00 A8 00 02.

Some meters need wake-up characters before the communication starts. The init string gives the option to send them: it has 4 bytes, and together with the number of times in 0x0084 (up to 4) up to 16 bytes are sent to the meter before the request. The number of times must be 1 or more, otherwise the init string is not sent.

A version stamp has 4 bytes: the day, the month (high nibble) with the year high nibble, the year low byte and the version as BCD (major in the high nibble, minor in the low nibble). Example: 0x17B7EA30 is version 3.0 of 23.11.2026.

7.8 Exception responses

A request with a valid CRC that the unit can not serve is answered with an exception frame: the function code with the bit 0x80 set and a code. A frame with a wrong CRC and a request to another slave address are not answered.

CodeMeaningExample
01Function not supportedFunction 05 or 08
02Address or meter index outside the map, odd start address in a 32-bit block, or write to a read-only register01 03 00 55 00 02
03Quantity or value out of range, odd quantity, more than 124 registers01 06 00 81 00 03 (period below 5)
04Write refused because the write lock is closedany write while locked
Odd start address:  01 03 00 55 00 02 D4 1B  ->  01 83 02 C0 F1
Period below 5:     01 06 00 81 00 03 99 E3  ->  01 86 03 02 61

NOTE:

Units with firmware older than v3.0 do not send exception frames and stay silent. A master that treated a missing answer as the rejection signal must now handle both.

Broadcast requests never get an exception reply.

8. Communication and Protection Settings

This chapter explains the settings that change how the gateway talks to the master and to the meter, and the protection against unintended changes. The register list is in 7.5 "Settings registers".

8.1 Line settings

The modem side speed follows the operation mode switch (see 4.4 "Operation mode switch") and the framing is set with register 0x0086: 0 = 8N1 (default), 1 = 8E1, 2 = 8O1. The framing is applied at power-up: write the value and then power the unit off and on.

The firmware update always uses 8N1, whatever the framing setting is.

NOTE:

When the modem framing is 8E1 or 8O1 and the master uses a different framing, the unit counts the bytes with a parity error in the diagnostics register 0x00D5 (U2_PERR); a value that keeps rising shows a framing mismatch. With 8N1 there is no parity bit and the counter stays 0.

8.2 BCC mode and meter data integrity

Every byte received from the meter (7E1) is checked for parity, and a line with a parity error is discarded; a corrupted digit can not reach a register.

Register 0x0083 sets how a meter telegram is trusted:

ValueModeBehaviour
0BCC verified (default)The lines are parsed into a shadow table and copied to the data registers only when the block check character of the telegram is correct. A wrong or cut telegram is discarded as a whole; after 3 consecutive failures the meter falls back to line mode until its first correct telegram.
1Line modeEvery line is stored as it arrives, the block check character is only counted. A value filter is applied: a lower value on a cumulative energy row is accepted after 3 consecutive telegrams, any other row accepts a change beyond 50 % at the second consecutive telegram.
2Strict BCCLike mode 0 but the unit never falls back to line mode.

NOTE:

A unit updated from firmware v2.x keeps its stored value of this register, usually 1, which now means line mode. Write 0 to get the BCC verified reading, or keep 1 for a meter whose block check character is not standard.

8.3 Meter protocol modes

  • Mode C is the default: the gateway sends the request /?!, receives the identification, sends the acknowledgement 06 30 <baud character> <table character> and reads the data telegram.
  • Mode A (the meter sends its data telegram without waiting for the acknowledgement) and mode B (the baud rate comes from a letter A..F of the identification, no acknowledgement) are detected automatically. Mode B needs an automatic baud rate switch position; in a fixed baud rate position a mode B meter is not read.
  • Mode D (the meter sends its telegram by itself at 2400 baud 7E1, without request and acknowledgement) is selected with register 0x009F = 1, stored and applied at power-up: write 1, then power the unit off and on. The switch position is overridden for the meter side speed.
  • The register 0x00EA of the meter health block shows the mode seen in the last read cycle of a meter: 0 mode C, 1 mode A, 2 mode B, 3 mode D.

NOTE:

Modes A, B and D are supported. They were verified with a simulator; no meter of these modes was available for the tests.

One read cycle of an IEC 62056-21 mode C meter

The LKM124 reads P1 meters: register 0x009F is accepted but has no effect, and the BCC mode, the meter parity check and the acknowledgement do not apply.

8.4 IEC address text

Some meters need a text before the serial number in the request, for example /?MSY12345678!, or a serial number longer than 10 digits. For these meters the address of a meter can be set as a text of up to 16 characters in registers 0x0090 to 0x0097, with the meter selected by the cursor register 0x0098.

  • Allowed characters are 0-9, A-Z, a-z and the value 0 as padding; anything else is refused with exception 03 and nothing is written.
  • A text overrides the numeric address of that meter; writing the numeric address again clears the text, so the last write wins.
  • The text is written with function 16, two registers (4 characters) per request, at 0x0090, 0x0092, 0x0094 and 0x0096.

Example: set the text MSY12345678 for meter 1. First select the meter with the cursor, then write the four parts and read back nine registers:

Cursor:   01 06 00 98 00 00 08 25
Part 1:   01 10 00 90 00 02 04 4D 53 59 31 E6 3A      (MSY1)
Part 2:   01 10 00 92 00 02 04 32 33 34 35 53 7A      (2345)
Part 3:   01 10 00 94 00 02 04 36 37 38 00 56 B6      (678)
Part 4:   01 10 00 96 00 02 04 00 00 00 00 7A E9
Read:     01 03 00 90 00 09 85 E1

The next request to that meter is /?MSY12345678! followed by CR LF.

8.5 Write lock

The write lock protects the settings, the OBIS table and the update commands against unintended writes, for example by a master writing to a wrong address. It is not a security feature: the key is fixed.

  • Enable it by writing 1 to register 0x0089; this is accepted at any time. Factory default is 0 (off).
  • Open the write window for 120 seconds by writing 0x4C4B to register 0x008A; write 0 there to close it at once. Any other value is refused with exception 03. The key register can not be read.
  • After every power-up the window is open for 120 seconds, so a locked unit can be unlocked without the key by writing 0 to register 0x0089 within 120 seconds.
  • While the lock is on and the window is closed, every function 06 and 16 request to the unit, except the write of the key to register 0x008A, is answered with exception 04 and nothing is written; reads are never affected, and broadcast writes are dropped silently.
  • The diagnostics register 0x00DE shows the state: the high byte is 0xFF when the lock is off, otherwise the seconds left in the window; the low byte counts the rejected writes.
Enable:        01 06 00 89 00 01 99 E0
Open window:   01 06 00 8A 4C 4B DC D7
Close window:  01 06 00 8A 00 00 A8 20
Locked write:  01 06 00 81 00 0A 59 E5  ->  01 86 04 43 A3

Write lock timeline: power-up window, locked state, key window

8.6 Broadcast and address recovery

Register 0x0087 sets how requests to the slave address 255 are handled: 0 (default) every valid request is answered with the source address 255 and writes are applied; 1 only reads are answered and writes are applied silently; 2 standard, nothing is answered and writes are applied silently.

WARNING:

Never use the broadcast address on a line with several units in mode 0: all units answer at once. Some Modbus TCP to RTU gateways forward the unit id 255 to the serial line; set mode 2 on every unit of such a line.

Address 255 in the broadcast modes 0, 1 and 2

If the Modbus address of a unit is unknown, connect that single unit alone to the line and read register 0x0080 (quantity 1) from the address 255. The unit answers with the source address 255 and its own address in the data. This works in broadcast mode 0.

Request:  FF 03 00 80 00 01 90 3C

8.7 Persistence and automatic restart

  • Settings are stored in the EEPROM. A firmware update does not write the EEPROM, so the settings survive it.
  • A new unit starts with a watchdog of 2 seconds, and the unit restarts itself once every 24 hours.
  • At every power-up the stored settings are checked and an out-of-range value is replaced by its default (address 1, period 5 for a stored 0, table character 0, BCC mode 0, init 0, meter count 1, framing 0, broadcast 0, word order 0).

9. OBIS Table: Choosing and Loading the Rows

The OBIS table tells the gateway which lines of the meter telegram to store and in which register. Every row is an OBIS code and takes one value (two registers) per meter. The usual way to get your table is to let the unit show what your meter sends, choose the codes you want and load your list over Modbus; you can also keep the built-in table, change single rows by hand, or start from a ready-made list.

9.1 What the table is

  • A table has 1 to 64 rows. Each row holds an OBIS code of at most 8 characters.
  • The row i of the table is the register pair at the address 2 x i of every meter (4 x i in the float64 view), so the order of the rows is the address map of your master.
  • The table is stored in the EEPROM and is kept after a power cycle and after a firmware update. The EEPROM table is used only after a complete commit; a power loss while writing leaves the unit on the built-in table.
  • Writing the table does not need a power cycle: after the commit the unit goes on reading with the new rows, and the values of the meters are reset for one read period.

9.2 The built-in table

A new unit uses the built-in factory table of 64 rows, listed in 7.2 "Data registers". With it the unit reads up to 4 meters; a unit with the built-in table and a meter count above 4 is in the state table pending (see below).

9.3 Rows, meters and the limit of 256

The number of rows times the number of meters can not exceed 256: 64 rows with 4 meters, 32 rows with 8 meters, 24 rows with 10 meters. The setting of the meter count (0x0085) is refused with exception 03 when the product is above 256.

When a unit has more than 4 meters configured and no table of at most 256 / meters rows is committed, it goes into the state table pending: no meter is read, the data block answers exception 02, the diagnostics register 0x00D6 shows 2 in its high byte and bit 4 of the status register 0x00F9 is set. This is not a fault; load a suitable table to start reading.

9.4 Choosing and loading your table

The usual way to get the table of your meter has three steps: let the unit show everything that the meter sends, choose the codes you want, and load your list over Modbus. You need no file from REDZ for it.

  1. Discover: commit the one-row discovery table 9.9.9, then set the meter trace to level 2. The unit prints every line that the meter sends, and a line that matches no row is marked >---. See 9.7 "Finding the codes your meter sends".
  2. Choose: pick the codes you want from the printed lines, in the order you want them. The order is the address map of your master.
  3. Load: write your list over Modbus and check it with the row mask. See 9.5 "Loading a table step by step".

The three steps need only the Modbus requests of this manual. ZTerminal for Windows can be used for the same operations: see chapter 11 "ZTerminal Software".

Ready-made lists for many meter types also exist, as starting points: see 9.10 "Ready-made tables and their delivery". You can also change a single row by hand: see 9.6 "Changing a single row".

9.5 Loading a table step by step

The OBIS table is controlled with the registers 0x00F0 to 0x00F9: the row bytes at 0x00F0 to 0x00F5, the row cursor at 0x00F6, the command at 0x00F7, the number of rows N at 0x00F8 and the status at 0x00F9.

RegisterFunctionMeaning
0x00F0 - 0x00F503 / 16The 12 bytes of the row selected by the cursor: bytes 0 to 8 are the OBIS text (ASCII, padded with zero), bytes 9 to 11 are zero. Function 16 is accepted only in draft mode, at 0x00F0, 0x00F2 and 0x00F4, so a row is written with 3 requests.
0x00F603 / 06Cursor, the row index 0..63; a higher value is refused with exception 03
0x00F706Command: 1 copy the built-in table into the EEPROM, 2 commit, 3 invalidate the EEPROM table (back to the built-in table), 4 open the draft
0x00F803 / 06N, the number of rows in use, 1..64; writable only in draft mode
0x00F903Status: bit 0 EEPROM table active, bit 1 draft open, bit 2 last command failed, bit 3 busy, bit 4 table pending, bits 8 to 15 last command

Loading an OBIS table: open the draft, set the rows, write every row, commit, check

To write a table:

  1. Prepare the list of the OBIS codes in the order you want, up to 64 rows and at most 8 characters per code. Check that the number of rows times the number of meters is not above 256. If the write lock is on, open the write window first.
  2. Open the draft: write 4 to register 0x00F7. The unit switches to the built-in table while you edit, and the rows and N become writable.
  3. Write the number of rows N to register 0x00F8.
  4. For every row: write the row index to the cursor 0x00F6, then write the 12 bytes of the row with three function 16 requests at 0x00F0, 0x00F2 and 0x00F4. The characters of the code come in order, the first character in the high byte of the first register.
  5. Commit: write 2 to register 0x00F7. The table becomes active at once.
  6. Read the status 0x00F9 and the diagnostics register 0x00D6: the high byte of 0x00D6 is 1 for a user table in the EEPROM and its low byte is the number of rows. Then read the rows back with the cursor and compare them with your list.

Example: a 24 row table whose first row is 0.9.1. Open the draft and set N = 24, then write row 0:

Open draft:   01 06 00 F7 00 04 39 FB
N = 24:       01 06 00 F8 00 18 08 31
Cursor 0:     01 06 00 F6 00 00 69 F8
Bytes 0-3:    01 10 00 F0 00 02 04 30 2E 39 2E 01 AE      (0 . 9 .)
Bytes 4-7:    01 10 00 F2 00 02 04 31 00 00 00 73 CE      (1)
Bytes 8-11:   01 10 00 F4 00 02 04 00 00 00 00 FD 18
Cursor 1:     01 06 00 F6 00 01 A8 38      ... and so on for all rows
Commit:       01 06 00 F7 00 02 B9 F9
Status:       01 03 00 F9 00 01 54 3B

Writing a table of 64 rows takes about 10 seconds. A function 16 request must contain exactly two registers; another count is answered with exception 03.

NOTE:

ZTerminal for Windows can load an OBIS table with the steps described here; see chapter 11 "ZTerminal Software".

To restore the factory table, write 3 to register 0x00F7 (invalidate); the unit returns to the built-in table.

9.6 Changing a single row

A row is changed with the same registers as a full table: open the draft, select the row with the cursor, write its 12 bytes with three function 16 requests and commit.

Open draft:  01 06 00 F7 00 04 39 FB
Cursor 5:    01 06 00 F6 00 05 A9 FB
Bytes 0-3:   01 10 00 F0 00 02 04 31 2E 38 2E 01 C2      (1 . 8 .)
Bytes 4-7:   01 10 00 F2 00 02 04 30 00 00 00 72 32      (0)
Bytes 8-11:  01 10 00 F4 00 02 04 00 00 00 00 FD 18
Commit:      01 06 00 F7 00 02 B9 F9

Opening the draft does not touch the rows or the number of rows N in the EEPROM: the rows that you do not write keep their content, so one changed row is enough. While the draft is open the values of your table are not available: the unit reads with the built-in table, and the data block follows it. At the commit the values are empty and come back with the next read of the meter. On a unit with 5 or more meters, opening the draft puts the unit in the state table pending (see above): no meter is read until the commit.

9.7 Finding the codes your meter sends

When you do not know which OBIS codes your meter sends, the meter trace shows the telegram through the gateway. Level 2 of the trace prints the next telegram after the write as a discovery telegram: every line is printed as it is received, with the marker >--- when no row of the table matched it and the marker >+++ followed by the stamp of the row when a row matched.

  1. Make the unit read at all: with more than 4 meters and no table the unit is in the state table pending and reads nothing, so first commit a table of one row with a code the meter never sends, for example 9.9.9: open the draft, N = 1, row 0 = 9.9.9, commit.
  2. Stop all Modbus polling: while the trace is on, the text is printed on the modem line and mixes into the Modbus responses.
  3. Write 2 to register 0x009D (trace level 2). Every non-zero write starts a window of 600 seconds, after which the level returns to 0 by itself.
  4. Wait for the telegram. The discovery window is one telegram per arming (two telegrams of the same meter, odd lines and then even lines, when the meter speed is above half the modem speed); write the level again to open it again.
  5. Read register 0x009E (trace drop). If it is not 0, lines were dropped and the capture must be repeated. Write 0 to 0x009D to close the trace.
  6. Choose the codes you want from the printed lines, in the order you want them, and load that list as your table.
Trace level 2:  01 06 00 9D 00 02 99 E5
Trace drop:     01 03 00 9E 00 01 E5 E4
Trace off:      01 06 00 9D 00 00 18 24

WARNING:

The discovery row must be a code that the meter never sends. A one-row table whose code is in the telegram matches, the row scan ends with it, and the unmatched lines are not printed.

Trace level 1 prints one stamp per matched line, >Rnn =<value> d<decimals>, with the row index, the raw value and the decimal count. Level 3 adds the events >!D (line dropped) and >!L (line too long). Level 4 copies the bytes of the discovery telegram to the modem line as they are.

9.8 Checking the result with the row mask

The row validity mask shows which rows matched a line in the last successful read cycle of a meter: 64 bits in the registers 0x0099 (rows 0..15), 0x009A (16..31), 0x009B (32..47) and 0x009C (48..63), with the meter index in the first address byte. A bit is 1 when the row matched. Inside a register bit 0 is the first row of its group: bit 0 of 0x0099 is row 0 and bit 15 is row 15.

Mask of meter 1:  01 03 00 99 00 04 94 26
Mask of meter 2:  01 03 01 99 00 04 95 DA

Wait 2 or 3 read cycles after loading a table, then read the mask: a row that you expect and that is missing means that the table does not fit the meter. The mask separates a row that matched a line from a row that never matched; it does not tell whether the number of a matched row is valid, because a field with dashes only reads 0 and its bit is 1. A read cycle without a reply keeps the previous mask; read the age of the last telegram, register 0x00E7, for freshness.

9.9 Tariff rows and long values

  • A tariff register is an ordinary row: 1.8.1 is the active import energy of tariff 1, 1.8.2 tariff 2, 1.8.3 tariff 3, 1.8.4 tariff 4 and 1.8.0 the total; 2.8.x is the export, 3.8.x and 4.8.x the reactive import and export. The gateway stores what the meter sends for that code.
  • A row that ends with an asterisk, for example 1.8.1*, matches any billing period index: it takes the line 1.8.1*01(...). Keep 1.8.1 and 1.8.1* as separate rows.
  • A register holds 32 bits, about 10 digits. A meter line with more digits, for example the P1 time stamp 0-0:1.0.0(260715101134S) with 12 digits, is read with two rows: write the same OBIS code on two consecutive rows of the table. The second row receives the last 6 digits and the first row the digits before them (260715 and 101134). Letters such as the S or W season mark are not stored.
  • The meter clock rows 0.9.1 (time as hhmmss) and 0.9.2 (date as yymmdd) arrive as digit strings; the register holds the digits as a number, so 26-09-07 is 260907.

9.10 Ready-made tables and their delivery

A ready-made table is the finished list of the OBIS codes of one meter type, in the row order of that type. It is a starting point: you can load it as it is, or change it, instead of building your own list.

In firmware v2.x the OBIS table was part of the firmware: one firmware file for every meter type, and the name of the table was the name of the firmware, such as OBIS_EURO_2. In v3.0 the table is data in the EEPROM, so one firmware serves all meter types and loading the ready-made table replaces the choice of a firmware file.

A ready-made table helps in these cases:

  • The unit replaces or updates a v2.x unit and your master must read the same quantity at the same address: load the table that has the name of the old firmware.
  • The unit reads more than 4 meters. The built-in table of 64 rows then does not fit, and the unit waits in the state table pending until a table of at most 256 / meters rows is loaded, for example one of the 24 row tables for up to 10 meters.
  • You need the tariff rows on a site with more than 4 meters: the table OBIS_TARIFE_TR has 24 rows with the tariff registers of the Turkish T1, T2 and T3 tariffs.
  • You read a meter type that has its own table in the second list below, for example an EMH LZQJ-XC meter with an LKM614 or a Landis+Gyr P1 meter with an LKM124.

A ready-made table is loaded in the same way as your own table (see 9.5 "Loading a table step by step"). Check that rows x meters is not above 256. The lists are in 9.11 "List of the ready-made tables". If your meter type is not in the lists, find the codes with the meter trace and load your own table, or use the usual way, 9.4 "Choosing and loading your table".

9.11 List of the ready-made tables

The first list holds the tables that earlier firmware versions carried under the same names. Each table is a list of OBIS codes in row order.

Each table is a list of OBIS codes in row order; the row i is at the address 2 x i. The 24 row tables (STD24) serve up to 10 meters, the 64 row tables (EXT64) up to 4 meters.

TableRowsOBIS codes in row order
24 rows, up to 10 meters
OBIS_EURO240.9.1, 0.9.2, 1.8.0, 2.8.0, 3.8.0, 4.8.0, 5.8.0, 6.8.0, 7.8.0, 8.8.0, 1.6.0, 2.6.0, 1.5.0, 1.7.0, 31.7.0, 51.7.0, 71.7.0, 32.7.0, 52.7.0, 72.7.0, 13.7.0, 14.7.0, C.1.0, 16.7.0
OBIS_EURO_1240.9.1, 0.9.2, 1.8.0, 2.8.0, 3.8.0, 4.8.0, 5.8.0, 6.8.0, 7.8.0, 8.8.0, 1.6.0, 2.6.0, 2.7.0, 1.7.0, 31.7, 51.7, 71.7, 32.7, 52.7, 72.7, 13.7, 14.7, C.1.0, C.7.0
OBIS_EURO_2240.9.1, 0.9.2, 1.8.0, 2.8.0, 3.8.0, 4.8.0, 5.8.0, 6.8.0, 7.8.0, 8.8.0, 32.25, 52.25, 72.25, 31.25, 51.25, 71.25, 1.25, 3.25, 13.25, 33.25, 53.25, 73.25, 9.25, 14.25
OBIS_EURO_3240.9.1, 0.9.2, 1.8.0, 2.8.0, 3.8.0, 4.8.0, 5.8.0, 6.8.0, 7.8.0, 8.8.0, 32.25, 52.25, 1.0.0, 1.7.0, 2.7.0, 3.7.0, 4.7.0, 32.7.0, 31.7.0, 33.25, 53.25, 73.25, 9.25, 14.25
OBIS_EURO_4240.9.1, 0.9.2, 1.8.0, 2.8.0, 3.8.0, 4.8.0, 5.8.0, 6.8.0, 7.8.0, 8.8.0, 1.6.1, 2.6.1, 1.6.1*, 2.6.1*, 1.8.0*, 2.8.0*, 3.8.0*, 4.8.0*, 5.8.0*, 6.8.0*, 7.8.0*, 8.8.0*, C.86.0, C.7.0
OBIS_EURO_5241.8.0, 2.8.0, 5.8.0, 6.8.0, 7.8.0, 8.8.0, 9.8.0, 10.8.0, 1.7.0, 2.7.0, 3.7.0, 4.7.0, 31.7.0, 51.7.0, 71.7.0, 32.7.0, 52.7.0, 72.7.0, 1.8.1, 1.8.2, 5.8.1, 5.8.2, 8.8.1, 8.8.2
OBIS_EURO_6240.9.1, 0.9.2, 1.8.0, 2.8.0, 1.4.0, 2.4.0, 5.8.0, 6.8.0, 7.8.0, 8.8.0, 1.6.0, 2.6.0, 1.5.0, 2.5.0, 31.7.0, 51.7.0, 71.7.0, 32.7.0, 52.7.0, 72.7.0, 13.7.0, 14.7.0, C.1.0, 16.7.0
OBIS_EURO_7241.6.0, 0.0.0, 0.0.2, 1.8.0, 2.8.0, 0.9.1, 0.9.2, 21.25, 41.25, 61.25, 1.25, 31.25, 51.25, 71.25, 32.25, 52.25, 72.25, 33.25, 53.25, 73.25, 13.25, 14.25, C.52.0, C.86.0
OBIS_EURO_8240.9.1, 0.9.2, 1.8.0, 2.8.0, 3.8.0, 4.8.0, 1.9.1, 1.9.2, 1.9.3, 8.8.0, 1.6.1, 2.6.1, 1.7, 2.7, 31.7, 51.7, 71.7, 32.7, 52.7, 72.7, 13.7, 14.7, 3.7, 4.7
OBIS_EURO_9241.25, 3.25, 9.25, 31.25, 51.25, 71.25, 32.25, 52.25, 72.25, 13.25, 14.25, 1.8.0, 1.8.1, 1.8.2, 2.8.0, 2.8.1, 2.8.2, 3.8.0, 3.8.1, 3.8.2, 4.8.0, 4.8.1, 4.8.2, 9.8.0
OBIS_EURO_10240.9.1, 0.9.2, 1.25, 9.25, 31.25, 51.25, 71.25, 32.25, 52.25, 72.25, 81.7.40, 81.7.51, 81.7.62, 33.25, 53.25, 73.25, 13.25, 14.25, 1.8.0, 2.8.0, 5.8.0, 6.8.0, 7.8.0, 8.8.0
OBIS_EURO_11240.9.1*, 0.9.2*, 0.2.0*, C.1.0*, C.1.6*, C.51.1*, C.51.2*, C.51.3*, C.51.4*, C.51.5*, C.51.6*, C.51.7*, C.51.8*, C.6.0*, C.6.1*, 1.8.0*, 2.8.0*, F.F.0*, 3.8.0*, 4.8.0*, 5.8.0*, 6.8.0*, 7.8.0*, 8.8.0*
OBIS_EURO_12240.0.1, C.1.0, 0.9.1, 0.9.2, 14.25, 1.25, 3.25, 9.25, 13.25, 21.25, 23.25, 29.25, 31.25, 32.25, 41.25, 43.25, 49.25, 51.25, 52.25, 61.25, 63.25, 69.25, 71.25, 72.25
OBIS_EURO_13240.9.1, 0.9.2, 1.8.0, 2.8.0, 3.8.0, 4.8.0, 5.8.0, 6.8.0, 7.8.0, 8.8.0, 1.6.0, 2.6.0, 1.5.0, 1.7.0, 1.8.1, 1.8.2, 1.8.3, 2.8.1, 2.8.2, 2.8.3, 13.7, 14.7, C.1.0, C.7.0
OBIS_EURO_14241.8.0, 2.8.0, 9.8.0, 10.8.0, 3.8.0, 4.8.0, 32.7.0, 52.7.0, 72.7.0, 14.7, 13.7, 33.7, 53.7, 73.7, 16.7.0, 36.7.0, 56.7.0, 76.7.0, 131.7.0, 9.7.0, 29.7.0, 49.7.0, 69.7.0, 31.7.0
OBIS_EURO_15240.9.1, 0.9.2, 21.25, 41.25, 61.25, 1.25, 3.25, 9.25, 31.25, 51.25, 71.25, 32.25, 52.25, 72.25, 81.7.40, 81.7.51, 81.7.62, 14.25, 1.8.0, 2.8.0, 5.8.0, 6.8.0, 7.8.0, 8.8.0
OBIS_EURO_16240.9.1, 0.9.2, 1.8.0, 2.8.0, 3.8.0, 4.8.0, 5.8.0, 6.8.0, 7.8.0, 8.8.0, 1.6.1, 2.6.1, 2.7.0, 1.25, 31.25, 51.25, 71.25, 32.25, 52.25, 72.25, 13.25, 14.25, 9.25, C.1.0
OBIS_EURO_1724F.F, 0.9.1, 0.9.2, C.1.0, 16.7.0, 131.7.0, 9.7.0, 1.8.1, 1.8.2, 1.8.3, 1.8.0, 2.8.1, 2.8.2, 2.8.3, 2.8.0, 5.8.1, 5.8.2, 5.8.3, 5.8.0, 8.8.1, 8.8.2, 8.8.3, 8.8.0, 1.6.0
OBIS_EURO_182421.25, 41.25, 61.25, 1.25, 3.25, 9.25, 31.25, 51.25, 71.25, 32.25, 52.25, 72.25, 33.25, 53.25, 73.25, 13.25, 14.25, 1.8.0, 2.8.0, 3.8.0, 4.8.0, 9.8.0, 10.8.0, 1.6.0
OBIS_EURO_1924F.F, 0.0.0, 0.1.0, 0.1.2*, 1.8.1, 1.8.1*, 2.8.1, 2.8.1*, 3.8.1, 3.8.1*, 4.8.1, 4.8.1*, 1.6.1, 1.6.1*, 2.6.1, 2.6.1*, 3.6.1, 3.6.1*, 4.6.1, 4.6.1*, 0.9.1, 0.9.2, 0.4.2, 0.4.3
OBIS_EURO_TRF240.9.1, 0.9.2, 1.8.0, 2.8.0, 3.8.0, 4.8.0, 5.8.0, 6.8.0, 7.8.0, 8.8.0, 1.6.0, 2.6.0, 1.5.0, 1.7.0, 1.8.1, 1.8.2, 1.8.3, 2.8.1, 2.8.2, 2.8.3, 13.7, 14.7, C.1.0, C.7.0
OBIS_EURO_TRF_224F.F.0, 0.9.1, 0.9.2, 0.0.0, C.90.1, C.1.0, 0.1.2, 0.1.3, 1.8.0, 1.8.1, 1.8.2, 1.8.3, 2.8.0, 2.8.1, 2.8.2, 2.8.3, 5.8.0, 5.8.1, 5.8.2, 5.8.3, 6.8.0, 6.8.1, 6.8.2, 6.8.3
64 rows, up to 4 meters
OBIS_EURO_2641.8.0, 2.8.0, 3.8.0, 4.8.0, 5.8.0, 6.8.0, 7.8.0, 8.8.0, 1.6.0, 2.6.0, 3.6.0, 4.6.0, 5.6.0, 6.6.0, 7.6.0, 8.6.0, 1.4.0, 2.4.0, 3.4.0, 4.4.0, 5.4.0, 6.4.0, 7.4.0, 8.4.0, 1.5.0, 2.5.0, 3.5.0, 4.5.0, 5.5.0, 6.5.0, 7.5.0, 8.5.0, 1.7.0, 21.7.0, 41.7.0, 61.7.0, 2.7.0, 22.7.0, 42.7.0, 62.7.0, 16.7.0, 36.7.0, 56.7.0, 76.7.0, 3.7.0, 23.7.0, 43.7.0, 63.7.0, 4.7.0, 24.7.0, 44.7.0, 64.7.0, 131.7.0, 151.7.0, 171.7.0, 191.7.0, 11.7.0, 31.7.0, 51.7.0, 71.7.0, 32.7.0, 52.7.0, 72.7.0, 5.38.0
OBIS_EURO_364F.F, 0.9.1, 0.9.2, 0.0.0, 131.7.0, 1.4.0, 2.4.0, 5.4.0, 6.4.0, 7.4.0, 8.4.0, 1.5.0, 2.5.0, 5.5.0, 6.5.0, 7.5.0, 8.5.0, 1.6.0, 2.6.0, 5.6.0, 6.6.0, 7.6.0, 8.6.0, 1.8.1, 1.8.2, 1.8.3, 2.8.1, 2.8.2, 2.8.3, 5.8.1, 5.8.2, 5.8.3, 6.8.1, 6.8.2, 6.8.3, 7.8.1, 7.8.2, 7.8.3, 8.8.1, 8.8.2, 8.8.3, 1.8.5, 1.8.0, 2.8.0, 5.8.0, 6.8.0, 7.8.0, 8.8.0, 9.8.0, 32.7.0, 52.7.0, 72.7.0, 31.7.0, 51.7.0, 71.7.0, 91.7.0, 14.7, 81.7.0, 81.7.1, 81.7.2, 81.7.4, 81.7.5, 81.7.6, 16.7.0
OBIS_EURO_464F.F.0, 0.9.1, 0.9.2, 0.0.0, C.90.1, 1.8.0, 2.8.0, 3.8.0, 4.8.0, 5.8.0, 6.8.0, 7.8.0, 8.8.0, 1.6.0, 2.6.0, 3.6.0, 4.6.0, 5.6.0, 6.6.0, 7.6.0, 8.6.0, 1.4.0, 2.4.0, 5.4.0, 6.4.0, 7.4.0, 8.4.0, 1.5.0, 2.5.0, 5.5.0, 6.5.0, 7.5.0, 8.5.0, 1.7.0, 21.7.0, 41.7.0, 61.7.0, 2.7.0, 22.7.0, 42.7.0, 62.7.0, 3.7.0, 4.7.0, 5.7.0, 6.7.0, 7.7.0, 8.7.0, 16.7.0, 36.7.0, 56.7.0, 76.7.0, 131.7.0, 151.7.0, 171.7.0, 191.7.0, 11.7.0, 31.7.0, 51.7.0, 71.7.0, 32.7.0, 52.7.0, 72.7.0, 5.38.0, 13.7.0
OBIS_EURO_5640.9.1, 0.9.2, 0.1.2*, 96.6.6, 97.97.0, 97.98.1, 1.8.0, 2.8.0, 2.8.0*, 5.8.0, 6.8.0, 7.8.0, 8.8.0, 1.7.0, 2.7.0, 5.7.0, 6.7.0, 7.7.0, 8.7.0, 32.7.0, 52.7.0, 72.7.0, 31.7.0, 51.7.0, 71.7.0, 14.7.0, 13.7.0, 33.7.0, 53.7.0, 73.7.0, 32.32.0, 52.32.0, 72.32.0, 1.8.0*, 5.8.0*, 6.8.0*, 7.8.0*, 8.8.0*, 21.8.0, 22.8.0, 25.8.0, 26.8.0, 27.8.0, 28.8.0, 41.8.0, 42.8.0, 45.8.0, 46.8.0, 47.8.0, 48.8.0, 61.8.0, 62.8.0, 65.8.0, 66.8.0, 67.8.0, 68.8.0, 1.9.0, 2.9.0, 5.9.0, 6.9.0, 7.9.0, 8.9.0, 1.6.0, 2.6.0
OBIS_EURO_6640.9.1, 0.9.2, 1.8.0, 1.8.0*, 1.8.1, 1.8.1*, 1.8.2, 1.8.2*, 2.8.0, 2.8.0*, 2.8.1, 2.8.1*, 2.8.2, 2.8.2*, 3.8.0, 3.8.0*, 3.8.1, 3.8.1*, 3.8.2, 3.8.2*, 4.8.0, 4.8.0*, 4.8.1, 4.8.1*, 4.8.2, 4.8.2*, 1.6.1, 1.6.1*, 1.6.2, 1.6.2*, 2.6.1, 2.6.1*, 2.6.2, 2.6.2*, 31.25, 51.25, 71.25, 32.25, 52.25, 72.25, 1.25, 21.25, 41.25, 61.25, 13.25, 33.25, 53.25, 73.25, 14.25, 3.25, 81.7.40, 81.7.51, 81.7.62, 12.7.1, 12.7.12, 12.7.31, 12.25, 5.8.0, 6.8.0, 7.8.0, 8.8.0, 9.8.0, C.7.0, 0.0.0
OBIS_EURO_76421.25, 41.25, 61.25, 1.25, 23.25, 43.25, 63.25, 3.25, 29.25, 49.25, 69.25, 9.25, 31.25, 51.25, 71.25, 11.25, 91.25, 12.7.1, 12.7.12, 12.7.31, 155.25, 32.25, 52.25, 72.25, 12.25, 33.25, 53.25, 73.25, 13.25, 14.25, 1.6.0, 2.6.0, 3.6.0, 4.6.0, 9.6.0, 10.6.0, 140.7, 141.7, 142.7, 143.7, 144.7, 145.7, 1.8.0, 1.8.1, 1.8.2, 1.8.3, 1.8.4, 2.8.0, 2.8.1, 2.8.2, 2.8.3, 2.8.4, 3.8.0, 3.8.1, 3.8.2, 3.8.3, 3.8.4, 4.8.0, 4.8.1, 4.8.2, 4.8.3, 4.8.4, 9.8.0, 10.8.0
OBIS_EURO_TRF64F.F.0, 0.9.1, 0.9.2, 0.0.0, C.90.1, C.1.0, 0.1.2, 0.1.3, 1.8.0, 1.8.1, 1.8.2, 1.8.3, 2.8.0, 2.8.1, 2.8.2, 2.8.3, 5.8.0, 5.8.1, 5.8.2, 5.8.3, 6.8.0, 6.8.1, 6.8.2, 6.8.3, 7.8.0, 7.8.1, 7.8.2, 7.8.3, 8.8.0, 8.8.1, 8.8.2, 8.8.3, 1.6.0, 2.6.0, 13.0.0, 1.4.0, 2.4.0, 1.5.0, 2.5.0, 5.5.0, 6.5.0, 7.5.0, 8.5.0, 1.7.0, 2.7.0, 5.7.0, 6.7.0, 7.7.0, 8.7.0, 16.7.0, 131.7.0, 11.7.0, 31.7.0, 51.7.0, 71.7.0, 32.7.0, 52.7.0, 72.7.0, 13.7.0, 14.7.1, 1.0.0, 11.0.0, 12.0.0, 16.0.0
OBIS_EURO_TRF_264F.F.0, 0.9.1, 0.9.2, 0.0.0, C.90.1, C.1.0, 0.1.2, 0.1.3, 1.8.0, 1.8.1, 1.8.2, 1.8.3, 2.8.0, 2.8.1, 2.8.2, 2.8.3, 5.8.0, 5.8.1, 5.8.2, 5.8.3, 6.8.0, 6.8.1, 6.8.2, 6.8.3, 7.8.0, 7.8.1, 7.8.2, 7.8.3, 8.8.0, 8.8.1, 8.8.2, 8.8.3, 1.6.0, 2.6.0, 13.0.0, 1.4.0, 2.4.0, 1.5.0, 2.5.0, 5.5.0, 6.5.0, 7.5.0, 8.5.0, 1.7.0, 2.7.0, 5.7.0, 6.7.0, 7.7.0, 8.7.0, 16.7.0, 131.7.0, 11.7.0, 31.7.0, 51.7.0, 71.7.0, 32.7.0, 52.7.0, 72.7.0, 13.7.0, 14.7.0, 0.8.0, 0.8.1, 0.8.2, 0.8.3

The second list holds further tables: the tables of other meter types of the earlier firmware versions, the tariff table, and the tables made from the telegram of one meter type with the meter trace.

The table OBIS_ITRON_EM620_P1 for a P1 meter is a candidate table.

TableRowsOBIS codes in row order
Tables of further meter types, 24 rows, up to 10 meters
OBIS_A1500TR240.9.1, 0.9.2, 1.8.0, 2.8.0, 3.8.0, 4.8.0, 5.8.0, 6.8.0, 7.8.0, 8.8.0, 1.6.0, 2.6.0, 1.7.0, 21.7.0, 41.7.0, 61.7.0, 3.7.0, 23.7.0, 43.7.0, 63.7.0, 4.7.0, 24.7.0, 44.7.0, 64.7.0
OBIS_A1500TR2240.9.1, 0.9.2, 1.8.0, 2.8.0, 3.8.0, 4.8.0, 5.8.0, 6.8.0, 7.8.0, 8.8.0, 1.6.0, 2.6.0, 2.7.0, 21.7.0, 41.7.0, 61.7.0, 3.7.0, 23.7.0, 43.7.0, 63.7.0, 4.7.0, 24.7.0, 44.7.0, 64.7.0
OBIS_A1500TR3240.9.1, 0.9.2, 1.8.0, 2.8.0, 3.8.0, 4.8.0, 5.8.0, 6.8.0, 7.8.0, 8.8.0, 1.6.0, 2.6.0, 1.8.1, 1.8.2, 1.8.3, 2.8.1, 2.8.2, 2.8.3, 1.7.0, 2.7.0, 3.7.0, 4.7.0, 1.6.1, 2.6.1
OBIS_EMHTR240.9.1, 0.9.2, 1.8.0, 2.8.0, 3.8.0, 4.8.0, 5.8.0, 6.8.0, 7.8.0, 8.8.0, 1.6.0, 2.6.0, 1.25, 3.25, 31.25, 51.25, 71.25, 32.25, 52.25, 72.25, 13.25, 14.25, 1.5.0, 2.5.0
OBIS_EMHTR2241.8.0, 2.8.0, 5.8.0, 6.8.0, 7.8.0, 8.8.0, 1.5.0, 2.5.0, 1.6.0, 2.6.0, 1.8.1, 1.8.2, 1.8.3, 1.8.4, 1.8.0*, 2.8.0*, 5.8.0*, 6.8.0*, 7.8.0*, 8.8.0*, 1.8.1*, 1.8.2*, 1.8.3*, 1.8.4*
OBIS_KOHLER240.9.1, 0.9.2, 1.8.0, 1.8.1, 1.8.2, 1.8.3, 1.6.0, 1.6.0*, 5.8.0, 5.8.0*, 8.8.0, 8.8.0*, 96.1.3, 96.2.5, 32.7.0, 52.7.0, 72.7.0, 31.7.0, 51.7.0, 71.7.0, 14.7.0, 33.7.0, 53.7.0, 73.7.0
OBIS_NXT4241.8.0, 1.8.1, 1.8.2, 2.8.0, 2.8.1, 2.8.2, 3.8.0, 4.8.0, 1.6.1, 1.6.2, 2.6.1, 2.6.2, 0.9.1, 0.9.2, 21.7.0, 41.7.0, 61.7.0, 1.7.0, 31.7.0, 51.7.0, 71.7.0, 32.7.0, 52.7.0, 72.7.0
OBIS_POZYTON240.9.1, 0.9.2, 1.8.0, 2.8.0, 3.8.0, 4.8.0, 5.8.0, 6.8.0, 7.8.0, 8.8.0, 1.6.0, 2.6.0, 1.5.0, 1.7.0, 31.7.0, 51.7.0, 71.7.0, 32.7.0, 52.7.0, 72.7.0, 13.7.0, 14.7.0, C.1.0, C.7.0
OBIS_SLBTR240.9.1, 0.9.2, 1.8.0, 2.8.0, 3.8.0, 4.8.0, 5.8.0, 6.8.0, 7.8.0, 8.8.0, 1.6.0, 2.6.0, 1.25, 2.25, 31.25, 51.25, 71.25, L.1, L.2, L.3, 13.25, 14.25, C.70.1, F.
OBIS_TARIFE_TR240.9.1, 0.9.2, 1.8.0, 1.8.1, 1.8.2, 1.8.3, 2.8.0, 2.8.1, 2.8.2, 2.8.3, 5.8.0, 6.8.0, 7.8.0, 8.8.0, 1.6.0, 2.6.0, 15.8.0, 1.8.0*, 1.8.1*, 1.8.2*, 1.8.3*, 13.7, C.1.0, C.7.0
OBIS_VIKO240.9.1, 0.9.2, 1.8.0, 2.8.0, 3.8.0, 4.8.0, 5.8.0, 6.8.0, 7.8.0, 8.8.0, 1.6.0, 2.6.0, 31.7, 51.7, 71.7, 32.7, 52.7, 72.7, 21.7, 41.7, 61.7, 23.7, 43.7, 63.7
Tables made from the telegram of one meter type
OBIS_EMH_LZQJ-XC251.8.0, 1.8.1, 1.8.2, 1.8.3, 2.8.0, 2.8.1, 2.8.2, 2.8.3, 5.8.0, 6.8.0, 7.8.0, 8.8.0, 1.6.0, 2.6.0, 1.25, 32.25, 52.25, 72.25, 31.25, 51.25, 71.25, 14.25, 0.0.0, 0.9.1, 0.9.2
OBIS_ELEKTROMED_EC25211.8.0, 1.8.1, 1.8.2, 1.8.3, 1.8.4, 5.8.0, 8.8.0, 1.6.0, 32.7.0, 52.7.0, 72.7.0, 31.7.0, 51.7.0, 71.7.0, 1.7.0, 3.7.0, 9.7.0, 0.8.0, 0.0.0, 0.9.1, 0.9.2
OBIS_ISKRA_MT880641.8.0, 2.8.0, 5.8.0, 6.8.0, 7.8.0, 8.8.0, 21.8.0, 41.8.0, 61.8.0, 22.8.0, 42.8.0, 62.8.0, 1.6.0, 2.6.0, 1.7.0, 2.7.0, 5.7.0, 7.7.0, 31.7.0, 51.7.0, 71.7.0, 32.7.0, 52.7.0, 72.7.0, 14.7.0, 13.7.0, 0.0.0, 0.9.1, 0.9.2, 0.1.0, 6.7.0, 8.7.0, 5.6.0, 6.6.0, 7.6.0, 8.6.0, 25.8.0, 26.8.0, 27.8.0, 28.8.0, 45.8.0, 46.8.0, 47.8.0, 48.8.0, 65.8.0, 66.8.0, 67.8.0, 68.8.0, 33.7.0, 53.7.0, 73.7.0, 96.7.0, 96.7.1, 96.7.2, 96.7.3, 96.7.5, 96.7.6, 96.7.7, 96.7.8, 0.4.2, 0.4.3, 0.4.5, 0.4.6, 1.9.0
OBIS_ITRON_EM620_P1251.0.0, 1.0.0, 1.7.0, 2.7.0, 32.7.1, 52.7.1, 72.7.1, 3.7.0, 4.7.0, 1.8.0, 2.8.0, 81.7.40, 81.7.51, 81.7.62, 81.7.70, 81.7.71, 81.7.72, 81.7.10, 81.7.21, 81.7.2, 81.7.54, 81.7.65, 81.7.46, 81.7.1, 81.7.0
OBIS_ITRON_SL700561.8.0, 1.8.1, 1.8.2, 1.8.3, 2.8.0, 2.8.1, 2.8.2, 2.8.3, 5.8.0, 6.8.0, 7.8.0, 8.8.0, 1.4.0, 2.4.0, 1.6.0, 2.6.0, S-1.6.0, S-2.6.0, 31.7, 51.7, 71.7, 11.7, 32.7, 52.7, 72.7, 12.7, 33.7, 53.7, 73.7, 13.7, 14.7, 31.7.E, 51.7.E, 71.7.E, 11.7.F, 32.7.E, 52.7.E, 72.7.E, 12.7.F, C.52.1, C.52.2, C.52.3, C.52.4, C.52.5, C.52.6, 0.9.1, 0.9.2, 0.8.0, C.70.1, C.6.3, F.F.1, 1.17.0, 0.4.2, 0.4.3, 0.4.5, 0.4.6
OBIS_LANDIS_E650241.8.0, 1.8.1, 1.8.2, 1.8.3, 1.8.4, 2.8.0, 2.8.1, 2.8.2, 2.8.3, 2.8.4, 5.8.0, 6.8.0, 7.8.0, 8.8.0, 1.6.1, 1.6.2, 1.6.3, 1.6.4, 32.7.0, 52.7.0, 72.7.0, 0.0.0, 0.9.1, 0.9.2
OBIS_LANDIS_P1121.0.0, 1.0.0, 1.8.0, 2.8.0, 3.8.0, 4.8.0, 1.7.0, 2.7.0, 3.7.0, 4.7.0, 32.7.0, 31.7.0
OBIS_LANDIS_ZMD402241.8.0, 1.8.1, 1.8.2, 1.8.3, 1.8.4, 2.8.0, 5.8.0, 8.8.0, 6.8.0, 7.8.0, 1.6.0, 2.6.0, 32.7.0, 52.7.0, 72.7.0, 31.7.0, 51.7.0, 71.7.0, 91.7.0, 16.7.0, 14.7, C.1.0, 0.9.1, 0.9.2
OBIS_LUNA_LUN5211.8.0, 1.8.1, 1.8.2, 1.8.3, 1.8.4, 5.8.0, 8.8.0, 1.6.0, 32.7.0, 52.7.0, 72.7.0, 31.7.0, 51.7.0, 71.7.0, 33.7.0, 53.7.0, 73.7.0, 74.7.0, 0.0.0, 0.9.1, 0.9.2
OBIS_T79_EMH_MT880261.8.0, 2.8.0, 5.8.0, 6.8.0, 7.8.0, 8.8.0, 1.6.0, 2.6.0, 0.0.0, 0.9.1, 0.9.2, 0.1.0, 0.4.2, 0.4.3, 1.8.1, 1.8.2, 2.8.1, 2.8.2, 32.25, 14.25, 0.4.5, 0.4.6, 32.7.0, 14.7.0, 31.7.0, 96.7.0
OBIS_EURO_2 (2 rows)20.0.0, 1.25

9.12 After a firmware update from v2.x

  • In firmware v2.x the OBIS table was part of the firmware, one firmware per table. A unit does not report which table it ran.
  • Before the update, read and store the version, the settings and the whole data block of the unit; this is the baseline for the check after the update.
  • A unit with 4 meters or fewer needs no table after the update: the built-in 64-row table fits. A unit with 5 meters or more must get a table committed, otherwise it is in the state table pending.
  • Do not shorten the built-in 64-row table to its first rows and call it the old table: the 24 row lists are in most cases not the first 24 rows of the 64 row lists, so the unit would answer with a different quantity at a known address. Load the table of the old firmware, or build a new table and update the mapping of your master.

10. Diagnostics and Troubleshooting

10.1 Which firmware is running

Read register 0x00C0 with a quantity of 1: any answer means that the unit runs firmware v3.0 and the value is the register map version. A unit with older firmware does not answer this address.

Request:  01 03 00 C0 00 01 84 36

NOTE:

A single missing answer can also be a line fault. Treat the unit as an older firmware only after two silent tries on a line where the same unit answers register 0x0080.

The running version is at 0x00A8 and the original version at 0x00A6; the build id at 0x00CF is the production time (HHMM) and dates a build together with the version stamp. Compare it for equality with the value of your release notes, it is not an ordering.

10.2 Diagnostics block

The registers 0x00C0 to 0x00DF are 32 read only diagnostic fields. Writing 0 to register 0x00C0 clears the counters (the echo is the answer); any other value gets exception 03.

AddressNameWhat it tells you
0x00C1UPTIME_MINMinutes since power-up or reset
0x00C2RESET_CAUSE0 software reset (also the planned 24 hour reset), 7 watchdog, 12 normal power-up, 14 brown-out, 15 MCLR
0x00C3 - 0x00C5ERR_FLAGS, OERR_EVENTS, RING_EVENTSReceive overrun and ring full events of the meter UART
0x00C8IEC_CYCLESMeter read cycles started (successful readouts are in 0x00A2)
0x00CAMB_OKAccepted Modbus requests
0x00CBMB_CRCFrames with a wrong CRC
0x00D1MB_RESYNCHalf frames discarded because of a gap in the bytes
0x00D2MB_EXCException frames sent
0x00D5U2_PERRParity errors on the modem side (counted only with 8E1 or 8O1 framing)
0x00D6OBIS_TBLHigh byte: 0 built-in table, 1 EEPROM table, 2 table pending; low byte: rows in use
0x00D7IEC_PERRParity errors on the meter side
0x00D9IEC_FERRFraming errors on the meter side: a steady count without readings means a baud rate mismatch
0x00DAIEC_NOREPLYRead cycles without any meter answer: the meter is disconnected, off, or at another address or baud rate
0x00DBIEC_BCC_ERRTelegrams with a wrong block check character
0x00DCTX_RING_DROPResponses dropped because the master polls faster than the line drains
0x00DEWR_LOCKState of the write lock
0x00DFHW_TYPEHardware type (board revision)

The register guide lists every field.

The hardware type is the board revision, not the model: units already in the field report 8 and new production reports 10 to 14. The bootloader refuses a firmware file whose hardware type differs; choose the file for your unit by its label.

10.3 Meter health

The registers 0x00E4 to 0x00ED show the state of one meter; the meter index is the first address byte of the request. A meter index at or above the meter count gives exception 02, and the block can not be written.

AddressNameDescription
0x00E4MTR_OKCompleted data telegrams from this meter
0x00E5MTR_FAILRead cycles that ended without a complete telegram
0x00E6MTR_CONSECConsecutive failed read cycles; 0 means the last cycle was read
0x00E7MTR_AGE_SSeconds since the last complete telegram; 65535 means never read since power-up
0x00E8MTR_LOSTBit k is set when meter k has 3 or more consecutive failed cycles
0x00E9MTR_MODE0 BCC verified, 1 line mode, 2 fallback to line mode, 3 strict mode rejecting telegrams
0x00EAMTR_IEC_MODEIEC mode seen in the last cycle: 0 mode C, 1 mode A, 2 mode B, 3 mode D
0x00EB - 0x00EDMTR_BCC_ERR, MTR_PERR, MTR_DROPBlock check, parity and dropped line counters of this meter

Poll MTR_CONSEC and MTR_AGE_S to detect a silent meter: before v3.0 a silent meter kept its old values without any indication.

10.4 When the unit does not answer

SymptomReasonWhat to do
No answer to any requestWrong slave address or wrong speed or framing; a request with a wrong CRC and a request to another address are never answeredCheck the switch position and the framing; if the address is unknown use the address recovery of 8.6 "Broadcast and address recovery"
Exception 02 on data readsOdd start address, meter index above the meter count, or the table pending stateRead from an even address, check 0x0085 and the register 0x00D6
Exception 04 on every writeThe write lock is closedOpen the write window with the key (see 8.5 "Write lock")
Values stay 0The meter does not reply (IEC_NOREPLY rises), or the OBIS code is not in the telegram (the row mask bit is 0), or the meter sends the field with dashes only (the row mask bit is 1)Check the meter address, the baud rate and use the trace of 9.7 "Finding the codes your meter sends"
Garbage or text mixed into responsesA meter trace level is on and prints text on the modem lineWrite 0 to register 0x009D
Modbus requests during the first read cycles are slow or missedA read of a long response needs time on the lineUse the recommended timeout below

10.5 Timing

  • The unit starts transmitting 5 ms after the response is queued. With a USB serial adapter a request is answered in 12 to 19 ms at 19200 baud.
  • The longest response (124 registers, 253 bytes) needs 132 ms of line time at 19200 baud and 264 ms at 9600 baud.
  • Use a master response timeout of at least 300 ms at 19200 baud and at least 500 ms at 9600 baud.
  • A master that polls faster than the line drains makes the unit drop responses, counted in TX_RING_DROP (0x00DC); raise the timeout or the gap between requests.

11. ZTerminal Software

ZTerminal for Windows is the REDZ configuration and monitoring software. With an LKM it reads and changes the settings, shows the diagnostics and the health of each meter, reads and loads the OBIS table, shows the values read from the meters and updates the firmware.

  • ZTerminal runs on 64-bit Windows. It is one file, ZTerminal.exe. Unpack it and run it: nothing is installed.
  • You need a serial port on the PC, for example a USB to RS485 or USB to RS232 converter, connected to the modem side of the LKM. For the wiring see chapter 4 "Panel Descriptions and Pin Mappings".
  • The full user guide of ZTerminal for Windows is at redzsoftware.com/zterminal/windows-manual/.

ZTerminal also has pages for other REDZ products. This chapter describes the pages for the LKM. The registers behind every operation are explained in chapter 7 "IEC62056-21 and MODBUS Definitions", chapter 8 "Communication and Protection Settings", chapter 9 "OBIS Table: Choosing and Loading the Rows" and chapter 10 "Diagnostics and Troubleshooting".

11.1 Connecting and reading the unit

  1. In the connection strip at the top of the window choose Serial, the COM port of the converter, the speed of the operation mode switch position of the LKM and 8 data bits, no parity, 1 stop bit, then press Connect.
  2. Open the LKM RTU page and enter the Modbus address of the LKM in the unit box (the factory address is 1).
  3. Press Read device. ZTerminal reads the firmware versions, the settings and the IEC addresses. Next to the title it shows the running and the original firmware version, the CAPS and the BUILD_ID, whether the bootloader is A/B staging or legacy, the reset cause, the uptime and where the OBIS table comes from.

If you do not know the address, Find unit id asks the device for its own address; only one device may be on the line. If it gets no answer, Search addresses asks every address from 1 to 247 in turn, which takes about 40 s.

ZTerminal tells the firmware generations apart by itself. A unit with firmware v3.0 (Gen3) shows the tabs Settings, Diagnostics, Health, OBIS table, Report, Monitoring and Register values; a unit with firmware v2.x shows Settings, Monitoring and Register values.

ZTerminal LKM RTU page, Settings tab: meter reading, Modbus and init string settings of the LKM

The Overview page reads the identity and the health of the unit in one round. Its Update method row tells how the unit takes new firmware: In place (A/B) for a unit with the A/B bootloader, Power cycle (legacy loader) for a unit with the original bootloader.

ZTerminal Overview page after Read: identity and health of an LKM RTU with firmware v3.0

11.2 Settings

The Settings tab has three cards: Meter reading, Modbus and device, and Init string. Each row shows the setting, the value read from the LKM (device) and the value you want (ours), with a short text that tells what the setting accepts.

As soon as a value in ours differs from the device, a bar above the cards lists the changes. Write and read back writes the changed settings and reads the unit again; Discard puts the values back. When the write lock is on, ZTerminal sends the write key for you. A new Modem framing is applied when the unit restarts; connect with the new framing afterwards.

Under the Meter reading card, IEC address per meter has one row for each meter. Change the address and press the Write button of the row: the address is written and read back. Up to 10 digits is a numeric address; letters or a longer address are written as a text address of up to 16 characters. An empty box clears the address.

What each setting does in the unit is described in 7.5 "Settings registers" and chapter 8 "Communication and Protection Settings".

11.3 Diagnostics and meter health

On the Diagnostics tab, Read counters reads the 31 diagnostics counters of the LKM and lists them in groups. A counter that should stay at zero is shown in green with "0 as expected", any other value in orange. The Change column shows how much each counter grew since the first read. Clear counters sets the counters to zero; the identity values and the uptime are kept.

ZTerminal LKM RTU page, Diagnostics tab: the diagnostics counters and their change

On the Health tab, choose a meter and press Sample. ZTerminal shows the successful and the failed reads of that meter, the consecutive failures, the seconds since the last good read, the IEC mode and how many rows of the OBIS table were found. Sample twice: a meter is being read when its OK count grows and its age falls.

ZTerminal LKM RTU page, Health tab: meter 1 sampled twice, the meter is being read

The counters and the health values are described in chapter 10 "Diagnostics and Troubleshooting".

11.4 OBIS table

The OBIS table tab works in three numbered steps. On the card shows the table of the LKM as a list you can edit: Read status and rows reads it. Start the new list from fills the list from a ready-made list, from the codes the meter sends (Listen to the meter) or from a CSV file. Load it to the card sends the list to the LKM. Nothing on this tab is read or sent until you press a button.

ZTerminal LKM RTU page, OBIS table tab: the 32 row table read from the LKM

  • Listen to the meter replaces the table of the LKM with a search table and lists the codes the meter sends, for up to 10 minutes. Save the current table to a CSV file first. While listening, the LKM does not read the meter. Tick the codes you want and press Use selected codes to put them into the list.
  • A list has 1 to 64 rows, a code 1 to 8 characters, and the rows times the meter count may be at most 256. A row with a problem is marked in red and the table cannot be loaded until it is fixed.
  • Load table writes the list and reads all rows back. When only one row differs from the table of the LKM, only that row is written. The LKM clears its values; they fill in at the next good read of each meter.

How the table works in the unit, the built-in table and the register steps of a load are described in chapter 9 "OBIS Table: Choosing and Loading the Rows".

11.5 Commissioning report

The Report tab runs the commissioning flow in one go: it writes the settings and the IEC addresses you changed on this page, loads the list of the OBIS table tab when the LKM is waiting for a table, samples the health of every meter twice and writes a report with the findings marked GREEN, YELLOW or RED. With nothing prepared it only reads. Save the report with Save text or Save JSON.

11.6 Monitoring and register values

Read monitoring on the Monitoring tab reads the 15 monitoring values: the IEC addresses, the number of correct IEC reads, the uptime, the original and the running firmware and the init string.

ZTerminal LKM RTU page, Monitoring tab: the 15 monitoring values

The Register values tab shows the values the LKM has read from one meter. Choose the meter with the numbered buttons; Read values reads it again. The first Read values after you connect also reads the OBIS table of the LKM, so the Search for column shows the code of each row. The columns are the row (Slot), the OBIS code (Search for), the value the LKM holds (Raw), the scaled value and whether the meter gave the value in its last good round (Found). Auto refresh reads the meter again every read period.

ZTerminal LKM RTU page, Register values tab: OBIS code, raw and scaled value of each row of meter 1

The video below shows Read values on an LKM144 that reads an electricity meter: ZTerminal reads the OBIS table of the LKM once and then shows the code and the value of each row.

The registers and the scaling of the values are described in 7.4 "Reading the meter values" and 7.3 "How the values are stored".

11.7 Firmware update

The Firmware page loads a new firmware file into the LKM. Choose the .bin file and enter the address of the LKM; ZTerminal checks that the file is for this unit before it sends anything. Start upload reads the unit and picks the update path itself: in place for a unit with the A/B bootloader, with a power cycle for a unit with the original bootloader, where the page tells you step by step when to turn the unit off and on.

Which file to choose and what happens in the unit during each update path is described in chapter 12 "Firmware Upgrade".

12. Firmware Upgrade

WARNING:

Firmware upgrade is available from the modem side serial line only: RS232 on LKM111 and LKM141, RS485 on LKM114, LKM124, LKM144 and LKM614.

12.1 Update paths

UnitUpdate path
Unit with the new bootloader (register 0x00CE, bit 3 is 1)Staged A/B update over Modbus while the application runs; the update is safe against an interruption
Unit with the original (legacy) bootloader (register 0x00CE is 0 or does not answer)Serial update through the bootloader, entered with a trigger and power cycles

12.2 Before you start

  • The firmware v3.0 files are on the product page of the LKM series on redz-sc.com, one zip per firmware image: LKM_RTU_LKM111_v3.0_23112026.zip, LKM_RTU_LKM114-LKM614_v3.0_23112026.zip (LKM114 and LKM614 share one image), LKM_RTU_LKM124_v3.0_23112026.zip, LKM_RTU_LKM141_v3.0_23112026.zip and LKM_RTU_LKM144_v3.0_23112026.zip.
  • Every zip holds <MODEL>_<version>_LEGACY.bin for units in the field, which have the original bootloader (see 12.4 "Update through the original bootloader"), and <MODEL>_<version>_hw<N>_OTA.bin for the A/B update (see 12.3 "A/B update over Modbus"). The hardware number N of the OTA file is 13 for LKM111, 11 for LKM114 and LKM614, 14 for LKM124, 12 for LKM141 and 10 for LKM144, and it must match the hardware type in the register 0x00DF of the unit. Choose the file by your model and by the label of your unit.
  • The bootloader compares the hardware type of the file with the hardware type of the unit and refuses a mismatch: the transfer stops, nothing is written and the old application keeps running.
  • The settings in the EEPROM survive a firmware update.
  • Set the update tool to the modem speed of the application (the speed of the switch position): the A/B update and the trigger frame use it. The original bootloader answers at 19200 8N1; its baud rate is fixed.
  • The update steps below are the Modbus requests and the serial packets behind the update; ZTerminal for Windows does them for you (see chapter 11 "ZTerminal Software").

12.3 A/B update over Modbus

Check that bit 3 of register 0x00CE is 1. If the write lock is on, the tool writes the key before the start and the commit.

A/B update over Modbus: states IDLE, SESSION, COMPLETE, COMMIT_PENDING and the commands

  1. Start: write 1 to register 0x00E0. The unit echoes the request and from now on reads the modem bytes as raw packets; it does not answer Modbus during the transfer.
  2. Transfer: the file is sent in packets of 64 bytes at the application baud rate; the unit answers each packet with 06 11 after writing it to the staging area. The transfer takes about 25 seconds at 9600 baud.
  3. Commit: when register 0x00E0 reads 2 (complete), write 2 to it. The unit verifies the staged image and resets about 300 ms after the echo.
  4. The bootloader copies the staged image to the application with read-back verification and starts the new application; this takes 2 to 4 seconds.
RegisterNameDescription
0x00E0State / commandState: 0 idle, 1 session, 2 complete, 3 commit pending. Command: 1 start, 2 commit, 3 abort, 4 resume
0x00E1ProgressAccepted packets; it survives a session timeout but not a reset
0x00E2TotalImage size / 64 from the header packet
0x00E3Last error1 legacy bootloader, 2 header (hardware type or size), 3 sequence, 4 resume not possible, 5 staging CRC, 6 session timeout (10 s), 7 command not valid in this state
  • A power cut before the commit leaves the old application running; a power cut after the commit repeats the commit at the next boot.
  • If the transfer stops, the unit returns to idle after 10 seconds and keeps the number of packets: read register 0x00E1, write 4 (resume) to 0x00E0 and continue from that packet. After a reset the count is 0 and a new start is needed.
  • The meter reading continues during the session.
Start:   01 06 00 E0 00 01 49 FC
Commit:  01 06 00 E0 00 02 09 FD
Resume:  01 06 00 E0 00 04 89 FF
State:   01 03 00 E0 00 04 45 FF

12.4 Update through the original bootloader

This path is for field units with the original bootloader. It writes straight into the application area: a transfer that stops leaves the unit in the bootloader, and it is recovered by loading the file again.

Update through the original bootloader: trigger, second power cycle, send the file, finished

  1. Connect to the RS485 modem line at the application speed. Power the unit off and on; within 10 seconds after power-up send the trigger frame, and repeat it until the unit answers 06 11 at 19200 8N1. Send no packet yet.
  2. Power the unit off and on again. The bootloader now announces 06 11 by itself at power-up.
  3. Send nothing until that announcement, and do not read the unit: no Modbus request and no tool read between the second power cycle and packet 0. Then send the file from packet 0, without trigger bytes.

An original bootloader opens no window while the application key is valid, so one power cycle alone does not enter it. A unit that already runs this firmware accepts the same trigger frame in the first 10 seconds after power-up, also when it still has the original bootloader.

  • The transfer takes about 50 seconds. After the last packet the bootloader writes the key and resets, and the application answers Modbus after about 2 seconds.
  • Progress is shown by the four mode LEDs: one more LED lights for every 25 % of the transfer.

WARNING:

If the transfer stops for any reason (cable, tool, PC, power), POWER-CYCLE THE UNIT BEFORE YOU TRY AGAIN. The bootloader keeps its packet counter until the next power-up; a second transfer started without a power cycle is written shifted, the bootloader still marks the application valid, and the unit then starts a corrupt application. Recovery then needs a programmer.

  • After the power cycle the unit restarts in the bootloader and answers 06 11; send the file again from packet 0 without trigger bytes and without reading the unit first. Only the header packet (packet 0) may be repeated without a power cycle.
  • A corrupt first frame locks the original bootloader until the next power cycle.

12.5 Checking the result

Read the running version at 0x00A8 and the register map version at 0x00C0; the build id at 0x00CF identifies the build. Any answer at 0x00C0 means a v3.0 image.

Running version:  01 03 00 A8 00 02 45 EB
Diagnostics:      01 03 00 C0 00 11 85 FA

Going back from v3.0 to v2.x needs a programmer with the v2.x factory file of the unit; an update over the serial line back to v2.x was not measured.

13. Modbus Query Examples

The examples read an LKM144 in mode 3 (19200 8N1 on the modem side, 19200 7E1 fixed on the meter side) that reads an IEC 62056-21 mode C meter with the 24 row table OBIS_EURO loaded (see 9.11 "List of the ready-made tables"). The meter values come from a simulator, so some of them are artificial. A recorded real meter follows in 13.3 "A real meter: Landis+Gyr ZMD402".

13.1 The table and the values

The table OBIS_EURO has the 24 rows below; the row i is at the address 2 x i. The meter sent the lines of the third column, and the data block holds the digits of the value without the decimal point.

RowAddressOBIS codeFound in the telegramRegister value (decimal)
00x00000.9.10.9.1(10:25:07)102507
10x00020.9.20.9.2(22-09-14)220914
20x00041.8.01.8.0(6895.2317*kWh)68952317
30x00062.8.02.8.0(4443.6859*kWh)44436859
40x00083.8.03.8.0(4443.6859*kWh)44436859
50x000A4.8.04.8.0(4443.6859*kWh)44436859
60x000C5.8.05.8.0(2130.1081*kvarh)21301081
70x000E6.8.06.8.0(5554.7538*kvarh)55547538
80x00107.8.07.8.0(6666.6663*kvarh)66666663
90x00128.8.08.8.0(7777.7725*kvarh)77777725
100x00141.6.01.6.0(1.1781*kW)(22-07-11 16:00)11781
110x00162.6.02.6.0(0.0000*kW)(22-07-12 06:45)0
120x00181.5.01.5.0(1.1923*kW)11923
130x001A1.7.01.7.0(10.72*A)1072
140x001C31.7.031.7.0(10.72*A)1072
150x001E51.7.051.7.0(10.72*A)1072
160x002071.7.071.7.0(10.68*A)1068
170x002232.7.032.7.0(160.2*V)1602
180x002452.7.052.7.0(160.7*V)1607
190x002672.7.072.7.0(160.6*V)1606
200x002813.7.013.7.0(-1.000)-1000
210x002A14.7.014.7.0(-1.000)-1000
220x002CC.1.0C.1.0(96130289)96130289
230x002E16.7.016.7.0(-10000.114*kW)-10000114

A negative value is a two's complement number: -1.000 is stored as -1000 (0xFFFFFC18), shown as 4294966296 by a master that reads unsigned numbers.

The simulated meter sends the following read-out table; the values are artificial. The gateway searches it for the 24 codes of the table above.

F.F(11111111)
0.9.2(22-09-14)
0.9.1(10:25:07)
0.1.0(55)
0.1.0*07(22-07-09 02:40)
0.1.0*06(22-07-01 00:00)
0.1.0*05(22-06-01 00:00)
0.1.0*04(22-05-01 00:00)
0.0.0(96130289)
C.90.1(96130289)
C.1.0(96130289)
1.4.0(02)(3.3132*kW)
2.4.0(02)(4.4444*kW)
5.4.0(04)(5.5148*kvar)
6.4.0(04)(6.6666*kvar)
7.4.0(04)(7.7777*kvar)
8.4.0(04)(8.8888*kvar)
1.5.0(1.1923*kW)
2.5.0(2.2222*kW)
5.5.0(3.3522*kvar)
6.5.0(4.4444*kvar)
7.5.0(5.5555*kvar)
8.5.0(6.6666*kvar)
1.6.0(1.1781*kW)(22-07-11 16:00)
1.6.0*07(0.6450*kW)(22-07-02 23:00)
1.6.0*06(0.3220*kW)(22-06-08 12:15)
1.6.0*05(0.3530*kW)(22-05-25 12:30)
1.6.0*04(0.4110*kW)(22-04-11 11:00)
2.6.0(0.0000*kW)(22-07-12 06:45)
2.6.0*07(0.0360*kW)(22-07-04 04:30)
2.6.0*06(0.0200*kW)(22-06-27 06:30)
2.6.0*05(0.0000*kW)(00-00-00 00:00)
2.6.0*04(0.0000*kW)(00-00-00 00:00)
5.6.0(3.3642*kvar)(22-09-01 10:00)
6.6.0(4.4133*kvar)(22-09-05 07:30)
7.6.0(5.5555*kvar)(22-09-05 07:00)
8.6.0(6.6666*kvar)(22-09-01 09:45)
1.8.1(1151.9956*kWh)
1.8.1*07(1150.9763*kWh)
1.8.1*06(1147.6604*kWh)
1.8.1*05(1126.5102*kWh)
1.8.1*04(1100.1469*kWh)
|
1.8.2(7871.4117*kWh)
1.8.2*07(0871.0696*kWh)
1.8.2*06(0868.9837*kWh)
1.8.2*05(0858.9924*kWh)
1.8.2*04(0845.4907*kWh)
1.8.3(4871.8240*kWh)
1.8.3*07(4866.5860*kWh)
1.8.3*06(4853.1543*kWh)
1.8.3*05(4769.7803*kWh)
1.8.3*04(4661.9428*kWh)
2.8.1(7777.6678*kWh)
2.8.1*07(0000.6676*kWh)
2.8.1*06(0000.6665*kWh)
2.8.1*05(0000.6654*kWh)
2.8.1*04(0000.6654*kWh)
2.8.2(8888.1034*kWh)
2.8.2*07(0000.1034*kWh)
2.8.2*06(0000.1034*kWh)
2.8.2*05(0000.1032*kWh)
2.8.2*04(0000.1032*kWh)
2.8.3(9992.9146*kWh)
2.8.3*07(0002.9047*kWh)
2.8.3*06(0002.8053*kWh)
2.8.3*05(0002.7529*kWh)
2.8.3*04(0002.7529*kWh)
5.8.1(1370.6718*kvarh)
5.8.1*07(0370.2462*kvarh)
5.8.1*06(0369.0621*kvarh)
5.8.1*05(0362.3924*kvarh)
5.8.1*04(0355.0516*kvarh)
5.8.2(2269.7377*kvarh)
5.8.2*07(0269.6222*kvarh)
5.8.2*06(0268.9545*kvarh)
5.8.2*05(0265.9975*kvarh)
5.8.2*04(0262.3601*kvarh)
5.8.3(1489.6986*kvarh)
5.8.3*07(1487.8907*kvarh)
5.8.3*06(1483.1537*kvarh)
5.8.3*05(1459.0583*kvarh)
5.8.3*04(1430.8188*kvarh)
6.8.1(3333.7030*kvarh)
6.8.1*07(0000.7002*kvarh)
6.8.1*06(0000.6966*kvarh)
6.8.1*05(0000.6918*kvarh)
6.8.1*04(0000.6918*kvarh)
6.8.2(4444.1706*kvarh)
6.8.2*07(0000.1706*kvarh)
6.8.2*06(0000.1704*kvarh)
6.8.2*05(0000.1673*kvarh)
6.8.2*04(0000.1673*kvarh)
|
6.8.3(5553.8802*kvarh)
6.8.3*07(0003.8495*kvarh)
6.8.3*06(0003.6191*kvarh)
6.8.3*05(0003.4521*kvarh)
6.8.3*04(0003.4521*kvarh)
7.8.1(6666.6666*kvarh)
7.8.1*07(0000.0000*kvarh)
7.8.1*06(0000.0000*kvarh)
7.8.1*05(0000.0000*kvarh)
7.8.1*04(0000.0000*kvarh)
7.8.2(7777.7772*kvarh)
7.8.2*07(0000.0002*kvarh)
7.8.2*06(0000.0002*kvarh)
7.8.2*05(0000.0002*kvarh)
7.8.2*04(0000.0002*kvarh)
7.8.3(8888.8881*kvarh)
7.8.3*07(0000.0001*kvarh)
7.8.3*06(0000.0001*kvarh)
7.8.3*05(0000.0001*kvarh)
7.8.3*04(0000.0001*kvarh)
8.8.1(9999.9912*kvarh)
8.8.1*07(0000.0012*kvarh)
8.8.1*06(0000.0012*kvarh)
8.8.1*05(0000.0012*kvarh)
8.8.1*04(0000.0012*kvarh)
8.8.2(1111.1127*kvarh)
8.8.2*07(0000.0027*kvarh)
8.8.2*06(0000.0003*kvarh)
8.8.2*05(0000.0003*kvarh)
8.8.2*04(0000.0003*kvarh)
8.8.3(2222.0685*kvarh)
8.8.3*07(0000.0679*kvarh)
8.8.3*06(0000.0677*kvarh)
8.8.3*05(0000.0676*kvarh)
8.8.3*04(0000.0676*kvarh)
1.8.5(3333.3333*kWh)
1.8.5*07(0000.0000*kWh)
1.8.5*06(0000.0000*kWh)
1.8.5*05(0000.0000*kWh)
1.8.5*04(0000.0000*kWh)
1.8.0(6895.2317*kWh)
1.8.0*07(6888.6320*kWh)
1.8.0*06(6869.7985*kWh)
1.8.0*05(6755.2830*kWh)
1.8.0*04(6607.5805*kWh)
2.8.0(4443.6859*kWh)
3.8.0(4443.6859*kWh)
4.8.0(4443.6859*kWh)
2.8.0*07(0003.6759*kWh)
|
2.8.0*06(0003.5753*kWh)
2.8.0*05(0003.5216*kWh)
2.8.0*04(0003.5216*kWh)
5.8.0(2130.1081*kvarh)
5.8.0*07(2127.7592*kvarh)
5.8.0*06(2121.1704*kvarh)
5.8.0*05(2087.4483*kvarh)
5.8.0*04(2048.2306*kvarh)
6.8.0(5554.7538*kvarh)
6.8.0*07(0004.7205*kvarh)
6.8.0*06(0004.4862*kvarh)
6.8.0*05(0004.3113*kvarh)
6.8.0*04(0004.3113*kvarh)
7.8.0(6666.6663*kvarh)
7.8.0*07(0000.0003*kvarh)
7.8.0*06(0000.0003*kvarh)
7.8.0*05(0000.0003*kvarh)
7.8.0*04(0000.0003*kvarh)
8.8.0(7777.7725*kvarh)
8.8.0*07(0000.0719*kvarh)
8.8.0*06(0000.0693*kvarh)
8.8.0*05(0000.0691*kvarh)
8.8.0*04(0000.0691*kvarh)
9.8.0(7788.3984*kVAh)
32.7.0(160.2*V)
52.7.0(160.7*V)
72.7.0(160.6*V)
1.7.0(10.72*A)
31.7.0(10.72*A)
51.7.0(10.72*A)
71.7.0(10.68*A)
91.7.0(10.07*A)
14.7(50.01*Hz)
81.7.0( 110*Deg)
81.7.1( 121*Deg)
81.7.2( 240*Deg)
81.7.4( 116*Deg)
81.7.5( 140*Deg)
81.7.6( 257*Deg)
16.7.0(-10000.114*kW)
131.7.0(22222.222*kvar)
13.7.0(-1.000)
14.7.0(-1.000)
0.2.2(B 23)
0.4.2(00000001)
0.4.3(00000001)

The meaning of the 24 codes of the table OBIS_EURO, as the manual of earlier firmware versions names them, is in the next table; the rows and addresses are the same as above. The meter in the example above sends some other quantities than the names say, because the simulator values are artificial.

RowAddressOBIS codeMeaning
00x00000.9.1Time
10x00020.9.2Date
20x00041.8.0Total active energy import A+
30x00062.8.0Total active energy export A-
40x00083.8.0Total reactive energy R+
50x000A4.8.0Total reactive energy R-
60x000C5.8.0Total reactive inductive energy import (Ri+) Q1
70x000E6.8.0Total reactive capacitive energy import (Rc+) Q2
80x00107.8.0Total reactive inductive energy export (Ri-) Q3
90x00128.8.0Total reactive capacitive energy export (Rc-) Q4
100x00141.6.0Total maximal average import power P+max
110x00162.6.0Total maximal average export power P-max
120x00181.5.0Total average import power P+max (last period value)
130x001A1.7.0Total instantaneous value power P+
140x001C31.7.0L1 Current
150x001E51.7.0L2 Current
160x002071.7.0L3 Current
170x002232.7.0L1 Voltage
180x002452.7.0L2 Voltage
190x002672.7.0L3 Voltage
200x002813.7.0Power factor
210x002A14.7.0Frequency
220x002CC.1.0Meter number / meter ID
230x002E16.7.0Sum active instantaneous power (A+ - A-)

13.2 Reading with Modbus Poll

  1. Open Modbus Poll and choose Connection, Connect. Enter the COM port, 19200 baud, 8 data bits, 1 stop bit and no parity, and click OK.
  2. Choose File, New to open a reading window, right click it and choose Read/Write Definition.
  3. Enter slave ID 1 (the Modbus address of the LKM), function 03 Read Holding Registers, address 0 and quantity 48: 24 values of two registers each.
  4. Select the 32-bit display with the high register first: in the current Modbus Poll it is called 32 Bit signed Big-endian. Click OK and the values appear.

Modbus Poll main window

Modbus Poll connection setup

Modbus Poll read/write definition menu

Modbus Poll read/write definition: slave id 1, function 03, address 0, quantity 48

Modbus Poll showing the 24 values read from the LKM

The screenshots were made with an older version of Modbus Poll, which names its 32-bit displays differently (Long, Long Inverse and so on). Whatever the name, the right display is the one that shows the register value of row 0 of the table above.

13.3 A real meter: Landis+Gyr ZMD402

This example uses a real meter. The telegram of a Landis+Gyr ZMD402 meter was recorded on 2026-09-09 and played back to an LKM144 with firmware v3.0: the values are those of a real meter, but the meter was not connected live. The unit was in mode 1 (automatic baud rate on the meter side) and the Modbus side ran at 19200 8N1 with the address 1.

13.3.1 Step 1: find the codes the meter sends

The discovery follows 9.7 "Finding the codes your meter sends": the one-row table 9.9.9 was committed and the trace level 2 was written. The unit printed all 247 lines of the telegram and the trace drop register stayed 0, so no line was lost. These are the first lines as printed; the two non-printable bytes in front of the very first line are left out:

>--- 0-0:F.F.0(00000080)
>--- 1-0:0.0.0()
>--- C.1.0(94944552)
>--- 1-0:0.1.0(87)
    ... (the 12 lines 1-0:0.1.0*01 to *12 are left out here)
>--- 0-0:0.9.1(20:30:41)
>--- 0-0:0.9.2(26-09-09)
>--- 1-1:1.8.0(99642.959*MWh)
>--- 1-1:1.8.0*01(99642.959)
>--- 1-1:1.8.0*02(99642.959)

Look at three things in these lines. The code of a line may carry a prefix such as 1-1: or 0-0:, and a row of the table matches the code with or without it. This meter sends its energy values in MWh and in Mvarh, for example 1-1:1.8.0(99642.959*MWh). Each energy code is printed again for the 12 earlier periods (*01 to *12); the table takes the plain line that comes first, for example 1823.148 for 2.8.0 although the line 2.8.0*04 carries 1814.731.

13.3.2 Step 2: choose the rows

The 15 codes in the table below were chosen, in this order: the row i is at the address 2 x i. The code 16.7.0 is in the list on purpose, because this meter sends it with dashes only (see the row mask below).

13.3.3 Step 3: load the table

The table was loaded as in 9.5 "Loading a table step by step": open the draft (command 4), write N = 15, write the 15 rows and commit (command 2). The read back showed 15 rows and N = 15.

13.3.4 Step 4: read the values

After some read cycles the values were read with function 03 (address 0, 30 registers, two registers per row, high register first) and with function 04 (address 0, 60 registers, the float64 view with four registers per row). The function 03 value holds the digits of the value without the decimal point; the function 04 value is the number with its decimal point.

RowFC03 addressFC04 addressOBIS codeLine in the telegramFC03 value (decimal)FC04 value (float64)Unit
00x00000x0000C.1.0C.1.0(94944552)9494455294944552.0-
10x00020x00040.9.10-0:0.9.1(20:30:41)203041203041.0-
20x00040x00080.9.20-0:0.9.2(26-09-09)260909260909.0-
30x00060x000C1.8.01-1:1.8.0(99642.959*MWh)9964295999642.959MWh
40x00080x00101.8.11-1:1.8.1(38788.912*MWh)3878891238788.912MWh
50x000A0x00141.8.21-1:1.8.2(92656.530*MWh)9265653092656.53MWh
60x000C0x00181.8.31-1:1.8.3(68197.516*MWh)6819751668197.516MWh
70x000E0x001C2.8.01-1:2.8.0(01823.148*MWh)18231481823.148MWh
80x00100x00205.8.01-1:5.8.0(17371.922*Mvarh)1737192217371.922Mvarh
90x00120x00248.8.01-1:8.8.0(04163.234*Mvarh)41632344163.234Mvarh
100x00140x002832.7.01-1:32.7.0(232.5*V)2325232.5V
110x00160x002C52.7.01-1:52.7.0(001.2*V)121.2V
120x00180x003072.7.01-1:72.7.0(001.0*V)101.0V
130x001A0x003414.714.7(49.98*Hz)499849.98Hz
140x001C0x003816.7.01-1:16.7.0(-----.---*kW)00.0kW

Check one row: the line 1-1:1.8.0(99642.959*MWh) gives 99642959 with function 03 and 99642.959 with function 04. The time 0.9.1(20:30:41) gives 203041 and the date 0.9.2(26-09-09) gives 260909: the digits are kept and the separators are dropped.

13.3.5 Step 5: check the row mask

The row validity mask of the meter was read at 0x0099 (4 registers) and returned 7F FF 00 00 00 00 00 00. The first register is 0x7FFF: its bits 0 to 14 are 1, which are the rows 0 to 14 (bit 0 is row 0, bit 1 is row 1 and so on); bit 15 is the row 15, which does not exist in a table of 15 rows. So all 15 rows matched a line of the telegram.

Mask of meter 0:  01 03 00 99 00 04 94 26

NOTE:

A row whose value field has no digits reads 0 and is still marked as matched. This meter sent 1-1:16.7.0(-----.---*kW), the row 14 (16.7.0) has its mask bit at 1, and its value is 0 with both functions. The mask tells that the line was found, not that the number is valid. To see what the meter really sends, look at its telegram with the trace of 9.7 "Finding the codes your meter sends".

After the reads, the health block of meter 0 (registers from 0x00E4) showed 3 complete telegrams (MTR_OK), 1 read cycle without a complete telegram (MTR_FAIL) and 13 seconds since the last complete telegram (MTR_AGE_S).

13.4 Several meters

  1. Set the number of meters, for example 2: write 2 to register 0x0085 (the table of 24 rows is loaded first, see 7.6 "Changing settings").
  2. Set the IEC address of each meter, the physical address printed on the meter: for example 67269821 for meter 1 (register 0x00A0) and 12699119 for meter 2 (register 0x00AC), with function 16.
  3. Read meter 2 with the meter index 1 in the first address byte: address 0x0100, quantity 48.
IEC address of meter 1:  01 10 00 A0 00 02 04 04 02 74 BD BE 56      (67269821)
IEC address of meter 2:  01 10 00 AC 00 02 04 00 C1 C5 EF BA A2      (12699119)
Read meter 2:            01 03 01 00 00 30 44 22

NOTE:

With more than one meter on the bus you must enter the physical addresses of the meters; otherwise the gateway can not choose the right meter.

13.5 Reading a 64 row table

A table of 64 rows has 128 registers, more than the 124 registers of one request. Use two windows: address 0 quantity 64 (rows 0 to 31) and address 64 quantity 64 (rows 32 to 63).

Rows 0-31:   01 03 00 00 00 40 44 3A
Rows 32-63:  01 03 00 40 00 40 45 EE

13.6 Reading with ZTerminal

ZTerminal for Windows reads the same registers as Modbus Poll: the configured values, the monitoring values and the register values of the rows of the meter. The user guide of ZTerminal tells how its screens work.

13.7 Video examples

The videos show the montage of an LKM614 in an EMH LZQJ-XC meter, the reading with ZTerminal, the reading of a meter over a KMK114 RS485 optical probe and an LKM144 (also behind a CKL series gateway over TCP/IP), and a P1 meter read with an LKM124.

The videos were recorded with an earlier version of ZTerminal; its screens can differ from the current version.

13.7.1 LKM614 mounting and reading

The LKM614 is made for EMH LZQJ-XC meters and replaces the Variomod XC modules. It is plugged into the meter and used in a fixed or automatic baud rate mode, depending on the meter settings. Its modem side goes to a field device such as a PLC or an RTU that reads the LKM with Modbus RTU; that device can also be connected to a REDZ CKL series Modbus TCP to RTU converter, to read the Modbus values over LAN or WAN.

LKM614 plugged into an EMH LZQJ-XC meter and connected to a field device

Video 1 shows the montage of the LKM614 in the meter and the reading of the meter data with ZTerminal.

Video 2 shows the reading of the meter data with ZTerminal.

13.7.2 LKM144 over a KMK114 optical probe

The LKM is connected to the optical probe of the meter, here a REDZ KMK114 RS485 optical probe, in the automatic baud rate mode. Its modem side goes to the remote data acquisition server by Modbus RTU, or through a device that converts Modbus TCP to Modbus RTU.

The connection is as in 6.2 "Optical probe to the meter, remote server over TCP/IP".

Video 3 shows the reading of a meter over a KMK114 RS485 optical probe and an LKM144 with ZTerminal. A USB to RS485 converter reads the LKM in this video.

Video 4 shows the same reading, this time with the LKM connected to a CKL series gateway to read the data over TCP/IP.

13.7.3 LKM124 with a P1 meter

The LKM124 is connected to the P1 serial line of the meter in a fixed baud rate mode. Its modem side goes to a field device such as a PLC or an RTU that reads the data with Modbus RTU. The pins of the LKM124 are in 4.2 "Meter side connectors".

Video 5 shows the reading of a P1 meter with the LKM124 and the ZTerminal Windows software.

Video 6 shows a physical application with the LKM124.

14. Ordering Information

ModelDescriptionPortsPower input
LKM111Electricity meter protocol to Modbus RTU protocol gateway, modem side RS232 and meter side RS2321 x RS232 modem side, 1 x RS232 meter side7 V - 24 V DC
LKM114Electricity meter protocol to Modbus RTU protocol gateway, modem side RS485 and meter side RS2321 x RS485 modem side, 1 x RS232 meter side7 V - 24 V DC
LKM124Electricity meter protocol to Modbus RTU protocol gateway, modem side RS485 and meter side P1 interface (P1 companion standard)1 x RS485 modem side, 1 x P1 meter side7 V - 24 V DC
LKM141Electricity meter protocol to Modbus RTU protocol gateway, modem side RS232 and meter side RS4851 x RS232 modem side (DB9), 1 x RS485 meter side7 V - 24 V DC
LKM144Electricity meter protocol to Modbus RTU protocol gateway, modem side RS485 and meter side RS4851 x RS485 modem side, 1 x RS485 meter side7 V - 24 V DC
LKM614Electricity meter protocol to Modbus RTU protocol gateway, modem side RS485, direct connection to the meter, powered from the meter interface1 x RS485 modem side, direct connection to the meterFrom the meter

The standalone models LKM111, LKM114, LKM124, LKM141 and LKM144 have a 7 V - 24 V DC power input.

The firmware v3.0 files of the LKM series are on the product page on redz-sc.com, one zip per firmware image:

Zip fileModelsHardware number N of the OTA file
LKM_RTU_LKM111_v3.0_23112026.zipLKM11113
LKM_RTU_LKM114-LKM614_v3.0_23112026.zipLKM114, LKM61411
LKM_RTU_LKM124_v3.0_23112026.zipLKM12414
LKM_RTU_LKM141_v3.0_23112026.zipLKM14112
LKM_RTU_LKM144_v3.0_23112026.zipLKM14410

Every zip holds the LEGACY file for units in the field and the OTA file for the A/B update; see chapter 12 "Firmware Upgrade" for the file to use.

15. Product Selection

ModelPower inputModem sideMeter sideMeter protocolOperation mode selectionFirmware upgrade over serial line
LKM1117-24V DCRS232RS232IEC 62056-21YesYes
LKM1147-24V DCRS485RS232IEC 62056-21YesYes
LKM1247-24V DCRS485P1P1 companion standardYesYes
LKM1417-24V DCRS232RS485IEC 62056-21YesYes
LKM1447-24V DCRS485RS485IEC 62056-21YesYes
LKM614From the meter (plug into the meter, no external power)RS485DirectIEC 62056-21YesYes

The modem and meter sides of the table follow the firmware images of the models.

LKM Series Electricity Meter Protocol to Modbus Protocol Gateways with MQTT (and LoRaWAN)
LKM Series Electricity Meter Protocol to Modbus Protocol Gateways with MQTT (and LoRaWAN)
STG Series WMBus (Wireless MBus) - Modbus Protocol Gateway with MQTT
STG Series WMBus (Wireless MBus) - Modbus Protocol Gateway with MQTT
TLM Series LoRa Modems and LoRaWAN EndNode Modems
TLM Series LoRa Modems and LoRaWAN EndNode Modems
CKL Series Modbus TCP and RTU Gateways and Serial to Ethernet Gateways
CKL Series Modbus TCP and RTU Gateways and Serial to Ethernet Gateways
BSB Series Industrial Unmanaged Ethernet Switch (with Broadband Power Line)
BSB Series Industrial Unmanaged Ethernet Switch (with Broadband Power Line)
HUR Series Modbus TCP and RTU Remote I/O Devices with MQTT (and LoRaWAN)
HUR Series Modbus TCP and RTU Remote I/O Devices with MQTT (and LoRaWAN)
BKV Series Industrial Converters and USB Tools
BKV Series Industrial Converters and USB Tools
MBC Series IEC62056-21 Protocol Auto Baud Changer
MBC Series IEC62056-21 Protocol Auto Baud Changer
KMK Series Optical Probes for Energy Meters
KMK Series Optical Probes for Energy Meters
REDZ Software Solutions
REDZ Software Solutions
LoRaWAN
LoRaWAN
In today's rapidly digitizing world, IoT (Internet of Things) devices and applications are becoming increasingly prevalent. In this context, long-range wireless communication technologies play a significant role. One such technology that stands out is LoRa, which offers an innovative solution for low-power, long-range wireless communication.
MQTT
MQTT
As the Internet of Things (IoT) continues to grow, the demand for efficient, lightweight, and reliable communication protocols becomes essential. One of the most popular protocols meeting these demands is MQTT (Message Queuing Telemetry Transport).
Broadband Power Line (BPL)
Broadband Power Line (BPL)
Broadband Powerline Technology (BPL), also known as Powerline Communication (PLC), represents a revolutionary approach to data transmission, leveraging the existing electrical power infrastructure to deliver broadband internet connectivity.
Wireless MBus (WMBus)
Wireless MBus (WMBus)
In an era defined by connectivity and data-driven decision-making, the need for efficient and reliable metering solutions has never been greater. Enter Wireless M-Bus (Meter-Bus) technology, a versatile and robust platform designed to revolutionize remote meter reading and data communication in utility management systems.
IEC62056-21 (for Electricity Meters)
IEC62056-21 (for Electricity Meters)
IEC 62056-21 is an international standard for communication with electricity meters. Developed by the International Electrotechnical Commission (IEC), this protocol standardizes the way data is exchanged between meters and various devices or systems, ensuring interoperability and efficient data management.
DLMS/COSEM (for Electricity Meters)
DLMS/COSEM (for Electricity Meters)
DLMS/COSEM (Device Language Message Specification / Companion Specification for Energy Metering) is the global standard for smart energy metering. It provides a highly secure, interoperable framework for reading and managing energy data across diverse utility networks.
P1 Companion Standard (for Electricity Meters)
P1 Companion Standard (for Electricity Meters)
Smart energy meters have become essential in monitoring and controlling energy usage. To facilitate better integration, communication, and functionality of these smart meters, standards are crucial. One such standard, particularly relevant in Europe, is the P1 Companion Standard.
Modbus RTU
Modbus RTU
Modbus RTU is a widely recognized and utilized communication protocol in the field of industrial automation. Developed by Modicon (now Schneider Electric) in 1979, it was designed to facilitate communication between various electronic devices, primarily programmable logic controllers (PLCs).
Modbus TCP
Modbus TCP
Modbus TCP, also known as Modbus TCP/IP, is a widely adopted communication protocol in the industrial automation sector. It was developed to enable Modbus communication over Ethernet networks, combining the reliability and simplicity of the Modbus protocol with the versatility of Ethernet.
Remote I/O
Remote I/O
Field inputs and outputs read and controlled from a distance over Modbus RTU, Modbus TCP, MQTT or LoRaWAN.
LoRa RF Communication
LoRa RF Communication
LoRa stands for Long Range and is a proprietary wireless modulation technique developed by Semtech. Essentially, LoRa is the physical layer, or the hardware, that allows long-range communication between devices.
MBus
MBus
M-Bus (Meter-Bus) is a robust European standard specifically designed for the remote reading of utility meters, such as electricity, gas, water, and heat. It utilizes a simple, polarity-independent two-wire system that transmits both data and power over long distances, making it highly cost-effective and immune to industrial noise.
USB
USB
Connect a PC to field devices and meters over one USB cable: RS232, RS485, P1, MBus, Wireless MBus and Ethernet, with the cable-connected converters and USB tools of the REDZ BKV series.