Homing vs automatic Z-offset

Basic Information:

Printer Model: Anycubic i3 Mega S
MCU / Printerboard:Trigorilla v0.0.2
Host / SBC: Rp4

I have made my own version of the quickdraw klicky probe using a servo. Unfortunately docking the probe requires z to be homed using a physical endstop. I want to home Z again using the klicky probe but am not sure how to setup a “two stage” homing sequence. I would want the custom homing sequence to do the following,

  1. Home X and Y
  2. Home Z using the endstops
  3. Dock the probe (dependent of X and Z homing)
  4. Probe a point on the bed to rehome (or set z offset)
  5. Remove the probe

Currently I am using a reference position for my mesh bed levelling but when attach a different bed I have to reset my endstop offset each time. Does anyone have advice on how to write such a homing macro or other solutions that might be better?

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.