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. Not Able To Read Meter Data While Creating Simulator(xml) File

Not able to read Meter data while creating simulator(xml) file

By Shailav619 , 19 June, 2023
Forums
Gurux.DLMS

Hi,

I am trying to create dlms simulator file for my meter but I am not able to get values from meter.

I am using below command.

C:\Users\Test\Desktop\gurutry\Gurux.DLMS.Net-master\Gurux.DLMS.Net-master\Gurux.DLMS.Simulator.Net\bin\Debug\netcoreapp3.1>Gurux.DLMS.Simulator.Net.exe -S COM4 -o simulator_template.xml -t Verbose
Standard: DLMS
Send SNRM request.7E A0 07 03 21 93 0F 01 7E
TX: 12:18:18 PM 7E A0 07 03 21 93 0F 01 7E
TX: 12:18:23 PM 7E A0 07 03 21 93 0F 01 7E
TX: 12:18:28 PM 7E A0 07 03 21 93 0F 01 7E
Disconnecting from the meter.
Failed to receive reply from the device in given time.

Meter has password as "1111111X" and works with setttings as 9600,8,None,1.

My meter is Linyang and works on DLMS/Cosem protocol.

Please let me know solution for this issue.

Shailav619

3 years 1 month ago

Additional info - My meter…

Additional info - My meter is Linyang and works on DLMS/Cosem ptotocol.

Profile picture for user Kurumi

Kurumi

3 years 1 month ago

Hi, I believe that your…

Hi,

I believe that your client or server address is different from what the meter expects and the meter doesn't reply because of that.

Can you read the meter with the manufacturer's application? Can you get a hex trace to me so I can check the correct settings from the bytes?

BR,
Mikko

Shailav619

3 years ago

Hi Mikko, I am able to…

Hi Mikko,

I am able to communicate with meter now to generate xml file. But I am getting access error as below.

C:\Users\Test\Desktop\gurutry3\Gurux.DLMS.Net-master\Gurux.DLMS.Net-master\Gurux.DLMS.Simulator.Net\bin\Debug\netcoreapp3.1>dotnet Gurux.DLMS.Simulator.Net.dll -h 172.17.1.171 -p 4059 -i WRAPPER -o results.xml -t Verbose
Standard: DLMS
Send AARQ request
TX: 3:09:45 PM 00 01 00 10 00 01 00 1F 60 1D A1 09 06 07 60 85 74 05 08 01 01 BE 10 04 0E 01 00 00 00 06 5F 1F 04 00 62 1E 5D FF FF
RX: 3:09:45 PM 00 01 00 01 00 10 00 2B 61 29 A1 09 06 07 60 85 74 05 08 01 01 A2 03 02 01 00 A3 05 A1 03 02 01 00 BE 10 04 0E 08 00 06 5F 1F 04 00 20 18 1D 04 00 00 07
Parsing AARE reply61 29 A1 09 06 07 60 85 74 05 08 01 01 A2 03 02 01 00 A3 05 A1 03 02 01 00 BE 10 04 0E 08 00 06 5F 1F 04 00 20 18 1D 04 00 00 07
Parsing AARE reply succeeded.
TX: 3:09:45 PM 00 01 00 10 00 01 00 0D C0 01 C1 00 0F 00 00 28 00 00 FF 02 00
RX: 3:09:45 PM 00 01 00 01 00 10 00 05 C4 01 C1 01 0B
Disconnecting from the meter.
TX: 3:09:45 PM 00 01 00 10 00 01 00 05 62 03 80 01 00
RX: 3:09:45 PM 00 01 00 01 00 10 00 05 63 03 80 01 00
Access Error : Device reports a unavailable object.

Can you please help me to resolve this?

Regards,
Shailav

  • 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