Clean up probe config options

2.0.x
Scott Lahteine 8 years ago
parent 153e240cdd
commit e05af606a8

@ -345,4 +345,12 @@
*/ */
#define PROBE_SELECTED (ENABLED(FIX_MOUNTED_PROBE) || ENABLED(Z_PROBE_ALLEN_KEY) || HAS_Z_SERVO_ENDSTOP || ENABLED(Z_PROBE_SLED)) #define PROBE_SELECTED (ENABLED(FIX_MOUNTED_PROBE) || ENABLED(Z_PROBE_ALLEN_KEY) || HAS_Z_SERVO_ENDSTOP || ENABLED(Z_PROBE_SLED))
/**
* Clear probe pin settings when no probe is selected
*/
#if !PROBE_SELECTED
#undef Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
#undef Z_MIN_PROBE_ENDSTOP
#endif
#endif //CONDITIONALS_LCD_H #endif //CONDITIONALS_LCD_H

@ -409,9 +409,6 @@
#if ENABLED(USE_ZMIN_PLUG) #if ENABLED(USE_ZMIN_PLUG)
#define ENDSTOPPULLUP_ZMIN #define ENDSTOPPULLUP_ZMIN
#endif #endif
#if DISABLED(DISABLE_Z_MIN_PROBE_ENDSTOP)
#define ENDSTOPPULLUP_ZMIN_PROBE
#endif
#endif #endif
/** /**
@ -589,6 +586,9 @@
* Bed Probe dependencies * Bed Probe dependencies
*/ */
#if HAS_BED_PROBE #if HAS_BED_PROBE
#if ENABLED(ENDSTOPPULLUPS) && HAS_Z_MIN_PROBE_PIN
#define ENDSTOPPULLUP_ZMIN_PROBE
#endif
#ifndef Z_PROBE_OFFSET_RANGE_MIN #ifndef Z_PROBE_OFFSET_RANGE_MIN
#define Z_PROBE_OFFSET_RANGE_MIN -20 #define Z_PROBE_OFFSET_RANGE_MIN -20
#endif #endif

@ -573,9 +573,6 @@
// Allen Key Probe is defined in the Delta example configurations. // Allen Key Probe is defined in the Delta example configurations.
// //
// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
//
// *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! *** // *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
// //
// To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING. // To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING.
@ -593,16 +590,24 @@
// - normally-open switches to 5V and D32. // - normally-open switches to 5V and D32.
// //
// Normally-closed switches are advised and are the default. // Normally-closed switches are advised and are the default.
//
// //
// The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.) // The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.)
// Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the // Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the
// default pin for all RAMPS-based boards. Some other boards map differently. // default pin for all RAMPS-based boards. Most boards use the X_MAX_PIN by default.
// To set or change the pin for your board, edit the appropriate pins_XXXXX.h file. // To use a different pin you can override it here.
// //
// WARNING: // WARNING:
// Setting the wrong pin may have unexpected and potentially disastrous consequences. // Setting the wrong pin may have unexpected and potentially disastrous consequences.
// Use with caution and do your homework. // Use with caution and do your homework.
// //
//#define Z_MIN_PROBE_PIN X_MAX_PIN
//
// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
//
//#define Z_MIN_PROBE_ENDSTOP //#define Z_MIN_PROBE_ENDSTOP
// Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE. // Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE.
@ -611,12 +616,6 @@
// To use a probe you must enable one of the two options above! // To use a probe you must enable one of the two options above!
// This option disables the use of the Z_MIN_PROBE_PIN
// To enable the Z probe pin but disable its use, uncomment the line below. This only affects a
// Z probe switch if you have a separate Z min endstop also and have activated Z_MIN_PROBE_ENDSTOP above.
// If you're using the Z MIN endstop connector for your Z probe, this has no effect.
//#define DISABLE_Z_MIN_PROBE_ENDSTOP
// Enable Z Probe Repeatability test to see how accurate your probe is // Enable Z Probe Repeatability test to see how accurate your probe is
//#define Z_MIN_PROBE_REPEATABILITY_TEST //#define Z_MIN_PROBE_REPEATABILITY_TEST

@ -352,88 +352,74 @@
#if PROBE_SELECTED #if PROBE_SELECTED
#if ENABLED(Z_PROBE_SLED) && ENABLED(DELTA)
#error "You cannot use Z_PROBE_SLED with DELTA."
#endif
/** /**
* NUM_SERVOS is required for a Z servo probe * Only allow one probe option to be defined
*/ */
#if HAS_Z_SERVO_ENDSTOP #define COUNT_PROBE_1 0
#ifndef NUM_SERVOS #if ENABLED(FIX_MOUNTED_PROBE)
#error "You must set NUM_SERVOS for a Z servo probe (Z_ENDSTOP_SERVO_NR)." #define COUNT_PROBE_2 INCREMENT(COUNT_PROBE_1)
#elif Z_ENDSTOP_SERVO_NR >= NUM_SERVOS #else
#error "Z_ENDSTOP_SERVO_NR must be smaller than NUM_SERVOS." #define COUNT_PROBE_2 COUNT_PROBE_1
#endif #endif
#if HAS_Z_SERVO_ENDSTOP && DISABLED(BLTOUCH)
#define COUNT_PROBE_3 INCREMENT(COUNT_PROBE_2)
#else
#define COUNT_PROBE_3 COUNT_PROBE_2
#endif #endif
#if ENABLED(BLTOUCH)
/** #define COUNT_PROBE_4 INCREMENT(COUNT_PROBE_3)
* A probe needs a pin #else
*/ #define COUNT_PROBE_4 COUNT_PROBE_3
#if !PROBE_PIN_CONFIGURED
#error "A probe needs a pin! Use Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN or Z_MIN_PROBE_PIN."
#endif #endif
#if ENABLED(Z_PROBE_ALLEN_KEY)
/** #define COUNT_PROBE_5 INCREMENT(COUNT_PROBE_4)
* Require a Z min pin #else
*/ #define COUNT_PROBE_5 COUNT_PROBE_4
#if HAS_Z_MIN
// Z_MIN_PIN and Z_MIN_PROBE_PIN can't co-exist when Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
#if HAS_Z_MIN_PROBE_PIN && ENABLED(Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN)
#error "A probe cannot have more than one pin! Use Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN or Z_MIN_PROBE_PIN."
#endif #endif
#elif !HAS_Z_MIN_PROBE_PIN || (DISABLED(Z_MIN_PROBE_ENDSTOP) || ENABLED(DISABLE_Z_MIN_PROBE_ENDSTOP)) #if ENABLED(Z_PROBE_SLED)
// A pin was set for the Z probe, but not enabled. #define COUNT_PROBE_6 INCREMENT(COUNT_PROBE_5)
#error "A probe requires a Z_MIN or Z_PROBE pin. Z_MIN_PIN or Z_MIN_PROBE_PIN must point to a valid hardware pin." #else
#define COUNT_PROBE_6 COUNT_PROBE_5
#endif #endif
#if COUNT_PROBE_6 > 1
/** #error "Please enable only one probe: FIX_MOUNTED_PROBE, Z Servo, BLTOUCH, Z_PROBE_ALLEN_KEY, or Z_PROBE_SLED."
* Make sure the plug is enabled if it's used
*/
#if ENABLED(Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN) && DISABLED(USE_ZMIN_PLUG)
#error "You must enable USE_ZMIN_PLUG if any probe or endstop is connected to the ZMIN plug."
#endif #endif
/** /**
* Only allow one probe option to be defined * Z_PROBE_SLED is incompatible with DELTA
*/ */
#if (ENABLED(FIX_MOUNTED_PROBE) && (ENABLED(Z_PROBE_ALLEN_KEY) || HAS_Z_SERVO_ENDSTOP || ENABLED(Z_PROBE_SLED))) \ #if ENABLED(Z_PROBE_SLED) && ENABLED(DELTA)
|| (ENABLED(Z_PROBE_ALLEN_KEY) && (HAS_Z_SERVO_ENDSTOP || ENABLED(Z_PROBE_SLED))) \ #error "You cannot use Z_PROBE_SLED with DELTA."
|| (HAS_Z_SERVO_ENDSTOP && ENABLED(Z_PROBE_SLED))
#error "Please define only one type of probe: Z Servo/BLTOUCH, Z_PROBE_ALLEN_KEY, Z_PROBE_SLED, or FIX_MOUNTED_PROBE."
#endif #endif
/** /**
* Don't allow nonsense probe-pin settings * NUM_SERVOS is required for a Z servo probe
*/ */
#if ENABLED(Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN) && ENABLED(Z_MIN_PROBE_ENDSTOP) #if HAS_Z_SERVO_ENDSTOP
#error "You can't enable both Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN and Z_MIN_PROBE_ENDSTOP." #ifndef NUM_SERVOS
#elif ENABLED(Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN) && ENABLED(DISABLE_Z_MIN_PROBE_ENDSTOP) #error "You must set NUM_SERVOS for a Z servo probe (Z_ENDSTOP_SERVO_NR)."
#error "Don't enable DISABLE_Z_MIN_PROBE_ENDSTOP with Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN." #elif Z_ENDSTOP_SERVO_NR >= NUM_SERVOS
#elif ENABLED(DISABLE_Z_MIN_PROBE_ENDSTOP) && DISABLED(Z_MIN_PROBE_ENDSTOP) #error "Z_ENDSTOP_SERVO_NR must be smaller than NUM_SERVOS."
#error "DISABLE_Z_MIN_PROBE_ENDSTOP requires Z_MIN_PROBE_ENDSTOP to be set." #endif
#endif #endif
/** /**
* Require a Z probe pin if Z_MIN_PROBE_ENDSTOP is enabled. * Require pin options and pins to be defined
*/ */
#if ENABLED(Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN)
#if ENABLED(Z_MIN_PROBE_ENDSTOP) #if ENABLED(Z_MIN_PROBE_ENDSTOP)
#error "Enable only one option: Z_MIN_PROBE_ENDSTOP or Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN."
#elif DISABLED(USE_ZMIN_PLUG)
#error "Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN requires USE_ZMIN_PLUG to be enabled."
#elif !HAS_Z_MIN
#error "Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN requires the Z_MIN_PIN to be defined."
#endif
#elif ENABLED(Z_MIN_PROBE_ENDSTOP)
#if !HAS_Z_MIN_PROBE_PIN #if !HAS_Z_MIN_PROBE_PIN
#error "Z_MIN_PROBE_ENDSTOP requires a Z_MIN_PROBE_PIN in your board's pins_XXXX.h file." #error "Z_MIN_PROBE_ENDSTOP requires the Z_MIN_PROBE_PIN to be defined."
#endif #endif
// Forcing Servo definitions can break some hall effect sensor setups. Leaving these here for further comment. #else
//#ifndef NUM_SERVOS #error "You must enable either Z_MIN_PROBE_ENDSTOP or Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use a probe."
// #error "You must have NUM_SERVOS defined and there must be at least 1 configured to use Z_MIN_PROBE_ENDSTOP."
//#endif
//#if defined(NUM_SERVOS) && NUM_SERVOS < 1
// #error "You must have at least 1 servo defined for NUM_SERVOS to use Z_MIN_PROBE_ENDSTOP."
//#endif
//#if Z_ENDSTOP_SERVO_NR < 0
// #error "You must have Z_ENDSTOP_SERVO_NR set to at least 0 or above to use Z_MIN_PROBE_ENDSTOP."
//#endif
//#ifndef Z_SERVO_ANGLES
// #error "You must have Z_SERVO_ANGLES defined for Z Extend and Retract to use Z_MIN_PROBE_ENDSTOP."
//#endif
#endif #endif
/** /**

@ -122,7 +122,7 @@ void Endstops::init() {
#endif #endif
#endif #endif
#if HAS_Z_MIN_PROBE_PIN && ENABLED(Z_MIN_PROBE_ENDSTOP) // Check for Z_MIN_PROBE_ENDSTOP so we don't pull a pin high unless it's to be used. #if ENABLED(Z_MIN_PROBE_ENDSTOP)
SET_INPUT(Z_MIN_PROBE_PIN); SET_INPUT(Z_MIN_PROBE_PIN);
#if ENABLED(ENDSTOPPULLUP_ZMIN_PROBE) #if ENABLED(ENDSTOPPULLUP_ZMIN_PROBE)
WRITE(Z_MIN_PROBE_PIN,HIGH); WRITE(Z_MIN_PROBE_PIN,HIGH);
@ -209,7 +209,7 @@ void Endstops::M119() {
SERIAL_PROTOCOLPGM(MSG_Z2_MAX); SERIAL_PROTOCOLPGM(MSG_Z2_MAX);
SERIAL_PROTOCOLLN(((READ(Z2_MAX_PIN)^Z2_MAX_ENDSTOP_INVERTING) ? MSG_ENDSTOP_HIT : MSG_ENDSTOP_OPEN)); SERIAL_PROTOCOLLN(((READ(Z2_MAX_PIN)^Z2_MAX_ENDSTOP_INVERTING) ? MSG_ENDSTOP_HIT : MSG_ENDSTOP_OPEN));
#endif #endif
#if HAS_Z_MIN_PROBE_PIN #if ENABLED(Z_MIN_PROBE_ENDSTOP)
SERIAL_PROTOCOLPGM(MSG_Z_PROBE); SERIAL_PROTOCOLPGM(MSG_Z_PROBE);
SERIAL_PROTOCOLLN(((READ(Z_MIN_PROBE_PIN)^Z_MIN_PROBE_ENDSTOP_INVERTING) ? MSG_ENDSTOP_HIT : MSG_ENDSTOP_OPEN)); SERIAL_PROTOCOLLN(((READ(Z_MIN_PROBE_PIN)^Z_MIN_PROBE_ENDSTOP_INVERTING) ? MSG_ENDSTOP_HIT : MSG_ENDSTOP_OPEN));
#endif #endif
@ -331,7 +331,7 @@ void Endstops::update() {
#else // !Z_DUAL_ENDSTOPS #else // !Z_DUAL_ENDSTOPS
#if HAS_BED_PROBE && ENABLED(Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN) #if ENABLED(Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN)
if (z_probe_enabled) UPDATE_ENDSTOP(Z, MIN); if (z_probe_enabled) UPDATE_ENDSTOP(Z, MIN);
#else #else
UPDATE_ENDSTOP(Z, MIN); UPDATE_ENDSTOP(Z, MIN);
@ -341,7 +341,7 @@ void Endstops::update() {
#endif // HAS_Z_MIN #endif // HAS_Z_MIN
#if HAS_BED_PROBE && ENABLED(Z_MIN_PROBE_ENDSTOP) && DISABLED(Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN) #if ENABLED(Z_MIN_PROBE_ENDSTOP)
if (z_probe_enabled) { if (z_probe_enabled) {
UPDATE_ENDSTOP(Z, MIN_PROBE); UPDATE_ENDSTOP(Z, MIN_PROBE);
if (TEST_ENDSTOP(Z_MIN_PROBE)) SBI(endstop_hit_bits, Z_MIN_PROBE); if (TEST_ENDSTOP(Z_MIN_PROBE)) SBI(endstop_hit_bits, Z_MIN_PROBE);

@ -556,9 +556,6 @@
// Allen Key Probe is defined in the Delta example configurations. // Allen Key Probe is defined in the Delta example configurations.
// //
// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
//
// *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! *** // *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
// //
// To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING. // To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING.
@ -576,16 +573,24 @@
// - normally-open switches to 5V and D32. // - normally-open switches to 5V and D32.
// //
// Normally-closed switches are advised and are the default. // Normally-closed switches are advised and are the default.
//
// //
// The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.) // The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.)
// Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the // Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the
// default pin for all RAMPS-based boards. Some other boards map differently. // default pin for all RAMPS-based boards. Most boards use the X_MAX_PIN by default.
// To set or change the pin for your board, edit the appropriate pins_XXXXX.h file. // To use a different pin you can override it here.
// //
// WARNING: // WARNING:
// Setting the wrong pin may have unexpected and potentially disastrous consequences. // Setting the wrong pin may have unexpected and potentially disastrous consequences.
// Use with caution and do your homework. // Use with caution and do your homework.
// //
//#define Z_MIN_PROBE_PIN X_MAX_PIN
//
// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
//
//#define Z_MIN_PROBE_ENDSTOP //#define Z_MIN_PROBE_ENDSTOP
// Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE. // Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE.
@ -594,12 +599,6 @@
// To use a probe you must enable one of the two options above! // To use a probe you must enable one of the two options above!
// This option disables the use of the Z_MIN_PROBE_PIN
// To enable the Z probe pin but disable its use, uncomment the line below. This only affects a
// Z probe switch if you have a separate Z min endstop also and have activated Z_MIN_PROBE_ENDSTOP above.
// If you're using the Z MIN endstop connector for your Z probe, this has no effect.
//#define DISABLE_Z_MIN_PROBE_ENDSTOP
// Enable Z Probe Repeatability test to see how accurate your probe is // Enable Z Probe Repeatability test to see how accurate your probe is
//#define Z_MIN_PROBE_REPEATABILITY_TEST //#define Z_MIN_PROBE_REPEATABILITY_TEST

@ -539,9 +539,6 @@
// Allen Key Probe is defined in the Delta example configurations. // Allen Key Probe is defined in the Delta example configurations.
// //
// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
//
// *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! *** // *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
// //
// To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING. // To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING.
@ -559,16 +556,24 @@
// - normally-open switches to 5V and D32. // - normally-open switches to 5V and D32.
// //
// Normally-closed switches are advised and are the default. // Normally-closed switches are advised and are the default.
//
// //
// The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.) // The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.)
// Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the // Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the
// default pin for all RAMPS-based boards. Some other boards map differently. // default pin for all RAMPS-based boards. Most boards use the X_MAX_PIN by default.
// To set or change the pin for your board, edit the appropriate pins_XXXXX.h file. // To use a different pin you can override it here.
// //
// WARNING: // WARNING:
// Setting the wrong pin may have unexpected and potentially disastrous consequences. // Setting the wrong pin may have unexpected and potentially disastrous consequences.
// Use with caution and do your homework. // Use with caution and do your homework.
// //
//#define Z_MIN_PROBE_PIN X_MAX_PIN
//
// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
//
//#define Z_MIN_PROBE_ENDSTOP //#define Z_MIN_PROBE_ENDSTOP
// Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE. // Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE.
@ -577,12 +582,6 @@
// To use a probe you must enable one of the two options above! // To use a probe you must enable one of the two options above!
// This option disables the use of the Z_MIN_PROBE_PIN
// To enable the Z probe pin but disable its use, uncomment the line below. This only affects a
// Z probe switch if you have a separate Z min endstop also and have activated Z_MIN_PROBE_ENDSTOP above.
// If you're using the Z MIN endstop connector for your Z probe, this has no effect.
//#define DISABLE_Z_MIN_PROBE_ENDSTOP
// Enable Z Probe Repeatability test to see how accurate your probe is // Enable Z Probe Repeatability test to see how accurate your probe is
//#define Z_MIN_PROBE_REPEATABILITY_TEST //#define Z_MIN_PROBE_REPEATABILITY_TEST

@ -537,9 +537,6 @@
// Allen Key Probe is defined in the Delta example configurations. // Allen Key Probe is defined in the Delta example configurations.
// //
// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
//
// *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! *** // *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
// //
// To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING. // To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING.
@ -557,16 +554,24 @@
// - normally-open switches to 5V and D32. // - normally-open switches to 5V and D32.
// //
// Normally-closed switches are advised and are the default. // Normally-closed switches are advised and are the default.
//
// //
// The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.) // The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.)
// Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the // Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the
// default pin for all RAMPS-based boards. Some other boards map differently. // default pin for all RAMPS-based boards. Most boards use the X_MAX_PIN by default.
// To set or change the pin for your board, edit the appropriate pins_XXXXX.h file. // To use a different pin you can override it here.
// //
// WARNING: // WARNING:
// Setting the wrong pin may have unexpected and potentially disastrous consequences. // Setting the wrong pin may have unexpected and potentially disastrous consequences.
// Use with caution and do your homework. // Use with caution and do your homework.
// //
//#define Z_MIN_PROBE_PIN X_MAX_PIN
//
// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
//
//#define Z_MIN_PROBE_ENDSTOP //#define Z_MIN_PROBE_ENDSTOP
// Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE. // Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE.
@ -575,12 +580,6 @@
// To use a probe you must enable one of the two options above! // To use a probe you must enable one of the two options above!
// This option disables the use of the Z_MIN_PROBE_PIN
// To enable the Z probe pin but disable its use, uncomment the line below. This only affects a
// Z probe switch if you have a separate Z min endstop also and have activated Z_MIN_PROBE_ENDSTOP above.
// If you're using the Z MIN endstop connector for your Z probe, this has no effect.
//#define DISABLE_Z_MIN_PROBE_ENDSTOP
// Enable Z Probe Repeatability test to see how accurate your probe is // Enable Z Probe Repeatability test to see how accurate your probe is
//#define Z_MIN_PROBE_REPEATABILITY_TEST //#define Z_MIN_PROBE_REPEATABILITY_TEST

@ -548,9 +548,6 @@
// Allen Key Probe is defined in the Delta example configurations. // Allen Key Probe is defined in the Delta example configurations.
// //
// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
//
// *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! *** // *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
// //
// To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING. // To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING.
@ -568,16 +565,24 @@
// - normally-open switches to 5V and D32. // - normally-open switches to 5V and D32.
// //
// Normally-closed switches are advised and are the default. // Normally-closed switches are advised and are the default.
//
// //
// The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.) // The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.)
// Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the // Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the
// default pin for all RAMPS-based boards. Some other boards map differently. // default pin for all RAMPS-based boards. Most boards use the X_MAX_PIN by default.
// To set or change the pin for your board, edit the appropriate pins_XXXXX.h file. // To use a different pin you can override it here.
// //
// WARNING: // WARNING:
// Setting the wrong pin may have unexpected and potentially disastrous consequences. // Setting the wrong pin may have unexpected and potentially disastrous consequences.
// Use with caution and do your homework. // Use with caution and do your homework.
// //
//#define Z_MIN_PROBE_PIN X_MAX_PIN
//
// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
//
#define Z_MIN_PROBE_ENDSTOP #define Z_MIN_PROBE_ENDSTOP
// Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE. // Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE.
@ -586,12 +591,6 @@
// To use a probe you must enable one of the two options above! // To use a probe you must enable one of the two options above!
// This option disables the use of the Z_MIN_PROBE_PIN
// To enable the Z probe pin but disable its use, uncomment the line below. This only affects a
// Z probe switch if you have a separate Z min endstop also and have activated Z_MIN_PROBE_ENDSTOP above.
// If you're using the Z MIN endstop connector for your Z probe, this has no effect.
//#define DISABLE_Z_MIN_PROBE_ENDSTOP
// Enable Z Probe Repeatability test to see how accurate your probe is // Enable Z Probe Repeatability test to see how accurate your probe is
//#define Z_MIN_PROBE_REPEATABILITY_TEST //#define Z_MIN_PROBE_REPEATABILITY_TEST

@ -550,9 +550,6 @@
// Allen Key Probe is defined in the Delta example configurations. // Allen Key Probe is defined in the Delta example configurations.
// //
// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
//
// *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! *** // *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
// //
// To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING. // To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING.
@ -570,16 +567,24 @@
// - normally-open switches to 5V and D32. // - normally-open switches to 5V and D32.
// //
// Normally-closed switches are advised and are the default. // Normally-closed switches are advised and are the default.
//
// //
// The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.) // The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.)
// Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the // Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the
// default pin for all RAMPS-based boards. Some other boards map differently. // default pin for all RAMPS-based boards. Most boards use the X_MAX_PIN by default.
// To set or change the pin for your board, edit the appropriate pins_XXXXX.h file. // To use a different pin you can override it here.
// //
// WARNING: // WARNING:
// Setting the wrong pin may have unexpected and potentially disastrous consequences. // Setting the wrong pin may have unexpected and potentially disastrous consequences.
// Use with caution and do your homework. // Use with caution and do your homework.
// //
//#define Z_MIN_PROBE_PIN X_MAX_PIN
//
// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
//
#define Z_MIN_PROBE_ENDSTOP #define Z_MIN_PROBE_ENDSTOP
// Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE. // Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE.
@ -588,12 +593,6 @@
// To use a probe you must enable one of the two options above! // To use a probe you must enable one of the two options above!
// This option disables the use of the Z_MIN_PROBE_PIN
// To enable the Z probe pin but disable its use, uncomment the line below. This only affects a
// Z probe switch if you have a separate Z min endstop also and have activated Z_MIN_PROBE_ENDSTOP above.
// If you're using the Z MIN endstop connector for your Z probe, this has no effect.
//#define DISABLE_Z_MIN_PROBE_ENDSTOP
// Enable Z Probe Repeatability test to see how accurate your probe is // Enable Z Probe Repeatability test to see how accurate your probe is
//#define Z_MIN_PROBE_REPEATABILITY_TEST //#define Z_MIN_PROBE_REPEATABILITY_TEST

@ -573,9 +573,6 @@
// Allen Key Probe is defined in the Delta example configurations. // Allen Key Probe is defined in the Delta example configurations.
// //
// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
//
// *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! *** // *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
// //
// To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING. // To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING.
@ -593,16 +590,24 @@
// - normally-open switches to 5V and D32. // - normally-open switches to 5V and D32.
// //
// Normally-closed switches are advised and are the default. // Normally-closed switches are advised and are the default.
//
// //
// The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.) // The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.)
// Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the // Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the
// default pin for all RAMPS-based boards. Some other boards map differently. // default pin for all RAMPS-based boards. Most boards use the X_MAX_PIN by default.
// To set or change the pin for your board, edit the appropriate pins_XXXXX.h file. // To use a different pin you can override it here.
// //
// WARNING: // WARNING:
// Setting the wrong pin may have unexpected and potentially disastrous consequences. // Setting the wrong pin may have unexpected and potentially disastrous consequences.
// Use with caution and do your homework. // Use with caution and do your homework.
// //
//#define Z_MIN_PROBE_PIN X_MAX_PIN
//
// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
//
//#define Z_MIN_PROBE_ENDSTOP //#define Z_MIN_PROBE_ENDSTOP
// Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE. // Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE.
@ -611,12 +616,6 @@
// To use a probe you must enable one of the two options above! // To use a probe you must enable one of the two options above!
// This option disables the use of the Z_MIN_PROBE_PIN
// To enable the Z probe pin but disable its use, uncomment the line below. This only affects a
// Z probe switch if you have a separate Z min endstop also and have activated Z_MIN_PROBE_ENDSTOP above.
// If you're using the Z MIN endstop connector for your Z probe, this has no effect.
//#define DISABLE_Z_MIN_PROBE_ENDSTOP
// Enable Z Probe Repeatability test to see how accurate your probe is // Enable Z Probe Repeatability test to see how accurate your probe is
//#define Z_MIN_PROBE_REPEATABILITY_TEST //#define Z_MIN_PROBE_REPEATABILITY_TEST

@ -556,9 +556,6 @@
// Allen Key Probe is defined in the Delta example configurations. // Allen Key Probe is defined in the Delta example configurations.
// //
// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
//
// *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! *** // *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
// //
// To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING. // To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING.
@ -576,16 +573,24 @@
// - normally-open switches to 5V and D32. // - normally-open switches to 5V and D32.
// //
// Normally-closed switches are advised and are the default. // Normally-closed switches are advised and are the default.
//
// //
// The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.) // The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.)
// Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the // Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the
// default pin for all RAMPS-based boards. Some other boards map differently. // default pin for all RAMPS-based boards. Most boards use the X_MAX_PIN by default.
// To set or change the pin for your board, edit the appropriate pins_XXXXX.h file. // To use a different pin you can override it here.
// //
// WARNING: // WARNING:
// Setting the wrong pin may have unexpected and potentially disastrous consequences. // Setting the wrong pin may have unexpected and potentially disastrous consequences.
// Use with caution and do your homework. // Use with caution and do your homework.
// //
//#define Z_MIN_PROBE_PIN X_MAX_PIN
//
// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
//
//#define Z_MIN_PROBE_ENDSTOP //#define Z_MIN_PROBE_ENDSTOP
// Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE. // Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE.
@ -594,12 +599,6 @@
// To use a probe you must enable one of the two options above! // To use a probe you must enable one of the two options above!
// This option disables the use of the Z_MIN_PROBE_PIN
// To enable the Z probe pin but disable its use, uncomment the line below. This only affects a
// Z probe switch if you have a separate Z min endstop also and have activated Z_MIN_PROBE_ENDSTOP above.
// If you're using the Z MIN endstop connector for your Z probe, this has no effect.
//#define DISABLE_Z_MIN_PROBE_ENDSTOP
// Enable Z Probe Repeatability test to see how accurate your probe is // Enable Z Probe Repeatability test to see how accurate your probe is
//#define Z_MIN_PROBE_REPEATABILITY_TEST //#define Z_MIN_PROBE_REPEATABILITY_TEST

@ -556,9 +556,6 @@
// Allen Key Probe is defined in the Delta example configurations. // Allen Key Probe is defined in the Delta example configurations.
// //
// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
//
// *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! *** // *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
// //
// To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING. // To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING.
@ -576,16 +573,24 @@
// - normally-open switches to 5V and D32. // - normally-open switches to 5V and D32.
// //
// Normally-closed switches are advised and are the default. // Normally-closed switches are advised and are the default.
//
// //
// The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.) // The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.)
// Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the // Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the
// default pin for all RAMPS-based boards. Some other boards map differently. // default pin for all RAMPS-based boards. Most boards use the X_MAX_PIN by default.
// To set or change the pin for your board, edit the appropriate pins_XXXXX.h file. // To use a different pin you can override it here.
// //
// WARNING: // WARNING:
// Setting the wrong pin may have unexpected and potentially disastrous consequences. // Setting the wrong pin may have unexpected and potentially disastrous consequences.
// Use with caution and do your homework. // Use with caution and do your homework.
// //
//#define Z_MIN_PROBE_PIN X_MAX_PIN
//
// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
//
//#define Z_MIN_PROBE_ENDSTOP //#define Z_MIN_PROBE_ENDSTOP
// Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE. // Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE.
@ -594,12 +599,6 @@
// To use a probe you must enable one of the two options above! // To use a probe you must enable one of the two options above!
// This option disables the use of the Z_MIN_PROBE_PIN
// To enable the Z probe pin but disable its use, uncomment the line below. This only affects a
// Z probe switch if you have a separate Z min endstop also and have activated Z_MIN_PROBE_ENDSTOP above.
// If you're using the Z MIN endstop connector for your Z probe, this has no effect.
//#define DISABLE_Z_MIN_PROBE_ENDSTOP
// Enable Z Probe Repeatability test to see how accurate your probe is // Enable Z Probe Repeatability test to see how accurate your probe is
//#define Z_MIN_PROBE_REPEATABILITY_TEST //#define Z_MIN_PROBE_REPEATABILITY_TEST

@ -556,9 +556,6 @@
// Allen Key Probe is defined in the Delta example configurations. // Allen Key Probe is defined in the Delta example configurations.
// //
// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
//
// *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! *** // *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
// //
// To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING. // To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING.
@ -576,16 +573,24 @@
// - normally-open switches to 5V and D32. // - normally-open switches to 5V and D32.
// //
// Normally-closed switches are advised and are the default. // Normally-closed switches are advised and are the default.
//
// //
// The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.) // The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.)
// Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the // Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the
// default pin for all RAMPS-based boards. Some other boards map differently. // default pin for all RAMPS-based boards. Most boards use the X_MAX_PIN by default.
// To set or change the pin for your board, edit the appropriate pins_XXXXX.h file. // To use a different pin you can override it here.
// //
// WARNING: // WARNING:
// Setting the wrong pin may have unexpected and potentially disastrous consequences. // Setting the wrong pin may have unexpected and potentially disastrous consequences.
// Use with caution and do your homework. // Use with caution and do your homework.
// //
//#define Z_MIN_PROBE_PIN X_MAX_PIN
//
// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
//
//#define Z_MIN_PROBE_ENDSTOP //#define Z_MIN_PROBE_ENDSTOP
// Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE. // Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE.
@ -594,12 +599,6 @@
// To use a probe you must enable one of the two options above! // To use a probe you must enable one of the two options above!
// This option disables the use of the Z_MIN_PROBE_PIN
// To enable the Z probe pin but disable its use, uncomment the line below. This only affects a
// Z probe switch if you have a separate Z min endstop also and have activated Z_MIN_PROBE_ENDSTOP above.
// If you're using the Z MIN endstop connector for your Z probe, this has no effect.
//#define DISABLE_Z_MIN_PROBE_ENDSTOP
// Enable Z Probe Repeatability test to see how accurate your probe is // Enable Z Probe Repeatability test to see how accurate your probe is
//#define Z_MIN_PROBE_REPEATABILITY_TEST //#define Z_MIN_PROBE_REPEATABILITY_TEST

@ -554,9 +554,6 @@
// Allen Key Probe is defined in the Delta example configurations. // Allen Key Probe is defined in the Delta example configurations.
// //
// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
//
// *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! *** // *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
// //
// To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING. // To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING.
@ -574,16 +571,24 @@
// - normally-open switches to 5V and D32. // - normally-open switches to 5V and D32.
// //
// Normally-closed switches are advised and are the default. // Normally-closed switches are advised and are the default.
//
// //
// The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.) // The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.)
// Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the // Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the
// default pin for all RAMPS-based boards. Some other boards map differently. // default pin for all RAMPS-based boards. Most boards use the X_MAX_PIN by default.
// To set or change the pin for your board, edit the appropriate pins_XXXXX.h file. // To use a different pin you can override it here.
// //
// WARNING: // WARNING:
// Setting the wrong pin may have unexpected and potentially disastrous consequences. // Setting the wrong pin may have unexpected and potentially disastrous consequences.
// Use with caution and do your homework. // Use with caution and do your homework.
// //
//#define Z_MIN_PROBE_PIN X_MAX_PIN
//
// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
//
//#define Z_MIN_PROBE_ENDSTOP //#define Z_MIN_PROBE_ENDSTOP
// Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE. // Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE.
@ -592,12 +597,6 @@
// To use a probe you must enable one of the two options above! // To use a probe you must enable one of the two options above!
// This option disables the use of the Z_MIN_PROBE_PIN
// To enable the Z probe pin but disable its use, uncomment the line below. This only affects a
// Z probe switch if you have a separate Z min endstop also and have activated Z_MIN_PROBE_ENDSTOP above.
// If you're using the Z MIN endstop connector for your Z probe, this has no effect.
//#define DISABLE_Z_MIN_PROBE_ENDSTOP
// Enable Z Probe Repeatability test to see how accurate your probe is // Enable Z Probe Repeatability test to see how accurate your probe is
//#define Z_MIN_PROBE_REPEATABILITY_TEST //#define Z_MIN_PROBE_REPEATABILITY_TEST

@ -566,9 +566,6 @@
// Allen Key Probe is defined in the Delta example configurations. // Allen Key Probe is defined in the Delta example configurations.
// //
// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
//
// *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! *** // *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
// //
// To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING. // To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING.
@ -586,16 +583,24 @@
// - normally-open switches to 5V and D32. // - normally-open switches to 5V and D32.
// //
// Normally-closed switches are advised and are the default. // Normally-closed switches are advised and are the default.
//
// //
// The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.) // The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.)
// Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the // Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the
// default pin for all RAMPS-based boards. Some other boards map differently. // default pin for all RAMPS-based boards. Most boards use the X_MAX_PIN by default.
// To set or change the pin for your board, edit the appropriate pins_XXXXX.h file. // To use a different pin you can override it here.
// //
// WARNING: // WARNING:
// Setting the wrong pin may have unexpected and potentially disastrous consequences. // Setting the wrong pin may have unexpected and potentially disastrous consequences.
// Use with caution and do your homework. // Use with caution and do your homework.
// //
//#define Z_MIN_PROBE_PIN X_MAX_PIN
//
// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
//
//#define Z_MIN_PROBE_ENDSTOP //#define Z_MIN_PROBE_ENDSTOP
// Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE. // Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE.
@ -604,12 +609,6 @@
// To use a probe you must enable one of the two options above! // To use a probe you must enable one of the two options above!
// This option disables the use of the Z_MIN_PROBE_PIN
// To enable the Z probe pin but disable its use, uncomment the line below. This only affects a
// Z probe switch if you have a separate Z min endstop also and have activated Z_MIN_PROBE_ENDSTOP above.
// If you're using the Z MIN endstop connector for your Z probe, this has no effect.
//#define DISABLE_Z_MIN_PROBE_ENDSTOP
// Enable Z Probe Repeatability test to see how accurate your probe is // Enable Z Probe Repeatability test to see how accurate your probe is
//#define Z_MIN_PROBE_REPEATABILITY_TEST //#define Z_MIN_PROBE_REPEATABILITY_TEST

@ -577,9 +577,6 @@
// Allen Key Probe is defined in the Delta example configurations. // Allen Key Probe is defined in the Delta example configurations.
// //
// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
//
// *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! *** // *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
// //
// To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING. // To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING.
@ -597,16 +594,24 @@
// - normally-open switches to 5V and D32. // - normally-open switches to 5V and D32.
// //
// Normally-closed switches are advised and are the default. // Normally-closed switches are advised and are the default.
//
// //
// The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.) // The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.)
// Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the // Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the
// default pin for all RAMPS-based boards. Some other boards map differently. // default pin for all RAMPS-based boards. Most boards use the X_MAX_PIN by default.
// To set or change the pin for your board, edit the appropriate pins_XXXXX.h file. // To use a different pin you can override it here.
// //
// WARNING: // WARNING:
// Setting the wrong pin may have unexpected and potentially disastrous consequences. // Setting the wrong pin may have unexpected and potentially disastrous consequences.
// Use with caution and do your homework. // Use with caution and do your homework.
// //
//#define Z_MIN_PROBE_PIN X_MAX_PIN
//
// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
//
//#define Z_MIN_PROBE_ENDSTOP //#define Z_MIN_PROBE_ENDSTOP
// Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE. // Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE.
@ -615,12 +620,6 @@
// To use a probe you must enable one of the two options above! // To use a probe you must enable one of the two options above!
// This option disables the use of the Z_MIN_PROBE_PIN
// To enable the Z probe pin but disable its use, uncomment the line below. This only affects a
// Z probe switch if you have a separate Z min endstop also and have activated Z_MIN_PROBE_ENDSTOP above.
// If you're using the Z MIN endstop connector for your Z probe, this has no effect.
//#define DISABLE_Z_MIN_PROBE_ENDSTOP
// Enable Z Probe Repeatability test to see how accurate your probe is // Enable Z Probe Repeatability test to see how accurate your probe is
//#define Z_MIN_PROBE_REPEATABILITY_TEST //#define Z_MIN_PROBE_REPEATABILITY_TEST

@ -548,9 +548,6 @@
// Allen Key Probe is defined in the Delta example configurations. // Allen Key Probe is defined in the Delta example configurations.
// //
// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
//
// *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! *** // *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
// //
// To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING. // To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING.
@ -568,16 +565,24 @@
// - normally-open switches to 5V and D32. // - normally-open switches to 5V and D32.
// //
// Normally-closed switches are advised and are the default. // Normally-closed switches are advised and are the default.
//
// //
// The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.) // The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.)
// Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the // Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the
// default pin for all RAMPS-based boards. Some other boards map differently. // default pin for all RAMPS-based boards. Most boards use the X_MAX_PIN by default.
// To set or change the pin for your board, edit the appropriate pins_XXXXX.h file. // To use a different pin you can override it here.
// //
// WARNING: // WARNING:
// Setting the wrong pin may have unexpected and potentially disastrous consequences. // Setting the wrong pin may have unexpected and potentially disastrous consequences.
// Use with caution and do your homework. // Use with caution and do your homework.
// //
//#define Z_MIN_PROBE_PIN X_MAX_PIN
//
// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
//
//#define Z_MIN_PROBE_ENDSTOP //#define Z_MIN_PROBE_ENDSTOP
// Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE. // Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE.
@ -586,12 +591,6 @@
// To use a probe you must enable one of the two options above! // To use a probe you must enable one of the two options above!
// This option disables the use of the Z_MIN_PROBE_PIN
// To enable the Z probe pin but disable its use, uncomment the line below. This only affects a
// Z probe switch if you have a separate Z min endstop also and have activated Z_MIN_PROBE_ENDSTOP above.
// If you're using the Z MIN endstop connector for your Z probe, this has no effect.
//#define DISABLE_Z_MIN_PROBE_ENDSTOP
// Enable Z Probe Repeatability test to see how accurate your probe is // Enable Z Probe Repeatability test to see how accurate your probe is
//#define Z_MIN_PROBE_REPEATABILITY_TEST //#define Z_MIN_PROBE_REPEATABILITY_TEST

@ -556,9 +556,6 @@
// Allen Key Probe is defined in the Delta example configurations. // Allen Key Probe is defined in the Delta example configurations.
// //
// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
//
// *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! *** // *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
// //
// To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING. // To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING.
@ -576,16 +573,24 @@
// - normally-open switches to 5V and D32. // - normally-open switches to 5V and D32.
// //
// Normally-closed switches are advised and are the default. // Normally-closed switches are advised and are the default.
//
// //
// The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.) // The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.)
// Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the // Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the
// default pin for all RAMPS-based boards. Some other boards map differently. // default pin for all RAMPS-based boards. Most boards use the X_MAX_PIN by default.
// To set or change the pin for your board, edit the appropriate pins_XXXXX.h file. // To use a different pin you can override it here.
// //
// WARNING: // WARNING:
// Setting the wrong pin may have unexpected and potentially disastrous consequences. // Setting the wrong pin may have unexpected and potentially disastrous consequences.
// Use with caution and do your homework. // Use with caution and do your homework.
// //
//#define Z_MIN_PROBE_PIN X_MAX_PIN
//
// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
//
//#define Z_MIN_PROBE_ENDSTOP //#define Z_MIN_PROBE_ENDSTOP
// Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE. // Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE.
@ -594,12 +599,6 @@
// To use a probe you must enable one of the two options above! // To use a probe you must enable one of the two options above!
// This option disables the use of the Z_MIN_PROBE_PIN
// To enable the Z probe pin but disable its use, uncomment the line below. This only affects a
// Z probe switch if you have a separate Z min endstop also and have activated Z_MIN_PROBE_ENDSTOP above.
// If you're using the Z MIN endstop connector for your Z probe, this has no effect.
//#define DISABLE_Z_MIN_PROBE_ENDSTOP
// Enable Z Probe Repeatability test to see how accurate your probe is // Enable Z Probe Repeatability test to see how accurate your probe is
//#define Z_MIN_PROBE_REPEATABILITY_TEST //#define Z_MIN_PROBE_REPEATABILITY_TEST

@ -646,9 +646,6 @@
#endif // Z_PROBE_ALLEN_KEY #endif // Z_PROBE_ALLEN_KEY
// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
//
// *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! *** // *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
// //
// To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING. // To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING.
@ -666,16 +663,24 @@
// - normally-open switches to 5V and D32. // - normally-open switches to 5V and D32.
// //
// Normally-closed switches are advised and are the default. // Normally-closed switches are advised and are the default.
//
// //
// The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.) // The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.)
// Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the // Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the
// default pin for all RAMPS-based boards. Some other boards map differently. // default pin for all RAMPS-based boards. Most boards use the X_MAX_PIN by default.
// To set or change the pin for your board, edit the appropriate pins_XXXXX.h file. // To use a different pin you can override it here.
// //
// WARNING: // WARNING:
// Setting the wrong pin may have unexpected and potentially disastrous consequences. // Setting the wrong pin may have unexpected and potentially disastrous consequences.
// Use with caution and do your homework. // Use with caution and do your homework.
// //
//#define Z_MIN_PROBE_PIN X_MAX_PIN
//
// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
//
//#define Z_MIN_PROBE_ENDSTOP //#define Z_MIN_PROBE_ENDSTOP
// Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE. // Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE.
@ -684,12 +689,6 @@
// To use a probe you must enable one of the two options above! // To use a probe you must enable one of the two options above!
// This option disables the use of the Z_MIN_PROBE_PIN
// To enable the Z probe pin but disable its use, uncomment the line below. This only affects a
// Z probe switch if you have a separate Z min endstop also and have activated Z_MIN_PROBE_ENDSTOP above.
// If you're using the Z MIN endstop connector for your Z probe, this has no effect.
//#define DISABLE_Z_MIN_PROBE_ENDSTOP
// Enable Z Probe Repeatability test to see how accurate your probe is // Enable Z Probe Repeatability test to see how accurate your probe is
//#define Z_MIN_PROBE_REPEATABILITY_TEST //#define Z_MIN_PROBE_REPEATABILITY_TEST

@ -640,9 +640,6 @@
#endif // Z_PROBE_ALLEN_KEY #endif // Z_PROBE_ALLEN_KEY
// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
//
// *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! *** // *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
// //
// To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING. // To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING.
@ -660,16 +657,24 @@
// - normally-open switches to 5V and D32. // - normally-open switches to 5V and D32.
// //
// Normally-closed switches are advised and are the default. // Normally-closed switches are advised and are the default.
//
// //
// The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.) // The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.)
// Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the // Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the
// default pin for all RAMPS-based boards. Some other boards map differently. // default pin for all RAMPS-based boards. Most boards use the X_MAX_PIN by default.
// To set or change the pin for your board, edit the appropriate pins_XXXXX.h file. // To use a different pin you can override it here.
// //
// WARNING: // WARNING:
// Setting the wrong pin may have unexpected and potentially disastrous consequences. // Setting the wrong pin may have unexpected and potentially disastrous consequences.
// Use with caution and do your homework. // Use with caution and do your homework.
// //
//#define Z_MIN_PROBE_PIN X_MAX_PIN
//
// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
//
#define Z_MIN_PROBE_ENDSTOP #define Z_MIN_PROBE_ENDSTOP
// Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE. // Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE.
@ -678,12 +683,6 @@
// To use a probe you must enable one of the two options above! // To use a probe you must enable one of the two options above!
// This option disables the use of the Z_MIN_PROBE_PIN
// To enable the Z probe pin but disable its use, uncomment the line below. This only affects a
// Z probe switch if you have a separate Z min endstop also and have activated Z_MIN_PROBE_ENDSTOP above.
// If you're using the Z MIN endstop connector for your Z probe, this has no effect.
//#define DISABLE_Z_MIN_PROBE_ENDSTOP
// Enable Z Probe Repeatability test to see how accurate your probe is // Enable Z Probe Repeatability test to see how accurate your probe is
//#define Z_MIN_PROBE_REPEATABILITY_TEST //#define Z_MIN_PROBE_REPEATABILITY_TEST

@ -643,9 +643,6 @@
#endif // Z_PROBE_ALLEN_KEY #endif // Z_PROBE_ALLEN_KEY
// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
//
// *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! *** // *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
// //
// To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING. // To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING.
@ -663,16 +660,24 @@
// - normally-open switches to 5V and D32. // - normally-open switches to 5V and D32.
// //
// Normally-closed switches are advised and are the default. // Normally-closed switches are advised and are the default.
//
// //
// The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.) // The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.)
// Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the // Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the
// default pin for all RAMPS-based boards. Some other boards map differently. // default pin for all RAMPS-based boards. Most boards use the X_MAX_PIN by default.
// To set or change the pin for your board, edit the appropriate pins_XXXXX.h file. // To use a different pin you can override it here.
// //
// WARNING: // WARNING:
// Setting the wrong pin may have unexpected and potentially disastrous consequences. // Setting the wrong pin may have unexpected and potentially disastrous consequences.
// Use with caution and do your homework. // Use with caution and do your homework.
// //
//#define Z_MIN_PROBE_PIN X_MAX_PIN
//
// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
//
//#define Z_MIN_PROBE_ENDSTOP //#define Z_MIN_PROBE_ENDSTOP
// Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE. // Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE.
@ -681,12 +686,6 @@
// To use a probe you must enable one of the two options above! // To use a probe you must enable one of the two options above!
// This option disables the use of the Z_MIN_PROBE_PIN
// To enable the Z probe pin but disable its use, uncomment the line below. This only affects a
// Z probe switch if you have a separate Z min endstop also and have activated Z_MIN_PROBE_ENDSTOP above.
// If you're using the Z MIN endstop connector for your Z probe, this has no effect.
//#define DISABLE_Z_MIN_PROBE_ENDSTOP
// Enable Z Probe Repeatability test to see how accurate your probe is // Enable Z Probe Repeatability test to see how accurate your probe is
//#define Z_MIN_PROBE_REPEATABILITY_TEST //#define Z_MIN_PROBE_REPEATABILITY_TEST

@ -644,9 +644,6 @@
#endif // Z_PROBE_ALLEN_KEY #endif // Z_PROBE_ALLEN_KEY
// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
//
// *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! *** // *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
// //
// To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING. // To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING.
@ -664,16 +661,24 @@
// - normally-open switches to 5V and D32. // - normally-open switches to 5V and D32.
// //
// Normally-closed switches are advised and are the default. // Normally-closed switches are advised and are the default.
//
// //
// The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.) // The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.)
// Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the // Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the
// default pin for all RAMPS-based boards. Some other boards map differently. // default pin for all RAMPS-based boards. Most boards use the X_MAX_PIN by default.
// To set or change the pin for your board, edit the appropriate pins_XXXXX.h file. // To use a different pin you can override it here.
// //
// WARNING: // WARNING:
// Setting the wrong pin may have unexpected and potentially disastrous consequences. // Setting the wrong pin may have unexpected and potentially disastrous consequences.
// Use with caution and do your homework. // Use with caution and do your homework.
// //
//#define Z_MIN_PROBE_PIN X_MAX_PIN
//
// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
//
//#define Z_MIN_PROBE_ENDSTOP //#define Z_MIN_PROBE_ENDSTOP
// Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE. // Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE.
@ -682,12 +687,6 @@
// To use a probe you must enable one of the two options above! // To use a probe you must enable one of the two options above!
// This option disables the use of the Z_MIN_PROBE_PIN
// To enable the Z probe pin but disable its use, uncomment the line below. This only affects a
// Z probe switch if you have a separate Z min endstop also and have activated Z_MIN_PROBE_ENDSTOP above.
// If you're using the Z MIN endstop connector for your Z probe, this has no effect.
//#define DISABLE_Z_MIN_PROBE_ENDSTOP
// Enable Z Probe Repeatability test to see how accurate your probe is // Enable Z Probe Repeatability test to see how accurate your probe is
//#define Z_MIN_PROBE_REPEATABILITY_TEST //#define Z_MIN_PROBE_REPEATABILITY_TEST

@ -646,9 +646,6 @@
#endif // Z_PROBE_ALLEN_KEY #endif // Z_PROBE_ALLEN_KEY
// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
//
// *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! *** // *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
// //
// To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING. // To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING.
@ -666,16 +663,24 @@
// - normally-open switches to 5V and D32. // - normally-open switches to 5V and D32.
// //
// Normally-closed switches are advised and are the default. // Normally-closed switches are advised and are the default.
//
// //
// The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.) // The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.)
// Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the // Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the
// default pin for all RAMPS-based boards. Some other boards map differently. // default pin for all RAMPS-based boards. Most boards use the X_MAX_PIN by default.
// To set or change the pin for your board, edit the appropriate pins_XXXXX.h file. // To use a different pin you can override it here.
// //
// WARNING: // WARNING:
// Setting the wrong pin may have unexpected and potentially disastrous consequences. // Setting the wrong pin may have unexpected and potentially disastrous consequences.
// Use with caution and do your homework. // Use with caution and do your homework.
// //
//#define Z_MIN_PROBE_PIN X_MAX_PIN
//
// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
//
#define Z_MIN_PROBE_ENDSTOP #define Z_MIN_PROBE_ENDSTOP
// Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE. // Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE.
@ -684,12 +689,6 @@
// To use a probe you must enable one of the two options above! // To use a probe you must enable one of the two options above!
// This option disables the use of the Z_MIN_PROBE_PIN
// To enable the Z probe pin but disable its use, uncomment the line below. This only affects a
// Z probe switch if you have a separate Z min endstop also and have activated Z_MIN_PROBE_ENDSTOP above.
// If you're using the Z MIN endstop connector for your Z probe, this has no effect.
//#define DISABLE_Z_MIN_PROBE_ENDSTOP
// Enable Z Probe Repeatability test to see how accurate your probe is // Enable Z Probe Repeatability test to see how accurate your probe is
//#define Z_MIN_PROBE_REPEATABILITY_TEST //#define Z_MIN_PROBE_REPEATABILITY_TEST

@ -559,9 +559,6 @@
// Allen Key Probe is defined in the Delta example configurations. // Allen Key Probe is defined in the Delta example configurations.
// //
// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
//
// *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! *** // *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
// //
// To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING. // To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING.
@ -579,16 +576,24 @@
// - normally-open switches to 5V and D32. // - normally-open switches to 5V and D32.
// //
// Normally-closed switches are advised and are the default. // Normally-closed switches are advised and are the default.
//
// //
// The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.) // The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.)
// Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the // Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the
// default pin for all RAMPS-based boards. Some other boards map differently. // default pin for all RAMPS-based boards. Most boards use the X_MAX_PIN by default.
// To set or change the pin for your board, edit the appropriate pins_XXXXX.h file. // To use a different pin you can override it here.
// //
// WARNING: // WARNING:
// Setting the wrong pin may have unexpected and potentially disastrous consequences. // Setting the wrong pin may have unexpected and potentially disastrous consequences.
// Use with caution and do your homework. // Use with caution and do your homework.
// //
//#define Z_MIN_PROBE_PIN X_MAX_PIN
//
// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
//
//#define Z_MIN_PROBE_ENDSTOP //#define Z_MIN_PROBE_ENDSTOP
// Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE. // Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE.
@ -597,12 +602,6 @@
// To use a probe you must enable one of the two options above! // To use a probe you must enable one of the two options above!
// This option disables the use of the Z_MIN_PROBE_PIN
// To enable the Z probe pin but disable its use, uncomment the line below. This only affects a
// Z probe switch if you have a separate Z min endstop also and have activated Z_MIN_PROBE_ENDSTOP above.
// If you're using the Z MIN endstop connector for your Z probe, this has no effect.
//#define DISABLE_Z_MIN_PROBE_ENDSTOP
// Enable Z Probe Repeatability test to see how accurate your probe is // Enable Z Probe Repeatability test to see how accurate your probe is
//#define Z_MIN_PROBE_REPEATABILITY_TEST //#define Z_MIN_PROBE_REPEATABILITY_TEST

@ -552,9 +552,6 @@
// Allen Key Probe is defined in the Delta example configurations. // Allen Key Probe is defined in the Delta example configurations.
// //
// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
//
// *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! *** // *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
// //
// To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING. // To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING.
@ -572,16 +569,24 @@
// - normally-open switches to 5V and D32. // - normally-open switches to 5V and D32.
// //
// Normally-closed switches are advised and are the default. // Normally-closed switches are advised and are the default.
//
// //
// The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.) // The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.)
// Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the // Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the
// default pin for all RAMPS-based boards. Some other boards map differently. // default pin for all RAMPS-based boards. Most boards use the X_MAX_PIN by default.
// To set or change the pin for your board, edit the appropriate pins_XXXXX.h file. // To use a different pin you can override it here.
// //
// WARNING: // WARNING:
// Setting the wrong pin may have unexpected and potentially disastrous consequences. // Setting the wrong pin may have unexpected and potentially disastrous consequences.
// Use with caution and do your homework. // Use with caution and do your homework.
// //
//#define Z_MIN_PROBE_PIN X_MAX_PIN
//
// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
//
//#define Z_MIN_PROBE_ENDSTOP //#define Z_MIN_PROBE_ENDSTOP
// Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE. // Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE.
@ -590,12 +595,6 @@
// To use a probe you must enable one of the two options above! // To use a probe you must enable one of the two options above!
// This option disables the use of the Z_MIN_PROBE_PIN
// To enable the Z probe pin but disable its use, uncomment the line below. This only affects a
// Z probe switch if you have a separate Z min endstop also and have activated Z_MIN_PROBE_ENDSTOP above.
// If you're using the Z MIN endstop connector for your Z probe, this has no effect.
//#define DISABLE_Z_MIN_PROBE_ENDSTOP
// Enable Z Probe Repeatability test to see how accurate your probe is // Enable Z Probe Repeatability test to see how accurate your probe is
//#define Z_MIN_PROBE_REPEATABILITY_TEST //#define Z_MIN_PROBE_REPEATABILITY_TEST

@ -361,7 +361,7 @@
// //
// Disable unused endstop / probe pins // Disable unused endstop / probe pins
// //
#if ENABLED(DISABLE_Z_MIN_PROBE_ENDSTOP) || DISABLED(Z_MIN_PROBE_ENDSTOP) // Allow code to compile regardless of Z_MIN_PROBE_ENDSTOP setting. #if DISABLED(Z_MIN_PROBE_ENDSTOP)
#undef Z_MIN_PROBE_PIN #undef Z_MIN_PROBE_PIN
#define Z_MIN_PROBE_PIN -1 #define Z_MIN_PROBE_PIN -1
#endif #endif

Loading…
Cancel
Save