This is not an issue. I have removed it. You can add it to the forum.
Good morning sir
I have complete the steps what you suggest as per github program but In this
program where I can set the parameter of meter reading ?like that dlms
setting ,port ,client server ,passward ,etc...
can you tell that which more parameter configuration required in this
program?
It initializes the meter settings to the default values. This is the only place what you need to change if you are not using ciphered connections. This config works for most of the meters. metersetting is global settings that you must use to save packet counter, etc.
check that readout. It makes connection to the meter and reads all the data from the meter. It might be good if you run this on your PC first to see how DLMS meters works.
See also; https://www.gurux.fi/Gurux.DLMS
BR,
when i was try to read meter through gurux software then all parameter read in software but when I was try to read meter through arduino then why not read ?
Those settings depend from the meter. Make sure that your settings are the same as GXDLMSDirector.
If one of the values is wrong, meter doesn't reply anything.
Hi,
Hi,
Client example implements serial port client app. open client.imo and find setup().
All settings are set there.
BR,
Mikko
I have complete the steps.
I have complete the steps.
but after that i confuse where I configure arduino port number which is used for meter parameter reading ?
void setup() {
bb_init(&frameData);
//Set frame size.
bb_capacity(&frameData, 128);
cl_init(&meterSettings, 1, 16, 1, DLMS_AUTHENTICATION_NONE, NULL, DLMS_INTERFACE_TYPE_HDLC);
cosem_init(&clock1.base, DLMS_OBJECT_TYPE_CLOCK, "0.0.1.0.0.255");
// start serial port at 9600 bps:
Serial.begin(9600);
while (!Serial) {
; // wait for serial port to connect. Needed for native USB port only
}
}
Hi,
Hi,
We have only one serial port in our boards. You need to ask this info from Arduino.
BR,
Mikko
hello mikko
hello mikko
can you tell me that which parameter configure in below line ?
program:
cl_init(&meterSettings, 1, 16, 1, DLMS_AUTHENTICATION_NONE, NULL, DLMS_INTERFACE_TYPE_HDLC);
in above program line what is configuration require instead of &metersetting ?
Hi,
Hi,
It initializes the meter settings to the default values. This is the only place what you need to change if you are not using ciphered connections. This config works for most of the meters. metersetting is global settings that you must use to save packet counter, etc.
BR,
Mikko
if arduino read parameter
if arduino read parameter reading from meter then where i can see live monitor without leddisplay ?
are you have any simulator where i can see all meter parameter ?
how to know that communication established between arduino and meter ?
can you tell me that which arduino board used for DLMS ?
Hi,
Hi,
Usually we are sending read data using REST. Parameters depend from the meter.
You can download example meter from Github.
http://www.github.com/gurux
check that readout. It makes connection to the meter and reads all the data from the meter. It might be good if you run this on your PC first to see how DLMS meters works.
See also; https://www.gurux.fi/Gurux.DLMS
BR,
Mikko
my smart meter support rs232
my smart meter support rs232 ,
is arduino directly communicate through rs232 ?
or another mechanism required ?
Hi,
Hi,
You can connect directly with RS-232.
BR,
Mikko
is it possible that all meter
is it possible that all meter reading parameter display on arduino serial monitor ?
Hi,
Hi,
I believe that this is DLMS data that the client sends. It's binary data. The client tries to establish a connection.
BR,
Mikko
why this type of symbol show
why this type of symbol show in serial monitor ?
It's read
but does not show real values and real name.....
please give me real solution...
Hi,
Hi,
A client tries to make a connection and sends binary data. DLMS is not using ASCII.
BR,
Mikko
for getting data from meter
for getting data from meter for that snrm request is compulsory or not ??
IS GURUXDLMS.C GITHUB Program IS for dlms or IEC 62056-21 ?
Hi,
Hi,
Gurux.DLMS.c is for DLMS. IEC 62056-21 is a totally different protocol.
That is ASCII based.
BR,
Mikko
where i can see dlms arduino
where i can see dlms arduino program log file ???
Hi,
Hi,
Arduino doesn't write a log. Try run this on your PC first. I hope it helps.
BR,
Mikko
when i was try to read meter
when i was try to read meter through gurux software then all parameter read in software but when I was try to read meter through arduino then why not read ?
Hi,
Hi,
You need to check that your parameters are the same. Are you using the same cable?
BR,
Mikko
NO, I CHANGED AFTER READ
NO, I CHANGED AFTER READ THROUGH SOFTWARE...
I USED ANOTHER CABLE FOR ARDUINO BOARD.
WHY ??
Hi,
Hi,
Cables are causing a lot of problems. Can you use the same cable both and check that it works with both.
BR,
Mikko
I also changed the cable and
I also changed the cable and try to read data from meter but did not communicate.,,
then what exact problem are there ...?\
I try another program its read but dlms arduino program does not read from meter..
please give me a such solution about this program...
Hi,
Hi,
Are your settings the same? If one of the settings is wrong, meter doesn't reply.
BR,
Mikko
I only changes in the below
I only changes in the below highlighted area ,
if any settings changes required in program in any where then tell me....
Hi,
Hi,
Those settings depend from the meter. Make sure that your settings are the same as GXDLMSDirector.
If one of the values is wrong, meter doesn't reply anything.
BR,
Mikko
is it posible any other
is it posible any other device use instead of arduino board for meter reading ???
Yes, you can use any HW you
Yes, you can use any HW you want to. You need only modify how you send and receive bytes from the meter. The stack will take care of everything else.
BR,
Mikko
which one is best and easy as
which one is best and easy as per your experience ?
Hi,
Hi,
It depends on what you want to read and what communication channel you want to use.
There is no simple answer for this.
BR,
Mikko