From bcc3964aedf418121d161888d0adc8088bf33ffe Mon Sep 17 00:00:00 2001 From: Knutwurst <36196269+knutwurst@users.noreply.github.com> Date: Wed, 12 Aug 2020 22:10:23 +0200 Subject: [PATCH] Feature: Very fast BLTouch probing --- Marlin/Configuration.h | 10 +++++----- Marlin/Configuration_adv.h | 2 +- Marlin/src/lcd/anycubic_touchscreen.cpp | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Marlin/Configuration.h b/Marlin/Configuration.h index aea85be0..e3f2d150 100755 --- a/Marlin/Configuration.h +++ b/Marlin/Configuration.h @@ -915,11 +915,11 @@ * X, Y, Z, E0 [, E1[, E2...]] */ #if ENABLED(KNUTWURST_MEGA) - #define DEFAULT_MAX_FEEDRATE { 500, 500, 6, 60 } + #define DEFAULT_MAX_FEEDRATE { 500, 500, 20, 60 } #endif #if ENABLED(KNUTWURST_MEGA_S) - #define DEFAULT_MAX_FEEDRATE { 500, 500, 6, 30 } + #define DEFAULT_MAX_FEEDRATE { 500, 500, 20, 30 } #endif #if ENABLED(KNUTWURST_MEGA_X) @@ -1178,10 +1178,10 @@ // Most probes should stay away from the edges of the bed, but // with NOZZLE_AS_PROBE this can be negative for a wider probing area. -#define MIN_PROBE_EDGE 10 +#define MIN_PROBE_EDGE 30 // X and Y axis travel speed (mm/m) between probes -#define XY_PROBE_SPEED 3600 +#define XY_PROBE_SPEED 8000 // Feedrate (mm/m) for the first approach when double-probing (MULTIPLE_PROBING == 2) #define Z_PROBE_SPEED_FAST HOMING_FEEDRATE_Z @@ -1634,7 +1634,7 @@ // Homing speeds (mm/m) #define HOMING_FEEDRATE_XY (50*60) -#define HOMING_FEEDRATE_Z (4*60) +#define HOMING_FEEDRATE_Z (10*60) // Validate that endstops are triggered on homing moves #define VALIDATE_HOMING_ENDSTOPS diff --git a/Marlin/Configuration_adv.h b/Marlin/Configuration_adv.h index 1a42ece5..29ceada1 100755 --- a/Marlin/Configuration_adv.h +++ b/Marlin/Configuration_adv.h @@ -681,7 +681,7 @@ * This feature was designed for Delta's with very fast Z moves however higher speed cartesians may function * If the machine cannot raise the probe fast enough after a trigger, it may enter a fault state. */ - //#define BLTOUCH_HS_MODE + #define BLTOUCH_HS_MODE // Safety: Enable voltage mode settings in the LCD menu. //#define BLTOUCH_LCD_VOLTAGE_MENU diff --git a/Marlin/src/lcd/anycubic_touchscreen.cpp b/Marlin/src/lcd/anycubic_touchscreen.cpp index 3ea00327..5967cecc 100755 --- a/Marlin/src/lcd/anycubic_touchscreen.cpp +++ b/Marlin/src/lcd/anycubic_touchscreen.cpp @@ -539,7 +539,7 @@ void AnycubicTouchscreenClass::HandleSpecialMenu() || (strcasestr(currentTouchscreenSelection, SM_BLTOUCH_S) != NULL)) { SERIAL_ECHOLNPGM("Special Menu: BLTouch Leveling"); - queue.inject_P(PSTR("G28\nG29\nM500\nG90\nG1 X0 Z30 F4000\nG91")); + queue.inject_P(PSTR("G28\nG29\nM500\nG90\nG1 Z30 F4000\nG1 X0 F4000\nG91")); } #endif