In OptoControl there used to be a command that would reboot the controller from software.
I don’t find a command that does the same thing in PAC Control, but I did find the MMP address F038 0000 where I can write a 5 and it will supposedly do so… However, it doesn’t always seem to work even though I get a result from the write command of zero (success). Is there some other way to do this, or am I missing something?
CM_MMP_Result = WriteNumToIoUnitMemMap(LocalUnit, 0xF0380000, 0x00000005); // Note: LocalUnit is set up as a Generic OptoMMP Device with loopback
It worked once, then not again, yet I can still do this from PAC Manager successfully…
from OPTO MMP Manual (1465), Page 127
0x00000005 Reset hardware, which is just like cycling power to the
device. If point configuration information has not been stored to flash or
flash has been cleared (op code 04), points are reset to defaults. After a
hardware reset, the device waits for a Powerup Clear before communicating with a master.