Tool stanza of config.g
-
Hey, sorry for all these questions...
Tool config of working Duet2, getting ready to copy to Duet 3 for another machine of the same model.
I have read the man page for G10 but I am still unclear what the offset is.. offset from what? Not sure why I have Y-2 in that line, what is the -2 staying?; Tools
M563 P0 S"hotend" D0 H1 F0 ; define tool 0
G10 P0 X0 Y-2 Z0 ; set tool 0 axis offsets
G10 P0 R0 S0 ; set initial tool 0 active and standby temperatures to 0C
M555 P2 ;Marlin compat -
@airscapes the tool offset usually relates to the tools position to the print head reference point of the system, which should be the center of the nozzle of the primary toolhead. See https://docs.duet3d.com/User_manual/Reference/Gcodes#g10-set-workplace-coordinate-offset-or-tool-offset for the official documentation
tool offsets are subtracted from the commanded printing location. Since your Y offset is negative, you will add two millimeters to Y. The reason for this could be that you have an endstop on Y that, when hit, means your nozzle will be two millimeters away from the location where it should be when Y is set to 0.
Another, a bit less confusing way to offset for an endstop that allows the nozzle to travel beyond the printable area, is to set a lower axis minimum (i.e.,
M208 S1 Y0
would be changed toM208 S1 Y-2
), and not bothering with a tool offset, especially on single toolhead machines. -
@oliof Thanks, all seems to work as it and apparently been that way for a long time, just was curious why. I am almost complete, just have to get the macros copied over, set the bltouch up, run a grid and test a print job. Thanks again!