Marlin G code question G90/G92

Not sure about Marlin G code…
I run on dual endstop conf, now my question is as follow :
Here is the beginning of the code generated by EstlCam :

G90
M03 S32000
G00 X0.0000 Y0.0000 Z0.0000 F2100
G00 Z2.0000 F480

Now, if I want to manually offset the “O” point of my worrk (not starting from X0, Y0, Zo), I am thinking in homing X & Y automatically through Repetier host, then manually move X & Y to my starting point, And home Z on top of my material.

Then, replacing G90 by G92 at the beginning of the code should be enough or am I missing something?

Add “G92 X0 Y0 Z0” at the beginning in addition to what you already have.

G90 sets to absolute coordinates (instead of relative) which is standard and I guess is there just in case Repetier host or some other client had left it in relative mode (for jogging for example).

1 Like