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 6 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 6 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 6 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 6 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 6 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 6 months ago

Actaris SL 7000

Actaris SL 7000

Profile picture for user Kurumi

Kurumi

9 years 6 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 6 months ago

Good news too

You have new fresh tester :)

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Mon, 07/27/2026 - 12:37
    gurux.dlms.cpp 9.0.2607.2701
  • Thu, 07/23/2026 - 16:19
    gurux.dlms.java 4.0.96
  • Thu, 07/09/2026 - 14:34
    Gurux.DLMS.Python 1.0.201
  • Fri, 06/26/2026 - 16:32
    Gurux.Service 3.0.2606.2601
  • Wed, 06/24/2026 - 08:36
    Gurux.DLMS.Python 1.0.200

New forum topics

  • T_APPL_DATA_LN_N1 subtest 3 fails on an LN-only server regardless of the response to a non-existing-object GET
  • Version mismatch between Gurux.DLMS 9.x and Gurux.Common/Gurux.Serial 8.x
  • Service not known error on gprs communication
  • Help Needed: Interfacing Saral 100 Energy Meter with Microcontroller via RS232
  • Connecting Meter to Agent via serial
More

Who's new

  • OlegVoiva
  • Martaepili
  • Vegazone-Alini
  • Curtistig
  • hollycx60
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin