Sometimes Modbus connections hang up (i have Opta running as Master for both RTU and TCP). Especially when devices are unavailable Opta does never try connect them again. A cold restart does it's job but i would like to automatically detect hanging devices.
Does someone know how to implement a ST function for resetting the modbus?
I guess it should be possible with the sys* functions tho.
regards, Rouven
try installing PLC-IDE 1.0.3 and reupload the program to the Opta using 1.0.3 to compile it.
let us know if this change the behaviour
I can confirm that. I am using Modbus TCP with PLC IDE.
I am using Opta 2.0 and PLC IDE 1.0.8.0.
There are two issues. In general I need to reload the project after uploading a new programm as the serial port seems to hang or is not able to talk to the Opta. I only had this issue when using Modbus TCP.
Also, I need to reset the Opta so that she is again able to connect to slaves via TCP after uploading a new programm.
Then, maybe a third issue, is that in some cases masters (I have a Siemens LOGO! as master that tries to read a register from the Opta) cannot reconnect to the Opta when experiencing an ethernet disruption.