Co-pilot problem with Fronius welding machine

Hi,

Our school have bought Fronius TPS500i welding machine for UR10e. We want to use Robotiq force copilot to locate parts to be welded.

While Profinet is enabled Force co-pilot cannot be used since robot prompts error message “RTDE interface cannot initialize. Make sure that Ethernet/IP adapter and Profinet are disabled and that no other URCaps use the RTDE interface”. Is there a way to go around this problem?

I wonder is there a option to disable Profinet-interface using scirpt command? Robot would run disable script before Co-pilot use and then re-enabled it for welding machine. Or is there a better solution for this?

I