Tool offsets in tool selection documentation
-
Hej,
https://duet3d.dozuki.com/Wiki/Gcode#Section_T_Select_Tool documents pre RepRapFirmware 2.03 behavior regarding when the tool offsets are applied. It says they apply only after tpost#.g is executed. It would be nice to clarify that beyond the firmware release notes.
Thanks
-
Sorry I don't use any multi tool printers, can you be more specific about what is lacking and where and I can update it.
-
It is the following section
3. If all axes have been homed, run macro tpre#.g where # is the number of the new tool 4. Set the new tool to its operating temperatures specified by the S parameter in the most recent G10 command for that tool 5. If all axes have been homed, run macro tpost#.g where # is the number of the new tool. Typically this file would contain at least a M116 command to wait for its temperatures to stabilise. 6. Apply any X, Y, Z offset for the new tool specified by G10
Step 6. is since 2.03 already done in step 4., See the upgrade notes for 2.03 or dc42's comment in https://forum.duet3d.com/topic/16483/extrude-in-tpre/13
-
Tool offsets are applied whenever there is a current tool. So they are applied in tfree.g (for the outgoing tool) and in tpost.g (for the incoming tool), but not in tpre.g (because no tool is current at that point).
-
The Select Tool documentation doesn't reflect that. I'm just trying to get the documentation fixed. There is no issue with the actual behavior.
-
@jannau Understood. I'll get that updated. Thanks for bringing it to attention.
-
@phaedrux I found this note in documentation - "Tool offsets are applied whenever there is a current tool. So they are applied in tfree.g (for the outgoing tool) and in tpost.g (for the incoming tool), but not in tpre.g (because no tool is current at that point).".
Can you clarify what "tool offsets applied" means? (what gcode commands and/or what system directory .g files are executed before/during/after tfree, tpre, and tpost are run)
-
@chazrogers each tool has configurable offsets
https://duet3d.dozuki.com/Wiki/G10#Section_G10_Set_workplace_coordinate_offset_or_tool_offsetThis allows you to have (say) 1 tool at 0,0 on XY and then another tool with a different offset when its picked up by a toolchanger. these offsets are applied as described in the documentation you quoted.