Thank you for the lively discussion!
1. I have to retract this statement:
I'd like to note here is that a program 'stop'
(ie clicking on the stop button) does currently not do same as a program
'abort' which comes from the interpreter (eg in case of a limit
violation or (abort, abortmessage) ). A program stop does not call the
'ON_ABORT_COMMAND' subroutine.
Stopping a program will indeed execute the on_abort routine.
2. A faulty MDI command like 'G81 Z-10' will also execute the on_abort
routine
Running an 'M2' in the above cases is clearly not desirable which means
that my proposal is off the table.
Dave
_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers