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
       #define ENDSTOPPULLUP_YMIN
238
       #define ENDSTOPPULLUP_YMIN
239
       #define ENDSTOPPULLUP_ZMIN
239
       #define ENDSTOPPULLUP_ZMIN
240
     #endif
240
     #endif
241
-    #if DISABLED(DISABLE_Z_PROBE_ENDSTOP)
241
+    #if DISABLED(DISABLE_Z_MIN_PROBE_ENDSTOP)
242
       #define ENDSTOPPULLUP_ZPROBE
242
       #define ENDSTOPPULLUP_ZPROBE
243
     #endif
243
     #endif
244
   #endif
244
   #endif

+ 9
- 9
Marlin/Configuration.h View File

327
   // #define ENDSTOPPULLUP_XMIN
327
   // #define ENDSTOPPULLUP_XMIN
328
   // #define ENDSTOPPULLUP_YMIN
328
   // #define ENDSTOPPULLUP_YMIN
329
   // #define ENDSTOPPULLUP_ZMIN
329
   // #define ENDSTOPPULLUP_ZMIN
330
-  // #define ENDSTOPPULLUP_ZPROBE
330
+  // #define ENDSTOPPULLUP_ZMIN_PROBE
331
 #endif
331
 #endif
332
 
332
 
333
 // Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
333
 // Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
337
 const bool X_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
337
 const bool X_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
338
 const bool Y_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
338
 const bool Y_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
339
 const bool Z_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
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
 //#define DISABLE_MAX_ENDSTOPS
341
 //#define DISABLE_MAX_ENDSTOPS
342
 //#define DISABLE_MIN_ENDSTOPS
342
 //#define DISABLE_MIN_ENDSTOPS
343
 
343
 
344
 // If you want to enable the Z Probe pin, but disable its use, uncomment the line below.
344
 // If you want to enable the Z Probe pin, but disable its use, uncomment the line below.
345
 // This only affects a Z Probe Endstop if you have separate Z min endstop as well and have
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
 // this has no effect.
347
 // this has no effect.
348
-//#define DISABLE_Z_PROBE_ENDSTOP
348
+//#define DISABLE_Z_MIN_PROBE_ENDSTOP
349
 
349
 
350
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
350
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
351
 // :{0:'Low',1:'High'}
351
 // :{0:'Low',1:'High'}
443
 // @section bedlevel
443
 // @section bedlevel
444
 
444
 
445
 //#define ENABLE_AUTO_BED_LEVELING // Delete the comment to enable (remove // at the start of the line)
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
 #if ENABLED(ENABLE_AUTO_BED_LEVELING)
448
 #if ENABLED(ENABLE_AUTO_BED_LEVELING)
449
 
449
 
527
   #endif
527
   #endif
528
 
528
 
529
   // Support for a dedicated Z PROBE endstop separate from the Z MIN endstop.
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
   // 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.
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
   // 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.
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
   // 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.
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
   // 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
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
   // for normally closed configuration and 5V and D32 for normally open configurations. Normally closed configuration is advised and assumed.
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
   // 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.
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
   // WARNING: Setting the wrong pin may have unexpected and potentially disastrous outcomes. Use with caution and do your homework.
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
 #endif // ENABLE_AUTO_BED_LEVELING
543
 #endif // ENABLE_AUTO_BED_LEVELING
544
 
544
 

+ 14
- 14
Marlin/Marlin_main.cpp View File

1330
       feedrate = Z_PROBE_ALLEN_KEY_DEPLOY_1_FEEDRATE;
1330
       feedrate = Z_PROBE_ALLEN_KEY_DEPLOY_1_FEEDRATE;
1331
 
1331
 
1332
       // If endstop is already false, the probe is deployed
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
         if (z_probe_endstop)
1335
         if (z_probe_endstop)
1336
       #else
1336
       #else
1337
         bool z_min_endstop = (READ(Z_MIN_PIN) != Z_MIN_ENDSTOP_INVERTING);
1337
         bool z_min_endstop = (READ(Z_MIN_PIN) != Z_MIN_ENDSTOP_INVERTING);
1389
 
1389
 
1390
       st_synchronize();
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
         if (z_probe_endstop)
1394
         if (z_probe_endstop)
1395
       #else
1395
       #else
1396
         z_min_endstop = (READ(Z_MIN_PIN) != Z_MIN_ENDSTOP_INVERTING);
1396
         z_min_endstop = (READ(Z_MIN_PIN) != Z_MIN_ENDSTOP_INVERTING);
1477
       
1477
       
1478
       st_synchronize();
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
         if (!z_probe_endstop)
1482
         if (!z_probe_endstop)
1483
       #else
1483
       #else
1484
         bool z_min_endstop = (READ(Z_MIN_PIN) != Z_MIN_ENDSTOP_INVERTING);
1484
         bool z_min_endstop = (READ(Z_MIN_PIN) != Z_MIN_ENDSTOP_INVERTING);
3100
   } // code_seen('S')
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
     #if !HAS_Z_PROBE
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
     #endif
3109
     #endif
3110
   #elif !HAS_Z_MIN
3110
   #elif !HAS_Z_MIN
3111
     #error You must define Z_MIN_PIN to enable Z-Probe repeatability calculation.
3111
     #error You must define Z_MIN_PIN to enable Z-Probe repeatability calculation.
3350
     SERIAL_EOL; SERIAL_EOL;
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
  * M104: Set hot end temperature
3356
  * M104: Set hot end temperature
3902
   #endif
3902
   #endif
3903
   #if HAS_Z_PROBE
3903
   #if HAS_Z_PROBE
3904
     SERIAL_PROTOCOLPGM(MSG_Z_PROBE);
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
   #endif
3906
   #endif
3907
 }
3907
 }
3908
 
3908
 
5371
         gcode_M42();
5371
         gcode_M42();
5372
         break;
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
         case 48: // M48 Z-Probe repeatability
5375
         case 48: // M48 Z-Probe repeatability
5376
           gcode_M48();
5376
           gcode_M48();
5377
           break;
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
       #if ENABLED(M100_FREE_MEMORY_WATCHER)
5380
       #if ENABLED(M100_FREE_MEMORY_WATCHER)
5381
         case 100:
5381
         case 100:

+ 15
- 15
Marlin/SanityCheck.h View File

133
      * Require a Z Min pin
133
      * Require a Z Min pin
134
      */
134
      */
135
     #if Z_MIN_PIN == -1
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
         #else
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
         #endif
141
         #endif
142
       #endif
142
       #endif
143
     #endif
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
       #if !PIN_EXISTS(Z_PROBE)
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
       #endif
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
       #endif
154
       #endif
155
 // Forcing Servo definitions can break some hall effect sensor setups. Leaving these here for further comment.
155
 // Forcing Servo definitions can break some hall effect sensor setups. Leaving these here for further comment.
156
 //      #ifndef NUM_SERVOS
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
 //      #endif
158
 //      #endif
159
 //      #if defined(NUM_SERVOS) && NUM_SERVOS < 1
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
 //      #endif
161
 //      #endif
162
 //      #if Z_ENDSTOP_SERVO_NR < 0
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
 //      #endif
164
 //      #endif
165
 //      #ifndef SERVO_ENDSTOP_ANGLES
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
 //      #endif
167
 //      #endif
168
     #endif
168
     #endif
169
     /**
169
     /**
231
         #error You cannot use Z_PROBE_SLED with DELTA.
231
         #error You cannot use Z_PROBE_SLED with DELTA.
232
       #endif
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
       #endif
236
       #endif
237
 
237
 
238
     #endif
238
     #endif

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

337
 const bool X_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
337
 const bool X_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
338
 const bool Y_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
338
 const bool Y_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
339
 const bool Z_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
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
 //#define DISABLE_MAX_ENDSTOPS
341
 //#define DISABLE_MAX_ENDSTOPS
342
 //#define DISABLE_MIN_ENDSTOPS
342
 //#define DISABLE_MIN_ENDSTOPS
343
 
343
 
344
 // If you want to enable the Z Probe pin, but disable its use, uncomment the line below.
344
 // If you want to enable the Z Probe pin, but disable its use, uncomment the line below.
345
 // This only affects a Z Probe Endstop if you have separate Z min endstop as well and have
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
 // this has no effect.
347
 // this has no effect.
348
-//#define DISABLE_Z_PROBE_ENDSTOP
348
+//#define DISABLE_Z_MIN_PROBE_ENDSTOP
349
 
349
 
350
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
350
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
351
 // :{0:'Low',1:'High'}
351
 // :{0:'Low',1:'High'}
443
 // @section bedlevel
443
 // @section bedlevel
444
 
444
 
445
 //#define ENABLE_AUTO_BED_LEVELING // Delete the comment to enable (remove // at the start of the line)
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
 #if ENABLED(ENABLE_AUTO_BED_LEVELING)
448
 #if ENABLED(ENABLE_AUTO_BED_LEVELING)
449
 
449
 
527
   #endif
527
   #endif
528
 
528
 
529
   // Support for a dedicated Z PROBE endstop separate from the Z MIN endstop.
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
   // 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.
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
   // 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.
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
   // 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.
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
   // 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
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
   // for normally closed configuration and 5V and D32 for normally open configurations. Normally closed configuration is advised and assumed.
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
   // 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.
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
   // WARNING: Setting the wrong pin may have unexpected and potentially disastrous outcomes. Use with caution and do your homework.
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
 #endif // ENABLE_AUTO_BED_LEVELING
543
 #endif // ENABLE_AUTO_BED_LEVELING
544
 
544
 

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

319
 const bool X_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
319
 const bool X_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
320
 const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
320
 const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
321
 const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
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
 #define DISABLE_MAX_ENDSTOPS
323
 #define DISABLE_MAX_ENDSTOPS
324
 //#define DISABLE_MIN_ENDSTOPS
324
 //#define DISABLE_MIN_ENDSTOPS
325
 
325
 
326
 // If you want to enable the Z Probe pin, but disable its use, uncomment the line below.
326
 // If you want to enable the Z Probe pin, but disable its use, uncomment the line below.
327
 // This only affects a Z Probe Endstop if you have separate Z min endstop as well and have
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
 // this has no effect.
329
 // this has no effect.
330
-//#define DISABLE_Z_PROBE_ENDSTOP
330
+//#define DISABLE_Z_MIN_PROBE_ENDSTOP
331
 
331
 
332
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
332
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
333
 // :{0:'Low',1:'High'}
333
 // :{0:'Low',1:'High'}
425
 // @section bedlevel
425
 // @section bedlevel
426
 
426
 
427
 //#define ENABLE_AUTO_BED_LEVELING // Delete the comment to enable (remove // at the start of the line)
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
 #if ENABLED(ENABLE_AUTO_BED_LEVELING)
430
 #if ENABLED(ENABLE_AUTO_BED_LEVELING)
431
 
431
 
509
   #endif
509
   #endif
510
 
510
 
511
   // Support for a dedicated Z PROBE endstop separate from the Z MIN endstop.
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
   // 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.
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
   // 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.
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
   // 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.
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
   // 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
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
   // for normally closed configuration and 5V and D32 for normally open configurations. Normally closed configuration is advised and assumed.
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
   // 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.
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
   // WARNING: Setting the wrong pin may have unexpected and potentially disastrous outcomes. Use with caution and do your homework.
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
 #endif // ENABLE_AUTO_BED_LEVELING
525
 #endif // ENABLE_AUTO_BED_LEVELING
526
 
526
 

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

303
 const bool X_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
303
 const bool X_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
304
 const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
304
 const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
305
 const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
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
 #define DISABLE_MAX_ENDSTOPS
307
 #define DISABLE_MAX_ENDSTOPS
308
 //#define DISABLE_MIN_ENDSTOPS
308
 //#define DISABLE_MIN_ENDSTOPS
309
 
309
 
382
 //===========================================================================
382
 //===========================================================================
383
 
383
 
384
 //#define ENABLE_AUTO_BED_LEVELING // Delete the comment to enable (remove // at the start of the line)
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
 #if ENABLED(ENABLE_AUTO_BED_LEVELING)
387
 #if ENABLED(ENABLE_AUTO_BED_LEVELING)
388
 
388
 
470
   #endif
470
   #endif
471
 
471
 
472
   // Support for a dedicated Z PROBE endstop separate from the Z MIN endstop.
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
   // 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.
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
   // 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.
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
   // 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.
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
   // 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
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
   // for normally closed configuration and 5V and D32 for normally open configurations. Normally closed configuration is advised and assumed.
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
   // 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.
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
   // WARNING: Setting the wrong pin may have unexpected and potentially disastrous outcomes. Use with caution and do your homework.
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
 #endif // ENABLE_AUTO_BED_LEVELING
486
 #endif // ENABLE_AUTO_BED_LEVELING
487
 
487
 

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

329
 const bool X_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
329
 const bool X_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
330
 const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
330
 const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
331
 const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
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
 //#define DISABLE_MAX_ENDSTOPS
333
 //#define DISABLE_MAX_ENDSTOPS
334
 //#define DISABLE_MIN_ENDSTOPS
334
 //#define DISABLE_MIN_ENDSTOPS
335
 
335
 
336
 // If you want to enable the Z Probe pin, but disable its use, uncomment the line below.
336
 // If you want to enable the Z Probe pin, but disable its use, uncomment the line below.
337
 // This only affects a Z Probe Endstop if you have separate Z min endstop as well and have
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
 // this has no effect.
339
 // this has no effect.
340
-//#define DISABLE_Z_PROBE_ENDSTOP
340
+//#define DISABLE_Z_MIN_PROBE_ENDSTOP
341
 
341
 
342
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
342
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
343
 // :{0:'Low',1:'High'}
343
 // :{0:'Low',1:'High'}
435
 // @section bedlevel
435
 // @section bedlevel
436
 
436
 
437
 //#define ENABLE_AUTO_BED_LEVELING // Delete the comment to enable (remove // at the start of the line)
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
 #if ENABLED(ENABLE_AUTO_BED_LEVELING)
440
 #if ENABLED(ENABLE_AUTO_BED_LEVELING)
441
 
441
 
519
   #endif
519
   #endif
520
 
520
 
521
   // Support for a dedicated Z PROBE endstop separate from the Z MIN endstop.
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
   // 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.
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
   // 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.
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
   // 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.
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
   // 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
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
   // for normally closed configuration and 5V and D32 for normally open configurations. Normally closed configuration is advised and assumed.
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
   // 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.
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
   // WARNING: Setting the wrong pin may have unexpected and potentially disastrous outcomes. Use with caution and do your homework.
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
 #endif // ENABLE_AUTO_BED_LEVELING
535
 #endif // ENABLE_AUTO_BED_LEVELING
536
 
536
 

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

325
 const bool X_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
325
 const bool X_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
326
 const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
326
 const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
327
 const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
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
 #define DISABLE_MAX_ENDSTOPS
329
 #define DISABLE_MAX_ENDSTOPS
330
 //#define DISABLE_MIN_ENDSTOPS
330
 //#define DISABLE_MIN_ENDSTOPS
331
 
331
 
332
 // If you want to enable the Z Probe pin, but disable its use, uncomment the line below.
332
 // If you want to enable the Z Probe pin, but disable its use, uncomment the line below.
333
 // This only affects a Z Probe Endstop if you have separate Z min endstop as well and have
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
 // this has no effect.
335
 // this has no effect.
336
-//#define DISABLE_Z_PROBE_ENDSTOP
336
+//#define DISABLE_Z_MIN_PROBE_ENDSTOP
337
 
337
 
338
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
338
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
339
 // :{0:'Low',1:'High'}
339
 // :{0:'Low',1:'High'}
431
 // @section bedlevel
431
 // @section bedlevel
432
 
432
 
433
 //#define ENABLE_AUTO_BED_LEVELING // Delete the comment to enable (remove // at the start of the line)
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
 #if ENABLED(ENABLE_AUTO_BED_LEVELING)
436
 #if ENABLED(ENABLE_AUTO_BED_LEVELING)
437
 
437
 
515
   #endif
515
   #endif
516
 
516
 
517
   // Support for a dedicated Z PROBE endstop separate from the Z MIN endstop.
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
   // 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.
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
   // 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.
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
   // 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.
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
   // 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
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
   // for normally closed configuration and 5V and D32 for normally open configurations. Normally closed configuration is advised and assumed.
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
   // 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.
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
   // WARNING: Setting the wrong pin may have unexpected and potentially disastrous outcomes. Use with caution and do your homework.
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
 #endif // ENABLE_AUTO_BED_LEVELING
531
 #endif // ENABLE_AUTO_BED_LEVELING
532
 
532
 

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

337
 const bool X_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
337
 const bool X_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
338
 const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
338
 const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
339
 const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
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
 //#define DISABLE_MAX_ENDSTOPS
341
 //#define DISABLE_MAX_ENDSTOPS
342
 //#define DISABLE_MIN_ENDSTOPS
342
 //#define DISABLE_MIN_ENDSTOPS
343
 
343
 
344
 // If you want to enable the Z Probe pin, but disable its use, uncomment the line below.
344
 // If you want to enable the Z Probe pin, but disable its use, uncomment the line below.
345
 // This only affects a Z Probe Endstop if you have separate Z min endstop as well and have
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
 // this has no effect.
347
 // this has no effect.
348
-//#define DISABLE_Z_PROBE_ENDSTOP
348
+//#define DISABLE_Z_MIN_PROBE_ENDSTOP
349
 
349
 
350
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
350
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
351
 // :{0:'Low',1:'High'}
351
 // :{0:'Low',1:'High'}
443
 // @section bedlevel
443
 // @section bedlevel
444
 
444
 
445
 //#define ENABLE_AUTO_BED_LEVELING // Delete the comment to enable (remove // at the start of the line)
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
 #if ENABLED(ENABLE_AUTO_BED_LEVELING)
448
 #if ENABLED(ENABLE_AUTO_BED_LEVELING)
449
 
449
 
527
   #endif
527
   #endif
528
 
528
 
529
   // Support for a dedicated Z PROBE endstop separate from the Z MIN endstop.
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
   // 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.
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
   // 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.
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
   // 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.
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
   // 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
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
   // for normally closed configuration and 5V and D32 for normally open configurations. Normally closed configuration is advised and assumed.
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
   // 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.
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
   // WARNING: Setting the wrong pin may have unexpected and potentially disastrous outcomes. Use with caution and do your homework.
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
 #endif // ENABLE_AUTO_BED_LEVELING
543
 #endif // ENABLE_AUTO_BED_LEVELING
544
 
544
 

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

323
 const bool X_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
323
 const bool X_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
324
 const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
324
 const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
325
 const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
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
 //#define DISABLE_MAX_ENDSTOPS
327
 //#define DISABLE_MAX_ENDSTOPS
328
 //#define DISABLE_MIN_ENDSTOPS
328
 //#define DISABLE_MIN_ENDSTOPS
329
 
329
 
330
 // If you want to enable the Z Probe pin, but disable its use, uncomment the line below.
330
 // If you want to enable the Z Probe pin, but disable its use, uncomment the line below.
331
 // This only affects a Z Probe Endstop if you have separate Z min endstop as well and have
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
 // this has no effect.
333
 // this has no effect.
334
-//#define DISABLE_Z_PROBE_ENDSTOP
334
+//#define DISABLE_Z_MIN_PROBE_ENDSTOP
335
 
335
 
336
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
336
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
337
 // :{0:'Low',1:'High'}
337
 // :{0:'Low',1:'High'}
429
 // @section bedlevel
429
 // @section bedlevel
430
 
430
 
431
 //#define ENABLE_AUTO_BED_LEVELING // Delete the comment to enable (remove // at the start of the line)
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
 #if ENABLED(ENABLE_AUTO_BED_LEVELING)
434
 #if ENABLED(ENABLE_AUTO_BED_LEVELING)
435
 
435
 
513
   #endif
513
   #endif
514
 
514
 
515
   // Support for a dedicated Z PROBE endstop separate from the Z MIN endstop.
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
   // 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.
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
   // 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.
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
   // 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.
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
   // 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
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
   // for normally closed configuration and 5V and D32 for normally open configurations. Normally closed configuration is advised and assumed.
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
   // 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.
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
   // WARNING: Setting the wrong pin may have unexpected and potentially disastrous outcomes. Use with caution and do your homework.
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
 #endif // ENABLE_AUTO_BED_LEVELING
529
 #endif // ENABLE_AUTO_BED_LEVELING
530
 
530
 

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

345
 const bool X_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
345
 const bool X_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
346
 const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
346
 const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
347
 const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
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
 //#define DISABLE_MAX_ENDSTOPS
349
 //#define DISABLE_MAX_ENDSTOPS
350
 //#define DISABLE_MIN_ENDSTOPS
350
 //#define DISABLE_MIN_ENDSTOPS
351
 
351
 
352
 // If you want to enable the Z Probe pin, but disable its use, uncomment the line below.
352
 // If you want to enable the Z Probe pin, but disable its use, uncomment the line below.
353
 // This only affects a Z Probe Endstop if you have separate Z min endstop as well and have
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
 // this has no effect.
355
 // this has no effect.
356
-//#define DISABLE_Z_PROBE_ENDSTOP
356
+//#define DISABLE_Z_MIN_PROBE_ENDSTOP
357
 
357
 
358
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
358
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
359
 // :{0:'Low',1:'High'}
359
 // :{0:'Low',1:'High'}
451
 // @section bedlevel
451
 // @section bedlevel
452
 
452
 
453
 //#define ENABLE_AUTO_BED_LEVELING // Delete the comment to enable (remove // at the start of the line)
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
 #if ENABLED(ENABLE_AUTO_BED_LEVELING)
456
 #if ENABLED(ENABLE_AUTO_BED_LEVELING)
457
 
457
 
535
   #endif
535
   #endif
536
 
536
 
537
   // Support for a dedicated Z PROBE endstop separate from the Z MIN endstop.
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
   // 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.
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
   // 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.
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
   // 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.
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
   // 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
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
   // for normally closed configuration and 5V and D32 for normally open configurations. Normally closed configuration is advised and assumed.
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
   // 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.
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
   // WARNING: Setting the wrong pin may have unexpected and potentially disastrous outcomes. Use with caution and do your homework.
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
 #endif // ENABLE_AUTO_BED_LEVELING
551
 #endif // ENABLE_AUTO_BED_LEVELING
552
 
552
 

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

329
 const bool X_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
329
 const bool X_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
330
 const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
330
 const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
331
 const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
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
 //#define DISABLE_MAX_ENDSTOPS
333
 //#define DISABLE_MAX_ENDSTOPS
334
 //#define DISABLE_MIN_ENDSTOPS
334
 //#define DISABLE_MIN_ENDSTOPS
335
 
335
 
336
 // If you want to enable the Z Probe pin, but disable its use, uncomment the line below.
336
 // If you want to enable the Z Probe pin, but disable its use, uncomment the line below.
337
 // This only affects a Z Probe Endstop if you have separate Z min endstop as well and have
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
 // this has no effect.
339
 // this has no effect.
340
-//#define DISABLE_Z_PROBE_ENDSTOP
340
+//#define DISABLE_Z_MIN_PROBE_ENDSTOP
341
 
341
 
342
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
342
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
343
 // :{0:'Low',1:'High'}
343
 // :{0:'Low',1:'High'}
435
 // @section bedlevel
435
 // @section bedlevel
436
 
436
 
437
 //#define ENABLE_AUTO_BED_LEVELING // Delete the comment to enable (remove // at the start of the line)
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
 #if ENABLED(ENABLE_AUTO_BED_LEVELING)
440
 #if ENABLED(ENABLE_AUTO_BED_LEVELING)
441
 
441
 
519
   #endif
519
   #endif
520
 
520
 
521
   // Support for a dedicated Z PROBE endstop separate from the Z MIN endstop.
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
   // 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.
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
   // 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.
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
   // 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.
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
   // 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
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
   // for normally closed configuration and 5V and D32 for normally open configurations. Normally closed configuration is advised and assumed.
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
   // 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.
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
   // WARNING: Setting the wrong pin may have unexpected and potentially disastrous outcomes. Use with caution and do your homework.
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
 #endif // ENABLE_AUTO_BED_LEVELING
535
 #endif // ENABLE_AUTO_BED_LEVELING
536
 
536
 

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

337
 const bool X_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
337
 const bool X_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
338
 const bool Y_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
338
 const bool Y_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
339
 const bool Z_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
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
 //#define DISABLE_MAX_ENDSTOPS
341
 //#define DISABLE_MAX_ENDSTOPS
342
 //#define DISABLE_MIN_ENDSTOPS
342
 //#define DISABLE_MIN_ENDSTOPS
343
 
343
 
344
 // If you want to enable the Z Probe pin, but disable its use, uncomment the line below.
344
 // If you want to enable the Z Probe pin, but disable its use, uncomment the line below.
345
 // This only affects a Z Probe Endstop if you have separate Z min endstop as well and have
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
 // this has no effect.
347
 // this has no effect.
348
-//#define DISABLE_Z_PROBE_ENDSTOP
348
+//#define DISABLE_Z_MIN_PROBE_ENDSTOP
349
 
349
 
350
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
350
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
351
 // :{0:'Low',1:'High'}
351
 // :{0:'Low',1:'High'}
443
 // @section bedlevel
443
 // @section bedlevel
444
 
444
 
445
 //#define ENABLE_AUTO_BED_LEVELING // Delete the comment to enable (remove // at the start of the line)
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
 #if ENABLED(ENABLE_AUTO_BED_LEVELING)
448
 #if ENABLED(ENABLE_AUTO_BED_LEVELING)
449
 
449
 
527
   #endif
527
   #endif
528
 
528
 
529
   // Support for a dedicated Z PROBE endstop separate from the Z MIN endstop.
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
   // 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.
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
   // 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.
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
   // 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.
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
   // 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
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
   // for normally closed configuration and 5V and D32 for normally open configurations. Normally closed configuration is advised and assumed.
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
   // 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.
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
   // WARNING: Setting the wrong pin may have unexpected and potentially disastrous outcomes. Use with caution and do your homework.
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
 #endif // ENABLE_AUTO_BED_LEVELING
543
 #endif // ENABLE_AUTO_BED_LEVELING
544
 
544
 

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

372
 const bool X_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
372
 const bool X_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
373
 const bool Y_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
373
 const bool Y_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
374
 const bool Z_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
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
 //#define DISABLE_MAX_ENDSTOPS
376
 //#define DISABLE_MAX_ENDSTOPS
377
 #define DISABLE_MIN_ENDSTOPS // Deltas only use min endstops for probing
377
 #define DISABLE_MIN_ENDSTOPS // Deltas only use min endstops for probing
378
 
378
 
379
 // If you want to enable the Z Probe pin, but disable its use, uncomment the line below.
379
 // If you want to enable the Z Probe pin, but disable its use, uncomment the line below.
380
 // This only affects a Z Probe Endstop if you have separate Z min endstop as well and have
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
 // this has no effect.
382
 // this has no effect.
383
-//#define DISABLE_Z_PROBE_ENDSTOP
383
+//#define DISABLE_Z_MIN_PROBE_ENDSTOP
384
 
384
 
385
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
385
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
386
 // :{0:'Low',1:'High'}
386
 // :{0:'Low',1:'High'}
478
 // @section bedlevel
478
 // @section bedlevel
479
 
479
 
480
 //#define ENABLE_AUTO_BED_LEVELING // Delete the comment to enable (remove // at the start of the line)
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
 #if ENABLED(ENABLE_AUTO_BED_LEVELING)
483
 #if ENABLED(ENABLE_AUTO_BED_LEVELING)
484
 
484
 
647
   #endif
647
   #endif
648
 
648
 
649
   // Support for a dedicated Z PROBE endstop separate from the Z MIN endstop.
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
   // 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.
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
   // 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.
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
   // 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.
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
   // 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
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
   // for normally closed configuration and 5V and D32 for normally open configurations. Normally closed configuration is advised and assumed.
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
   // 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.
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
   // WARNING: Setting the wrong pin may have unexpected and potentially disastrous outcomes. Use with caution and do your homework.
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
 #endif // ENABLE_AUTO_BED_LEVELING
663
 #endif // ENABLE_AUTO_BED_LEVELING
664
 
664
 

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

372
 const bool X_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
372
 const bool X_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
373
 const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
373
 const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
374
 const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
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
 //#define DISABLE_MAX_ENDSTOPS
376
 //#define DISABLE_MAX_ENDSTOPS
377
 #define DISABLE_MIN_ENDSTOPS // Deltas only use min endstops for probing
377
 #define DISABLE_MIN_ENDSTOPS // Deltas only use min endstops for probing
378
 
378
 
379
 // If you want to enable the Z Probe pin, but disable its use, uncomment the line below.
379
 // If you want to enable the Z Probe pin, but disable its use, uncomment the line below.
380
 // This only affects a Z Probe Endstop if you have separate Z min endstop as well and have
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
 // this has no effect.
382
 // this has no effect.
383
-//#define DISABLE_Z_PROBE_ENDSTOP
383
+//#define DISABLE_Z_MIN_PROBE_ENDSTOP
384
 
384
 
385
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
385
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
386
 // :{0:'Low',1:'High'}
386
 // :{0:'Low',1:'High'}
478
 // @section bedlevel
478
 // @section bedlevel
479
 
479
 
480
 //#define ENABLE_AUTO_BED_LEVELING // Delete the comment to enable (remove // at the start of the line)
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
 #if ENABLED(ENABLE_AUTO_BED_LEVELING)
483
 #if ENABLED(ENABLE_AUTO_BED_LEVELING)
484
 
484
 
647
   #endif
647
   #endif
648
 
648
 
649
   // Support for a dedicated Z PROBE endstop separate from the Z MIN endstop.
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
   // 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.
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
   // 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.
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
   // 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.
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
   // 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
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
   // for normally closed configuration and 5V and D32 for normally open configurations. Normally closed configuration is advised and assumed.
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
   // 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.
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
   // WARNING: Setting the wrong pin may have unexpected and potentially disastrous outcomes. Use with caution and do your homework.
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
 #endif // ENABLE_AUTO_BED_LEVELING
663
 #endif // ENABLE_AUTO_BED_LEVELING
664
 
664
 

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

372
 const bool X_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
372
 const bool X_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
373
 const bool Y_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
373
 const bool Y_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
374
 const bool Z_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
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
 //#define DISABLE_MAX_ENDSTOPS
376
 //#define DISABLE_MAX_ENDSTOPS
377
 //#define DISABLE_MIN_ENDSTOPS // Deltas only use min endstops for probing
377
 //#define DISABLE_MIN_ENDSTOPS // Deltas only use min endstops for probing
378
 
378
 
379
 // If you want to enable the Z Probe pin, but disable its use, uncomment the line below.
379
 // If you want to enable the Z Probe pin, but disable its use, uncomment the line below.
380
 // This only affects a Z Probe Endstop if you have separate Z min endstop as well and have
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
 // this has no effect.
382
 // this has no effect.
383
-//#define DISABLE_Z_PROBE_ENDSTOP
383
+//#define DISABLE_Z_MIN_PROBE_ENDSTOP
384
 
384
 
385
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
385
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
386
 // :{0:'Low',1:'High'}
386
 // :{0:'Low',1:'High'}
478
 // @section bedlevel
478
 // @section bedlevel
479
 
479
 
480
 #define ENABLE_AUTO_BED_LEVELING // Delete the comment to enable (remove // at the start of the line)
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
 #if ENABLED(ENABLE_AUTO_BED_LEVELING)
483
 #if ENABLED(ENABLE_AUTO_BED_LEVELING)
484
 
484
 
651
   #endif
651
   #endif
652
 
652
 
653
   // Support for a dedicated Z PROBE endstop separate from the Z MIN endstop.
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
   // 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.
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
   // 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.
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
   // 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.
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
   // 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
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
   // for normally closed configuration and 5V and D32 for normally open configurations. Normally closed configuration is advised and assumed.
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
   // 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.
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
   // WARNING: Setting the wrong pin may have unexpected and potentially disastrous outcomes. Use with caution and do your homework.
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
 #endif // ENABLE_AUTO_BED_LEVELING
667
 #endif // ENABLE_AUTO_BED_LEVELING
668
 
668
 

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

359
 const bool X_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
359
 const bool X_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
360
 const bool Y_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
360
 const bool Y_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
361
 const bool Z_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
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
 //#define DISABLE_MAX_ENDSTOPS
363
 //#define DISABLE_MAX_ENDSTOPS
364
 //#define DISABLE_MIN_ENDSTOPS // Deltas only use min endstops for probing
364
 //#define DISABLE_MIN_ENDSTOPS // Deltas only use min endstops for probing
365
 
365
 
366
 // If you want to enable the Z Probe pin, but disable its use, uncomment the line below.
366
 // If you want to enable the Z Probe pin, but disable its use, uncomment the line below.
367
 // This only affects a Z Probe Endstop if you have separate Z min endstop as well and have
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
 // this has no effect.
369
 // this has no effect.
370
-//#define DISABLE_Z_PROBE_ENDSTOP
370
+//#define DISABLE_Z_MIN_PROBE_ENDSTOP
371
 
371
 
372
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
372
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
373
 // :{0:'Low',1:'High'}
373
 // :{0:'Low',1:'High'}
465
 // @section bedlevel
465
 // @section bedlevel
466
 
466
 
467
 #define ENABLE_AUTO_BED_LEVELING // Delete the comment to enable (remove // at the start of the line)
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
 #if ENABLED(ENABLE_AUTO_BED_LEVELING)
470
 #if ENABLED(ENABLE_AUTO_BED_LEVELING)
471
 
471
 
636
   #endif
636
   #endif
637
 
637
 
638
   // Support for a dedicated Z PROBE endstop separate from the Z MIN endstop.
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
   // 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.
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
   // 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.
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
   // 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.
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
   // 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
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
   // for normally closed configuration and 5V and D32 for normally open configurations. Normally closed configuration is advised and assumed.
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
   // 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.
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
   // WARNING: Setting the wrong pin may have unexpected and potentially disastrous outcomes. Use with caution and do your homework.
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
 #endif // ENABLE_AUTO_BED_LEVELING
652
 #endif // ENABLE_AUTO_BED_LEVELING
653
 
653
 

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

340
 const bool X_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
340
 const bool X_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
341
 const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
341
 const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
342
 const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
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
 //#define DISABLE_MAX_ENDSTOPS
344
 //#define DISABLE_MAX_ENDSTOPS
345
 //#define DISABLE_MIN_ENDSTOPS
345
 //#define DISABLE_MIN_ENDSTOPS
346
 
346
 
347
 // If you want to enable the Z Probe pin, but disable its use, uncomment the line below.
347
 // If you want to enable the Z Probe pin, but disable its use, uncomment the line below.
348
 // This only affects a Z Probe Endstop if you have separate Z min endstop as well and have
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
 // this has no effect.
350
 // this has no effect.
351
-//#define DISABLE_Z_PROBE_ENDSTOP
351
+//#define DISABLE_Z_MIN_PROBE_ENDSTOP
352
 
352
 
353
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
353
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
354
 // :{0:'Low',1:'High'}
354
 // :{0:'Low',1:'High'}
446
 // @section bedlevel
446
 // @section bedlevel
447
 
447
 
448
 //#define ENABLE_AUTO_BED_LEVELING // Delete the comment to enable (remove // at the start of the line)
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
 #if ENABLED(ENABLE_AUTO_BED_LEVELING)
451
 #if ENABLED(ENABLE_AUTO_BED_LEVELING)
452
 
452
 
530
   #endif
530
   #endif
531
 
531
 
532
   // Support for a dedicated Z PROBE endstop separate from the Z MIN endstop.
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
   // 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.
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
   // 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.
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
   // 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.
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
   // 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
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
   // for normally closed configuration and 5V and D32 for normally open configurations. Normally closed configuration is advised and assumed.
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
   // 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.
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
   // WARNING: Setting the wrong pin may have unexpected and potentially disastrous outcomes. Use with caution and do your homework.
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
 #endif // ENABLE_AUTO_BED_LEVELING
546
 #endif // ENABLE_AUTO_BED_LEVELING
547
 
547
 

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

327
 const bool X_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
327
 const bool X_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
328
 const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
328
 const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
329
 const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
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
 //#define DISABLE_MAX_ENDSTOPS
331
 //#define DISABLE_MAX_ENDSTOPS
332
 //#define DISABLE_MIN_ENDSTOPS
332
 //#define DISABLE_MIN_ENDSTOPS
333
 
333
 
334
 // If you want to enable the Z Probe pin, but disable its use, uncomment the line below.
334
 // If you want to enable the Z Probe pin, but disable its use, uncomment the line below.
335
 // This only affects a Z Probe Endstop if you have separate Z min endstop as well and have
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
 // this has no effect.
337
 // this has no effect.
338
-//#define DISABLE_Z_PROBE_ENDSTOP
338
+//#define DISABLE_Z_MIN_PROBE_ENDSTOP
339
 
339
 
340
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
340
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
341
 // :{0:'Low',1:'High'}
341
 // :{0:'Low',1:'High'}
433
 // @section bedlevel
433
 // @section bedlevel
434
 
434
 
435
 //#define ENABLE_AUTO_BED_LEVELING // Delete the comment to enable (remove // at the start of the line)
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
 #if ENABLED(ENABLE_AUTO_BED_LEVELING)
438
 #if ENABLED(ENABLE_AUTO_BED_LEVELING)
439
 
439
 
517
   #endif
517
   #endif
518
 
518
 
519
   // Support for a dedicated Z PROBE endstop separate from the Z MIN endstop.
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
   // 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.
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
   // 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.
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
   // 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.
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
   // 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
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
   // for normally closed configuration and 5V and D32 for normally open configurations. Normally closed configuration is advised and assumed.
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
   // 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.
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
   // WARNING: Setting the wrong pin may have unexpected and potentially disastrous outcomes. Use with caution and do your homework.
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
 #endif // ENABLE_AUTO_BED_LEVELING
533
 #endif // ENABLE_AUTO_BED_LEVELING
534
 
534
 

+ 4
- 4
Marlin/pins.h View File

193
   #define Z_MIN_PIN          -1
193
   #define Z_MIN_PIN          -1
194
 #endif
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
 #endif
199
 #endif
200
 
200
 
201
 #if ENABLED(DISABLE_XMAX_ENDSTOP)
201
 #if ENABLED(DISABLE_XMAX_ENDSTOP)
230
 #define SENSITIVE_PINS { 0, 1, \
230
 #define SENSITIVE_PINS { 0, 1, \
231
                         X_STEP_PIN, X_DIR_PIN, X_ENABLE_PIN, X_MIN_PIN, X_MAX_PIN, \
231
                         X_STEP_PIN, X_DIR_PIN, X_ENABLE_PIN, X_MIN_PIN, X_MAX_PIN, \
232
                         Y_STEP_PIN, Y_DIR_PIN, Y_ENABLE_PIN, Y_MIN_PIN, Y_MAX_PIN, \
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
                         PS_ON_PIN, HEATER_BED_PIN, FAN_PIN, \
234
                         PS_ON_PIN, HEATER_BED_PIN, FAN_PIN, \
235
                         _E0_PINS _E1_PINS _E2_PINS _E3_PINS \
235
                         _E0_PINS _E1_PINS _E2_PINS _E3_PINS \
236
                         analogInputToDigitalPin(TEMP_BED_PIN) \
236
                         analogInputToDigitalPin(TEMP_BED_PIN) \

+ 2
- 2
Marlin/pins_AZTEEG_X3_PRO.h View File

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

+ 3
- 3
Marlin/pins_RAMPS_13.h View File

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

+ 2
- 2
Marlin/pins_RIGIDBOARD.h View File

4
 
4
 
5
 #include "pins_RAMPS_13.h"
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
 #endif
9
 #endif
10
 
10
 
11
 #undef HEATER_0_PIN
11
 #undef HEATER_0_PIN

+ 5
- 15
Marlin/stepper.cpp View File

263
       SERIAL_ECHOPAIR(" Z:", (float)endstops_trigsteps[Z_AXIS] / axis_steps_per_unit[Z_AXIS]);
263
       SERIAL_ECHOPAIR(" Z:", (float)endstops_trigsteps[Z_AXIS] / axis_steps_per_unit[Z_AXIS]);
264
       LCD_MESSAGEPGM(MSG_ENDSTOPS_HIT "Z");
264
       LCD_MESSAGEPGM(MSG_ENDSTOPS_HIT "Z");
265
     }
265
     }
266
-    #if ENABLED(Z_PROBE_ENDSTOP)
266
+    #if ENABLED(Z_MIN_PROBE_ENDSTOP)
267
       if (endstop_hit_bits & BIT(Z_PROBE)) {
267
       if (endstop_hit_bits & BIT(Z_PROBE)) {
268
         SERIAL_ECHOPAIR(" Z_PROBE:", (float)endstops_trigsteps[Z_AXIS] / axis_steps_per_unit[Z_AXIS]);
268
         SERIAL_ECHOPAIR(" Z_PROBE:", (float)endstops_trigsteps[Z_AXIS] / axis_steps_per_unit[Z_AXIS]);
269
         LCD_MESSAGEPGM(MSG_ENDSTOPS_HIT "ZP");
269
         LCD_MESSAGEPGM(MSG_ENDSTOPS_HIT "ZP");
411
           #endif // !Z_DUAL_ENDSTOPS
411
           #endif // !Z_DUAL_ENDSTOPS
412
         #endif // Z_MIN_PIN
412
         #endif // Z_MIN_PIN
413
 
413
 
414
-        #if ENABLED(Z_PROBE_ENDSTOP)
414
+        #if ENABLED(Z_MIN_PROBE_ENDSTOP)
415
           UPDATE_ENDSTOP(Z, PROBE);
415
           UPDATE_ENDSTOP(Z, PROBE);
416
 
416
 
417
           if (TEST_ENDSTOP(Z_PROBE))
417
           if (TEST_ENDSTOP(Z_PROBE))
448
 
448
 
449
           #endif // !Z_DUAL_ENDSTOPS
449
           #endif // !Z_DUAL_ENDSTOPS
450
         #endif // Z_MAX_PIN
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
   #if ENABLED(COREXZ)
452
   #if ENABLED(COREXZ)
463
     }
453
     }
981
     #endif
971
     #endif
982
   #endif
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
     #if ENABLED(ENDSTOPPULLUP_ZPROBE)
976
     #if ENABLED(ENDSTOPPULLUP_ZPROBE)
987
-      WRITE(Z_PROBE_PIN,HIGH);
977
+      WRITE(Z_MIN_PROBE_PIN,HIGH);
988
     #endif
978
     #endif
989
   #endif
979
   #endif
990
 
980
 

Loading…
Cancel
Save