What happened?
I recently updated from version 0.13.0 to 0.13.1, and encountered an issue where my device would time out when another device establishes a connection.
My setup consists of four devices connected through Modbus TCP, whereas three of them are turned on by the other one. A single CachedPlcConectionManager is used for all connections and each one has a read-write loop running in a separate thread. If an exception occurs in the loop, the connection is removed from the cache using CachedPlcConnectionManager::removeCachedConnection.
Initially, the loop would only succeed for one device until this switches on the others. Previously the others would also start communicating seamlessly, but now the former has a hiccup at this point, which in my case causes it to timeout and switch off the others again.
In my understanding the connections should be decoupled and not influence each other. Was there anything introduced that could cause the connections to interfere with each other during reading, writing, or connecting
Version
v0.13.1
Programming Languages
Protocols
What happened?
I recently updated from version 0.13.0 to 0.13.1, and encountered an issue where my device would time out when another device establishes a connection.
My setup consists of four devices connected through Modbus TCP, whereas three of them are turned on by the other one. A single
CachedPlcConectionManageris used for all connections and each one has a read-write loop running in a separate thread. If an exception occurs in the loop, the connection is removed from the cache usingCachedPlcConnectionManager::removeCachedConnection.Initially, the loop would only succeed for one device until this switches on the others. Previously the others would also start communicating seamlessly, but now the former has a hiccup at this point, which in my case causes it to timeout and switch off the others again.
In my understanding the connections should be decoupled and not influence each other. Was there anything introduced that could cause the connections to interfere with each other during reading, writing, or connecting
Version
v0.13.1
Programming Languages
Protocols