Profile Generic - Billing and Load Survey data reading

14 posts / 0 new
Last post
Sathappa
Profile Generic - Billing and Load Survey data reading

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

kurumi
kurumi's picture
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

________________________________________
Mikko Kurunsaari
Gurux Ltd
Hermiankatu 6-8 H 33720 TAMPERE, FINLAND
Phone: +358 3 265 1244
Home page: http://www.gurux.org

Sathappa
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 :(

kurumi
kurumi's picture
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

________________________________________
Mikko Kurunsaari
Gurux Ltd
Hermiankatu 6-8 H 33720 TAMPERE, FINLAND
Phone: +358 3 265 1244
Home page: http://www.gurux.org

Sathappa
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
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?

kurumi
kurumi's picture
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

________________________________________
Mikko Kurunsaari
Gurux Ltd
Hermiankatu 6-8 H 33720 TAMPERE, FINLAND
Phone: +358 3 265 1244
Home page: http://www.gurux.org

Sathappa
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
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.

kurumi
kurumi's picture
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

________________________________________
Mikko Kurunsaari
Gurux Ltd
Hermiankatu 6-8 H 33720 TAMPERE, FINLAND
Phone: +358 3 265 1244
Home page: http://www.gurux.org

Sathappa
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

kurumi
kurumi's picture
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

________________________________________
Mikko Kurunsaari
Gurux Ltd
Hermiankatu 6-8 H 33720 TAMPERE, FINLAND
Phone: +358 3 265 1244
Home page: http://www.gurux.org

Sathappa
Profile Generic - Billing and Load Survey data reading

Hi Mikko,

Where i can get the updated version?

kurumi
kurumi's picture
Profile generic reading

Hello,

New version is in nuget.org and Github.

BR,

Mikko

________________________________________
Mikko Kurunsaari
Gurux Ltd
Hermiankatu 6-8 H 33720 TAMPERE, FINLAND
Phone: +358 3 265 1244
Home page: http://www.gurux.org