Browse Source

Fix jerky Z motion between probes

Suggested by #9375
Scott Lahteine 6 years ago
parent
commit
9b9350e010
1 changed files with 3 additions and 4 deletions
  1. 3
    4
      Marlin/src/module/probe.cpp

+ 3
- 4
Marlin/src/module/probe.cpp View File

@@ -538,13 +538,12 @@ static float run_z_probe() {
538 538
 
539 539
   #else
540 540
 
541
-    // If the nozzle is above the travel height then
541
+    // If the nozzle is well over the travel height then
542 542
     // move down quickly before doing the slow probe
543
-    float z = Z_CLEARANCE_DEPLOY_PROBE;
543
+    float z = Z_CLEARANCE_DEPLOY_PROBE + 5.0;
544 544
     if (zprobe_zoffset < 0) z -= zprobe_zoffset;
545 545
 
546
-    if (z < current_position[Z_AXIS]) {
547
-
546
+    if (current_position[Z_AXIS] > z) {
548 547
       // If we don't make it to the z position (i.e. the probe triggered), move up to make clearance for the probe
549 548
       if (!do_probe_move(z, Z_PROBE_SPEED_FAST))
550 549
         do_blocking_move_to_z(current_position[Z_AXIS] + Z_CLEARANCE_BETWEEN_PROBES, MMM_TO_MMS(Z_PROBE_SPEED_FAST));

Loading…
Cancel
Save