dezsoe wrote:- what happens, if the reset cannot turn on and constructor waits for reset LED? Normally, I leave my e-stop button pressed when I turn off the stuff for safety.
Good point, I'm just using uccnc in demo mode, without a motion controller / machine connected. With the estop pressed in (physically) it will not be able to clear the reset to run the code.
As my code does not have any check or wait it will just error out with a message on the screen (screenshot below).
really, the solution is to allow for G17, G18 and G19 to be loaded from the profile under startup {they have to be set somewhere within the UCCNC startup code, why not make them accessible via a screen / tab / combobox or checkbox...}
I was just trying to use this as a workaround, I did not see it as a long term fix / solution.
---------------------------------------------------
Dezsoe, why are you toggling your power supply on and off under chargepump signal?
Why not use the enable pin on your drives, and an interlock on your VFD / spindle?
If you physically drop the power out to your stepper / servo drives + VFD they have no way to come to a controlled emergency stop using breaking as quick as is possible.
{I do take your point though about the xxmSec pulse of e-stop / reset clear, I'll take another look at your macroloop}
I don't know why but I'm reluctant to have a load of macroloops even though I know that they are constructed in such a way that they will just check a status and return and little delay will be induced by the loops.