151
Mach4 General Discussion / How to turn off an output when the machine is Not Enabled (Disabled)?
« on: August 01, 2019, 02:16:02 PM »
I setup a button to turn an output on and off that only works when the machine is enabled.
However, if you leave it on and Disable the machine, the output stays on (button itself is disabled).
I also setup custom M codes to turn it off and on. If you turn it on with the M-Code and disable the machine, it will also still leave the output on.
So, I have no idea where and what to put somewhere to ensure this output gets shut down no matter what when the machine is disabled?
Thanks
However, if you leave it on and Disable the machine, the output stays on (button itself is disabled).
I also setup custom M codes to turn it off and on. If you turn it on with the M-Code and disable the machine, it will also still leave the output on.
So, I have no idea where and what to put somewhere to ensure this output gets shut down no matter what when the machine is disabled?
Thanks