Hello,
I see there is a mbcntl register in the register diagnostics window which shows the status and gives a command register for the modbus plugin.
How do I start/stop the modbus plugin like in the diagnostic window where there is a play and stop button? Is there a command I can use? This would be very helpful because for whatever reason, the PLC we are using (Smart 3g from Vital Systems) completely times out after a few hours when connected via modbus. If we can control the on/off function of modbus then we can just "restart" the modbus devices everytime the user homes the machine or presses the enable button.
The pic below shows the code. The code works to send the command and read the status, but the command value must either be wrong or the register doesn't actually do anything. The code is in a regular button clicked script.
Thank you for any help or suggestions.