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

  • 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