Is it possible to perform an hot restart of the PLC code part from sketch? I mean an instruction in sketch loop function to restart only the PLC code
Does your code remember where it was when you stopped the code?
My Arduino Opta is connected to an ethernet switch that starts some minutes after Opta. When ethernet switch starts sometimes I can see a lot of activities on Opta ethernet port and PLC part of Opta stops working (I have a led blinking every 500ms and it stops) but sketch part continues to run. In this case it is enough to connect Arduino PLC IDE by USB cable and press hot restart to get the PLC part running. When PLC part is freezing, all outputs are in previous state.
I have the same question, for the portenta machine controller using the PLC IDE, i need a way to reset the PLC to restart the Modbus communication.