On Thu, 5 Jun 2025 at 12:12, David Mueller <mueller_da...@hotmail.com> wrote:

> I'd like to invite you to discuss this PR to change the default behavior
> on program abort from, basically, doing nothing to 'M2':

I am not clear if a G-code error prompts an abort, but I looked into
this at the weekend when RotarySMP on Youtube complained about an MDI
error resetting G43.
(It seems to do so on his 2.7 installation but not on 2.9 or 2.10)

I can see there being unexpected outcomes if so. For example, if
someone is typing in the MDI window..

G55 (set coordinate system)
G81 X10 Y10 Z-3 F100 (drill a hole, but forgetting the R retract value)
(clear error, try again)
G81 X10 Y10 Z-3 F100 R1 (this time the line is accepted, but are we
now no-longer in G55?)

M2 explicitly resets to G54. It doesn't turn of G43, or at least is
not documented to, so I think that RotarySMP was _probably_ seeing a
fixed bug.

In the context of a G-code _file_ it's more clear cut as an abort and
re-start will run all the file from the beginning, re-running all the
preamble and setup.

I guess my question here is "does an error in MDI run an abort". I am
not sure, but if it does than that is a point to consider.

-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1912


_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to