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. Simulate a DLMS Energy Meter Via Serial Port of PC

Simulate a DLMS Energy meter via Serial port of PC

By Amal mp , 3 May, 2024
Forums
Gurux.Net

I need to simulate a DLMS Meter via serial port of my PC.

I have successfully compiled the Gurux.DLMS.Server.Example.Net.

Now, how can I simulate a Meter using this application ?
How to set Client address , password etc ?
How to set Values of register objects ?

Your guidance is much appreciated
thank you

Profile picture for user Kurumi

Kurumi

2 years 2 months ago

Hi, Each association has its…

Hi,
Each association has its own client address. You can see the possible client addresses when you start the application. Passwords are also set for each association.

https://github.com/Gurux/Gurux.DLMS.Net/blob/a3598b12a759db78a4f00476bd…

You can update values dynamically in PreRead or postRead.

https://gurux.fi/Gurux.DLMS.Server

BR,
Mikko

Amal mp

2 years 2 months ago

fgdjrjstr

So I have to change it in the code before compiliing ?
I am a noob in dot net application and such and not much experienced in using command line tools .

All I can see when I run the server is this

Image
Profile picture for user Kurumi

Kurumi

2 years 2 months ago

Hi, Yes, the available…

Hi,

Yes, the available association views must be added before compiling. You need to connect COM4 to some other serial port with the serial port cable and then connect to that serial port with a DLMS client e.g. GXDLMSDirector.

BR,
Mikko

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Mon, 07/27/2026 - 12:37
    gurux.dlms.cpp 9.0.2607.2701
  • Thu, 07/23/2026 - 16:19
    gurux.dlms.java 4.0.96
  • Thu, 07/09/2026 - 14:34
    Gurux.DLMS.Python 1.0.201
  • Fri, 06/26/2026 - 16:32
    Gurux.Service 3.0.2606.2601
  • Wed, 06/24/2026 - 08:36
    Gurux.DLMS.Python 1.0.200

New forum topics

  • Service not known error on gprs communication
  • Help Needed: Interfacing Saral 100 Energy Meter with Microcontroller via RS232
  • Connecting Meter to Agent via serial
  • Reading block profile with Compact array
  • DLMS server - serving multiple similar datasets gathered from multiple meters across distinct logical addresses
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin