Preventing Motion after Feedhold Released
Posted: Mon Mar 04, 2019 5:34 am
G'day Tom (or whomever cares to pitch in),
I'm trying to make my AutoToolChange Routine a bit more robust, and I've added some code that allows for a situation where you want to abort/pause a toolchange mid process. One of the issues which I would like to resolve is that if you hit feedhold part way through an approach move, it stops the motion as desired, and aborts the toolchange, however, if you then release feedhold it completes the move that was held (doesn't continue the rest of the toolchange, just that section of motion).
Is there any way to make it so that the code that aborts the toolchange script also aborts the motion - without having to "STOP" the machine and re-init & home etc.
Do I have to add a move to the the point at which it's at or something to cancel the currently stored destination?
I'm trying to make my AutoToolChange Routine a bit more robust, and I've added some code that allows for a situation where you want to abort/pause a toolchange mid process. One of the issues which I would like to resolve is that if you hit feedhold part way through an approach move, it stops the motion as desired, and aborts the toolchange, however, if you then release feedhold it completes the move that was held (doesn't continue the rest of the toolchange, just that section of motion).
Is there any way to make it so that the code that aborts the toolchange script also aborts the motion - without having to "STOP" the machine and re-init & home etc.
Do I have to add a move to the the point at which it's at or something to cancel the currently stored destination?