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

2 years 11 months ago

Additional info - My meter…

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

Profile picture for user Kurumi

Kurumi

2 years 11 months 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

2 years 11 months 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

  • 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
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin