How to ignore Tool Offsets for Travel Moves



  • Hello,
    I'm currently building an 3D-Printer with a toolchanger.

    Tool 1 has an offset of roughly 10mm in both X and Y. When I want drive into the parking position I obviously have to use coordinates that compensate for the ~10mm offsets.
    This works well until I have to do some maintainence on the tool. Lets say I screwed it in 1mm differently. After recalibrating the tool offsets I will get a crash when parking.
    Therefore it would be usefull for me, if I could ignore the tool offsets during all parking moves and just use the carriage/global coordinates. Is this possible?
    If not, is there a workaround? I tried two methods:

    1.) Using T0 at the first line in tpre1.g and tfree1.g: This creates an infinite loop (as expected)

    2.) Resetting the tooloffsets to 0,0,0 in the first line in tpre1.g and tfree1.g and setting it to the correct value in the last line of tpre1.g. This completely freezes the interface.

    Best regards,
    Leo

    Ps: I'm running RRF3


  • administrators

    use G53 in front of each G1 command you want to use the machine co-ordinates:

    https://duet3d.dozuki.com/Wiki/Gcode#Section_G53_Use_absolute_coordinates



  • G53 is the correct answer. Note that it is NON modal. It must appear on each line where it takes effect.

    Usually, every move command in tpost and tfree files have a G53 starting the line. (tpre doesn't need it because there is no tool 'active' during this file's execution).



  • Thanks a lot! You are awesome!


Log in to reply