I d like to know if there is a solution in order to stop/start a modbus connection with an inject button/function ? I tried with some stop/kill command but if the polling is stopped, the data are always read from the PLC..
When i clik the button the PLC polling is stopped but always a read in the response... How to really Stop/restart the connection ?
Code in the function:
msg.payload.name ="PLC LABO DEFAUTS";
And "kill" instead of "stop" do nothing