|
@@ -516,7 +516,7 @@ float Probe::run_z_probe(const bool sanity_check/*=true*/) {
|
516
|
516
|
#if TOTAL_PROBING == 2
|
517
|
517
|
|
518
|
518
|
// Do a first probe at the fast speed
|
519
|
|
- if (try_to_probe(PSTR("FAST"), z_probe_low_point, MMM_TO_MMS(Z_PROBE_SPEED_FAST),
|
|
519
|
+ if (try_to_probe(PSTR("FAST"), z_probe_low_point, z_probe_fast_mm_s,
|
520
|
520
|
sanity_check, Z_CLEARANCE_BETWEEN_PROBES) ) return NAN;
|
521
|
521
|
|
522
|
522
|
const float first_probe_z = current_position.z;
|
|
@@ -524,7 +524,7 @@ float Probe::run_z_probe(const bool sanity_check/*=true*/) {
|
524
|
524
|
if (DEBUGGING(LEVELING)) DEBUG_ECHOLNPAIR("1st Probe Z:", first_probe_z);
|
525
|
525
|
|
526
|
526
|
// Raise to give the probe clearance
|
527
|
|
- do_blocking_move_to_z(current_position.z + Z_CLEARANCE_MULTI_PROBE, MMM_TO_MMS(Z_PROBE_SPEED_FAST));
|
|
527
|
+ do_blocking_move_to_z(current_position.z + Z_CLEARANCE_MULTI_PROBE, z_probe_fast_mm_s);
|
528
|
528
|
|
529
|
529
|
#elif Z_PROBE_SPEED_FAST != Z_PROBE_SPEED_SLOW
|
530
|
530
|
|
|
@@ -533,8 +533,8 @@ float Probe::run_z_probe(const bool sanity_check/*=true*/) {
|
533
|
533
|
const float z = Z_CLEARANCE_DEPLOY_PROBE + 5.0 + (offset.z < 0 ? -offset.z : 0);
|
534
|
534
|
if (current_position.z > z) {
|
535
|
535
|
// Probe down fast. If the probe never triggered, raise for probe clearance
|
536
|
|
- if (!probe_down_to_z(z, MMM_TO_MMS(Z_PROBE_SPEED_FAST)))
|
537
|
|
- do_blocking_move_to_z(current_position.z + Z_CLEARANCE_BETWEEN_PROBES, MMM_TO_MMS(Z_PROBE_SPEED_FAST));
|
|
536
|
+ if (!probe_down_to_z(z, z_probe_fast_mm_s))
|
|
537
|
+ do_blocking_move_to_z(current_position.z + Z_CLEARANCE_BETWEEN_PROBES, z_probe_fast_mm_s);
|
538
|
538
|
}
|
539
|
539
|
#endif
|
540
|
540
|
|
|
@@ -582,7 +582,7 @@ float Probe::run_z_probe(const bool sanity_check/*=true*/) {
|
582
|
582
|
#if EXTRA_PROBING > 0
|
583
|
583
|
< TOTAL_PROBING - 1
|
584
|
584
|
#endif
|
585
|
|
- ) do_blocking_move_to_z(z + Z_CLEARANCE_MULTI_PROBE, MMM_TO_MMS(Z_PROBE_SPEED_FAST));
|
|
585
|
+ ) do_blocking_move_to_z(z + Z_CLEARANCE_MULTI_PROBE, z_probe_fast_mm_s);
|
586
|
586
|
#endif
|
587
|
587
|
}
|
588
|
588
|
|
|
@@ -672,7 +672,7 @@ float Probe::probe_at_point(const float &rx, const float &ry, const ProbePtRaise
|
672
|
672
|
if (!isnan(measured_z)) {
|
673
|
673
|
const bool big_raise = raise_after == PROBE_PT_BIG_RAISE;
|
674
|
674
|
if (big_raise || raise_after == PROBE_PT_RAISE)
|
675
|
|
- do_blocking_move_to_z(current_position.z + (big_raise ? 25 : Z_CLEARANCE_BETWEEN_PROBES), MMM_TO_MMS(Z_PROBE_SPEED_FAST));
|
|
675
|
+ do_blocking_move_to_z(current_position.z + (big_raise ? 25 : Z_CLEARANCE_BETWEEN_PROBES), z_probe_fast_mm_s);
|
676
|
676
|
else if (raise_after == PROBE_PT_STOW)
|
677
|
677
|
if (stow()) measured_z = NAN; // Error on stow?
|
678
|
678
|
|