mz-automation / lib60870.NET

Official repository for lib60870.NET an implementation of the IEC 60870-5-101/104 protocols in C#
https://www.mz-automation.de/communication-protocols/iec-60870-5-101-104-c-net-source-code-library/
GNU General Public License v3.0
123 stars 75 forks source link

IEC 104 Client connecting to 100s of devices #9

Closed techparva closed 4 years ago

techparva commented 5 years ago

I am trying to write a client which will read data from 100s of IEC 104 servers (devices in the field). I create multiple connections and interrogate periodically (1 minute or so). I observe that data from only some devices is received while data from other devices does not show up on the log. Do you have any example of how to interrogate multiple devices?

mzillgith commented 5 years ago

There is no explicit example for having multiple connections. But since each connection is independent from the others it should not make any difference when using multiple connections. Just make sure that the connections are all active (sending START DT after connecting - done automatically by the library with the default settings) and no other client activates a connection to the servers you are using.