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

4 posts / 0 new
Last post
pradson
How will I read data from all logical devices of DCU(Data Concentrator Unit) sequentially without breaking socket connection?

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

Kurumi
Kurumi's picture

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

________________________________________
Mikko Kurunsaari
Gurux Ltd
http://www.gurux.fi

pradson

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

Kurumi
Kurumi's picture

Hi ,

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

BR,
Mikko

________________________________________
Mikko Kurunsaari
Gurux Ltd
http://www.gurux.fi