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. Node
  3. 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 4 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 4 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 4 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

  • Wed, 08/26/2026 - 09:04
    Gurux.DLMS.Python 1.0.203
  • Mon, 08/17/2026 - 11:28
    Gurux.DLMS.Python 1.0.202
  • Mon, 08/17/2026 - 09:47
    gurux.dlms.cpp 9.0.2608.1701
  • Mon, 08/17/2026 - 09:25
    gurux.dlms.c 9.0.2608.1701
  • Mon, 07/27/2026 - 12:37
    gurux.dlms.cpp 9.0.2607.2701

New forum topics

  • Security vulnerability report — request for a private contact (GuruxDLMS.c / ANSI C)
  • Topic: Insufficient Memory Error When Reading Class 7 Profile Generic Objects
  • SN ReadResponse returns all-null values when response spans multiple HDLC frames
  • Gurux.Serial.Android 3.0.6 – CH340 (HL-340) USB-Serial Adapter Not Working,
  • Trying to talk to a L&G E360 meter (Using Python Gurux)
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin