#Linking mainsail toolhead buttons
4 messages · Page 1 of 1 (latest)
Ahoi @split relic!
It looks like you did not provide all the necessary information we need to help you.
Please upload your logfiles and a detailed description of your problem.
For further information see: https://docs.mainsail.xyz/faq/getting-help/discord#provide-information
Note: We only accept .log and .txt files as log files.
This is an automated message
gcode =
# {% if printer.toolhead.homed_axes == "xyz" %}
{% if 'x' in printer.toolhead.homed_axes and 'y' in printer.toolhead.homed_axes %}
M118 Printer is already homed
{% else %}
STATUS_HOMING
M118 Printer needs homed...
_SENSORLESS_HOME_X
_SENSORLESS_HOME_Y
STATUS_READY
{% endif %}```
rename_existing: G28.1
gcode:
SET_GCODE_VARIABLE MACRO=_KNOMI_STATUS VARIABLE=homing VALUE=True # Uncomment this if using a KNOMI and then remove the G28 macro from the KNOMI.cfg
G28.1 {rawparams}
{% if not rawparams or (rawparams and 'Z' in rawparams) %}
PROBE
SET_Z_FROM_PROBE
{% endif %}
SET_GCODE_VARIABLE MACRO=_KNOMI_STATUS VARIABLE=homing VALUE=False # Uncomment this if using a KNOMI and then remove the G28 macro from the KNOMI.cfg```