Cheers for the suggestions and discussion. Tried the following without much luck, still not seeing any evidence of the macro being invoked. Did briefly look at where SAVE_CONFIG is referenced Code search results · GitHub
[gcode_macro SAVE_CONFIG]
rename_existing: _SAVE_CONFIG
gcode:
SET_STEPPER_ENABLE STEPPER=stepper_z ENABLE=1
SET_STEPPER_ENABLE STEPPER=stepper_z1 ENABLE=1
SET_STEPPER_ENABLE STEPPER=stepper_z2 ENABLE=1
M117 Save Config override, move bed to safe pos
# G28 #home all axis
G0 Z230 F5000 #drive bed to max z to prevent drop
M400
_SAVE_CONFIG #save config and restart
SET_STEPPER_ENABLE STEPPER=stepper_z ENABLE=1
SET_STEPPER_ENABLE STEPPER=stepper_z1 ENABLE=1
SET_STEPPER_ENABLE STEPPER=stepper_z2 ENABLE=1
Still need mechanical solution for some failure scenarios, so looking into those for now…