Skip to main content
Home
for DLMS smart meters
Open source solutions for DLMS smart metering

Main navigation

  • Home
  • Products
  • About us
  • Open Source
  • Community
  • Forum
  • Downloads
User account menu
  • Log in

Breadcrumb

  1. Home
  2. Forums
  3. Problem With Reading Data From Landis E550

Problem with reading data from Landis E550

Forum Rules

Before commenting read Forum rules

Don't comment the topic if you have a new question.

You can create a new topic selecting correct category from Gurux Forum and then create a new topic selecting "New Topic" from the top left.

By bm1209 , 4 September, 2020
Forums
Gurux.DLMS

Hello,
This is my first post here, you're doing a great job with this project, I found many useful information here :)

Anyway I'd like to ask you about a problem with reading the data from Landis E550. I've managed to set the communication with the meter but I got stuck when I try to force a read command. Here is what I get:

-> /?!
<- /LGZ5\2ZMG410000b.P07 //(device responds correctly)
-> <ACK>001 //(I've decided to stay with 300bps)
<- P0.(BE00B600) //(device responds correctly)

And now I want to send the reading command - here is what I send:

-> <SOH>R1<STX>1.8.0()<ETX><BCC> //(0x01, 0x52, 0x31, 0x02, 0x31, 0x2e, 0x38, 0x2e, 0x30, 0x28, 0x29, 0x03, 0x10)

And I get <NAK> response:
<- 15 //0x15 = NAK

Below you can find a screen from COM sniffer with reading command and NAK response. So there is definetely a problem with R1 command - I'm not sure if I've defined a data block correctly - on the other hand I've found similar cases on the forum and R1 commands look the same (https://www.gurux.fi/node/4573 ).

Does this problem mean that the meter needs a password? This meter is brand new, I got it directly from the producer and I have it on my desk for tests (it does not belong to energy company). Do these meters have any default password?

I'd be grateful for any hint what can be wrong here.

Image
Profile picture for user Kurumi

Kurumi

5 years 9 months ago

Hi,

Hi,

I propose that you use DLMS and not IEC 62056-21. DLMS is not ASCII, but there are a lot of features that are not in IEC 62056-21, ex. ciphering. IEC 62056-21 is easier, but it's the old way and DLMS is new. Check libraries for different languages from Github.

It might be that password is required or then message is wrong. It's hard to say because I don't know is meter requiring the password.

BR,
Mikko

bm1209

5 years 9 months ago

Hi,

Hi,
Thanks for the answer. I'switched to DLMS mode, I'm able to set the connection, anyway I get strage responses from the meter. Here is what I get:

-> <ACK>202 //swich to DLMS mode
<- <ACK>202 //meter responds correctly
(switch to 8N1 mode)

//Firstly I send SNMR frame
-> 0x7E, 0xA0, 0x0F, 0x03, 0x21, 0x93, 0xD7, 0xE4, 0x81, 0x80, 0x03, 0x06, 0x01, 0x80, 0x6B, 0x66, 0x7E

I get the response:
<- 7E A0 1E 21 03 73 C3 7A 81 80 12 05 01 80 06 01 3E 07 04 00 00 00 01 08 04 00 00 00 01 07 22 7E
According to Gurux Translator the response is correct.

//Then AARE Request:
-> 0x7E, 0xA0, 0x2B, 0x03, 0x21, 0x10, 0xFB, 0xAF, 0xE6, 0xE6, 0x00, 0x60, 0x1D, 0xA1, 0x09, 0x06, 0x07, 0x60, 0x85, 0x74, 0x05, 0x08, 0x01, 0x01, 0xBE, 0x10, 0x04, 0x0E, 0x01, 0x00, 0x00, 0x00, 0x06, 0x5F, 0x1F, 0x04, 0x00, 0x00, 0x10, 0x1C, 0xFF, 0xFF, 0x5B, 0x10, 0x7E

Response:
<- 7E A0 37 21 03 30 6C 7C E6 E7 00 61 28 A1 09 06 07 60 85 74 05 08 01 01 A2 03 02 01 00 A3 05 A1 03 02 01 00 BE 0F 04 0D 08 00 06 5F 1F 04 00 00 00 18 13 88 00 07 6E 27 7E
Again according to the translator the response is fine.

Now the problem begins - I want to read some data from the meter - no matter wich parameter I'm trying to read I always get the same answer:

I try to read the date / time object:
-> 0x7E, 0xA0, 0x19, 0x03, 0x21, 0xFE, 0x0F, 0xD4, 0xE6, 0xE6, 0x00, 0xC0, 0x01, 0xC1, 0x00, 0x08, 0x00, 0x00, 0x01, 0x00, 0x00, 0xFF, 0x02, 0x00, 0x60, 0x1A, 0x7E

Response:
<- 7E A0 0C 21 03 97 3E 21 FE 22 08 93 CF 7E

Get voltage value:
-> 0x7E, 0xA0, 0x19, 0x03, 0x21, 0xFE, 0x0F, 0xD4, 0xE6, 0xE6, 0x00, 0xC0, 0x01, 0xC1, 0x00, 0x03, 0x01, 0x00, 0x20, 0x07, 0x00, 0xFF, 0x02, 0x00, 0x85, 0x83, 0x7E

Response:
<- 7E A0 0C 21 03 97 3E 21 FE 22 08 93 CF 7E

Theoretically the frame shape is OK but the data is invalid (Data="2208" according to the translator)...

What can be wrong here?

Profile picture for user Kurumi

Kurumi

5 years 9 months ago

Hi,

Hi,

Try to read the association view and check what objects are available if you don't use authentication. I believe that you need to change the authentication level to Low to read the clock.

BR,
Mikko

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Tue, 06/09/2026 - 11:16
    gurux.dlms.java 4.0.95
  • Tue, 06/09/2026 - 10:03
    Gurux.DLMS.Python 1.0.199
  • Mon, 06/08/2026 - 13:39
    gurux.dlms.cpp 9.0.2606.0801
  • Mon, 06/01/2026 - 10:15
    gurux.dlms.cpp 9.0.2606.0101
  • Thu, 05/28/2026 - 16:06
    gurux.dlms.java 4.0.94

New forum topics

  • Error reading L&G Meter
  • Pass a TCP Client to GXNet
  • Australian EDMI Mk10D (Essential Energy area)
  • Strange mix of data notificiation vs get response
  • DLMS Connection
More

Who's new

  • Tuanhgg
  • Adel
  • charnon
  • Paddles
  • Miguel Ángel
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin