多Z参考配置
双Z单限位
-
在第二个Z配置无需添加
endstop_pin:[stepper_z]step_pin: PA5dir_pin: PA4enable_pin: !PA6rotation_distance: 4full_steps_per_rotation: 200microsteps: 16endstop_pin: ^!PA9position_endstop: 0position_max: 300homing_speed: 50homing_retract_dist: 5[stepper_z1]step_pin: PB10dir_pin: PB2enable_pin: !PB11rotation_distance: 4full_steps_per_rotation: 200microsteps: 16
双Z双限位
-
在第二个Z配置需要添加
endstop_pin:[stepper_z]step_pin: PA5dir_pin: PA4enable_pin: !PA6rotation_distance: 4full_steps_per_rotation: 200microsteps: 16endstop_pin: ^!PA9position_endstop: 0position_max: 300homing_speed: 50homing_retract_dist: 5[stepper_z1]step_pin: PB10dir_pin: PB2enable_pin: !PB11rotation_distance: 4full_steps_per_rotation: 200microsteps: 16endstop_pin: ^!PA10
双Z使用Probe或者BL Touch
-
在第1个Z配置
endstop_pin:后面pin修改为probe:z_virtual_endstop -
需要设置Probe或者BL Touch
[stepper_z]step_pin: PA5dir_pin: PA4enable_pin: !PA6rotation_distance: 4full_steps_per_rotation: 200microsteps: 16endstop_pin: probe:z_virtual_endstop# position_endstop: 0position_max: 300homing_speed: 50homing_retract_dist: 5step_pulse_duration: 0.000004[stepper_z1]step_pin: PB10dir_pin: PB2enable_pin: !PB11rotation_distance: 4full_steps_per_rotation: 200microsteps: 16[probe]pin: ^PB4 # 信号接口x_offset: 0 # X轴-传感器相对喷嘴偏移量y_offset: 0 # Y轴-传感器相对喷嘴偏移量#z_offset: 0 # Z轴-传感器相对喷嘴偏移量speed: 3.0 # 调平速度lift_speed: 5 # 抬起探头速度samples: 3 # 采样次数samples_result: median # 取值方式(默认median-中位数)sample_retract_dist: 3.0 # 调平回缩距离samples_tolerance: 0.075 # 采样公差(注意过小的值可能造成采样次数增加)samples_tolerance_retries: 3 # 超公差重试次数
Loading...