DLMS is not an easy task to read. Gurux client example makes connections and reads the association view. Then it reads all the objects from the meter.
The client app depends on your needs. You can modify the client app so it fills your needs.
I recommend that you download GXDLMSDirector and read your meter with it first so you can get an idea from DLMS meters.
hello,
we am also trying on this DLMS client program but we are getting com port error.
we are NOT communication with smart energy meter on DLMS Protocol in arduino IDE.
so we need small help from you how to communication with mcu to energy meter.
please checked attached file.
We are already download GXDLMSDirector and read all data from DLMS meters. But when we
connect arduino MCU with same connection and Gurux client.c example. Then it not reads
all the objects from the DLMS meter.(we are set all parameter as per requirement).
Now we are getting ( com_initialization_error 252 ) so we need complete procedure for reading DLMS meter by using guruxclientexample c program.
Please checked attached file.
Please, add plain text. Reading bytes from the image is hard.
In your last image reply data is invalid. Check your serial port settings.
Try to read the meter with GXDLMSDirector first and then use the same serial port settings.
Hi,
We are already done GXDLMSDirector and read all data from DLMS meters. But when we
connect arduino MCU with same connection and Gurux client.ino example. Then we are not read
all the objects from the DLMS meter.(we are set all parameter as per GXDLMSDirector).
Can you first connect the Arduino to the PC and check that you are receiving bytes. You can use any terminal application that can show hex data on the PC side.
I believe that this is serial port issue because you are receiving invalid data in the latest picture.
Hi,
Hi,
DLMS is not an easy task to read. Gurux client example makes connections and reads the association view. Then it reads all the objects from the meter.
The client app depends on your needs. You can modify the client app so it fills your needs.
I recommend that you download GXDLMSDirector and read your meter with it first so you can get an idea from DLMS meters.
BR,
Mikko
thanks for your response sir,
thanks for your response sir,
can i get any flow chart of procedure
Hi,
Hi,
I hope this will help you.
http://www.gurux.fi/Gurux.DLMS.Client
BR,
Mikko
sir
sir
how Read Frame counter(invocation Counter) by its obiscode.
Hi,
Hi,
All client examples do it automatically if you give -v parameter. Example:
-v 0.0.43.1.1.255
Note! There might be several IVs. Select the right logical name.
BR,
Mikko
i got invocation counter and
i got invocation counter and try to read data(ex: battary voltage ) using low authentication i got error ( ret value 276)
plz help me .
thank you
Hi,
Hi,
What is the last frame that meter replies?
BR,
Mikko
hello,
hello,
we am also trying on this DLMS client program but we are getting com port error.
we are NOT communication with smart energy meter on DLMS Protocol in arduino IDE.
so we need small help from you how to communication with mcu to energy meter.
please checked attached file.
thanks & regards,
sudhir khairnar
HELLO SIR,
HELLO SIR,
SUB-client.c example
thanks for your response sir,
We are already download GXDLMSDirector and read all data from DLMS meters. But when we
connect arduino MCU with same connection and Gurux client.c example. Then it not reads
all the objects from the DLMS meter.(we are set all parameter as per requirement).
Now we are getting ( com_initialization_error 252 ) so we need complete procedure for reading DLMS meter by using guruxclientexample c program.
Please checked attached file.
thanks & regards,
Sudhir khairnar
Hi,
Hi,
Please, add plain text. Reading bytes from the image is hard.
In your last image reply data is invalid. Check your serial port settings.
Try to read the meter with GXDLMSDirector first and then use the same serial port settings.
BR,
Mikko
Hi,
Hi,
We are already done GXDLMSDirector and read all data from DLMS meters. But when we
connect arduino MCU with same connection and Gurux client.ino example. Then we are not read
all the objects from the DLMS meter.(we are set all parameter as per GXDLMSDirector).
---
//Client.init(true, 16, 1, DLMS_AUTHENTICATION_NONE, NULL, DLMS_INTERFACE_TYPE_HDLC);
Client.init(true, 32, 1, DLMS_AUTHENTICATION_LOW, "XXX", DLMS_INTERFACE_TYPE_HDLC);
---
Now we are getting ( com_initialization_error 252 ) so we need some help.
thanks & regards,
Sudhir khairnar
Hi,
Hi,
Can you first connect the Arduino to the PC and check that you are receiving bytes. You can use any terminal application that can show hex data on the PC side.
I believe that this is serial port issue because you are receiving invalid data in the latest picture.
BR,
Mikko
Hello,
Hello,
Thanks for supporting. Now i got all data from 1 phase and 3 phase meter using GUI.