Set new X zero in GCode

Hi Everyone

Sometimes I want to repeat a machining process (rerun same GCode) on a piece adjacent to where it just finished. I’ve tried putting the machine to my new X Zero position and running G10 L20 P1 X0, but it doesn’t do what I expected - rather than setting X zero at the current position, it zero’s to the last plunge position. What am I doing wrong? Here is the end of the GCode, starting at the last plunge operation:

G1 Z-4 F30
G0 Z4

(Move to position of next board, if used, ready to zero, Z+6)
G0 X77 Y0 Z6
G10 L20 P1 X0 (re zero x ready for next board)


Don’t know, but some useful reading…

1 Like

I think CM uses G54 exclusively. Try

G92 X0

May need the slash to escape CM processing ??

Are you using Motion? Motion clears your zeroes and stores them internally (at least the last time I checked)
What’s the log say when you do that?

Yes, using motion - will check it out when i can next go to the workshop, thanks :grinning:

Will try that, thanks

Will try that thanks

Yeh, that’s definitely useful thanks…

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