From f4076fe99d18b4e008c4cac3a617ec2bdd6c913b Mon Sep 17 00:00:00 2001 From: Custom3DProducts <34868577+Custom3DProducts@users.noreply.github.com> Date: Fri, 2 Feb 2018 00:29:19 -0800 Subject: [PATCH] [1.1.x] Add Z_PROBE_HYSTERESIS to mitigate Z jerking while probing (#9375) --- Marlin/Marlin_main.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Marlin/Marlin_main.cpp b/Marlin/Marlin_main.cpp index e2d05518a..1cd0555cd 100644 --- a/Marlin/Marlin_main.cpp +++ b/Marlin/Marlin_main.cpp @@ -2244,13 +2244,12 @@ static void clean_up_after_endstop_or_probe_move() { #else - // If the nozzle is above the travel height then + // If the nozzle is well over the travel height then // move down quickly before doing the slow probe - float z = Z_CLEARANCE_DEPLOY_PROBE; + float z = Z_CLEARANCE_DEPLOY_PROBE + 5.0; if (zprobe_zoffset < 0) z -= zprobe_zoffset; - if (z < current_position[Z_AXIS]) { - + if (current_position[Z_AXIS] > z) { // If we don't make it to the z position (i.e. the probe triggered), move up to make clearance for the probe if (!do_probe_move(z, Z_PROBE_SPEED_FAST)) do_blocking_move_to_z(current_position[Z_AXIS] + Z_CLEARANCE_BETWEEN_PROBES, MMM_TO_MMS(Z_PROBE_SPEED_FAST));