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. Profile Generic - Billing and Load Survey Data Reading

Profile Generic - Billing and Load Survey data reading

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 Sathappa , 8 January, 2017
Forums
Gurux.DLMS

Hi GuruX Team,

I am using gurux .Net library to read dlms meter data, Meter Used - Sumeru Verde (Indian Standard - Single Phase)

Using GuruX GXDLMS director, successfully able to do the following items,
1. Read Instantaneous Parameters (Object Type : Data, Clock, Register & Extended Register)
2. Read Billing Data [1.0.98.1.0.255] (Object Type : Profile Generic)
3. Read Daily Load Survey Data [1.0.99.1.0.255] (Object Type : Profile Generic)

While using GuruX - .Net Library.,
[Successfully able to read Instantaneous Parameters]
1. Read Instantaneous Parameters (Object Type : Data, Clock, Register & Extended Register) - Successful

[Not able to read Billing and Load Profile]
2. Read Billing Data [1.0.98.1.0.255] (Object Type : Profile Generic)
entriesInUse/entries = 3/13

Case 1:
tried: object[] rows = comm.ReadRowsByEntry(it as GXDLMSProfileGeneric, 1, 1);
result: returned single billing entry
Is the billing entry is first entry? [1/13]

Case 2:
If suppose i need to read last entry from Billing profile (History),
tried: object[] rows = comm.ReadRowsByEntry(it as GXDLMSProfileGeneric, 3, 1);
object[] rows = comm.ReadRowsByEntry(it as GXDLMSProfileGeneric, 1, 3);
result : null
Which Is this a proper way to retrieve the last logged entry from Billing profile?

Case 3:
If suppose i need to read last two entry from Billing profile (History)
tried: object[] rows = comm.ReadRowsByEntry(it as GXDLMSProfileGeneric, 1, 2);
result : null
Which Is this a proper way to retrieve the last 2 logged entry from Billing profile?

Case 4:
Need to retrieve the current billing profile data (Latest).,
tried: DateTime startDate = new DateTime(2017, 1, 8);
DateTime endDate = new DateTime(2017, 1, 8);
object[] rows = comm.ReadRowsByRange(it as GXDLMSProfileGeneric, startDate, endDate);
result: Access Error : Device reports Read-Write denied.
Is this a proper way to retrieve? [Used same authentication as GXDLMS Director]

3. Read Daily Load Survey Data [1.0.99.1.0.255] (Object Type : Profile Generic)
entriesInUse/entries = 940/1680

Case 1:
Need to read last day load profile data by specifying date range
tried: DateTime startDate = new DateTime(2017, 1, 7);
DateTime endDate = new DateTime(2017, 1, 8);
object[] rows = comm.ReadRowsByRange(it as GXDLMSProfileGeneric, startDate, endDate);
result: Access Error : Device reports Read-Write denied.
Is this a proper way to retrieve? [Used same authentication as GXDLMS Director]

Please clarify the above mentioned cases.
Also mailed the GXDMLSDirector Log file for reference.

Your valued reply is appreciated.

Regards,
Sathappa

Profile picture for user Kurumi

Kurumi

9 years 5 months ago

Profile Generic - Billing and Load Survey data reading

Hi,

When you read data with ReadRowsByEntry you give index and count as parameters. With parameters 1 and 1 you get first entry.

Proper way to get last entry is hard to say. It depends from the meter. In general you should get last used entry if you set index = [last entry] and count = 1. Note! Some meters start index from Zero, not from One as standard describes.

Read-Write denied error is given if you do not have access rights for the attribute or object.
Some meters return this error also if it's not implemented.

BR,

Mikko

Sathappa

9 years 5 months ago

In reply to Profile Generic - Billing and Load Survey data reading by Kurumi

Profile Generic - Billing and Load Survey data reading

But i am able to read though GXDLMS Director with same credentials (Authentication - Low). This error is not appeared. Using library atleast i should be able to read the load profile and billing by specifying date range. This also does not return any value but results are returned which i checked using director :(

Profile picture for user Kurumi

Kurumi

9 years 5 months ago

Profile Generic - Billing and Load Survey data reading

Hi,

GXDLMSDirector is using Gurux.DLMS.Net so I believe you are using different parameters.

Make sure that you have read ALL data. Data might be spitted to blocks or frames. For this reason reply might be null.

BR,

Mikko

Sathappa

9 years 5 months ago

Profile Generic - Billing and Load Survey data reading

Hi,
I used the sample application - Gurux.DLMS.Client.Example.Net, (i didn't do any modification)
i tried with the block (//Read last day from Profile Generic.) using method call ReadRowsByRange,
I hope this is same as GXDLMS director method call. i passed the same parameters as director. director results for both billing and load profile but in example its not.

Sathappa

9 years 5 months ago

Profile Generic - Billing and Load Survey data reading

An update, I checked with the meter vendor - all attributes and object is implemented (IS 15959 Part-1) and they confirmed all profile attributes can be read with authentication - low. Please help me where i am going wrong while reading data using gurux?

Profile picture for user Kurumi

Kurumi

9 years 5 months ago

Profile Generic - Billing and Load Survey data reading

Hi,

Can you resend this log by email. I was checking my emails and I can't find it.

BR,

Mikko

Sathappa

9 years 5 months ago

Profile Generic - Billing and Load Survey data reading

Hi,
I sent the log file, please check your mail now.

Requested - (1.0.98.1.0.255 - Billing profile)
1. Read All
2. Read From (Last 1 day) or Read Last (1 day)

both scenario returns same set of result (3 entries)
Is it a problem with meter?

Sathappa

9 years 5 months ago

Profile Generic - Billing and Load Survey data reading

Hi,

I tested the same scenario with another meter - El Swedy (Single Phase) for load profile data and billing data,
Load Profile Total registry entry (period 86400) - 35
When i tried with Read All - the returned value is 35 entry,
also tried with Read from (1 day) - it returned 35 entry again (Expectation - It should return only 1 entry)
As i understood all the profile generic registry should have selective access (ref:IS 15959 - ANNEX L)
I need to make sure there is no issue while reading using gurux, so i can report the issue to meter vendor.

Profile picture for user Kurumi

Kurumi

9 years 4 months ago

Profile Generic - Billing and Load Survey data reading

Hi,

We released new version. Your issue should be fixed. Please, let me know if you have problems.

BR,

Mikko

Sathappa

9 years 4 months ago

Profile Generic - Billing and Load Survey data reading

Hi Mikko,

In the example provided (Gurux.DLMS.Net/Gurux.DLMS.Client.Example.Net/)there is no sample for 'read all'., will you please update the c# solution sample for 'read all' method.

As i'm not able to read by range using latest version (8.0.1701.2301) for agnitio and elster meter.
Its urgent as atleast i need to read all data if not selectively.

Thanks

Profile picture for user Kurumi

Kurumi

9 years 3 months ago

Profile generic

Hi,

We have updated new version. Try with that. All meters are not supporting ReadByRabge or ReadByEntry. We added check for that. You can read all rows using normal Read -method.
Something like this:
cl.Read(pg, 2);

BR,

Mikko

Sathappa

9 years 3 months ago

Profile Generic - Billing and Load Survey data reading

Hi Mikko,

Where i can get the updated version?

Profile picture for user Kurumi

Kurumi

9 years 3 months ago

Profile generic reading

Hello,

New version is in nuget.org and Github.

BR,

Mikko

  • 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