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. Node
  3. How Will I Read Data From All Logical Devices of DCU(Data Concentrator Unit) Sequentially Without Breaking Socket Connection?

How will I read data from all logical devices of DCU(Data Concentrator Unit) sequentially without breaking socket connection?

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 pradson , 7 April, 2021
Forums
Gurux.DLMS

Hi Mikko,

How will I read block-profile data from logical devices of DCU(Data Concentrator Unit) one by one without breaking socket connection?

The scenario is that I have a DCU and 40 meters. All 40 meters are connected with DCU. The DCU has an IP and a port for communication. The DCU is able to read data from all 40 meters and stores data according to its logical device.

I want to retrieve data from all logical devices of DCU using my client application with breaking only logical device channel but without breaking socket connection.

How could I achieve same? Kindly suggest.

Thanks & Regards,
Pradson

Profile picture for user Kurumi

Kurumi

5 years 5 months ago

Hi,

Hi,

This depends on the DCU. Usually, you will keep the TCP/IP connection and send the release. After you have sent the release you will make the connection to the next meter. As I told, this depends on the DCU and some DCUs require that a new TCP/IP connection is made before the next meter can be read.

BR,
Mikko

pradson

5 years 3 months ago

In reply to Hi, by Kurumi

HI Mikko,

HI Mikko,

Could you share a sample example for the same. Like below steps-

1- Client connects to DCU using IP and port.
2- connect and Read logical meter-1 and release it.
4- connect and read logical meter-2 and release it.
.
.
so on

5- close() the socket connection.

Thanks,
Pradson

Profile picture for user Kurumi

Kurumi

5 years 3 months ago

Hi ,

Hi ,

We don't have an example like that, but I hope this link helps you.
https://gurux.fi/Gurux.DLMS.DynamicIP

BR,
Mikko

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Wed, 08/26/2026 - 09:04
    Gurux.DLMS.Python 1.0.203
  • Mon, 08/17/2026 - 11:28
    Gurux.DLMS.Python 1.0.202
  • Mon, 08/17/2026 - 09:47
    gurux.dlms.cpp 9.0.2608.1701
  • Mon, 08/17/2026 - 09:25
    gurux.dlms.c 9.0.2608.1701
  • Mon, 07/27/2026 - 12:37
    gurux.dlms.cpp 9.0.2607.2701

New forum topics

  • Security vulnerability report — request for a private contact (GuruxDLMS.c / ANSI C)
  • Topic: Insufficient Memory Error When Reading Class 7 Profile Generic Objects
  • SN ReadResponse returns all-null values when response spans multiple HDLC frames
  • Gurux.Serial.Android 3.0.6 – CH340 (HL-340) USB-Serial Adapter Not Working,
  • Trying to talk to a L&G E360 meter (Using Python Gurux)
More

Who's new

  • Anaglyfos Trading CC
  • cyby
  • Metin Onan
  • ssv007
  • 3nzol3dur
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin