Skip to main content
Home
for DLMS smart meters
Open source solutions for DLMS smart metering

Main navigation

  • Home
  • Products
  • About us
  • Open Source
  • Community
  • Forum
  • Downloads
User account menu
  • Log in

Breadcrumb

  1. Home
  2. Forums
  3. How To Use Bin File

How to use bin file

Forum Rules

Before commenting read Forum rules

Don't comment the topic if you have a new question.

You can create a new topic selecting correct category from Gurux Forum and then create a new topic selecting "New Topic" from the top left.

By gigoc1 , 9 April, 2022
Forums
Gurux.DLMS

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?

Profile picture for user Kurumi

Kurumi

4 years 2 months ago

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

gigoc1

4 years 2 months ago

In reply to Hi, by Kurumi

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

Profile picture for user Kurumi

Kurumi

4 years 2 months ago

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

gigoc1

4 years 1 month ago

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

Profile picture for user Kurumi

Kurumi

4 years 1 month ago

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

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Tue, 06/09/2026 - 11:16
    gurux.dlms.java 4.0.95
  • Tue, 06/09/2026 - 10:03
    Gurux.DLMS.Python 1.0.199
  • Mon, 06/08/2026 - 13:39
    gurux.dlms.cpp 9.0.2606.0801
  • Mon, 06/01/2026 - 10:15
    gurux.dlms.cpp 9.0.2606.0101
  • Thu, 05/28/2026 - 16:06
    gurux.dlms.java 4.0.94

New forum topics

  • Error reading L&G Meter
  • Pass a TCP Client to GXNet
  • Australian EDMI Mk10D (Essential Energy area)
  • Strange mix of data notificiation vs get response
  • DLMS Connection
More

Who's new

  • Tuanhgg
  • Adel
  • charnon
  • Paddles
  • Miguel Ángel
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin