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. How To Send Access Parameter

How to send Access Parameter

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.

Profile picture for user Fatih
By Fatih , 1 February, 2017
Forums
Gurux.DLMS

Hi!
This is data I should send

7e:a0:4f:00:22:86:81:07:78:89:d4:e6:e6:00:c0:01:c1:00:07:00:00:63: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:e1:01:1d:ff:00:00:00:ff:80:00:ff:09:0c:07:e1:01:1e:ff:00:00:00:ff:80:00:ff:01:00:1a:74:7e

DLMS Translator:
<HDLC len="78" >
<TargetAddress Value="287168" />
<SourceAddress Value="3" />
<PDU>
<GetRequest>
<GetRequestNormal>
<InvokeIdAndPriority Value="193" />
<AttributeDescriptor>
<ClassId Value="7" />
<InstanceId Value="0000630100FF" />
<AttributeId Value="2" />
</AttributeDescriptor>
<AccessSelection>
<AccessSelector Value="1" />
<AccessParameters>
<Structure Qty="4" >
<Structure Qty="4" >
<UInt16 Value="8" />
<OctetString Value="0000010000FF" />
<Int8 Value="2" />
<UInt16 Value="0" />
</Structure>
<OctetString Value="07E1011DFF000000FF8000FF" /> date from
<OctetString Value="07E1011EFF000000FF8000FF" /> date to
<Array Qty="0" >
</Array>
</Structure>
</AccessParameters>
</AccessSelection>
</GetRequestNormal>
</GetRequest>
</PDU>
</HDLC>

But GURUX is sending this data
7e:a0:1c:00:22:86:81:07:32:76:e3:e6:e6:00:c0:01:c1:00:07:00:00:63:01:00:ff:03:00:33:11:7e

Because of this; the Meter is sending all LoadProfile data.
How can i send Acces Parameter with gurux
Here is code

GXDLMSProfileGeneric obj = new GXDLMSProfileGeneric(obisCode);
Comm.Read(obj, 3));//captureObjects
var from = new GXDateTime(new DateTime(2017, 01, 29, 0, 0, 0, 0));
var to = new GXDateTime(new DateTime(2017, 01, 30, 0, 0, 0, 0));
var value =
//conn.Comm.Read(obj, 2);
conn.Comm.ReadRowsByRange(obj, from, to);
//conn.Comm.ReadRowsByEntry(obj, 0, 5);
conn.Disconnect();

Profile picture for user Kurumi

Kurumi

9 years 4 months ago

How to send Access Parameter

Hi,

You need to read capture objects first (attribute index 2). It describes columns.

BR,

Mikko

Profile picture for user Fatih

Fatih

9 years 4 months ago

Here is CaptureObjects

Hello. Thanks for answer. Here is CapturedObjects. But I don't know what next. How I use this information.
Here is Json file
www.buurl.com/guruxobj2

Thanks again.

Profile picture for user Kurumi

Kurumi

9 years 4 months ago

Profile generic reading

Hi,

You do it like this.
GXDLMSProfileGeneric obj = new GXDLMSProfileGeneric(obisCode);
Comm.Read(obj, 3));//captureObjects
var from = new GXDateTime(new DateTime(2017, 01, 29, 0, 0, 0, 0));
var to = new GXDateTime(new DateTime(2017, 01, 30, 0, 0, 0, 0));
object[] rows = conn.Comm.ReadRowsByRange(obj, from, to);
//Loop all rows
foreach (object[] row in rows)
{
//Loop all columns.
foreach (object cell in row)
{
}
}
conn.Disconnect();

BR,

Mikko

Profile picture for user Fatih

Fatih

9 years 4 months ago

Problem

Hello again. I've already reading data but ReadRowsByRange not working expected. Even I'm use ReadRowsByRange meter is returning all LoadProfile data because of Gurux not sending Date params.

7e:a0:1c:00:22:86:81:07:32:76:e3:e6:e6:00:c0:01:c1:00:07:00:00:63:01:00:ff:03:00:33:11:7e

Right request data must be like this

7e:a0:4f:00:22:86:81:07:78:89:d4:e6:e6:00:c0:01:c1:00:07:00:00:63: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:e1:01:1d:ff:00:00:00:ff:80:00:ff:09:0c:07:e1:01:1e:ff:00:00:00:ff:80:00:ff:01:00:1a:74:7e

Profile picture for user Kurumi

Kurumi

9 years 4 months ago

Profile generic reading

Hi,

At the moment we are reading all rows if first column is not date time.
What is your meter manufacturer?

BR,

Mikko

Profile picture for user Fatih

Fatih

9 years 4 months ago

Actaris SL 7000

Actaris SL 7000

Profile picture for user Kurumi

Kurumi

9 years 4 months ago

Profile generic reading

Hi,

I was sure that it's SL 7000 or ACE 6000. Actaris is behavior differently.
But, I have good news. We are just testing new version for Actaris meters and you can read historical data without problems. We try to release it in this week.

BR,

Mikko

Profile picture for user Fatih

Fatih

9 years 4 months ago

Good news too

You have new fresh tester :)

  • 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