多Z参考配置
双Z单限位
-
在第二个Z配置无需添加
endstop_pin:
[stepper_z]
step_pin: PA5
dir_pin: PA4
enable_pin: !PA6
rotation_distance: 4
full_steps_per_rotation: 200
microsteps: 16
endstop_pin: ^!PA9
position_endstop: 0
position_max: 300
homing_speed: 50
homing_retract_dist: 5
[stepper_z1]
step_pin: PB10
dir_pin: PB2
enable_pin: !PB11
rotation_distance: 4
full_steps_per_rotation: 200
microsteps: 16
step_pulse_duration: 0.000004
双Z双限位
-
在第二个Z配置需要添加
endstop_pin:
[stepper_z]
step_pin: PA5
dir_pin: PA4
enable_pin: !PA6
rotation_distance: 4
full_steps_per_rotation: 200
microsteps: 16
endstop_pin: ^!PA9
position_endstop: 0
position_max: 300
homing_speed: 50
homing_retract_dist: 5
step_pulse_duration: 0.000004
[stepper_z1]
step_pin: PB10
dir_pin: PB2
enable_pin: !PB11
rotation_distance: 4
full_steps_per_rotation: 200
microsteps: 16
step_pulse_duration: 0.000004
endstop_pin: ^!PA10
双Z使用Probe或者BL Touch
-
在第1个Z配置
endstop_pin:
后面pin修改为probe:z_virtual_endstop
-
需要设置Probe或者BL Touch
[stepper_z]
step_pin: PA5
dir_pin: PA4
enable_pin: !PA6
rotation_distance: 4
full_steps_per_rotation: 200
microsteps: 16
endstop_pin: probe:z_virtual_endstop
# position_endstop: 0
position_max: 300
homing_speed: 50
homing_retract_dist: 5
step_pulse_duration: 0.000004
[stepper_z1]
step_pin: PB10
dir_pin: PB2
enable_pin: !PB11
rotation_distance: 4
full_steps_per_rotation: 200
microsteps: 16
step_pulse_duration: 0.000004
endstop_pin: ^!PA10
[probe]
pin: ^PB4 # 信号接口
x_offset: 0 # X轴-传感器相对喷嘴偏移量
y_offset: 0 # Y