21.07.2025, 12:54
5. Run this once:
6. You can send reload signal to Modbus daemon after making changes to the modbus_mapping DB table:
Code:
db:query('DELETE FROM modbus_mapping')
6. You can send reload signal to Modbus daemon after making changes to the modbus_mapping DB table:
Code:
pid = os.checkproc('gs-modbus')
if pid then
os.kill(pid, signal.SIGUSR1)
end