Open NV4RE opened 1 year ago
I was jsut wondering how to do the same myself! @NV4RE were you able in incorperate something that lifted 10-20mm before moving in the x y directions???
I was jsut wondering how to do the same myself! @NV4RE were you able in incorperate something that lifted 10-20mm before moving in the x y directions???
I employ the UNSAFE_RAISE_TOOL
macro in my configuration, defined elsewhere in macros.cfg
. Before homing, I use UNSAFE_RAISE_TOOL
to lift the toolhead.
This functionality is included in the homing_override
section to specifically raise the toolhead before homing the x, y, and z axes. Below is an excerpt from my macros.cfg
and sensorless.cfg
files:
## macros.cfg
[force_move]
enable_force_move: True
[gcode_macro UNSAFE_RAISE_TOOL]
description: Raise the toolhead 10mm without homing
gcode:
G90
SET_KINEMATIC_POSITION Z=0
G0 Z10 F600
#M84
## sensorless.cfg
[homing_override]
axes: xyz
gcode:
UNSAFE_RAISE_TOOL ## <- Lifts the toolhead before any homing operation
{% set home_all = 'X' not in params and 'Y' not in params and 'Z' not in params %}
{% if home_all or 'X' in params %}
_HOME_X
{% endif %}
{% if home_all or 'Y' in params %}
_HOME_Y
{% endif %}
{% if home_all or 'Z' in params %}
G90
G1 X175 Y175 F12000 ## Change this. Should home to the z endstop pin if you don't use TAP. Also, this is for a Voron 2.4 350.
G28 Z ## Home Z
G1 Z10 F1200
{% endif %}
Looks like we both came to the same solution. I just figured that out myself. Seems to be working good now, thanks for the reply
It kinda risk to move print head before raise the nozzle due to (nozzle are touching the bed, some inductive probe/beacon can work incorrectly)