Page 1 of 1

M30 executed before G0

PostPosted: Fri Mar 13, 2020 6:18 am
by bob_mllr
May be a bug or may be I am missing something,?

I just installed UCCNC 1.2111 and AXBB-E.

Playing with the sample file holders.tap....

The final line, G0X0Y0Z0M5M30 executes the M30 without executing the G' commands, leaving X36.63 Y21.005 Z25.4. Moving the M30 to the next line and the G commands are executed. I was under the impression that M30 should be executed last in the block? Testing on Mach3 and G codes are executed before the M30 as I wexpected.

Bob

Re: M30 executed before G0

PostPosted: Fri Mar 13, 2020 7:04 am
by dezsoe
Yes, it's a known issue.

Re: M30 executed before G0

PostPosted: Fri Mar 13, 2020 7:20 am
by bob_mllr
dezsoe wrote:Yes, it's a known issue.

OK. Does this effect only M30 execution order or is it more widespread?
Bob

Re: M30 executed before G0

PostPosted: Fri Mar 13, 2020 7:48 am
by dezsoe
When you have more commands in one line then the order of execution can be wrong. If you need an exact order then place the commands in more lines.