12-14-2021 05:08 AM
Hi there!
I have a plc which communicates using Modbus TCP IP with my Lab view code.
I want to develop my code such that the reconnection happens automatically whenever I remove my ethernet cable and connect again.
Solved! Go to Solution.
12-20-2021 01:07 AM
Hi,
I was suggesting putting a VISA close function and wire your module ports reference to it before closing the ModBUS communication.
12-20-2021 02:17 AM
Continuously check for error. If there is no error then pass the modbus reference. If there is any error disconnect the reference and create new reference as below image.