Head Position - while printing



  • Hey there,
    was wondering if I can change the head position while running a print file?

    I have multiple nozzles that may require tweaking their position (XY) while printing, can I have a macro that could change such a thing while running a print?

    DUET 2 wifi...

    Thanks!


  • administrators

    You could pause the print, adjust the G10 tool offset, then resume it.



  • Do you mean change the G10 in the config file and resume?

    if yes, don't I need to reboot?



  • @CJ-BRAVO said in Head Position - while printing:

    Do you mean change the G10 in the config file and resume?

    if yes, don't I need to reboot?

    No and No.

    Configuration commands work the moment they are entered. You can enter the new G10 while paused at the Web interface, or the USB terminal, or Telnet, or whatever.

    In fact, there is nothing special about config.g, except that its contents are executed at boot time. You could not even have a config.g and type in every config command. If you were that good a typist, with an excellent memory... 🙂

    Anyway, back to serious: Duet / RepRap commands take effect dynamically. Which makes it GREAT for tuning and tweaking and etc.



  • @Danal
    Thanks for the asnwer!

    So for instance, this is my config.g tool offset:

    G10 P0 ;Set tool 0 axis offsets
    G10 P1 X-57 Y-10 ;Set tool 1 axis offsets

    And I wish to change tool P1 x position by 1mm.
    So I would pause the job, enter g-code command in the web interface this command:
    G10 P1 X-56
    ?

    thanks



  • Exactly

    And you can enter G10 P1 with no other parameters to verify this. And/or G10 with no parameters at all (I don't remember which; one of these works).



  • great thanks


Log in to reply