Skip to main content
Home
for DLMS smart meters

Main navigation

  • Home
  • Products
  • About us
  • Open Source
  • Community
  • Forum
  • Downloads
  • Gurux Club
User account menu
  • Log in

Breadcrumb

  1. Home
  2. Forums
  3. Readbyrow is working guruxDirector but not in .net code example

Readbyrow is working guruxDirector but not in .net code example

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 sachinar007, 9 May, 2022
Forums
Gurux.Net

Hi Mikko,

We are trying to read the block data (1.0.99.1.0.255) from the Smart Meter using optical prob. While using Director it works but the same is not working with .net example. have taken updated version of Gurux.

This is smart meter is CMS make with kalkitech meter software. We are using use of invocation counter. by passing it we pass higher number than the previous.
below is additional setting we pass.

client.Ciphering.SystemTitle = Encoding.ASCII.GetBytes("******");
client.Ciphering.BlockCipherKey = Encoding.ASCII.GetBytes("*********");
client.Ciphering.AuthenticationKey = Encoding.ASCII.GetBytes("********");
client.Ciphering.Security = Security.AuthenticationEncryption;
client.Ciphering.SecuritySuite = Gurux.DLMS.Objects.Enums.SecuritySuite.Suite0;

while reading it through error "access error : device reports read-write denied."

Kindly suggest.

Profile picture for user Kurumi

Kurumi

1 year 4 months ago

Hi,

Hi,

GXDLMSDirector is using C# code so one of your settings is different.

I believe that "Use UTC time zone, not standard" is selected in the advanced tab in GXDLMSDirector.
https://www.gurux.fi/GXDLMSDirector.DeviceProperties#UseUTC

Check that you have set UseUtc2NormalTime to true in your C# code.

BR,
Mikko

sachinar007

1 year 4 months ago

Hi Mikko,

Hi Mikko,

As suggested I set it true, but same error is coming. even I can not able to read events , billing data.

I forget to inform you that, I am reading meter in 'US' mode on Director. please let me know in this what is authentication level.

Plz suggest.

Profile picture for user Kurumi

Kurumi

1 year 4 months ago

Hi Sachin Ambre,

Hi Sachin Ambre,

Can you read for example the clock or is ReadbyRow only causing this problem? Have you read the Invocation counter before you try to connect for the meter?

BR,
Mikko

sachinar007

1 year 4 months ago

Hi Mikko,

Hi Mikko,

after setting Authentication mode = High and client address = 48 it is now reading data. yes, I read invocation counter before reading data.
but the issue is now with date time "UseUtc2NormalTime" is not having any impact either setting true or false on data reading. it always adds 5+30 hours in date time.

Profile picture for user Kurumi

Kurumi

1 year 4 months ago

Hi,

Hi,

If you are using the ChangeType method you need to use the useUtc parameter ad set it to true.
Something like:
GXDLMSClient.ChangeType(METER_DATA, DataType.DateTime, true);

BR,
Mikko

  • Log in or register to post comments
  • Create new account
  • Reset your password

Hire Us!

Latest Releases

Fri, 09/22/2023 - 19:50
gurux.dlms.c 20230922.1
Mon, 09/18/2023 - 13:51
Gurux.DLMS.AMI4 4.0.2309.1801
Fri, 09/15/2023 - 12:00
gurux.dlms.c 20230915.1
Tue, 09/12/2023 - 11:10
Gurux.DLMS.AMI4 4.0.2309.1201
Fri, 09/08/2023 - 10:59
gurux.dlms.c 20230908.1

Open bugs

gurux.dlms.c
3
gurux.dlms.cpp
3
gurux.dlms.delphi
1

New forum topics

  • problem with date and time in ION
  • Permament rejected
  • DLMS- GMAC: SNRM, AARQ, AARE is responding but not able to decrypt the Authentication key received from the meter
  • List complete policy security configuration basic (configuration security))
  • Save Association view in database
More

Who's new

  • azcah
  • Robertciz
  • Ilushikqtg
  • Margaretyhs
  • Mariohag
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin