I have a need to read DLMS data from a meter from Genus (picture attached). It also has a RJ11 to RS232 (male to male) cable accompanying it with which the AMR connects and can read the DLMS data. Unfortunately I do not have access to the AMR.
Though I am good with RS232 communication, I do not have much idea of DLMS protocol and thus am unable to read the meter. I have tried sending the standard "/?!" to the meter directly using terminal but of no use. I even tried combinations to baud rates (300, 9600), stop bits, partiy etc. but to no avail. Need your help on this
1. Is there any command like sending "/?!" (or anything else) which can give me some acknowledgement that my communication parameters are ok?
2. As Ujju has been able to communicate with a Genus meter (topic https://www.gurux.fi/node/6915) with parameters "9600, E, 8, 1", , is that going to be same for the meter I have? (I mean, it may not happen that the manufacturer gives different parameters for different models of its meters).
3. Ujju has also mentioned the password as "1A2B3C4D", is that going to be same for the meter I have?
4. The latest version of the GxDLMSDirector tool is "Gurux DLMS Director for .Net 4.6". However it does not even have an option for DLMS can you correlate with Ujjus case and tell me the most probable parameters that should work for me?
Communication parameters might vary between manufacturer models. Some energy utilizes don't change the default password, but most of them do. If it's changed you need to ask for the password from the owner of the meter.
I believe that your Genus meter is not supporting IEC 62056-21. Just select HDLC as the interface and try to connect. You can try to use HDLC Address resolver to find the correct serial port settings. You can find tutorial video from here: https://youtu.be/BeaWKmyMwuE
Hi,
I tried with your advice but still could not connect to the meter.
Thereafter, I borrowed a hardware reader from a freind.
With that reader I could draw the following conclusion.
The serial communication is perfect and is standard 9600, n 8 1.
However, the first request from the reader and GxDLMSDirector is different
From Reader
7E C2 A0 20 21 7D 6F C3 AF 7E
From GxDLMSDirector (even the length is short)
7E A0 07 03 01 53 30 E4 7E
I believe this is due to settings (my settings screen attached).
Can you help identifying what is it that I am doing wrong?
You have changed the client address to zero. Change it to 0x20 and try again.
The data that you have recorded from the reader looks a little bit odd.
BR,
Mikko
Still need your help but before that some progress and update
-------------------
Update:
-------------------
My bad! You were right the data intercepted was incorrect.
The culprit was my RS232 to TTL interface
(for anyone else trying to connect with Arduino like systems,
please keep in mind the reverse signal on RS232 vs TTL.)
Tx: 7E, A0, 07, 03, 21, 53, 03, C7, 7E
Rx: 7E, A0, 07, 21, 03, 73, 01, 40, 7E
-------------------
Help Needed:
-------------------
1. What are the settings to get the same data through GxDLMSDirector?
(Particularly the fields, Interface, Authentication, Password, Address Type,
Client Address, Physical Server, Logical Server)
2. What Gx library would be best to test it on .Net and Arduino platform?
Can someone address this
Can someone address this thread please?
Urgent help is needed.
Hi,
Hi,
Communication parameters might vary between manufacturer models. Some energy utilizes don't change the default password, but most of them do. If it's changed you need to ask for the password from the owner of the meter.
I believe that your Genus meter is not supporting IEC 62056-21. Just select HDLC as the interface and try to connect. You can try to use HDLC Address resolver to find the correct serial port settings. You can find tutorial video from here:
https://youtu.be/BeaWKmyMwuE
BR,
Mikko
Hi,
Hi,
I tried with your advice but still could not connect to the meter.
Thereafter, I borrowed a hardware reader from a freind.
With that reader I could draw the following conclusion.
The serial communication is perfect and is standard 9600, n 8 1.
However, the first request from the reader and GxDLMSDirector is different
From Reader
7E C2 A0 20 21 7D 6F C3 AF 7E
From GxDLMSDirector (even the length is short)
7E A0 07 03 01 53 30 E4 7E
I believe this is due to settings (my settings screen attached).
Can you help identifying what is it that I am doing wrong?
Hi,
Hi,
You have changed the client address to zero. Change it to 0x20 and try again.
The data that you have recorded from the reader looks a little bit odd.
BR,
Mikko
Still need your help but
Still need your help but before that some progress and update
-------------------
Update:
-------------------
My bad! You were right the data intercepted was incorrect.
The culprit was my RS232 to TTL interface
(for anyone else trying to connect with Arduino like systems,
please keep in mind the reverse signal on RS232 vs TTL.)
-------------------
Correct Data Sent and Received :
-------------------
Tx: 7E, A0, 20, 03, 21, 93, 7D, D9, 81, 80, 14, 05, 02, 02, 00, 06, 02,
02, 00, 07, 04, 00, 00, 00, 01, 08, 04, 00, 00, 00, 01, 6F, EF, 7E
Rx: 7E, A0, 1E, 21, 03, 73, C3, 7A, 81, 80, 12, 05, 01, 70, 06, 01, 70,
07, 04, 00, 00, 00, 01, 08, 04, 00, 00, 00, 01, 4E, 29, 7E
Tx: 7E, A0, 2B, 03, 21, 10, FB, AF, E6, E6, 00, 60, 1D, A1, 09, 06, 07,
60, 85, 74, 05, 08, 01, 01, BE, 10, 04, 0E, 01, 00, 00, 00, 06, 5F,
1F, 04, 00, 00, 18, 1D, FF, FF, 5F, AF, 7E
Rx: 7E, A0, 37, 21, 03, 30, 6C, 7C, E6, E7, 00, 61, 29, A1, 09, 06, 07,
60, 85, 74, 05, 08, 01, 01, A2, 03, 02, 01, 00, A3, 05, A1, 03, 02,
01, 00, BE, 10, 04, 0E, 08, 00, 06, 5F, 1F, 04, 00, 00, 10, 10, 00,
80, 00, 07, 36, 9D, 7E
Tx: 7E, A0, 07, 03, 21, 53, 03, C7, 7E
Rx: 7E, A0, 07, 21, 03, 73, 01, 40, 7E
-------------------
Help Needed:
-------------------
1. What are the settings to get the same data through GxDLMSDirector?
(Particularly the fields, Interface, Authentication, Password, Address Type,
Client Address, Physical Server, Logical Server)
2. What Gx library would be best to test it on .Net and Arduino platform?
Hi,
Hi,
1. Select the Indian standard to the manufacturer. The interface is HDLC.
2. It depends on you. You can úse what programming language you want to. I believe that C# is faster to implement than ANSI C.
BR,
Mikko