Hello. I am new to DLMS. I download the Gurux DLMS Cpp library. I made "gurux.dlms.client.bin" file. But after building binary file, how can I use this file? Or Is there any instruction for communication method? I know the operation principle like SNRM, AARQ, Get, etc. but, I don't know how to use the Cpp library.
1) question 1: In window 10, I can send packets on command line(cmd), but I cannot send packets, and strange pop up windows appear on powershell.
2) question 2: Is it possible to communicate in TCP and RS485 by using the same bin file, "gurux.dlms.client.bin"?
3) The function, "Showhelp" indicates some arguments about their usages. I know there are many method in DLMS, like SNRM, AARQ, set, get, etc. Is it possible to implement every service of DLMS by just using these arguments?
In Windows, you are using gurux.dlms.client.exe and in Linux, you are using gurux.dlms.client.bin.
If you run gurux.dlms.client you can get the list from command line parameters.
Also if you select the device in GXDLMSDirector you can see the correct command line parameters.
It's possible to communicate with TCP/IP and RS-485 with same exe.
The client example reads all the data from the meter. You can modify it for your needs, but client example handles automatically SNRM, AARQ, etc.
Thank you for your reply.
But I have a question about binary file, yet. When I want to send "set" request to modify the time of the meter by using binary file with command containing arguments, how can I send those packets? The function, "Showhelp" doesn't indicate any set request as I know.
Please inform me if I don't have little contents of gurux libraries.
Sincerely
The client example only reads the values. You can modify the example for your needs as you want to. You write the value by updating it and then call Write -method.
Note! You need to change the access level from None to Low or High and you need the password for that.
You can call write, but the meter will return an error if you don't have enough access rights.
You can try to do this with GXDLMSDirector. It's easy to verify. GXDLMSDirector also gives you a better understanding of DLMS.
Hi,
Hi,
In Windows, you are using gurux.dlms.client.exe and in Linux, you are using gurux.dlms.client.bin.
If you run gurux.dlms.client you can get the list from command line parameters.
Also if you select the device in GXDLMSDirector you can see the correct command line parameters.
It's possible to communicate with TCP/IP and RS-485 with same exe.
The client example reads all the data from the meter. You can modify it for your needs, but client example handles automatically SNRM, AARQ, etc.
BR,
Mikko
Thank you for your reply.
Thank you for your reply.
But I have a question about binary file, yet. When I want to send "set" request to modify the time of the meter by using binary file with command containing arguments, how can I send those packets? The function, "Showhelp" doesn't indicate any set request as I know.
Please inform me if I don't have little contents of gurux libraries.
Sincerely
Hi,
Hi,
The client example only reads the values. You can modify the example for your needs as you want to. You write the value by updating it and then call Write -method.
Note! You need to change the access level from None to Low or High and you need the password for that.
BR,
Mikko
BR,
Mikko
Thank you. I'll try to revise
Thank you. I'll try to revise the library. About above note, do I have to change the access level to send write method??
Hi,
Hi,
You can call write, but the meter will return an error if you don't have enough access rights.
You can try to do this with GXDLMSDirector. It's easy to verify. GXDLMSDirector also gives you a better understanding of DLMS.
BR,
Mikko