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. 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 6 months 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, 10/13/2026 - 12:00
    gurux.dlms.java 4.0.97
  • Tue, 09/22/2026 - 14:02
    Gurux.DLMS.Net 9.0.2609.2201
  • Mon, 09/21/2026 - 10:18
    Gurux.DLMS.Net 9.0.2609.2101
  • Wed, 08/26/2026 - 09:04
    Gurux.DLMS.Python 1.0.203
  • Mon, 08/17/2026 - 11:28
    Gurux.DLMS.Python 1.0.202

New forum topics

  • Need RJ45 pin configuration for Saral 300 and Saral 305 Secure meters
  • Query Regarding Class 63 Status Mapping Support in Gurux DLMS Python
  • Inhemeter
  • DLMS Server - Profile Generic - can't add too many items to profile generic capture object - how to set maximum profile entries
  • HDLC Frames sequencing
More

Who's new

  • Asier Sierra
  • BlessyAnn
  • sravya.thota@m…
  • Diwakar
  • williamorussell
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin