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