How to use Watchdog?
-
Hi there,
I'm interested in using the Master Watchdog (MWD) functionality. I haven't been able to find clear documentation on this. I know it's possible to configure this via the EVOK API endpoints, or via ModbusTCP, but it's not clear what the configuration needs to be.For example in Modbus on the S103, if I set the "MWD enable" bit of register 6, and set the timeout in register 1008, I assume that the watchdog will "work". I.e. it would wait for a signal (somewhere?) and if it doesn't get that signal within the timeout, it would power-cycle the board.
But how do I tell it that everything is fine and it shouldn't reboot? I.e. where should the above-mentioned signal be communicated? Is that by periodically writing to coil 1000, which is described as "MWD reset indication"? If so, should I keep writing "1"s to that coil, or alternate 0s and 1s, etc?
Thanks!
Svet