Marlin G code question G90/G92

New Home Forum Mostly Printed CNC – MPCNC Advice – MPCNC Marlin G code question G90/G92

This topic contains 1 reply, has 2 voices, and was last updated by  Jamie 2 weeks ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #105460

    Yann Vautrin
    Participant

    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?

    #105461

    Jamie
    Participant

    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 user thanked author for this post.
Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.