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

10 years 1 month 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

10 years 1 month 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

10 years 1 month ago

Where is the GXDLMSDataObject

Hi,

Sorry, it was typo. Use GXDLMSData object.

  • 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

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