Browse Source

Make Z_PROBE a Z_MIN_PROBE (PR#65)

Currently we use the probe exclusively as a device to find the build platform(bed).
For the currently supported setups this means, we use it as a additional min-endstop.
A triggered when not deployed probe disturbs the homing process for max-endstops.

Rename ENDSTOPPULLUP_ZPROBE to ENDSTOPPULLUP_ZMIN_PROBE
Rename Z_PROBE_ENDSTOP_INVERTING to Z_MIN_PROBE_ENDSTOP_INVERTING
Rename Z_PROBE_ENDSTOP to Z_MIN_PROBE_ENDSTOP
Rename DISABLE_Z_PROBE_ENDSTOP to DISABLE_Z_MIN_PROBE_ENDSTOP
Rename Z_PROBE_REPEATABILITY_TEST to Z_MIN_PROBE_REPEATABILITY_TEST
Rename Z_PROBE_ENDSTOP to Z_MIN_PROBE_ENDSTOP
Adjust comments accordingly
Remove Z_MAX  check for the probe in update_endstops().

Using an delta related idea of @clefranc from #61,
extended to the general change for all setups.

Tested with Prusa i3, max-z-endstop and permanently triggered z-probe.
Worked for @clefranc's delta.
AnHardt 10 years ago
parent
commit
e2d69f66b2

+ 1
- 1
Marlin/Conditionals.h View File

@@ -238,7 +238,7 @@
238 238
       #define ENDSTOPPULLUP_YMIN
239 239
       #define ENDSTOPPULLUP_ZMIN
240 240
     #endif
241
-    #if DISABLED(DISABLE_Z_PROBE_ENDSTOP)
241
+    #if DISABLED(DISABLE_Z_MIN_PROBE_ENDSTOP)
242 242
       #define ENDSTOPPULLUP_ZPROBE
243 243
     #endif
244 244
   #endif

+ 9
- 9
Marlin/Configuration.h View File

@@ -327,7 +327,7 @@ Here are some standard links for getting your machine calibrated:
327 327
   // #define ENDSTOPPULLUP_XMIN
328 328
   // #define ENDSTOPPULLUP_YMIN
329 329
   // #define ENDSTOPPULLUP_ZMIN
330
-  // #define ENDSTOPPULLUP_ZPROBE
330
+  // #define ENDSTOPPULLUP_ZMIN_PROBE
331 331
 #endif
332 332
 
333 333
 // Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
@@ -337,15 +337,15 @@ const bool Z_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic o
337 337
 const bool X_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
338 338
 const bool Y_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
339 339
 const bool Z_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
340
-const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
340
+const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
341 341
 //#define DISABLE_MAX_ENDSTOPS
342 342
 //#define DISABLE_MIN_ENDSTOPS
343 343
 
344 344
 // If you want to enable the Z Probe pin, but disable its use, uncomment the line below.
345 345
 // This only affects a Z Probe Endstop if you have separate Z min endstop as well and have
346
-// activated Z_PROBE_ENDSTOP below. If you are using the Z Min endstop on your Z Probe,
346
+// activated Z_MIN_PROBE_ENDSTOP below. If you are using the Z Min endstop on your Z Probe,
347 347
 // this has no effect.
348
-//#define DISABLE_Z_PROBE_ENDSTOP
348
+//#define DISABLE_Z_MIN_PROBE_ENDSTOP
349 349
 
350 350
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
351 351
 // :{0:'Low',1:'High'}
@@ -443,7 +443,7 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
443 443
 // @section bedlevel
444 444
 
445 445
 //#define ENABLE_AUTO_BED_LEVELING // Delete the comment to enable (remove // at the start of the line)
446
-#define Z_PROBE_REPEATABILITY_TEST  // If not commented out, Z-Probe Repeatability test will be included if Auto Bed Leveling is Enabled.
446
+#define Z_MIN_PROBE_REPEATABILITY_TEST  // If not commented out, Z-Probe Repeatability test will be included if Auto Bed Leveling is Enabled.
447 447
 
448 448
 #if ENABLED(ENABLE_AUTO_BED_LEVELING)
449 449
 
@@ -527,18 +527,18 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
527 527
   #endif
528 528
 
529 529
   // Support for a dedicated Z PROBE endstop separate from the Z MIN endstop.
530
-  // If you would like to use both a Z PROBE and a Z MIN endstop together or just a Z PROBE with a custom pin, uncomment #define Z_PROBE_ENDSTOP and read the instructions below.
530
+  // If you would like to use both a Z PROBE and a Z MIN endstop together , uncomment #define Z_MIN_PROBE_ENDSTOP and read the instructions below.
531 531
   // If you want to still use the Z min endstop for homing, disable Z_SAFE_HOMING above. Eg; to park the head outside the bed area when homing with G28.
532 532
   // WARNING: The Z MIN endstop will need to set properly as it would without a Z PROBE to prevent head crashes and premature stopping during a print.
533
-  // To use a separate Z PROBE endstop, you must have a Z_PROBE_PIN defined in the pins.h file for your control board.
533
+  // To use a separate Z PROBE endstop, you must have a Z_MIN_PROBE_PIN defined in the pins.h file for your control board.
534 534
   // If you are using a servo based Z PROBE, you will need to enable NUM_SERVOS, Z_ENDSTOP_SERVO_NR and SERVO_ENDSTOP_ANGLES in the R/C Servo below.
535 535
   // RAMPS 1.3/1.4 boards may be able to use the 5V, Ground and the D32 pin in the Aux 4 section of the RAMPS board. Use 5V for powered sensors, otherwise connect to ground and D32
536 536
   // for normally closed configuration and 5V and D32 for normally open configurations. Normally closed configuration is advised and assumed.
537
-  // The D32 pin in Aux 4 on RAMPS maps to the Arduino D32 pin. Z_PROBE_PIN is setting the pin to use on the Arduino. Since the D32 pin on the RAMPS maps to D32 on Arduino, this works.
537
+  // The D32 pin in Aux 4 on RAMPS maps to the Arduino D32 pin. Z_MIN_PROBE_PIN is setting the pin to use on the Arduino. Since the D32 pin on the RAMPS maps to D32 on Arduino, this works.
538 538
   // D32 is currently selected in the RAMPS 1.3/1.4 pin file. All other boards will need changes to the respective pins_XXXXX.h file.
539 539
   // WARNING: Setting the wrong pin may have unexpected and potentially disastrous outcomes. Use with caution and do your homework.
540 540
 
541
-  //#define Z_PROBE_ENDSTOP
541
+  //#define Z_MIN_PROBE_ENDSTOP
542 542
 
543 543
 #endif // ENABLE_AUTO_BED_LEVELING
544 544
 

+ 14
- 14
Marlin/Marlin_main.cpp View File

@@ -1330,8 +1330,8 @@ static void setup_for_endstop_move() {
1330 1330
       feedrate = Z_PROBE_ALLEN_KEY_DEPLOY_1_FEEDRATE;
1331 1331
 
1332 1332
       // If endstop is already false, the probe is deployed
1333
-      #if ENABLED(Z_PROBE_ENDSTOP)
1334
-        bool z_probe_endstop = (READ(Z_PROBE_PIN) != Z_PROBE_ENDSTOP_INVERTING);
1333
+      #if ENABLED(Z_MIN_PROBE_ENDSTOP)
1334
+        bool z_probe_endstop = (READ(Z_MIN_PROBE_PIN) != Z_MIN_PROBE_ENDSTOP_INVERTING);
1335 1335
         if (z_probe_endstop)
1336 1336
       #else
1337 1337
         bool z_min_endstop = (READ(Z_MIN_PIN) != Z_MIN_ENDSTOP_INVERTING);
@@ -1389,8 +1389,8 @@ static void setup_for_endstop_move() {
1389 1389
 
1390 1390
       st_synchronize();
1391 1391
 
1392
-      #if ENABLED(Z_PROBE_ENDSTOP)
1393
-        z_probe_endstop = (READ(Z_PROBE_PIN) != Z_PROBE_ENDSTOP_INVERTING);
1392
+      #if ENABLED(Z_MIN_PROBE_ENDSTOP)
1393
+        z_probe_endstop = (READ(Z_MIN_PROBE_PIN) != Z_MIN_PROBE_ENDSTOP_INVERTING);
1394 1394
         if (z_probe_endstop)
1395 1395
       #else
1396 1396
         z_min_endstop = (READ(Z_MIN_PIN) != Z_MIN_ENDSTOP_INVERTING);
@@ -1477,8 +1477,8 @@ static void setup_for_endstop_move() {
1477 1477
       
1478 1478
       st_synchronize();
1479 1479
 
1480
-      #if ENABLED(Z_PROBE_ENDSTOP)
1481
-        bool z_probe_endstop = (READ(Z_PROBE_PIN) != Z_PROBE_ENDSTOP_INVERTING);
1480
+      #if ENABLED(Z_MIN_PROBE_ENDSTOP)
1481
+        bool z_probe_endstop = (READ(Z_MIN_PROBE_PIN) != Z_MIN_PROBE_ENDSTOP_INVERTING);
1482 1482
         if (!z_probe_endstop)
1483 1483
       #else
1484 1484
         bool z_min_endstop = (READ(Z_MIN_PIN) != Z_MIN_ENDSTOP_INVERTING);
@@ -3100,12 +3100,12 @@ inline void gcode_M42() {
3100 3100
   } // code_seen('S')
3101 3101
 }
3102 3102
 
3103
-#if ENABLED(ENABLE_AUTO_BED_LEVELING) && ENABLED(Z_PROBE_REPEATABILITY_TEST)
3103
+#if ENABLED(ENABLE_AUTO_BED_LEVELING) && ENABLED(Z_MIN_PROBE_REPEATABILITY_TEST)
3104 3104
 
3105
-  // This is redundant since the SanityCheck.h already checks for a valid Z_PROBE_PIN, but here for clarity.
3106
-  #if ENABLED(Z_PROBE_ENDSTOP)
3105
+  // This is redundant since the SanityCheck.h already checks for a valid Z_MIN_PROBE_PIN, but here for clarity.
3106
+  #if ENABLED(Z_MIN_PROBE_ENDSTOP)
3107 3107
     #if !HAS_Z_PROBE
3108
-      #error You must define Z_PROBE_PIN to enable Z-Probe repeatability calculation.
3108
+      #error You must define Z_MIN_PROBE_PIN to enable Z-Probe repeatability calculation.
3109 3109
     #endif
3110 3110
   #elif !HAS_Z_MIN
3111 3111
     #error You must define Z_MIN_PIN to enable Z-Probe repeatability calculation.
@@ -3350,7 +3350,7 @@ inline void gcode_M42() {
3350 3350
     SERIAL_EOL; SERIAL_EOL;
3351 3351
   }
3352 3352
 
3353
-#endif // ENABLE_AUTO_BED_LEVELING && Z_PROBE_REPEATABILITY_TEST
3353
+#endif // ENABLE_AUTO_BED_LEVELING && Z_MIN_PROBE_REPEATABILITY_TEST
3354 3354
 
3355 3355
 /**
3356 3356
  * M104: Set hot end temperature
@@ -3902,7 +3902,7 @@ inline void gcode_M119() {
3902 3902
   #endif
3903 3903
   #if HAS_Z_PROBE
3904 3904
     SERIAL_PROTOCOLPGM(MSG_Z_PROBE);
3905
-    SERIAL_PROTOCOLLN(((READ(Z_PROBE_PIN)^Z_PROBE_ENDSTOP_INVERTING)?MSG_ENDSTOP_HIT:MSG_ENDSTOP_OPEN));
3905
+    SERIAL_PROTOCOLLN(((READ(Z_MIN_PROBE_PIN)^Z_MIN_PROBE_ENDSTOP_INVERTING)?MSG_ENDSTOP_HIT:MSG_ENDSTOP_OPEN));
3906 3906
   #endif
3907 3907
 }
3908 3908
 
@@ -5371,11 +5371,11 @@ void process_next_command() {
5371 5371
         gcode_M42();
5372 5372
         break;
5373 5373
 
5374
-      #if ENABLED(ENABLE_AUTO_BED_LEVELING) && ENABLED(Z_PROBE_REPEATABILITY_TEST)
5374
+      #if ENABLED(ENABLE_AUTO_BED_LEVELING) && ENABLED(Z_MIN_PROBE_REPEATABILITY_TEST)
5375 5375
         case 48: // M48 Z-Probe repeatability
5376 5376
           gcode_M48();
5377 5377
           break;
5378
-      #endif // ENABLE_AUTO_BED_LEVELING && Z_PROBE_REPEATABILITY_TEST
5378
+      #endif // ENABLE_AUTO_BED_LEVELING && Z_MIN_PROBE_REPEATABILITY_TEST
5379 5379
 
5380 5380
       #if ENABLED(M100_FREE_MEMORY_WATCHER)
5381 5381
         case 100:

+ 15
- 15
Marlin/SanityCheck.h View File

@@ -133,37 +133,37 @@
133 133
      * Require a Z Min pin
134 134
      */
135 135
     #if Z_MIN_PIN == -1
136
-      #if Z_PROBE_PIN == -1 || (DISABLED(Z_PROBE_ENDSTOP) || ENABLED(DISABLE_Z_PROBE_ENDSTOP)) // It's possible for someone to set a pin for the Z Probe, but not enable it.
137
-        #if ENABLED(Z_PROBE_REPEATABILITY_TEST)
138
-          #error You must have a Z_MIN or Z_PROBE endstop to enable Z_PROBE_REPEATABILITY_TEST.
136
+      #if Z_MIN_PROBE_PIN == -1 || (DISABLED(Z_MIN_PROBE_ENDSTOP) || ENABLED(DISABLE_Z_MIN_PROBE_ENDSTOP)) // It's possible for someone to set a pin for the Z Probe, but not enable it.
137
+        #if ENABLED(Z_MIN_PROBE_REPEATABILITY_TEST)
138
+          #error You must have a Z_MIN or Z_PROBE endstop to enable Z_MIN_PROBE_REPEATABILITY_TEST.
139 139
         #else
140
-          #error ENABLE_AUTO_BED_LEVELING requires a Z_MIN or Z_PROBE endstop. Z_MIN_PIN or Z_PROBE_PIN must point to a valid hardware pin.
140
+          #error ENABLE_AUTO_BED_LEVELING requires a Z_MIN or Z_PROBE endstop. Z_MIN_PIN or Z_MIN_PROBE_PIN must point to a valid hardware pin.
141 141
         #endif
142 142
       #endif
143 143
     #endif
144 144
 
145 145
     /**
146
-     * Require a Z Probe Pin if Z_PROBE_ENDSTOP is enabled.
146
+     * Require a Z Probe Pin if Z_MIN_PROBE_ENDSTOP is enabled.
147 147
      */
148
-    #if ENABLED(Z_PROBE_ENDSTOP)
148
+    #if ENABLED(Z_MIN_PROBE_ENDSTOP)
149 149
       #if !PIN_EXISTS(Z_PROBE)
150
-        #error You must have a Z_PROBE_PIN defined in your pins_XXXX.h file if you enable Z_PROBE_ENDSTOP.
150
+        #error You must have a Z_MIN_PROBE_PIN defined in your pins_XXXX.h file if you enable Z_MIN_PROBE_ENDSTOP.
151 151
       #endif
152
-      #if Z_PROBE_PIN == -1
153
-        #error You must set Z_PROBE_PIN to a valid pin if you enable Z_PROBE_ENDSTOP.
152
+      #if Z_MIN_PROBE_PIN == -1
153
+        #error You must set Z_MIN_PROBE_PIN to a valid pin if you enable Z_MIN_PROBE_ENDSTOP.
154 154
       #endif
155 155
 // Forcing Servo definitions can break some hall effect sensor setups. Leaving these here for further comment.
156 156
 //      #ifndef NUM_SERVOS
157
-//        #error You must have NUM_SERVOS defined and there must be at least 1 configured to use Z_PROBE_ENDSTOP.
157
+//        #error You must have NUM_SERVOS defined and there must be at least 1 configured to use Z_MIN_PROBE_ENDSTOP.
158 158
 //      #endif
159 159
 //      #if defined(NUM_SERVOS) && NUM_SERVOS < 1
160
-//        #error You must have at least 1 servo defined for NUM_SERVOS to use Z_PROBE_ENDSTOP.
160
+//        #error You must have at least 1 servo defined for NUM_SERVOS to use Z_MIN_PROBE_ENDSTOP.
161 161
 //      #endif
162 162
 //      #if Z_ENDSTOP_SERVO_NR < 0
163
-//        #error You must have Z_ENDSTOP_SERVO_NR set to at least 0 or above to use Z_PROBE_ENDSTOP.
163
+//        #error You must have Z_ENDSTOP_SERVO_NR set to at least 0 or above to use Z_MIN_PROBE_ENDSTOP.
164 164
 //      #endif
165 165
 //      #ifndef SERVO_ENDSTOP_ANGLES
166
-//        #error You must have SERVO_ENDSTOP_ANGLES defined for Z Extend and Retract to use Z_PROBE_ENDSTOP.
166
+//        #error You must have SERVO_ENDSTOP_ANGLES defined for Z Extend and Retract to use Z_MIN_PROBE_ENDSTOP.
167 167
 //      #endif
168 168
     #endif
169 169
     /**
@@ -231,8 +231,8 @@
231 231
         #error You cannot use Z_PROBE_SLED with DELTA.
232 232
       #endif
233 233
 
234
-      #if ENABLED(Z_PROBE_REPEATABILITY_TEST)
235
-        #error Z_PROBE_REPEATABILITY_TEST is not supported with DELTA yet.
234
+      #if ENABLED(Z_MIN_PROBE_REPEATABILITY_TEST)
235
+        #error Z_MIN_PROBE_REPEATABILITY_TEST is not supported with DELTA yet.
236 236
       #endif
237 237
 
238 238
     #endif

+ 8
- 8
Marlin/configurator/config/Configuration.h View File

@@ -337,15 +337,15 @@ const bool Z_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic o
337 337
 const bool X_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
338 338
 const bool Y_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
339 339
 const bool Z_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
340
-const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
340
+const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
341 341
 //#define DISABLE_MAX_ENDSTOPS
342 342
 //#define DISABLE_MIN_ENDSTOPS
343 343
 
344 344
 // If you want to enable the Z Probe pin, but disable its use, uncomment the line below.
345 345
 // This only affects a Z Probe Endstop if you have separate Z min endstop as well and have
346
-// activated Z_PROBE_ENDSTOP below. If you are using the Z Min endstop on your Z Probe,
346
+// activated Z_MIN_PROBE_ENDSTOP below. If you are using the Z Min endstop on your Z Probe,
347 347
 // this has no effect.
348
-//#define DISABLE_Z_PROBE_ENDSTOP
348
+//#define DISABLE_Z_MIN_PROBE_ENDSTOP
349 349
 
350 350
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
351 351
 // :{0:'Low',1:'High'}
@@ -443,7 +443,7 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
443 443
 // @section bedlevel
444 444
 
445 445
 //#define ENABLE_AUTO_BED_LEVELING // Delete the comment to enable (remove // at the start of the line)
446
-#define Z_PROBE_REPEATABILITY_TEST  // If not commented out, Z-Probe Repeatability test will be included if Auto Bed Leveling is Enabled.
446
+#define Z_MIN_PROBE_REPEATABILITY_TEST  // If not commented out, Z-Probe Repeatability test will be included if Auto Bed Leveling is Enabled.
447 447
 
448 448
 #if ENABLED(ENABLE_AUTO_BED_LEVELING)
449 449
 
@@ -527,18 +527,18 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
527 527
   #endif
528 528
 
529 529
   // Support for a dedicated Z PROBE endstop separate from the Z MIN endstop.
530
-  // If you would like to use both a Z PROBE and a Z MIN endstop together or just a Z PROBE with a custom pin, uncomment #define Z_PROBE_ENDSTOP and read the instructions below.
530
+  // If you would like to use both a Z PROBE and a Z MIN endstop together , uncomment #define Z_MIN_PROBE_ENDSTOP and read the instructions below.
531 531
   // If you want to still use the Z min endstop for homing, disable Z_SAFE_HOMING above. Eg; to park the head outside the bed area when homing with G28.
532 532
   // WARNING: The Z MIN endstop will need to set properly as it would without a Z PROBE to prevent head crashes and premature stopping during a print.
533
-  // To use a separate Z PROBE endstop, you must have a Z_PROBE_PIN defined in the pins.h file for your control board.
533
+  // To use a separate Z PROBE endstop, you must have a Z_MIN_PROBE_PIN defined in the pins.h file for your control board.
534 534
   // If you are using a servo based Z PROBE, you will need to enable NUM_SERVOS, Z_ENDSTOP_SERVO_NR and SERVO_ENDSTOP_ANGLES in the R/C Servo below.
535 535
   // RAMPS 1.3/1.4 boards may be able to use the 5V, Ground and the D32 pin in the Aux 4 section of the RAMPS board. Use 5V for powered sensors, otherwise connect to ground and D32
536 536
   // for normally closed configuration and 5V and D32 for normally open configurations. Normally closed configuration is advised and assumed.
537
-  // The D32 pin in Aux 4 on RAMPS maps to the Arduino D32 pin. Z_PROBE_PIN is setting the pin to use on the Arduino. Since the D32 pin on the RAMPS maps to D32 on Arduino, this works.
537
+  // The D32 pin in Aux 4 on RAMPS maps to the Arduino D32 pin. Z_MIN_PROBE_PIN is setting the pin to use on the Arduino. Since the D32 pin on the RAMPS maps to D32 on Arduino, this works.
538 538
   // D32 is currently selected in the RAMPS 1.3/1.4 pin file. All other boards will need changes to the respective pins_XXXXX.h file.
539 539
   // WARNING: Setting the wrong pin may have unexpected and potentially disastrous outcomes. Use with caution and do your homework.
540 540
 
541
-  //#define Z_PROBE_ENDSTOP
541
+  //#define Z_MIN_PROBE_ENDSTOP
542 542
 
543 543
 #endif // ENABLE_AUTO_BED_LEVELING
544 544
 

+ 8
- 8
Marlin/example_configurations/Felix/Configuration.h View File

@@ -319,15 +319,15 @@ const bool Z_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic o
319 319
 const bool X_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
320 320
 const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
321 321
 const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
322
-const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
322
+const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
323 323
 #define DISABLE_MAX_ENDSTOPS
324 324
 //#define DISABLE_MIN_ENDSTOPS
325 325
 
326 326
 // If you want to enable the Z Probe pin, but disable its use, uncomment the line below.
327 327
 // This only affects a Z Probe Endstop if you have separate Z min endstop as well and have
328
-// activated Z_PROBE_ENDSTOP below. If you are using the Z Min endstop on your Z Probe,
328
+// activated Z_MIN_PROBE_ENDSTOP below. If you are using the Z Min endstop on your Z Probe,
329 329
 // this has no effect.
330
-//#define DISABLE_Z_PROBE_ENDSTOP
330
+//#define DISABLE_Z_MIN_PROBE_ENDSTOP
331 331
 
332 332
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
333 333
 // :{0:'Low',1:'High'}
@@ -425,7 +425,7 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
425 425
 // @section bedlevel
426 426
 
427 427
 //#define ENABLE_AUTO_BED_LEVELING // Delete the comment to enable (remove // at the start of the line)
428
-//#define Z_PROBE_REPEATABILITY_TEST  // If not commented out, Z-Probe Repeatability test will be included if Auto Bed Leveling is Enabled.
428
+//#define Z_MIN_PROBE_REPEATABILITY_TEST  // If not commented out, Z-Probe Repeatability test will be included if Auto Bed Leveling is Enabled.
429 429
 
430 430
 #if ENABLED(ENABLE_AUTO_BED_LEVELING)
431 431
 
@@ -509,18 +509,18 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
509 509
   #endif
510 510
 
511 511
   // Support for a dedicated Z PROBE endstop separate from the Z MIN endstop.
512
-  // If you would like to use both a Z PROBE and a Z MIN endstop together or just a Z PROBE with a custom pin, uncomment #define Z_PROBE_ENDSTOP and read the instructions below.
512
+  // If you would like to use both a Z PROBE and a Z MIN endstop together , uncomment #define Z_MIN_PROBE_ENDSTOP and read the instructions below.
513 513
   // If you want to still use the Z min endstop for homing, disable Z_SAFE_HOMING above. Eg; to park the head outside the bed area when homing with G28.
514 514
   // WARNING: The Z MIN endstop will need to set properly as it would without a Z PROBE to prevent head crashes and premature stopping during a print.
515
-  // To use a separate Z PROBE endstop, you must have a Z_PROBE_PIN defined in the pins.h file for your control board.
515
+  // To use a separate Z PROBE endstop, you must have a Z_MIN_PROBE_PIN defined in the pins.h file for your control board.
516 516
   // If you are using a servo based Z PROBE, you will need to enable NUM_SERVOS, Z_ENDSTOP_SERVO_NR and SERVO_ENDSTOP_ANGLES in the R/C Servo below.
517 517
   // RAMPS 1.3/1.4 boards may be able to use the 5V, Ground and the D32 pin in the Aux 4 section of the RAMPS board. Use 5V for powered sensors, otherwise connect to ground and D32
518 518
   // for normally closed configuration and 5V and D32 for normally open configurations. Normally closed configuration is advised and assumed.
519
-  // The D32 pin in Aux 4 on RAMPS maps to the Arduino D32 pin. Z_PROBE_PIN is setting the pin to use on the Arduino. Since the D32 pin on the RAMPS maps to D32 on Arduino, this works.
519
+  // The D32 pin in Aux 4 on RAMPS maps to the Arduino D32 pin. Z_MIN_PROBE_PIN is setting the pin to use on the Arduino. Since the D32 pin on the RAMPS maps to D32 on Arduino, this works.
520 520
   // D32 is currently selected in the RAMPS 1.3/1.4 pin file. All other boards will need changes to the respective pins_XXXXX.h file.
521 521
   // WARNING: Setting the wrong pin may have unexpected and potentially disastrous outcomes. Use with caution and do your homework.
522 522
 
523
-  //#define Z_PROBE_ENDSTOP
523
+  //#define Z_MIN_PROBE_ENDSTOP
524 524
 
525 525
 #endif // ENABLE_AUTO_BED_LEVELING
526 526
 

+ 6
- 6
Marlin/example_configurations/Felix/Configuration_DUAL.h View File

@@ -303,7 +303,7 @@ const bool Z_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic o
303 303
 const bool X_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
304 304
 const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
305 305
 const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
306
-const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
306
+const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
307 307
 #define DISABLE_MAX_ENDSTOPS
308 308
 //#define DISABLE_MIN_ENDSTOPS
309 309
 
@@ -382,7 +382,7 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
382 382
 //===========================================================================
383 383
 
384 384
 //#define ENABLE_AUTO_BED_LEVELING // Delete the comment to enable (remove // at the start of the line)
385
-//#define Z_PROBE_REPEATABILITY_TEST  // If not commented out, Z-Probe Repeatability test will be included if Auto Bed Leveling is Enabled.
385
+//#define Z_MIN_PROBE_REPEATABILITY_TEST  // If not commented out, Z-Probe Repeatability test will be included if Auto Bed Leveling is Enabled.
386 386
 
387 387
 #if ENABLED(ENABLE_AUTO_BED_LEVELING)
388 388
 
@@ -470,18 +470,18 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
470 470
   #endif
471 471
 
472 472
   // Support for a dedicated Z PROBE endstop separate from the Z MIN endstop.
473
-  // If you would like to use both a Z PROBE and a Z MIN endstop together or just a Z PROBE with a custom pin, uncomment #define Z_PROBE_ENDSTOP and read the instructions below.
473
+  // If you would like to use both a Z PROBE and a Z MIN endstop together , uncomment #define Z_MIN_PROBE_ENDSTOP and read the instructions below.
474 474
   // If you want to still use the Z min endstop for homing, disable Z_SAFE_HOMING above. Eg; to park the head outside the bed area when homing with G28.
475 475
   // WARNING: The Z MIN endstop will need to set properly as it would without a Z PROBE to prevent head crashes and premature stopping during a print.
476
-  // To use a separate Z PROBE endstop, you must have a Z_PROBE_PIN defined in the pins.h file for your control board.
476
+  // To use a separate Z PROBE endstop, you must have a Z_MIN_PROBE_PIN defined in the pins.h file for your control board.
477 477
   // If you are using a servo based Z PROBE, you will need to enable NUM_SERVOS, Z_ENDSTOP_SERVO_NR and SERVO_ENDSTOP_ANGLES in the R/C Servo below.
478 478
   // RAMPS 1.3/1.4 boards may be able to use the 5V, Ground and the D32 pin in the Aux 4 section of the RAMPS board. Use 5V for powered sensors, otherwise connect to ground and D32
479 479
   // for normally closed configuration and 5V and D32 for normally open configurations. Normally closed configuration is advised and assumed.
480
-  // The D32 pin in Aux 4 on RAMPS maps to the Arduino D32 pin. Z_PROBE_PIN is setting the pin to use on the Arduino. Since the D32 pin on the RAMPS maps to D32 on Arduino, this works.
480
+  // The D32 pin in Aux 4 on RAMPS maps to the Arduino D32 pin. Z_MIN_PROBE_PIN is setting the pin to use on the Arduino. Since the D32 pin on the RAMPS maps to D32 on Arduino, this works.
481 481
   // D32 is currently selected in the RAMPS 1.3/1.4 pin file. All other boards will need changes to the respective pins_XXXXX.h file.
482 482
   // WARNING: Setting the wrong pin may have unexpected and potentially disastrous outcomes. Use with caution and do your homework.
483 483
 
484
-  //#define Z_PROBE_ENDSTOP
484
+  //#define Z_MIN_PROBE_ENDSTOP
485 485
 
486 486
 #endif // ENABLE_AUTO_BED_LEVELING
487 487
 

+ 8
- 8
Marlin/example_configurations/Hephestos/Configuration.h View File

@@ -329,15 +329,15 @@ const bool Z_MIN_ENDSTOP_INVERTING = true; // set to true to invert the logic of
329 329
 const bool X_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
330 330
 const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
331 331
 const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
332
-const bool Z_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
332
+const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
333 333
 //#define DISABLE_MAX_ENDSTOPS
334 334
 //#define DISABLE_MIN_ENDSTOPS
335 335
 
336 336
 // If you want to enable the Z Probe pin, but disable its use, uncomment the line below.
337 337
 // This only affects a Z Probe Endstop if you have separate Z min endstop as well and have
338
-// activated Z_PROBE_ENDSTOP below. If you are using the Z Min endstop on your Z Probe,
338
+// activated Z_MIN_PROBE_ENDSTOP below. If you are using the Z Min endstop on your Z Probe,
339 339
 // this has no effect.
340
-//#define DISABLE_Z_PROBE_ENDSTOP
340
+//#define DISABLE_Z_MIN_PROBE_ENDSTOP
341 341
 
342 342
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
343 343
 // :{0:'Low',1:'High'}
@@ -435,7 +435,7 @@ const bool Z_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the logic
435 435
 // @section bedlevel
436 436
 
437 437
 //#define ENABLE_AUTO_BED_LEVELING // Delete the comment to enable (remove // at the start of the line)
438
-#define Z_PROBE_REPEATABILITY_TEST  // If not commented out, Z-Probe Repeatability test will be included if Auto Bed Leveling is Enabled.
438
+#define Z_MIN_PROBE_REPEATABILITY_TEST  // If not commented out, Z-Probe Repeatability test will be included if Auto Bed Leveling is Enabled.
439 439
 
440 440
 #if ENABLED(ENABLE_AUTO_BED_LEVELING)
441 441
 
@@ -519,18 +519,18 @@ const bool Z_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the logic
519 519
   #endif
520 520
 
521 521
   // Support for a dedicated Z PROBE endstop separate from the Z MIN endstop.
522
-  // If you would like to use both a Z PROBE and a Z MIN endstop together or just a Z PROBE with a custom pin, uncomment #define Z_PROBE_ENDSTOP and read the instructions below.
522
+  // If you would like to use both a Z PROBE and a Z MIN endstop together , uncomment #define Z_MIN_PROBE_ENDSTOP and read the instructions below.
523 523
   // If you want to still use the Z min endstop for homing, disable Z_SAFE_HOMING above. Eg; to park the head outside the bed area when homing with G28.
524 524
   // WARNING: The Z MIN endstop will need to set properly as it would without a Z PROBE to prevent head crashes and premature stopping during a print.
525
-  // To use a separate Z PROBE endstop, you must have a Z_PROBE_PIN defined in the pins.h file for your control board.
525
+  // To use a separate Z PROBE endstop, you must have a Z_MIN_PROBE_PIN defined in the pins.h file for your control board.
526 526
   // If you are using a servo based Z PROBE, you will need to enable NUM_SERVOS, Z_ENDSTOP_SERVO_NR and SERVO_ENDSTOP_ANGLES in the R/C Servo below.
527 527
   // RAMPS 1.3/1.4 boards may be able to use the 5V, Ground and the D32 pin in the Aux 4 section of the RAMPS board. Use 5V for powered sensors, otherwise connect to ground and D32
528 528
   // for normally closed configuration and 5V and D32 for normally open configurations. Normally closed configuration is advised and assumed.
529
-  // The D32 pin in Aux 4 on RAMPS maps to the Arduino D32 pin. Z_PROBE_PIN is setting the pin to use on the Arduino. Since the D32 pin on the RAMPS maps to D32 on Arduino, this works.
529
+  // The D32 pin in Aux 4 on RAMPS maps to the Arduino D32 pin. Z_MIN_PROBE_PIN is setting the pin to use on the Arduino. Since the D32 pin on the RAMPS maps to D32 on Arduino, this works.
530 530
   // D32 is currently selected in the RAMPS 1.3/1.4 pin file. All other boards will need changes to the respective pins_XXXXX.h file.
531 531
   // WARNING: Setting the wrong pin may have unexpected and potentially disastrous outcomes. Use with caution and do your homework.
532 532
 
533
-  //#define Z_PROBE_ENDSTOP
533
+  //#define Z_MIN_PROBE_ENDSTOP
534 534
 
535 535
 #endif // ENABLE_AUTO_BED_LEVELING
536 536
 

+ 8
- 8
Marlin/example_configurations/K8200/Configuration.h View File

@@ -325,15 +325,15 @@ const bool Z_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic o
325 325
 const bool X_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
326 326
 const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
327 327
 const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
328
-const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
328
+const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
329 329
 #define DISABLE_MAX_ENDSTOPS
330 330
 //#define DISABLE_MIN_ENDSTOPS
331 331
 
332 332
 // If you want to enable the Z Probe pin, but disable its use, uncomment the line below.
333 333
 // This only affects a Z Probe Endstop if you have separate Z min endstop as well and have
334
-// activated Z_PROBE_ENDSTOP below. If you are using the Z Min endstop on your Z Probe,
334
+// activated Z_MIN_PROBE_ENDSTOP below. If you are using the Z Min endstop on your Z Probe,
335 335
 // this has no effect.
336
-//#define DISABLE_Z_PROBE_ENDSTOP
336
+//#define DISABLE_Z_MIN_PROBE_ENDSTOP
337 337
 
338 338
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
339 339
 // :{0:'Low',1:'High'}
@@ -431,7 +431,7 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
431 431
 // @section bedlevel
432 432
 
433 433
 //#define ENABLE_AUTO_BED_LEVELING // Delete the comment to enable (remove // at the start of the line)
434
-#define Z_PROBE_REPEATABILITY_TEST  // If not commented out, Z-Probe Repeatability test will be included if Auto Bed Leveling is Enabled.
434
+#define Z_MIN_PROBE_REPEATABILITY_TEST  // If not commented out, Z-Probe Repeatability test will be included if Auto Bed Leveling is Enabled.
435 435
 
436 436
 #if ENABLED(ENABLE_AUTO_BED_LEVELING)
437 437
 
@@ -515,18 +515,18 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
515 515
   #endif
516 516
 
517 517
   // Support for a dedicated Z PROBE endstop separate from the Z MIN endstop.
518
-  // If you would like to use both a Z PROBE and a Z MIN endstop together or just a Z PROBE with a custom pin, uncomment #define Z_PROBE_ENDSTOP and read the instructions below.
518
+  // If you would like to use both a Z PROBE and a Z MIN endstop together , uncomment #define Z_MIN_PROBE_ENDSTOP and read the instructions below.
519 519
   // If you want to still use the Z min endstop for homing, disable Z_SAFE_HOMING above. Eg; to park the head outside the bed area when homing with G28.
520 520
   // WARNING: The Z MIN endstop will need to set properly as it would without a Z PROBE to prevent head crashes and premature stopping during a print.
521
-  // To use a separate Z PROBE endstop, you must have a Z_PROBE_PIN defined in the pins.h file for your control board.
521
+  // To use a separate Z PROBE endstop, you must have a Z_MIN_PROBE_PIN defined in the pins.h file for your control board.
522 522
   // If you are using a servo based Z PROBE, you will need to enable NUM_SERVOS, Z_ENDSTOP_SERVO_NR and SERVO_ENDSTOP_ANGLES in the R/C Servo below.
523 523
   // RAMPS 1.3/1.4 boards may be able to use the 5V, Ground and the D32 pin in the Aux 4 section of the RAMPS board. Use 5V for powered sensors, otherwise connect to ground and D32
524 524
   // for normally closed configuration and 5V and D32 for normally open configurations. Normally closed configuration is advised and assumed.
525
-  // The D32 pin in Aux 4 on RAMPS maps to the Arduino D32 pin. Z_PROBE_PIN is setting the pin to use on the Arduino. Since the D32 pin on the RAMPS maps to D32 on Arduino, this works.
525
+  // The D32 pin in Aux 4 on RAMPS maps to the Arduino D32 pin. Z_MIN_PROBE_PIN is setting the pin to use on the Arduino. Since the D32 pin on the RAMPS maps to D32 on Arduino, this works.
526 526
   // D32 is currently selected in the RAMPS 1.3/1.4 pin file. All other boards will need changes to the respective pins_XXXXX.h file.
527 527
   // WARNING: Setting the wrong pin may have unexpected and potentially disastrous outcomes. Use with caution and do your homework.
528 528
 
529
-  //#define Z_PROBE_ENDSTOP
529
+  //#define Z_MIN_PROBE_ENDSTOP
530 530
 
531 531
 #endif // ENABLE_AUTO_BED_LEVELING
532 532
 

+ 8
- 8
Marlin/example_configurations/RepRapWorld/Megatronics/Configuration.h View File

@@ -337,15 +337,15 @@ const bool Z_MIN_ENDSTOP_INVERTING = true; // set to true to invert the logic of
337 337
 const bool X_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
338 338
 const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
339 339
 const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
340
-const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
340
+const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
341 341
 //#define DISABLE_MAX_ENDSTOPS
342 342
 //#define DISABLE_MIN_ENDSTOPS
343 343
 
344 344
 // If you want to enable the Z Probe pin, but disable its use, uncomment the line below.
345 345
 // This only affects a Z Probe Endstop if you have separate Z min endstop as well and have
346
-// activated Z_PROBE_ENDSTOP below. If you are using the Z Min endstop on your Z Probe,
346
+// activated Z_MIN_PROBE_ENDSTOP below. If you are using the Z Min endstop on your Z Probe,
347 347
 // this has no effect.
348
-//#define DISABLE_Z_PROBE_ENDSTOP
348
+//#define DISABLE_Z_MIN_PROBE_ENDSTOP
349 349
 
350 350
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
351 351
 // :{0:'Low',1:'High'}
@@ -443,7 +443,7 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
443 443
 // @section bedlevel
444 444
 
445 445
 //#define ENABLE_AUTO_BED_LEVELING // Delete the comment to enable (remove // at the start of the line)
446
-#define Z_PROBE_REPEATABILITY_TEST  // If not commented out, Z-Probe Repeatability test will be included if Auto Bed Leveling is Enabled.
446
+#define Z_MIN_PROBE_REPEATABILITY_TEST  // If not commented out, Z-Probe Repeatability test will be included if Auto Bed Leveling is Enabled.
447 447
 
448 448
 #if ENABLED(ENABLE_AUTO_BED_LEVELING)
449 449
 
@@ -527,18 +527,18 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
527 527
   #endif
528 528
 
529 529
   // Support for a dedicated Z PROBE endstop separate from the Z MIN endstop.
530
-  // If you would like to use both a Z PROBE and a Z MIN endstop together or just a Z PROBE with a custom pin, uncomment #define Z_PROBE_ENDSTOP and read the instructions below.
530
+  // If you would like to use both a Z PROBE and a Z MIN endstop together , uncomment #define Z_MIN_PROBE_ENDSTOP and read the instructions below.
531 531
   // If you want to still use the Z min endstop for homing, disable Z_SAFE_HOMING above. Eg; to park the head outside the bed area when homing with G28.
532 532
   // WARNING: The Z MIN endstop will need to set properly as it would without a Z PROBE to prevent head crashes and premature stopping during a print.
533
-  // To use a separate Z PROBE endstop, you must have a Z_PROBE_PIN defined in the pins.h file for your control board.
533
+  // To use a separate Z PROBE endstop, you must have a Z_MIN_PROBE_PIN defined in the pins.h file for your control board.
534 534
   // If you are using a servo based Z PROBE, you will need to enable NUM_SERVOS, Z_ENDSTOP_SERVO_NR and SERVO_ENDSTOP_ANGLES in the R/C Servo below.
535 535
   // RAMPS 1.3/1.4 boards may be able to use the 5V, Ground and the D32 pin in the Aux 4 section of the RAMPS board. Use 5V for powered sensors, otherwise connect to ground and D32
536 536
   // for normally closed configuration and 5V and D32 for normally open configurations. Normally closed configuration is advised and assumed.
537
-  // The D32 pin in Aux 4 on RAMPS maps to the Arduino D32 pin. Z_PROBE_PIN is setting the pin to use on the Arduino. Since the D32 pin on the RAMPS maps to D32 on Arduino, this works.
537
+  // The D32 pin in Aux 4 on RAMPS maps to the Arduino D32 pin. Z_MIN_PROBE_PIN is setting the pin to use on the Arduino. Since the D32 pin on the RAMPS maps to D32 on Arduino, this works.
538 538
   // D32 is currently selected in the RAMPS 1.3/1.4 pin file. All other boards will need changes to the respective pins_XXXXX.h file.
539 539
   // WARNING: Setting the wrong pin may have unexpected and potentially disastrous outcomes. Use with caution and do your homework.
540 540
 
541
-  //#define Z_PROBE_ENDSTOP
541
+  //#define Z_MIN_PROBE_ENDSTOP
542 542
 
543 543
 #endif // ENABLE_AUTO_BED_LEVELING
544 544
 

+ 8
- 8
Marlin/example_configurations/RigidBot/Configuration.h View File

@@ -323,15 +323,15 @@ const bool Z_MIN_ENDSTOP_INVERTING = true; // set to true to invert the logic of
323 323
 const bool X_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
324 324
 const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
325 325
 const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
326
-const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
326
+const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
327 327
 //#define DISABLE_MAX_ENDSTOPS
328 328
 //#define DISABLE_MIN_ENDSTOPS
329 329
 
330 330
 // If you want to enable the Z Probe pin, but disable its use, uncomment the line below.
331 331
 // This only affects a Z Probe Endstop if you have separate Z min endstop as well and have
332
-// activated Z_PROBE_ENDSTOP below. If you are using the Z Min endstop on your Z Probe,
332
+// activated Z_MIN_PROBE_ENDSTOP below. If you are using the Z Min endstop on your Z Probe,
333 333
 // this has no effect.
334
-//#define DISABLE_Z_PROBE_ENDSTOP
334
+//#define DISABLE_Z_MIN_PROBE_ENDSTOP
335 335
 
336 336
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
337 337
 // :{0:'Low',1:'High'}
@@ -429,7 +429,7 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
429 429
 // @section bedlevel
430 430
 
431 431
 //#define ENABLE_AUTO_BED_LEVELING // Delete the comment to enable (remove // at the start of the line)
432
-//#define Z_PROBE_REPEATABILITY_TEST  // If not commented out, Z-Probe Repeatability test will be included if Auto Bed Leveling is Enabled.
432
+//#define Z_MIN_PROBE_REPEATABILITY_TEST  // If not commented out, Z-Probe Repeatability test will be included if Auto Bed Leveling is Enabled.
433 433
 
434 434
 #if ENABLED(ENABLE_AUTO_BED_LEVELING)
435 435
 
@@ -513,18 +513,18 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
513 513
   #endif
514 514
 
515 515
   // Support for a dedicated Z PROBE endstop separate from the Z MIN endstop.
516
-  // If you would like to use both a Z PROBE and a Z MIN endstop together or just a Z PROBE with a custom pin, uncomment #define Z_PROBE_ENDSTOP and read the instructions below.
516
+  // If you would like to use both a Z PROBE and a Z MIN endstop together , uncomment #define Z_MIN_PROBE_ENDSTOP and read the instructions below.
517 517
   // If you want to still use the Z min endstop for homing, disable Z_SAFE_HOMING above. Eg; to park the head outside the bed area when homing with G28.
518 518
   // WARNING: The Z MIN endstop will need to set properly as it would without a Z PROBE to prevent head crashes and premature stopping during a print.
519
-  // To use a separate Z PROBE endstop, you must have a Z_PROBE_PIN defined in the pins.h file for your control board.
519
+  // To use a separate Z PROBE endstop, you must have a Z_MIN_PROBE_PIN defined in the pins.h file for your control board.
520 520
   // If you are using a servo based Z PROBE, you will need to enable NUM_SERVOS, Z_ENDSTOP_SERVO_NR and SERVO_ENDSTOP_ANGLES in the R/C Servo below.
521 521
   // RAMPS 1.3/1.4 boards may be able to use the 5V, Ground and the D32 pin in the Aux 4 section of the RAMPS board. Use 5V for powered sensors, otherwise connect to ground and D32
522 522
   // for normally closed configuration and 5V and D32 for normally open configurations. Normally closed configuration is advised and assumed.
523
-  // The D32 pin in Aux 4 on RAMPS maps to the Arduino D32 pin. Z_PROBE_PIN is setting the pin to use on the Arduino. Since the D32 pin on the RAMPS maps to D32 on Arduino, this works.
523
+  // The D32 pin in Aux 4 on RAMPS maps to the Arduino D32 pin. Z_MIN_PROBE_PIN is setting the pin to use on the Arduino. Since the D32 pin on the RAMPS maps to D32 on Arduino, this works.
524 524
   // D32 is currently selected in the RAMPS 1.3/1.4 pin file. All other boards will need changes to the respective pins_XXXXX.h file.
525 525
   // WARNING: Setting the wrong pin may have unexpected and potentially disastrous outcomes. Use with caution and do your homework.
526 526
 
527
-  //#define Z_PROBE_ENDSTOP
527
+  //#define Z_MIN_PROBE_ENDSTOP
528 528
 
529 529
 #endif // ENABLE_AUTO_BED_LEVELING
530 530
 

+ 8
- 8
Marlin/example_configurations/SCARA/Configuration.h View File

@@ -345,15 +345,15 @@ const bool Z_MIN_ENDSTOP_INVERTING = true; // set to true to invert the logic of
345 345
 const bool X_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
346 346
 const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
347 347
 const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
348
-const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
348
+const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
349 349
 //#define DISABLE_MAX_ENDSTOPS
350 350
 //#define DISABLE_MIN_ENDSTOPS
351 351
 
352 352
 // If you want to enable the Z Probe pin, but disable its use, uncomment the line below.
353 353
 // This only affects a Z Probe Endstop if you have separate Z min endstop as well and have
354
-// activated Z_PROBE_ENDSTOP below. If you are using the Z Min endstop on your Z Probe,
354
+// activated Z_MIN_PROBE_ENDSTOP below. If you are using the Z Min endstop on your Z Probe,
355 355
 // this has no effect.
356
-//#define DISABLE_Z_PROBE_ENDSTOP
356
+//#define DISABLE_Z_MIN_PROBE_ENDSTOP
357 357
 
358 358
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
359 359
 // :{0:'Low',1:'High'}
@@ -451,7 +451,7 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
451 451
 // @section bedlevel
452 452
 
453 453
 //#define ENABLE_AUTO_BED_LEVELING // Delete the comment to enable (remove // at the start of the line)
454
-#define Z_PROBE_REPEATABILITY_TEST  // If not commented out, Z-Probe Repeatability test will be included if Auto Bed Leveling is Enabled.
454
+#define Z_MIN_PROBE_REPEATABILITY_TEST  // If not commented out, Z-Probe Repeatability test will be included if Auto Bed Leveling is Enabled.
455 455
 
456 456
 #if ENABLED(ENABLE_AUTO_BED_LEVELING)
457 457
 
@@ -535,18 +535,18 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
535 535
   #endif
536 536
 
537 537
   // Support for a dedicated Z PROBE endstop separate from the Z MIN endstop.
538
-  // If you would like to use both a Z PROBE and a Z MIN endstop together or just a Z PROBE with a custom pin, uncomment #define Z_PROBE_ENDSTOP and read the instructions below.
538
+  // If you would like to use both a Z PROBE and a Z MIN endstop together , uncomment #define Z_MIN_PROBE_ENDSTOP and read the instructions below.
539 539
   // If you want to still use the Z min endstop for homing, disable Z_SAFE_HOMING above. Eg; to park the head outside the bed area when homing with G28.
540 540
   // WARNING: The Z MIN endstop will need to set properly as it would without a Z PROBE to prevent head crashes and premature stopping during a print.
541
-  // To use a separate Z PROBE endstop, you must have a Z_PROBE_PIN defined in the pins.h file for your control board.
541
+  // To use a separate Z PROBE endstop, you must have a Z_MIN_PROBE_PIN defined in the pins.h file for your control board.
542 542
   // If you are using a servo based Z PROBE, you will need to enable NUM_SERVOS, Z_ENDSTOP_SERVO_NR and SERVO_ENDSTOP_ANGLES in the R/C Servo below.
543 543
   // RAMPS 1.3/1.4 boards may be able to use the 5V, Ground and the D32 pin in the Aux 4 section of the RAMPS board. Use 5V for powered sensors, otherwise connect to ground and D32
544 544
   // for normally closed configuration and 5V and D32 for normally open configurations. Normally closed configuration is advised and assumed.
545
-  // The D32 pin in Aux 4 on RAMPS maps to the Arduino D32 pin. Z_PROBE_PIN is setting the pin to use on the Arduino. Since the D32 pin on the RAMPS maps to D32 on Arduino, this works.
545
+  // The D32 pin in Aux 4 on RAMPS maps to the Arduino D32 pin. Z_MIN_PROBE_PIN is setting the pin to use on the Arduino. Since the D32 pin on the RAMPS maps to D32 on Arduino, this works.
546 546
   // D32 is currently selected in the RAMPS 1.3/1.4 pin file. All other boards will need changes to the respective pins_XXXXX.h file.
547 547
   // WARNING: Setting the wrong pin may have unexpected and potentially disastrous outcomes. Use with caution and do your homework.
548 548
 
549
-  //#define Z_PROBE_ENDSTOP
549
+  //#define Z_MIN_PROBE_ENDSTOP
550 550
 
551 551
 #endif // ENABLE_AUTO_BED_LEVELING
552 552
 

+ 8
- 8
Marlin/example_configurations/WITBOX/Configuration.h View File

@@ -329,15 +329,15 @@ const bool Z_MIN_ENDSTOP_INVERTING = true; // set to true to invert the logic of
329 329
 const bool X_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
330 330
 const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
331 331
 const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
332
-const bool Z_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
332
+const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
333 333
 //#define DISABLE_MAX_ENDSTOPS
334 334
 //#define DISABLE_MIN_ENDSTOPS
335 335
 
336 336
 // If you want to enable the Z Probe pin, but disable its use, uncomment the line below.
337 337
 // This only affects a Z Probe Endstop if you have separate Z min endstop as well and have
338
-// activated Z_PROBE_ENDSTOP below. If you are using the Z Min endstop on your Z Probe,
338
+// activated Z_MIN_PROBE_ENDSTOP below. If you are using the Z Min endstop on your Z Probe,
339 339
 // this has no effect.
340
-//#define DISABLE_Z_PROBE_ENDSTOP
340
+//#define DISABLE_Z_MIN_PROBE_ENDSTOP
341 341
 
342 342
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
343 343
 // :{0:'Low',1:'High'}
@@ -435,7 +435,7 @@ const bool Z_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the logic
435 435
 // @section bedlevel
436 436
 
437 437
 //#define ENABLE_AUTO_BED_LEVELING // Delete the comment to enable (remove // at the start of the line)
438
-#define Z_PROBE_REPEATABILITY_TEST  // If not commented out, Z-Probe Repeatability test will be included if Auto Bed Leveling is Enabled.
438
+#define Z_MIN_PROBE_REPEATABILITY_TEST  // If not commented out, Z-Probe Repeatability test will be included if Auto Bed Leveling is Enabled.
439 439
 
440 440
 #if ENABLED(ENABLE_AUTO_BED_LEVELING)
441 441
 
@@ -519,18 +519,18 @@ const bool Z_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the logic
519 519
   #endif
520 520
 
521 521
   // Support for a dedicated Z PROBE endstop separate from the Z MIN endstop.
522
-  // If you would like to use both a Z PROBE and a Z MIN endstop together or just a Z PROBE with a custom pin, uncomment #define Z_PROBE_ENDSTOP and read the instructions below.
522
+  // If you would like to use both a Z PROBE and a Z MIN endstop together , uncomment #define Z_MIN_PROBE_ENDSTOP and read the instructions below.
523 523
   // If you want to still use the Z min endstop for homing, disable Z_SAFE_HOMING above. Eg; to park the head outside the bed area when homing with G28.
524 524
   // WARNING: The Z MIN endstop will need to set properly as it would without a Z PROBE to prevent head crashes and premature stopping during a print.
525
-  // To use a separate Z PROBE endstop, you must have a Z_PROBE_PIN defined in the pins.h file for your control board.
525
+  // To use a separate Z PROBE endstop, you must have a Z_MIN_PROBE_PIN defined in the pins.h file for your control board.
526 526
   // If you are using a servo based Z PROBE, you will need to enable NUM_SERVOS, Z_ENDSTOP_SERVO_NR and SERVO_ENDSTOP_ANGLES in the R/C Servo below.
527 527
   // RAMPS 1.3/1.4 boards may be able to use the 5V, Ground and the D32 pin in the Aux 4 section of the RAMPS board. Use 5V for powered sensors, otherwise connect to ground and D32
528 528
   // for normally closed configuration and 5V and D32 for normally open configurations. Normally closed configuration is advised and assumed.
529
-  // The D32 pin in Aux 4 on RAMPS maps to the Arduino D32 pin. Z_PROBE_PIN is setting the pin to use on the Arduino. Since the D32 pin on the RAMPS maps to D32 on Arduino, this works.
529
+  // The D32 pin in Aux 4 on RAMPS maps to the Arduino D32 pin. Z_MIN_PROBE_PIN is setting the pin to use on the Arduino. Since the D32 pin on the RAMPS maps to D32 on Arduino, this works.
530 530
   // D32 is currently selected in the RAMPS 1.3/1.4 pin file. All other boards will need changes to the respective pins_XXXXX.h file.
531 531
   // WARNING: Setting the wrong pin may have unexpected and potentially disastrous outcomes. Use with caution and do your homework.
532 532
 
533
-  //#define Z_PROBE_ENDSTOP
533
+  //#define Z_MIN_PROBE_ENDSTOP
534 534
 
535 535
 #endif // ENABLE_AUTO_BED_LEVELING
536 536
 

+ 8
- 8
Marlin/example_configurations/adafruit/ST7565/Configuration.h View File

@@ -337,15 +337,15 @@ const bool Z_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic o
337 337
 const bool X_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
338 338
 const bool Y_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
339 339
 const bool Z_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
340
-const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
340
+const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
341 341
 //#define DISABLE_MAX_ENDSTOPS
342 342
 //#define DISABLE_MIN_ENDSTOPS
343 343
 
344 344
 // If you want to enable the Z Probe pin, but disable its use, uncomment the line below.
345 345
 // This only affects a Z Probe Endstop if you have separate Z min endstop as well and have
346
-// activated Z_PROBE_ENDSTOP below. If you are using the Z Min endstop on your Z Probe,
346
+// activated Z_MIN_PROBE_ENDSTOP below. If you are using the Z Min endstop on your Z Probe,
347 347
 // this has no effect.
348
-//#define DISABLE_Z_PROBE_ENDSTOP
348
+//#define DISABLE_Z_MIN_PROBE_ENDSTOP
349 349
 
350 350
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
351 351
 // :{0:'Low',1:'High'}
@@ -443,7 +443,7 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
443 443
 // @section bedlevel
444 444
 
445 445
 //#define ENABLE_AUTO_BED_LEVELING // Delete the comment to enable (remove // at the start of the line)
446
-#define Z_PROBE_REPEATABILITY_TEST  // If not commented out, Z-Probe Repeatability test will be included if Auto Bed Leveling is Enabled.
446
+#define Z_MIN_PROBE_REPEATABILITY_TEST  // If not commented out, Z-Probe Repeatability test will be included if Auto Bed Leveling is Enabled.
447 447
 
448 448
 #if ENABLED(ENABLE_AUTO_BED_LEVELING)
449 449
 
@@ -527,18 +527,18 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
527 527
   #endif
528 528
 
529 529
   // Support for a dedicated Z PROBE endstop separate from the Z MIN endstop.
530
-  // If you would like to use both a Z PROBE and a Z MIN endstop together or just a Z PROBE with a custom pin, uncomment #define Z_PROBE_ENDSTOP and read the instructions below.
530
+  // If you would like to use both a Z PROBE and a Z MIN endstop together , uncomment #define Z_MIN_PROBE_ENDSTOP and read the instructions below.
531 531
   // If you want to still use the Z min endstop for homing, disable Z_SAFE_HOMING above. Eg; to park the head outside the bed area when homing with G28.
532 532
   // WARNING: The Z MIN endstop will need to set properly as it would without a Z PROBE to prevent head crashes and premature stopping during a print.
533
-  // To use a separate Z PROBE endstop, you must have a Z_PROBE_PIN defined in the pins.h file for your control board.
533
+  // To use a separate Z PROBE endstop, you must have a Z_MIN_PROBE_PIN defined in the pins.h file for your control board.
534 534
   // If you are using a servo based Z PROBE, you will need to enable NUM_SERVOS, Z_ENDSTOP_SERVO_NR and SERVO_ENDSTOP_ANGLES in the R/C Servo below.
535 535
   // RAMPS 1.3/1.4 boards may be able to use the 5V, Ground and the D32 pin in the Aux 4 section of the RAMPS board. Use 5V for powered sensors, otherwise connect to ground and D32
536 536
   // for normally closed configuration and 5V and D32 for normally open configurations. Normally closed configuration is advised and assumed.
537
-  // The D32 pin in Aux 4 on RAMPS maps to the Arduino D32 pin. Z_PROBE_PIN is setting the pin to use on the Arduino. Since the D32 pin on the RAMPS maps to D32 on Arduino, this works.
537
+  // The D32 pin in Aux 4 on RAMPS maps to the Arduino D32 pin. Z_MIN_PROBE_PIN is setting the pin to use on the Arduino. Since the D32 pin on the RAMPS maps to D32 on Arduino, this works.
538 538
   // D32 is currently selected in the RAMPS 1.3/1.4 pin file. All other boards will need changes to the respective pins_XXXXX.h file.
539 539
   // WARNING: Setting the wrong pin may have unexpected and potentially disastrous outcomes. Use with caution and do your homework.
540 540
 
541
-  //#define Z_PROBE_ENDSTOP
541
+  //#define Z_MIN_PROBE_ENDSTOP
542 542
 
543 543
 #endif // ENABLE_AUTO_BED_LEVELING
544 544
 

+ 8
- 8
Marlin/example_configurations/delta/biv2.5/Configuration.h View File

@@ -372,15 +372,15 @@ const bool Z_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic o
372 372
 const bool X_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
373 373
 const bool Y_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
374 374
 const bool Z_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
375
-const bool Z_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
375
+const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
376 376
 //#define DISABLE_MAX_ENDSTOPS
377 377
 #define DISABLE_MIN_ENDSTOPS // Deltas only use min endstops for probing
378 378
 
379 379
 // If you want to enable the Z Probe pin, but disable its use, uncomment the line below.
380 380
 // This only affects a Z Probe Endstop if you have separate Z min endstop as well and have
381
-// activated Z_PROBE_ENDSTOP below. If you are using the Z Min endstop on your Z Probe,
381
+// activated Z_MIN_PROBE_ENDSTOP below. If you are using the Z Min endstop on your Z Probe,
382 382
 // this has no effect.
383
-//#define DISABLE_Z_PROBE_ENDSTOP
383
+//#define DISABLE_Z_MIN_PROBE_ENDSTOP
384 384
 
385 385
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
386 386
 // :{0:'Low',1:'High'}
@@ -478,7 +478,7 @@ const bool Z_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the logic
478 478
 // @section bedlevel
479 479
 
480 480
 //#define ENABLE_AUTO_BED_LEVELING // Delete the comment to enable (remove // at the start of the line)
481
-//#define Z_PROBE_REPEATABILITY_TEST // Z-Probe Repeatability test is not supported in Deltas yet.
481
+//#define Z_MIN_PROBE_REPEATABILITY_TEST // Z-Probe Repeatability test is not supported in Deltas yet.
482 482
 
483 483
 #if ENABLED(ENABLE_AUTO_BED_LEVELING)
484 484
 
@@ -647,18 +647,18 @@ const bool Z_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the logic
647 647
   #endif
648 648
 
649 649
   // Support for a dedicated Z PROBE endstop separate from the Z MIN endstop.
650
-  // If you would like to use both a Z PROBE and a Z MIN endstop together or just a Z PROBE with a custom pin, uncomment #define Z_PROBE_ENDSTOP and read the instructions below.
650
+  // If you would like to use both a Z PROBE and a Z MIN endstop together , uncomment #define Z_MIN_PROBE_ENDSTOP and read the instructions below.
651 651
   // If you want to still use the Z min endstop for homing, disable Z_SAFE_HOMING above. Eg; to park the head outside the bed area when homing with G28.
652 652
   // WARNING: The Z MIN endstop will need to set properly as it would without a Z PROBE to prevent head crashes and premature stopping during a print.
653
-  // To use a separate Z PROBE endstop, you must have a Z_PROBE_PIN defined in the pins.h file for your control board.
653
+  // To use a separate Z PROBE endstop, you must have a Z_MIN_PROBE_PIN defined in the pins.h file for your control board.
654 654
   // If you are using a servo based Z PROBE, you will need to enable NUM_SERVOS, Z_ENDSTOP_SERVO_NR and SERVO_ENDSTOP_ANGLES in the R/C Servo below.
655 655
   // RAMPS 1.3/1.4 boards may be able to use the 5V, Ground and the D32 pin in the Aux 4 section of the RAMPS board. Use 5V for powered sensors, otherwise connect to ground and D32
656 656
   // for normally closed configuration and 5V and D32 for normally open configurations. Normally closed configuration is advised and assumed.
657
-  // The D32 pin in Aux 4 on RAMPS maps to the Arduino D32 pin. Z_PROBE_PIN is setting the pin to use on the Arduino. Since the D32 pin on the RAMPS maps to D32 on Arduino, this works.
657
+  // The D32 pin in Aux 4 on RAMPS maps to the Arduino D32 pin. Z_MIN_PROBE_PIN is setting the pin to use on the Arduino. Since the D32 pin on the RAMPS maps to D32 on Arduino, this works.
658 658
   // D32 is currently selected in the RAMPS 1.3/1.4 pin file. All other boards will need changes to the respective pins_XXXXX.h file.
659 659
   // WARNING: Setting the wrong pin may have unexpected and potentially disastrous outcomes. Use with caution and do your homework.
660 660
 
661
-  //#define Z_PROBE_ENDSTOP
661
+  //#define Z_MIN_PROBE_ENDSTOP
662 662
 
663 663
 #endif // ENABLE_AUTO_BED_LEVELING
664 664
 

+ 8
- 8
Marlin/example_configurations/delta/generic/Configuration.h View File

@@ -372,15 +372,15 @@ const bool Z_MIN_ENDSTOP_INVERTING = true; // set to true to invert the logic of
372 372
 const bool X_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
373 373
 const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
374 374
 const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
375
-const bool Z_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
375
+const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
376 376
 //#define DISABLE_MAX_ENDSTOPS
377 377
 #define DISABLE_MIN_ENDSTOPS // Deltas only use min endstops for probing
378 378
 
379 379
 // If you want to enable the Z Probe pin, but disable its use, uncomment the line below.
380 380
 // This only affects a Z Probe Endstop if you have separate Z min endstop as well and have
381
-// activated Z_PROBE_ENDSTOP below. If you are using the Z Min endstop on your Z Probe,
381
+// activated Z_MIN_PROBE_ENDSTOP below. If you are using the Z Min endstop on your Z Probe,
382 382
 // this has no effect.
383
-//#define DISABLE_Z_PROBE_ENDSTOP
383
+//#define DISABLE_Z_MIN_PROBE_ENDSTOP
384 384
 
385 385
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
386 386
 // :{0:'Low',1:'High'}
@@ -478,7 +478,7 @@ const bool Z_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the logic
478 478
 // @section bedlevel
479 479
 
480 480
 //#define ENABLE_AUTO_BED_LEVELING // Delete the comment to enable (remove // at the start of the line)
481
-//#define Z_PROBE_REPEATABILITY_TEST // Z-Probe Repeatability test is not supported in Deltas yet.
481
+//#define Z_MIN_PROBE_REPEATABILITY_TEST // Z-Probe Repeatability test is not supported in Deltas yet.
482 482
 
483 483
 #if ENABLED(ENABLE_AUTO_BED_LEVELING)
484 484
 
@@ -647,18 +647,18 @@ const bool Z_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the logic
647 647
   #endif
648 648
 
649 649
   // Support for a dedicated Z PROBE endstop separate from the Z MIN endstop.
650
-  // If you would like to use both a Z PROBE and a Z MIN endstop together or just a Z PROBE with a custom pin, uncomment #define Z_PROBE_ENDSTOP and read the instructions below.
650
+  // If you would like to use both a Z PROBE and a Z MIN endstop together , uncomment #define Z_MIN_PROBE_ENDSTOP and read the instructions below.
651 651
   // If you want to still use the Z min endstop for homing, disable Z_SAFE_HOMING above. Eg; to park the head outside the bed area when homing with G28.
652 652
   // WARNING: The Z MIN endstop will need to set properly as it would without a Z PROBE to prevent head crashes and premature stopping during a print.
653
-  // To use a separate Z PROBE endstop, you must have a Z_PROBE_PIN defined in the pins.h file for your control board.
653
+  // To use a separate Z PROBE endstop, you must have a Z_MIN_PROBE_PIN defined in the pins.h file for your control board.
654 654
   // If you are using a servo based Z PROBE, you will need to enable NUM_SERVOS, Z_ENDSTOP_SERVO_NR and SERVO_ENDSTOP_ANGLES in the R/C Servo below.
655 655
   // RAMPS 1.3/1.4 boards may be able to use the 5V, Ground and the D32 pin in the Aux 4 section of the RAMPS board. Use 5V for powered sensors, otherwise connect to ground and D32
656 656
   // for normally closed configuration and 5V and D32 for normally open configurations. Normally closed configuration is advised and assumed.
657
-  // The D32 pin in Aux 4 on RAMPS maps to the Arduino D32 pin. Z_PROBE_PIN is setting the pin to use on the Arduino. Since the D32 pin on the RAMPS maps to D32 on Arduino, this works.
657
+  // The D32 pin in Aux 4 on RAMPS maps to the Arduino D32 pin. Z_MIN_PROBE_PIN is setting the pin to use on the Arduino. Since the D32 pin on the RAMPS maps to D32 on Arduino, this works.
658 658
   // D32 is currently selected in the RAMPS 1.3/1.4 pin file. All other boards will need changes to the respective pins_XXXXX.h file.
659 659
   // WARNING: Setting the wrong pin may have unexpected and potentially disastrous outcomes. Use with caution and do your homework.
660 660
 
661
-  //#define Z_PROBE_ENDSTOP
661
+  //#define Z_MIN_PROBE_ENDSTOP
662 662
 
663 663
 #endif // ENABLE_AUTO_BED_LEVELING
664 664
 

+ 8
- 8
Marlin/example_configurations/delta/kossel_mini/Configuration.h View File

@@ -372,15 +372,15 @@ const bool Z_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic o
372 372
 const bool X_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
373 373
 const bool Y_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
374 374
 const bool Z_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
375
-const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
375
+const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
376 376
 //#define DISABLE_MAX_ENDSTOPS
377 377
 //#define DISABLE_MIN_ENDSTOPS // Deltas only use min endstops for probing
378 378
 
379 379
 // If you want to enable the Z Probe pin, but disable its use, uncomment the line below.
380 380
 // This only affects a Z Probe Endstop if you have separate Z min endstop as well and have
381
-// activated Z_PROBE_ENDSTOP below. If you are using the Z Min endstop on your Z Probe,
381
+// activated Z_MIN_PROBE_ENDSTOP below. If you are using the Z Min endstop on your Z Probe,
382 382
 // this has no effect.
383
-//#define DISABLE_Z_PROBE_ENDSTOP
383
+//#define DISABLE_Z_MIN_PROBE_ENDSTOP
384 384
 
385 385
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
386 386
 // :{0:'Low',1:'High'}
@@ -478,7 +478,7 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
478 478
 // @section bedlevel
479 479
 
480 480
 #define ENABLE_AUTO_BED_LEVELING // Delete the comment to enable (remove // at the start of the line)
481
-//#define Z_PROBE_REPEATABILITY_TEST // Z-Probe Repeatability test is not supported in Deltas yet.
481
+//#define Z_MIN_PROBE_REPEATABILITY_TEST // Z-Probe Repeatability test is not supported in Deltas yet.
482 482
 
483 483
 #if ENABLED(ENABLE_AUTO_BED_LEVELING)
484 484
 
@@ -651,18 +651,18 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
651 651
   #endif
652 652
 
653 653
   // Support for a dedicated Z PROBE endstop separate from the Z MIN endstop.
654
-  // If you would like to use both a Z PROBE and a Z MIN endstop together or just a Z PROBE with a custom pin, uncomment #define Z_PROBE_ENDSTOP and read the instructions below.
654
+  // If you would like to use both a Z PROBE and a Z MIN endstop together , uncomment #define Z_MIN_PROBE_ENDSTOP and read the instructions below.
655 655
   // If you want to still use the Z min endstop for homing, disable Z_SAFE_HOMING above. Eg; to park the head outside the bed area when homing with G28.
656 656
   // WARNING: The Z MIN endstop will need to set properly as it would without a Z PROBE to prevent head crashes and premature stopping during a print.
657
-  // To use a separate Z PROBE endstop, you must have a Z_PROBE_PIN defined in the pins.h file for your control board.
657
+  // To use a separate Z PROBE endstop, you must have a Z_MIN_PROBE_PIN defined in the pins.h file for your control board.
658 658
   // If you are using a servo based Z PROBE, you will need to enable NUM_SERVOS, Z_ENDSTOP_SERVO_NR and SERVO_ENDSTOP_ANGLES in the R/C Servo below.
659 659
   // RAMPS 1.3/1.4 boards may be able to use the 5V, Ground and the D32 pin in the Aux 4 section of the RAMPS board. Use 5V for powered sensors, otherwise connect to ground and D32
660 660
   // for normally closed configuration and 5V and D32 for normally open configurations. Normally closed configuration is advised and assumed.
661
-  // The D32 pin in Aux 4 on RAMPS maps to the Arduino D32 pin. Z_PROBE_PIN is setting the pin to use on the Arduino. Since the D32 pin on the RAMPS maps to D32 on Arduino, this works.
661
+  // The D32 pin in Aux 4 on RAMPS maps to the Arduino D32 pin. Z_MIN_PROBE_PIN is setting the pin to use on the Arduino. Since the D32 pin on the RAMPS maps to D32 on Arduino, this works.
662 662
   // D32 is currently selected in the RAMPS 1.3/1.4 pin file. All other boards will need changes to the respective pins_XXXXX.h file.
663 663
   // WARNING: Setting the wrong pin may have unexpected and potentially disastrous outcomes. Use with caution and do your homework.
664 664
 
665
-  //#define Z_PROBE_ENDSTOP
665
+  //#define Z_MIN_PROBE_ENDSTOP
666 666
 
667 667
 #endif // ENABLE_AUTO_BED_LEVELING
668 668
 

+ 8
- 8
Marlin/example_configurations/delta/kossel_pro/Configuration.h View File

@@ -359,15 +359,15 @@ const bool Z_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic o
359 359
 const bool X_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
360 360
 const bool Y_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
361 361
 const bool Z_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
362
-const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
362
+const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
363 363
 //#define DISABLE_MAX_ENDSTOPS
364 364
 //#define DISABLE_MIN_ENDSTOPS // Deltas only use min endstops for probing
365 365
 
366 366
 // If you want to enable the Z Probe pin, but disable its use, uncomment the line below.
367 367
 // This only affects a Z Probe Endstop if you have separate Z min endstop as well and have
368
-// activated Z_PROBE_ENDSTOP below. If you are using the Z Min endstop on your Z Probe,
368
+// activated Z_MIN_PROBE_ENDSTOP below. If you are using the Z Min endstop on your Z Probe,
369 369
 // this has no effect.
370
-//#define DISABLE_Z_PROBE_ENDSTOP
370
+//#define DISABLE_Z_MIN_PROBE_ENDSTOP
371 371
 
372 372
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
373 373
 // :{0:'Low',1:'High'}
@@ -465,7 +465,7 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
465 465
 // @section bedlevel
466 466
 
467 467
 #define ENABLE_AUTO_BED_LEVELING // Delete the comment to enable (remove // at the start of the line)
468
-//#define Z_PROBE_REPEATABILITY_TEST  // If not commented out, Z-Probe Repeatability test will be included if Auto Bed Leveling is Enabled.
468
+//#define Z_MIN_PROBE_REPEATABILITY_TEST  // If not commented out, Z-Probe Repeatability test will be included if Auto Bed Leveling is Enabled.
469 469
 
470 470
 #if ENABLED(ENABLE_AUTO_BED_LEVELING)
471 471
 
@@ -636,18 +636,18 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
636 636
   #endif
637 637
 
638 638
   // Support for a dedicated Z PROBE endstop separate from the Z MIN endstop.
639
-  // If you would like to use both a Z PROBE and a Z MIN endstop together or just a Z PROBE with a custom pin, uncomment #define Z_PROBE_ENDSTOP and read the instructions below.
639
+  // If you would like to use both a Z PROBE and a Z MIN endstop together , uncomment #define Z_MIN_PROBE_ENDSTOP and read the instructions below.
640 640
   // If you want to still use the Z min endstop for homing, disable Z_SAFE_HOMING above. Eg; to park the head outside the bed area when homing with G28.
641 641
   // WARNING: The Z MIN endstop will need to set properly as it would without a Z PROBE to prevent head crashes and premature stopping during a print.
642
-  // To use a separate Z PROBE endstop, you must have a Z_PROBE_PIN defined in the pins.h file for your control board.
642
+  // To use a separate Z PROBE endstop, you must have a Z_MIN_PROBE_PIN defined in the pins.h file for your control board.
643 643
   // If you are using a servo based Z PROBE, you will need to enable NUM_SERVOS, Z_ENDSTOP_SERVO_NR and SERVO_ENDSTOP_ANGLES in the R/C Servo below.
644 644
   // RAMPS 1.3/1.4 boards may be able to use the 5V, Ground and the D32 pin in the Aux 4 section of the RAMPS board. Use 5V for powered sensors, otherwise connect to ground and D32
645 645
   // for normally closed configuration and 5V and D32 for normally open configurations. Normally closed configuration is advised and assumed.
646
-  // The D32 pin in Aux 4 on RAMPS maps to the Arduino D32 pin. Z_PROBE_PIN is setting the pin to use on the Arduino. Since the D32 pin on the RAMPS maps to D32 on Arduino, this works.
646
+  // The D32 pin in Aux 4 on RAMPS maps to the Arduino D32 pin. Z_MIN_PROBE_PIN is setting the pin to use on the Arduino. Since the D32 pin on the RAMPS maps to D32 on Arduino, this works.
647 647
   // D32 is currently selected in the RAMPS 1.3/1.4 pin file. All other boards will need changes to the respective pins_XXXXX.h file.
648 648
   // WARNING: Setting the wrong pin may have unexpected and potentially disastrous outcomes. Use with caution and do your homework.
649 649
 
650
-  //#define Z_PROBE_ENDSTOP
650
+  //#define Z_MIN_PROBE_ENDSTOP
651 651
 
652 652
 #endif // ENABLE_AUTO_BED_LEVELING
653 653
 

+ 8
- 8
Marlin/example_configurations/makibox/Configuration.h View File

@@ -340,15 +340,15 @@ const bool Z_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic o
340 340
 const bool X_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
341 341
 const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
342 342
 const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
343
-const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
343
+const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
344 344
 //#define DISABLE_MAX_ENDSTOPS
345 345
 //#define DISABLE_MIN_ENDSTOPS
346 346
 
347 347
 // If you want to enable the Z Probe pin, but disable its use, uncomment the line below.
348 348
 // This only affects a Z Probe Endstop if you have separate Z min endstop as well and have
349
-// activated Z_PROBE_ENDSTOP below. If you are using the Z Min endstop on your Z Probe,
349
+// activated Z_MIN_PROBE_ENDSTOP below. If you are using the Z Min endstop on your Z Probe,
350 350
 // this has no effect.
351
-//#define DISABLE_Z_PROBE_ENDSTOP
351
+//#define DISABLE_Z_MIN_PROBE_ENDSTOP
352 352
 
353 353
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
354 354
 // :{0:'Low',1:'High'}
@@ -446,7 +446,7 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
446 446
 // @section bedlevel
447 447
 
448 448
 //#define ENABLE_AUTO_BED_LEVELING // Delete the comment to enable (remove // at the start of the line)
449
-#define Z_PROBE_REPEATABILITY_TEST  // If not commented out, Z-Probe Repeatability test will be included if Auto Bed Leveling is Enabled.
449
+#define Z_MIN_PROBE_REPEATABILITY_TEST  // If not commented out, Z-Probe Repeatability test will be included if Auto Bed Leveling is Enabled.
450 450
 
451 451
 #if ENABLED(ENABLE_AUTO_BED_LEVELING)
452 452
 
@@ -530,18 +530,18 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
530 530
   #endif
531 531
 
532 532
   // Support for a dedicated Z PROBE endstop separate from the Z MIN endstop.
533
-  // If you would like to use both a Z PROBE and a Z MIN endstop together or just a Z PROBE with a custom pin, uncomment #define Z_PROBE_ENDSTOP and read the instructions below.
533
+  // If you would like to use both a Z PROBE and a Z MIN endstop together , uncomment #define Z_MIN_PROBE_ENDSTOP and read the instructions below.
534 534
   // If you want to still use the Z min endstop for homing, disable Z_SAFE_HOMING above. Eg; to park the head outside the bed area when homing with G28.
535 535
   // WARNING: The Z MIN endstop will need to set properly as it would without a Z PROBE to prevent head crashes and premature stopping during a print.
536
-  // To use a separate Z PROBE endstop, you must have a Z_PROBE_PIN defined in the pins.h file for your control board.
536
+  // To use a separate Z PROBE endstop, you must have a Z_MIN_PROBE_PIN defined in the pins.h file for your control board.
537 537
   // If you are using a servo based Z PROBE, you will need to enable NUM_SERVOS, Z_ENDSTOP_SERVO_NR and SERVO_ENDSTOP_ANGLES in the R/C Servo below.
538 538
   // RAMPS 1.3/1.4 boards may be able to use the 5V, Ground and the D32 pin in the Aux 4 section of the RAMPS board. Use 5V for powered sensors, otherwise connect to ground and D32
539 539
   // for normally closed configuration and 5V and D32 for normally open configurations. Normally closed configuration is advised and assumed.
540
-  // The D32 pin in Aux 4 on RAMPS maps to the Arduino D32 pin. Z_PROBE_PIN is setting the pin to use on the Arduino. Since the D32 pin on the RAMPS maps to D32 on Arduino, this works.
540
+  // The D32 pin in Aux 4 on RAMPS maps to the Arduino D32 pin. Z_MIN_PROBE_PIN is setting the pin to use on the Arduino. Since the D32 pin on the RAMPS maps to D32 on Arduino, this works.
541 541
   // D32 is currently selected in the RAMPS 1.3/1.4 pin file. All other boards will need changes to the respective pins_XXXXX.h file.
542 542
   // WARNING: Setting the wrong pin may have unexpected and potentially disastrous outcomes. Use with caution and do your homework.
543 543
 
544
-  //#define Z_PROBE_ENDSTOP
544
+  //#define Z_MIN_PROBE_ENDSTOP
545 545
 
546 546
 #endif // ENABLE_AUTO_BED_LEVELING
547 547
 

+ 8
- 8
Marlin/example_configurations/tvrrug/Round2/Configuration.h View File

@@ -327,15 +327,15 @@ const bool Z_MIN_ENDSTOP_INVERTING = true; // set to true to invert the logic of
327 327
 const bool X_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
328 328
 const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
329 329
 const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
330
-const bool Z_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
330
+const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
331 331
 //#define DISABLE_MAX_ENDSTOPS
332 332
 //#define DISABLE_MIN_ENDSTOPS
333 333
 
334 334
 // If you want to enable the Z Probe pin, but disable its use, uncomment the line below.
335 335
 // This only affects a Z Probe Endstop if you have separate Z min endstop as well and have
336
-// activated Z_PROBE_ENDSTOP below. If you are using the Z Min endstop on your Z Probe,
336
+// activated Z_MIN_PROBE_ENDSTOP below. If you are using the Z Min endstop on your Z Probe,
337 337
 // this has no effect.
338
-//#define DISABLE_Z_PROBE_ENDSTOP
338
+//#define DISABLE_Z_MIN_PROBE_ENDSTOP
339 339
 
340 340
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
341 341
 // :{0:'Low',1:'High'}
@@ -433,7 +433,7 @@ const bool Z_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the logic
433 433
 // @section bedlevel
434 434
 
435 435
 //#define ENABLE_AUTO_BED_LEVELING // Delete the comment to enable (remove // at the start of the line)
436
-#define Z_PROBE_REPEATABILITY_TEST  // If not commented out, Z-Probe Repeatability test will be included if Auto Bed Leveling is Enabled.
436
+#define Z_MIN_PROBE_REPEATABILITY_TEST  // If not commented out, Z-Probe Repeatability test will be included if Auto Bed Leveling is Enabled.
437 437
 
438 438
 #if ENABLED(ENABLE_AUTO_BED_LEVELING)
439 439
 
@@ -517,18 +517,18 @@ const bool Z_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the logic
517 517
   #endif
518 518
 
519 519
   // Support for a dedicated Z PROBE endstop separate from the Z MIN endstop.
520
-  // If you would like to use both a Z PROBE and a Z MIN endstop together or just a Z PROBE with a custom pin, uncomment #define Z_PROBE_ENDSTOP and read the instructions below.
520
+  // If you would like to use both a Z PROBE and a Z MIN endstop together , uncomment #define Z_MIN_PROBE_ENDSTOP and read the instructions below.
521 521
   // If you want to still use the Z min endstop for homing, disable Z_SAFE_HOMING above. Eg; to park the head outside the bed area when homing with G28.
522 522
   // WARNING: The Z MIN endstop will need to set properly as it would without a Z PROBE to prevent head crashes and premature stopping during a print.
523
-  // To use a separate Z PROBE endstop, you must have a Z_PROBE_PIN defined in the pins.h file for your control board.
523
+  // To use a separate Z PROBE endstop, you must have a Z_MIN_PROBE_PIN defined in the pins.h file for your control board.
524 524
   // If you are using a servo based Z PROBE, you will need to enable NUM_SERVOS, Z_ENDSTOP_SERVO_NR and SERVO_ENDSTOP_ANGLES in the R/C Servo below.
525 525
   // RAMPS 1.3/1.4 boards may be able to use the 5V, Ground and the D32 pin in the Aux 4 section of the RAMPS board. Use 5V for powered sensors, otherwise connect to ground and D32
526 526
   // for normally closed configuration and 5V and D32 for normally open configurations. Normally closed configuration is advised and assumed.
527
-  // The D32 pin in Aux 4 on RAMPS maps to the Arduino D32 pin. Z_PROBE_PIN is setting the pin to use on the Arduino. Since the D32 pin on the RAMPS maps to D32 on Arduino, this works.
527
+  // The D32 pin in Aux 4 on RAMPS maps to the Arduino D32 pin. Z_MIN_PROBE_PIN is setting the pin to use on the Arduino. Since the D32 pin on the RAMPS maps to D32 on Arduino, this works.
528 528
   // D32 is currently selected in the RAMPS 1.3/1.4 pin file. All other boards will need changes to the respective pins_XXXXX.h file.
529 529
   // WARNING: Setting the wrong pin may have unexpected and potentially disastrous outcomes. Use with caution and do your homework.
530 530
 
531
-  //#define Z_PROBE_ENDSTOP
531
+  //#define Z_MIN_PROBE_ENDSTOP
532 532
 
533 533
 #endif // ENABLE_AUTO_BED_LEVELING
534 534
 

+ 4
- 4
Marlin/pins.h View File

@@ -193,9 +193,9 @@
193 193
   #define Z_MIN_PIN          -1
194 194
 #endif
195 195
 
196
-#if ENABLED(DISABLE_Z_PROBE_ENDSTOP) || DISABLED(Z_PROBE_ENDSTOP) // Allow code to compile regardless of Z_PROBE_ENDSTOP setting.
197
-  #undef Z_PROBE_PIN
198
-  #define Z_PROBE_PIN        -1
196
+#if ENABLED(DISABLE_Z_MIN_PROBE_ENDSTOP) || DISABLED(Z_MIN_PROBE_ENDSTOP) // Allow code to compile regardless of Z_MIN_PROBE_ENDSTOP setting.
197
+  #undef Z_MIN_PROBE_PIN
198
+  #define Z_MIN_PROBE_PIN    -1
199 199
 #endif
200 200
 
201 201
 #if ENABLED(DISABLE_XMAX_ENDSTOP)
@@ -230,7 +230,7 @@
230 230
 #define SENSITIVE_PINS { 0, 1, \
231 231
                         X_STEP_PIN, X_DIR_PIN, X_ENABLE_PIN, X_MIN_PIN, X_MAX_PIN, \
232 232
                         Y_STEP_PIN, Y_DIR_PIN, Y_ENABLE_PIN, Y_MIN_PIN, Y_MAX_PIN, \
233
-                        Z_STEP_PIN, Z_DIR_PIN, Z_ENABLE_PIN, Z_MIN_PIN, Z_MAX_PIN, Z_PROBE_PIN, \
233
+                        Z_STEP_PIN, Z_DIR_PIN, Z_ENABLE_PIN, Z_MIN_PIN, Z_MAX_PIN, Z_MIN_PROBE_PIN, \
234 234
                         PS_ON_PIN, HEATER_BED_PIN, FAN_PIN, \
235 235
                         _E0_PINS _E1_PINS _E2_PINS _E3_PINS \
236 236
                         analogInputToDigitalPin(TEMP_BED_PIN) \

+ 2
- 2
Marlin/pins_AZTEEG_X3_PRO.h View File

@@ -34,10 +34,10 @@
34 34
   #define Z_MAX_PIN        18
35 35
  #endif
36 36
 //
37
- #if ENABLED(Z_PROBE_ENDSTOP)
37
+ #if ENABLED(Z_MIN_PROBE_ENDSTOP)
38 38
 //#undef Z_MIN_PIN
39 39
 //#define Z_MIN_PIN        15
40
-  #define Z_PROBE_PIN      19
40
+  #define Z_MIN_PROBE_PIN  19
41 41
  #endif
42 42
 //
43 43
 #define E2_STEP_PIN        23

+ 3
- 3
Marlin/pins_RAMPS_13.h View File

@@ -40,7 +40,7 @@
40 40
 #define Z_ENABLE_PIN       62
41 41
 #define Z_MIN_PIN          18
42 42
 #define Z_MAX_PIN          19
43
-#define Z_PROBE_PIN        -1
43
+#define Z_MIN_PROBE_PIN    -1
44 44
 
45 45
 #define Y2_STEP_PIN        36
46 46
 #define Y2_DIR_PIN         34
@@ -72,9 +72,9 @@
72 72
   #define FILWIDTH_PIN      5
73 73
 #endif
74 74
 
75
-#if ENABLED(Z_PROBE_ENDSTOP)
75
+#if ENABLED(Z_MIN_PROBE_ENDSTOP)
76 76
   // Define a pin to use as the signal pin on Arduino for the Z_PROBE endstop.
77
-  #define Z_PROBE_PIN      32
77
+  #define Z_MIN_PROBE_PIN  32
78 78
 #endif
79 79
 
80 80
 #if ENABLED(FILAMENT_RUNOUT_SENSOR)

+ 2
- 2
Marlin/pins_RIGIDBOARD.h View File

@@ -4,8 +4,8 @@
4 4
 
5 5
 #include "pins_RAMPS_13.h"
6 6
 
7
-#if ENABLED(Z_PROBE_ENDSTOP)
8
-  #define Z_PROBE_PIN      19
7
+#if ENABLED(Z_MIN_PROBE_ENDSTOP)
8
+  #define Z_MIN_PROBE_PIN  19
9 9
 #endif
10 10
 
11 11
 #undef HEATER_0_PIN

+ 5
- 15
Marlin/stepper.cpp View File

@@ -263,7 +263,7 @@ void checkHitEndstops() {
263 263
       SERIAL_ECHOPAIR(" Z:", (float)endstops_trigsteps[Z_AXIS] / axis_steps_per_unit[Z_AXIS]);
264 264
       LCD_MESSAGEPGM(MSG_ENDSTOPS_HIT "Z");
265 265
     }
266
-    #if ENABLED(Z_PROBE_ENDSTOP)
266
+    #if ENABLED(Z_MIN_PROBE_ENDSTOP)
267 267
       if (endstop_hit_bits & BIT(Z_PROBE)) {
268 268
         SERIAL_ECHOPAIR(" Z_PROBE:", (float)endstops_trigsteps[Z_AXIS] / axis_steps_per_unit[Z_AXIS]);
269 269
         LCD_MESSAGEPGM(MSG_ENDSTOPS_HIT "ZP");
@@ -411,7 +411,7 @@ inline void update_endstops() {
411 411
           #endif // !Z_DUAL_ENDSTOPS
412 412
         #endif // Z_MIN_PIN
413 413
 
414
-        #if ENABLED(Z_PROBE_ENDSTOP)
414
+        #if ENABLED(Z_MIN_PROBE_ENDSTOP)
415 415
           UPDATE_ENDSTOP(Z, PROBE);
416 416
 
417 417
           if (TEST_ENDSTOP(Z_PROBE))
@@ -448,16 +448,6 @@ inline void update_endstops() {
448 448
 
449 449
           #endif // !Z_DUAL_ENDSTOPS
450 450
         #endif // Z_MAX_PIN
451
-        
452
-        #if ENABLED(Z_PROBE_ENDSTOP)
453
-          UPDATE_ENDSTOP(Z, PROBE);
454
-          
455
-          if (TEST_ENDSTOP(Z_PROBE))
456
-          {
457
-            endstops_trigsteps[Z_AXIS] = count_position[Z_AXIS];
458
-            endstop_hit_bits |= BIT(Z_PROBE);
459
-          }
460
-        #endif
461 451
       }
462 452
   #if ENABLED(COREXZ)
463 453
     }
@@ -981,10 +971,10 @@ void st_init() {
981 971
     #endif
982 972
   #endif
983 973
 
984
-  #if HAS_Z_PROBE && ENABLED(Z_PROBE_ENDSTOP) // Check for Z_PROBE_ENDSTOP so we don't pull a pin high unless it's to be used.
985
-    SET_INPUT(Z_PROBE_PIN);
974
+  #if HAS_Z_PROBE && 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.
975
+    SET_INPUT(Z_MIN_PROBE_PIN);
986 976
     #if ENABLED(ENDSTOPPULLUP_ZPROBE)
987
-      WRITE(Z_PROBE_PIN,HIGH);
977
+      WRITE(Z_MIN_PROBE_PIN,HIGH);
988 978
     #endif
989 979
   #endif
990 980
 

Loading…
Cancel
Save