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. Problem Reading a Single Parameter After Successful AARE

Problem Reading a Single parameter after successful AARE

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 Shehryar , 17 April, 2017
Forums
Gurux.DLMS

Hi Team Gurux,

I'm trying to read "Total Active Energy" by using this code:

GXDLMSObject obj = new GXDLMSObject();
obj.LogicalName = "1.0.1.8.0.255";
Object x = Read(obj, 2);

What my code is sending:
00 01 00 11 00 01 00 0D C0 01 C1 00 00 01 00 01 08 00 FF 02 00

What I need to send:
00 01 00 11 00 01 00 0D C0 01 81 00 03 01 00 01 08 00 FF 02 00

How can I set Priority and classID.
Why I'm not able to read "Total Active Energy" ?

Thanks,
Shehryar khan,

keenangeorge

9 years 7 months ago

Hi Shehryan

Hi Shehryan

I am no expert however can you try the below

GXDLMSRegister obj = new GXDLMSRegister("1.0.1.8.0.255");
Read(obj, 2);

Regards
Keenan George

Shehryar

9 years 7 months ago

Thanks,

problem solved.
Now I'm getting right response in bytes, how can I convert these bytes data into values ?

keenangeorge

9 years 7 months ago

Please send me your output.

Please send me your output.

BR
Keenan

Shehryar

9 years 7 months ago

Value of 1.0.1.8.0.255

00 01 00 01 00 11 00 09 C4 01 81 00 06 00 90 10 4C

keenangeorge

9 years 7 months ago

Hi

Hi

if c# please try this to write to screen.

Object Total_Active_Import = Read(obj, 2);
Console.WriteLine("ImportActiveAggregate: " + Total_Active_Import);

BR

Profile picture for user Kurumi

Kurumi

9 years 7 months ago

Reading Register

Hi,

Keenangeorge is right. You are reading register and do like he suggest.
You can also get read value like this:

GXDLMSRegister obj = new GXDLMSRegister("1.0.1.8.0.255");
Read(obj, 2);
Console.WriteLine("ImportActiveAggregate: " + obj.Value);

Value is updated because you are reading attribute 2. That is register value.
If you read attribute 3 (scaler and unit) first value is multiply by scaler.

BR,

Mikko

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Thu, 11/19/2026 - 10:57
    Gurux.DLMS.Python 1.0.204
  • Thu, 11/19/2026 - 10:12
    gurux.dlms.c 9.0.2611.1901
  • 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

New forum topics

  • Landis E650 meter reading over DLMS
  • class_id = 40, version = 2, pushsetup Unparsed data frame
  • GXObisValueItem entries without MaskSize appear to be interpreted as bit flags
  • CheckedListBox incorrectly selects GXObisValueItem Value=0 for non-zero values
  • UIValueType=TextBox is rendered as CheckedListBox when Values are defined
More

Who's new

  • Sayang
  • q80435762@gmail.com
  • ONCAK
  • Berhasil
  • ratirvivege1979
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin