How to turn off return to position when job end?

Im using GRBL
It doent matter if i turn of the option “Return to end position” or not, it keeps adding this line at end of my gcode
; return to starting pos
G0 X-7.9Y10.2
I just dont need it to move at end
In fact, it moving to a totally wrong position and crashing my machine (a home made diode laser, based on MKS DLC32). Its ok if it can return to my work starting point (im using current position) or its ok if it home at end, or return to WPos 0,0, but it keeps looking MPos 0,0 and crashes, but i just need to this option to turn it off to work, while i cant find the real problem

This only appears when you’re using Current Position and is unrelated to “Return to Finish Position” option.

Don’t use Current Position if you don’t want this behavior.

Are you moving your laser head by hand? If so, avoid doing that. Home your laser, jog to when you want to go, then try running a job. It should not cause a crash.

That’s not the case and not what the gcode you listed is calling for.

It’s also possible that you have an offset defined that’s throwing off your actual base position.

Can you run these commands in Console and return output?

$I
$#
?

Also, please confirm if your laser has homing switches and if so, where it homes to.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.