After installing SonicPad on Sermoon D1 printer, after a print I cannot move the Z axis down without homing ALL axis first. If anybody has ever seen a Sermoon D1, you know the doors, head and frame are in the way when trying to remove the bed to remove the print. I installed a magnetic build plate and was able to lower the bed after each print with stock screen to make it easier to remove and install build plate. Even made it easier to apply glue stick but now if I was to home ALL axis after print, then a lot of noise would occur from head crashing into fresh print still on bed. A small, flat print in the main problem as the bed is still relatively high after print. Even after a failed print and hitting the stop button I could not move the axis down. Any idea on how to override this safety feature? Don’t see it in the code so far.
I don’t have a Sermoon but I do have a Qidi which also runs Klipper, similar enclosed machine with access from the top and through the door. When my prints finish the bed lowers almost to the bottom of the cabinet making it easy to remove the PEI buildplate. I enclose the end gcode from my machine that you may have some use for in achieving what I think you have described.
M141 S0
M104 S0
M140 S0
G1 E-3 F1800
G0 Z{min(max_print_height, max_layer_z + 3)} F600
G0 X0 Y0 F12000
{if max_layer_z < max_print_height / 2}G1 Z{max_print_height / 2 + 10} F600{else}G1 Z{min(max_print_height, max_layer_z + 3)}{endif}