解决D600Pro2HS更换z轴电机 解锁电机点击回零z轴下降距离不够的问题
(cherry picked from commit 40ef648e4cdbc6b0bd9d679f46ee7766850afd88)
This commit is contained in:
parent
764b9fe983
commit
1ae7fc486f
@ -543,12 +543,18 @@ gcode:
|
||||
{% set do_z = 'Z' in params|string %}
|
||||
|
||||
{% if do_x %}
|
||||
SET_STEPPER_ENABLE STEPPER=stepper_x ENABLE=1
|
||||
G4 P300
|
||||
{% set homing_cmd = 'X ' %}
|
||||
{% endif %}
|
||||
{% if do_y %}
|
||||
SET_STEPPER_ENABLE STEPPER=stepper_y ENABLE=1
|
||||
G4 P300
|
||||
{% set homing_cmd = homing_cmd + 'Y ' %}
|
||||
{% endif %}
|
||||
{% if do_z %}
|
||||
SET_STEPPER_ENABLE STEPPER=stepper_z ENABLE=1
|
||||
G4 P300
|
||||
{% if 'x' not in printer.toolhead.homed_axes|lower or 'y' not in printer.toolhead.homed_axes|lower %}
|
||||
{% set homing_cmd = 'X Y Z' %}
|
||||
{% else %}
|
||||
@ -556,6 +562,10 @@ gcode:
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% if not homing_cmd %}
|
||||
SET_STEPPER_ENABLE STEPPER=stepper_x ENABLE=1
|
||||
SET_STEPPER_ENABLE STEPPER=stepper_y ENABLE=1
|
||||
SET_STEPPER_ENABLE STEPPER=stepper_z ENABLE=1
|
||||
G4 P300
|
||||
C28
|
||||
_ACTIVATE_DEFAULT_EXTRUDER
|
||||
{% else %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user