BDP_TOUCH: default STOP 60

At 2.2 force per 0.01 mm (measured 2026-11-02) the old default of 80 was
out of reach within FLOOR from Z0.15 (peak 70 at -0.35); 60 is reached at
about 0.27 mm into the bed and still leaves ~100 readings for the fit.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
mangavalkandClaude Opus 5.5 committed 2026-11-02 17:32:43 +01:00
1 parent 7761e8f803
commit 2c1fd27dc6
3 files changed
+13 -11

No files matched your search

+10 -8
View File
@@ -24,12 +24,14 @@
# the TOUCH_COMPARE macro (macros/sensors/touch_compare.cfg), which heats
# the nozzle and homes first.
#
# Safety: the move stops when the force reaches STOP (default 80, about
# 0.3 mm into the bed; a purge peaks at 64-246) and overshoots by what was
# already queued (at most ~0.15 s of the move, ~0.05 mm at 0.3 mm/s). The
# descent ends at FLOOR below the start, and the nozzle always goes back up
# to the start height, also after an error. It refuses to run while the bdp_guard is armed (in stop
# mode the touch would shut Klipper down) or while the sensor is in PA mode.
# Safety: the move stops when the force reaches STOP (default 60, about
# 0.27 mm into the bed at 2.2 per 0.01 mm; 80 was out of reach within
# FLOOR from Z0.15: peak 70 at -0.35; a purge peaks at 64-246) and
# overshoots by what was already queued (at most ~0.15 s of the move,
# ~0.05 mm at 0.3 mm/s). The descent ends at FLOOR below the start, and
# the nozzle always goes back up to the start height, also after an error.
# It refuses to run while the bdp_guard is armed (in stop mode the touch
# would shut Klipper down) or while the sensor is in PA mode.
#
# Install: copy to ~/klipper/klippy/extras/bdp_touch.py (install.sh links
# it) and add
@@ -38,7 +40,7 @@
# sensor: bd_pa # name after "bdpressure" in [bdpressure bd_pa]
#
# Commands:
# BDP_TOUCH [THRESHOLD=15] [STOP=80] [SPEED=0.3] [FLOOR=0.5]
# BDP_TOUCH [THRESHOLD=15] [STOP=60] [SPEED=0.3] [FLOOR=0.5]
# touch at the current X/Y, starting at the current Z (SPEED in mm/s)
# _TOUCH_COMPARE [N=10] [START=0.1] [THRESHOLD=..] [STOP=..] [SPEED=..]
# the comparison loop; START is the BDP_TOUCH start height above the
@@ -263,7 +265,7 @@ class BDPTouch:
def _touch_params(self, gcmd):
return dict(
threshold=gcmd.get_float('THRESHOLD', 15., above=0.),
stop=gcmd.get_float('STOP', 80., above=0., maxval=150.),
stop=gcmd.get_float('STOP', 60., above=0., maxval=150.),
speed=gcmd.get_float('SPEED', 0.3, minval=0.05, maxval=1.),
floor=gcmd.get_float('FLOOR', 0.5, above=0., maxval=1.))