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. Problems Using New Version of Gurux.dlms.dll In .NET Core

Problems using new version of gurux.dlms.dll in .NET Core

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 Martín Ochoa , 19 April, 2021
Forums
General discussion

Hi,

I made a little app for reading Actaris ACE 6000 meters, using old .NET Framework 4.5.2, and Gurux.DLMS version 8.5.0.2.
It works perfectly, I can read Voltages, Currents, and End of Billing info (inside a GXDLMSProfileGeneric, OBIS 0.1.98.1.0.255 for these meters).

Now I’m migrating to .NET Core 5.0, and using the latest version of Gurux.DLMS. I can read all Voltages, Currents, Date, Serial Number… But when trying to read End of Billing info, I get an error (“Access Error : Device reports scope of access violated.”)

What I see different is this:

When I call (with "it" = 0.1.98.1.0.255 , "start" = 19/04/21 00:00:00, "end" = 31/12/99 23:59:59):

GXReplyData reply = new GXReplyData();
ReadDataBlock(Client.ReadRowsByRange(it, start, end), reply);
return (object[])Client.UpdateValue(it, 2, reply.Value);

The old, working version send this to the meter:
7E A0 1A 02 23 03 54 45 64 E6 E6 00 C0 01 C1 00 07 00 01 62 01 00 FF 02 00 15 93 7E

But the new version, send this:
7E A0 4D 02 23 03 32 CB 27 E6 E6 00 C0 01 C1 00 07 00 01 62 01 00 FF 02 01 01 02 04 02 04 12 00 08 09 06 00 00 01 00 00 FF 0F 02 12 00 00 09 0C 07 E5 04 13 FF 00 00 00 FF 00 B4 00 09 0C 07 E6 04 13 FF 00 00 00 00 00 00 00 01 00 71 40 7E

Could you tell me what can I do to fix this?

Thanks!!!!

Martín Ochoa

5 years 1 month ago

Problem solved!

Problem solved!

As Mikko proposed, the problem whas this meter (and also Itron SL7000) doesn't support ReadRowsByRange.

This is the working code for reading EOB info in Itron ACE6000 y SL7000 meters:

var reply = new GXReplyData();
ReadDataBlock(Client.Read(it, 2), reply);
return (object[])Client.UpdateValue(it, 2, reply.Value);

  • 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