conditional_home.cfg modified - 07/15/2025 - 05:03:30 PM

This commit is contained in:
macocha 2025-07-15 17:03:32 +00:00
parent ad803945e6
commit 8775b3ca28

View file

@ -2,7 +2,9 @@
[gcode_macro COND_G28] [gcode_macro COND_G28]
gcode: gcode:
{% if "xyz" not in printer.toolhead.homed_axes %} {% if "xyz" not in printer.toolhead.homed_axes %}
RESPOND PREFIX="PRINT_START: " MSG="Homing all axes" RESPOND PREFIX="COND_G28: " MSG="Homing all axes"
LEDS_STATUS_HOMING # Set LEDs to homing-mode LEDS_STATUS_HOMING # Set LEDs to homing-mode
G28 # Do the actual homing G28 # Do the actual homing
{% else %}
RESPOND PREFIX="COND_G28: " MSG="Already homed, skipping."
{% endif %} {% endif %}