AdvancedHMI Software
General Category => Support Questions => Topic started by: vikrant on July 03, 2014, 02:31:39 AM
-
If the slave-master communication breaks (e.g. slave died, or slave comm cable removed), ModbusTcpCom does not recover from ComFail error.
I could not find a way to retry communication. Upon comm error, I made a retry loop that again instantiate ModbusTcpCom with the slave, but this goes in error stating that another socket is already open, so I tried to Dispose() this object and re-instantiated, but still communication does not come alive.
I have to kill the exe and then start it to make the comm healthy again.
If anyone has a solution, please let me know.
Thanks.
-
Having the same problem with my little setup, is there anyway to restart the comms after a fail? and also generate an alarm?