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:
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.
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.
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.
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.
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
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?
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