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. 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 3 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 1 month 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 1 month 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

  • 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

  • Service not known error on gprs communication
  • Help Needed: Interfacing Saral 100 Energy Meter with Microcontroller via RS232
  • Connecting Meter to Agent via serial
  • Reading block profile with Compact array
  • DLMS server - serving multiple similar datasets gathered from multiple meters across distinct logical addresses
More

Who's new

  • QDeYZLrphMziQF…
  • sharrongm69
  • agize
  • BioTips
  • Vital479
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin