execonmcode reboots system from MACRO
-
I am using the following MACRO on a Duet 3 6HC board running 3.3.0 firmware with execonmcode on the SBC Raspberry Pi 4.
The MACRO works as expected, however when "CANCEL" is selected to exit the MACRO, the M7722 appears to be passed to execonmode to reboot the SBC.
Any thoughts?
M291 S3 P"Ready to Reboot SBC" R"Reboot SBC" M7722
-
@tmreith Perhaps you're using an outdated version of that plugin. There were some early versions of that plugin that did not wait for the code to be executed in sync. You could work-around it by putting M7722 into a macro file and calling that via M98 though. For example
M291 S3 P"Ready to Reboot SBC" R"Reboot SBC" M98 P"shutdown.g"
and shutdown.g in the System directory:
M7722
I reckon it would be better to upgrade the plugin though.
-
-
@chrishamm I'll try the work around. I am using the latest version 5.2.0