How to go out of print area for tool change?

In RRF its east to do as you can change the limits with an m code.
https://docs.duet3d.com/User_manual/Reference/Gcodes#m208-set-axis-max-travel

The process would be something like this.

  1. move the printhead to a designated position inside the current max/min limits
  2. run an M208 to see the new limits (print head has to already be inside this)
  3. move around within the new limits, and do what you need to do.
  4. move back to the original position used in step #1
  5. run an M208 to set the limits to the original values.
  6. continue on with a print

this works for purge buckets tool changes, dockable probes etc, and ensures no matter what you are doing you can never crash the print head (assuming you defined the limits properly).

Imo, it is disappointing that klipper doesn’t already support this.

I should add, SET_KINEMATIC_POSITION doesn’t give me warm fuzzy feelings.

from the documentation

Setting an incorrect or invalid position may lead to internal software errors. This command may invalidate future boundary checks; issue a G28 afterwards to reset the kinematics.

1 Like