@Deltasquare said in Tool Changing - Storing and retrieving z-offsets:
Thank you!
This helps with displaying the offset, but should the offset displayed not switch around depending on the chosen tool?
Both methods require a tool# be issued
You can probably get what you want with something like (assuming you want Z offset)
if state.currentTool != -1
M117 {"Z offset of " ^ tools[(state.currentTool)].name ^ " is " ^ tools[state.currentTool].offsets[2]}
else
M117 {"No tool selected"}