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. Read LDN

Read LDN

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 miacovella , 28 June, 2016
Forums
Gurux.DLMS

I'm tryng to read LDN drom a meter .
The APDU Text generate from Gurux C# is:
7e a0 19 03 21 54 5f de e6 e6 00 c0 01 81 00 00 00 00 2a 00 00 ff 02 00 ea 00 7e
No response.

But the ic class must be set at "01":
The correct sequence is:
7e a0 19 03 21 54 5f de e6 e6 00 c0 01 81 00 01 00 00 2a 00 00 ff 02 00 17 4d 7e
and the response is:
7e a0 22 21 03 74 ba d5 e6 e7 00 c4 01 81 00 09 10 53 4d 47 52 30 33 36 31 31 36 30 32 39 33 34 36 cf 31 7e
The source is:

GXDLMSObject oggetto = new GXDLMSObject();
oggetto.LogicalName = "0.0.42.0.0.255";

DataType tipo = DataType.OctetString;
oggetto.SetDataType(2, tipo);

Object x = comm.Read(oggetto, 2);
where
comm = new GXCommunicatation(dlms, media, iec, auth, pw);

Can you help me?

Profile picture for user Kurumi

Kurumi

9 years 11 months ago

Read LDN

Hi,

I do not know this meter. You should try to read Association view first. It will return all the objects what meter can offer.

You can read your object changing
GXDLMSDataObject oggetto = new GXDLMSDataObject("0.0.42.1.0.255")

BR,

Mikko

miacovella

9 years 11 months ago

In reply to Read LDN by Kurumi

Where is the GXDLMSDataObject

Where is the GXDLMSDataObject ? (in Gurux.dlms/Object i find only GXDLMSObject.cs).
Thanks

Profile picture for user Administrator

Administrator

9 years 11 months ago

Where is the GXDLMSDataObject

Hi,

Sorry, it was typo. Use GXDLMSData object.

  • 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