diff --git a/Marlin/Configuration.h b/Marlin/Configuration.h index 3320e9284e..69b19fbf6e 100644 --- a/Marlin/Configuration.h +++ b/Marlin/Configuration.h @@ -995,6 +995,30 @@ // Feedrate (mm/min) for the "accurate" probe of each point #define Z_PROBE_SPEED_SLOW (Z_PROBE_SPEED_FAST / 2) +// Fail to probe if the probe does not indicate itself as active. +// This may be a switch indicating proper deployment, or an optical switch to report the carriage is near the bed. +#define PROBE_ACTIVE_INPUT +#if ENABLED(PROBE_ACTIVE_INPUT) + #define PROBE_ACTIVE_INPUT_STATE LOW // State indicating probe is active + #define PROBE_ACTIVE_INPUT_PIN PC6 // Override default pin +#endif + +// Probe should be tared prior to each probe +// Useful for strain or piezo sensors which must exclude strain such +// as that from cables or bowden cables pulling on the carriage. +#define PROBE_TARE +#if ENABLED(PROBE_TARE) + #define PROBE_TARE_TIME 200 // Time to hold tare pin (milliseconds) + #define PROBE_TARE_DELAY 200 // Delay after tare before (milliseconds) + #define PROBE_TARE_STATE HIGH // State to write pin for tare + #define PROBE_TARE_PIN PA5 // Override default pin + #if ENABLED(PROBE_ACTIVE_INPUT) + // Fail to tare/probe if PROBE_ACTIVE_INPUT reports the probe to be active + #define PROBE_TARE_ONLY_WHILE_INACTIVE + #endif +#endif + + /** * Multiple Probing * @@ -1022,8 +1046,8 @@ * But: `M851 Z+1` with a CLEARANCE of 2 => 2mm from bed to nozzle. */ #define Z_CLEARANCE_DEPLOY_PROBE 10 // Z Clearance for Deploy/Stow -#define Z_CLEARANCE_BETWEEN_PROBES 3 // Z Clearance between probe points -#define Z_CLEARANCE_MULTI_PROBE 2 // Z Clearance between multiple probes +#define Z_CLEARANCE_BETWEEN_PROBES 7 // Z Clearance between probe points +#define Z_CLEARANCE_MULTI_PROBE 7 // Z Clearance between multiple probes //#define Z_AFTER_PROBING 5 // Z position after probing is done #define Z_PROBE_LOW_POINT -2 // Farthest distance below the trigger-point to go before stopping