Browse Source

Clean up probe config options

Scott Lahteine 7 years ago
parent
commit
e05af606a8
27 changed files with 284 additions and 312 deletions
  1. 8
    0
      Marlin/Conditionals_LCD.h
  2. 3
    3
      Marlin/Conditionals_post.h
  3. 10
    11
      Marlin/Configuration.h
  4. 48
    62
      Marlin/SanityCheck.h
  5. 4
    4
      Marlin/endstops.cpp
  6. 10
    11
      Marlin/example_configurations/Cartesio/Configuration.h
  7. 10
    11
      Marlin/example_configurations/Felix/Configuration.h
  8. 10
    11
      Marlin/example_configurations/Felix/DUAL/Configuration.h
  9. 10
    11
      Marlin/example_configurations/Hephestos/Configuration.h
  10. 10
    11
      Marlin/example_configurations/Hephestos_2/Configuration.h
  11. 10
    11
      Marlin/example_configurations/K8200/Configuration.h
  12. 10
    11
      Marlin/example_configurations/K8400/Configuration.h
  13. 10
    11
      Marlin/example_configurations/K8400/Dual-head/Configuration.h
  14. 10
    11
      Marlin/example_configurations/RepRapWorld/Megatronics/Configuration.h
  15. 10
    11
      Marlin/example_configurations/RigidBot/Configuration.h
  16. 10
    11
      Marlin/example_configurations/SCARA/Configuration.h
  17. 10
    11
      Marlin/example_configurations/TAZ4/Configuration.h
  18. 10
    11
      Marlin/example_configurations/WITBOX/Configuration.h
  19. 10
    11
      Marlin/example_configurations/adafruit/ST7565/Configuration.h
  20. 10
    11
      Marlin/example_configurations/delta/biv2.5/Configuration.h
  21. 10
    11
      Marlin/example_configurations/delta/generic/Configuration.h
  22. 10
    11
      Marlin/example_configurations/delta/kossel_mini/Configuration.h
  23. 10
    11
      Marlin/example_configurations/delta/kossel_pro/Configuration.h
  24. 10
    11
      Marlin/example_configurations/delta/kossel_xl/Configuration.h
  25. 10
    11
      Marlin/example_configurations/makibox/Configuration.h
  26. 10
    11
      Marlin/example_configurations/tvrrug/Round2/Configuration.h
  27. 1
    1
      Marlin/pins.h

+ 8
- 0
Marlin/Conditionals_LCD.h View File

345
    */
345
    */
346
   #define PROBE_SELECTED (ENABLED(FIX_MOUNTED_PROBE) || ENABLED(Z_PROBE_ALLEN_KEY) || HAS_Z_SERVO_ENDSTOP || ENABLED(Z_PROBE_SLED))
346
   #define PROBE_SELECTED (ENABLED(FIX_MOUNTED_PROBE) || ENABLED(Z_PROBE_ALLEN_KEY) || HAS_Z_SERVO_ENDSTOP || ENABLED(Z_PROBE_SLED))
347
 
347
 
348
+  /**
349
+   * Clear probe pin settings when no probe is selected
350
+   */
351
+  #if !PROBE_SELECTED
352
+    #undef Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
353
+    #undef Z_MIN_PROBE_ENDSTOP
354
+  #endif
355
+
348
 #endif //CONDITIONALS_LCD_H
356
 #endif //CONDITIONALS_LCD_H

+ 3
- 3
Marlin/Conditionals_post.h View File

409
     #if ENABLED(USE_ZMIN_PLUG)
409
     #if ENABLED(USE_ZMIN_PLUG)
410
       #define ENDSTOPPULLUP_ZMIN
410
       #define ENDSTOPPULLUP_ZMIN
411
     #endif
411
     #endif
412
-    #if DISABLED(DISABLE_Z_MIN_PROBE_ENDSTOP)
413
-      #define ENDSTOPPULLUP_ZMIN_PROBE
414
-    #endif
415
   #endif
412
   #endif
416
 
413
 
417
   /**
414
   /**
589
    * Bed Probe dependencies
586
    * Bed Probe dependencies
590
    */
587
    */
591
   #if HAS_BED_PROBE
588
   #if HAS_BED_PROBE
589
+    #if ENABLED(ENDSTOPPULLUPS) && HAS_Z_MIN_PROBE_PIN
590
+      #define ENDSTOPPULLUP_ZMIN_PROBE
591
+    #endif
592
     #ifndef Z_PROBE_OFFSET_RANGE_MIN
592
     #ifndef Z_PROBE_OFFSET_RANGE_MIN
593
       #define Z_PROBE_OFFSET_RANGE_MIN -20
593
       #define Z_PROBE_OFFSET_RANGE_MIN -20
594
     #endif
594
     #endif

+ 10
- 11
Marlin/Configuration.h View File

573
 // Allen Key Probe is defined in the Delta example configurations.
573
 // Allen Key Probe is defined in the Delta example configurations.
574
 //
574
 //
575
 
575
 
576
-// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
577
-// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
578
-//
579
 // *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
576
 // *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
580
 //
577
 //
581
 // To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING.
578
 // To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING.
594
 //
591
 //
595
 // Normally-closed switches are advised and are the default.
592
 // Normally-closed switches are advised and are the default.
596
 //
593
 //
594
+
595
+//
597
 // The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.)
596
 // The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.)
598
 // Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the
597
 // Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the
599
-// default pin for all RAMPS-based boards. Some other boards map differently.
600
-// To set or change the pin for your board, edit the appropriate pins_XXXXX.h file.
598
+// default pin for all RAMPS-based boards. Most boards use the X_MAX_PIN by default.
599
+// To use a different pin you can override it here.
601
 //
600
 //
602
 // WARNING:
601
 // WARNING:
603
 // Setting the wrong pin may have unexpected and potentially disastrous consequences.
602
 // Setting the wrong pin may have unexpected and potentially disastrous consequences.
604
 // Use with caution and do your homework.
603
 // Use with caution and do your homework.
605
 //
604
 //
605
+//#define Z_MIN_PROBE_PIN X_MAX_PIN
606
+
607
+//
608
+// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
609
+// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
610
+//
606
 //#define Z_MIN_PROBE_ENDSTOP
611
 //#define Z_MIN_PROBE_ENDSTOP
607
 
612
 
608
 // Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE.
613
 // Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE.
611
 
616
 
612
 // To use a probe you must enable one of the two options above!
617
 // To use a probe you must enable one of the two options above!
613
 
618
 
614
-// This option disables the use of the Z_MIN_PROBE_PIN
615
-// To enable the Z probe pin but disable its use, uncomment the line below. This only affects a
616
-// Z probe switch if you have a separate Z min endstop also and have activated Z_MIN_PROBE_ENDSTOP above.
617
-// If you're using the Z MIN endstop connector for your Z probe, this has no effect.
618
-//#define DISABLE_Z_MIN_PROBE_ENDSTOP
619
-
620
 // Enable Z Probe Repeatability test to see how accurate your probe is
619
 // Enable Z Probe Repeatability test to see how accurate your probe is
621
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
620
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
622
 
621
 

+ 48
- 62
Marlin/SanityCheck.h View File

352
 
352
 
353
 #if PROBE_SELECTED
353
 #if PROBE_SELECTED
354
 
354
 
355
+  /**
356
+   * Only allow one probe option to be defined
357
+   */
358
+  #define COUNT_PROBE_1 0
359
+  #if ENABLED(FIX_MOUNTED_PROBE)
360
+    #define COUNT_PROBE_2 INCREMENT(COUNT_PROBE_1)
361
+  #else
362
+    #define COUNT_PROBE_2 COUNT_PROBE_1
363
+  #endif
364
+  #if HAS_Z_SERVO_ENDSTOP && DISABLED(BLTOUCH)
365
+    #define COUNT_PROBE_3 INCREMENT(COUNT_PROBE_2)
366
+  #else
367
+    #define COUNT_PROBE_3 COUNT_PROBE_2
368
+  #endif
369
+  #if ENABLED(BLTOUCH)
370
+    #define COUNT_PROBE_4 INCREMENT(COUNT_PROBE_3)
371
+  #else
372
+    #define COUNT_PROBE_4 COUNT_PROBE_3
373
+  #endif
374
+  #if ENABLED(Z_PROBE_ALLEN_KEY)
375
+    #define COUNT_PROBE_5 INCREMENT(COUNT_PROBE_4)
376
+  #else
377
+    #define COUNT_PROBE_5 COUNT_PROBE_4
378
+  #endif
379
+  #if ENABLED(Z_PROBE_SLED)
380
+    #define COUNT_PROBE_6 INCREMENT(COUNT_PROBE_5)
381
+  #else
382
+    #define COUNT_PROBE_6 COUNT_PROBE_5
383
+  #endif
384
+  #if COUNT_PROBE_6 > 1
385
+    #error "Please enable only one probe: FIX_MOUNTED_PROBE, Z Servo, BLTOUCH, Z_PROBE_ALLEN_KEY, or Z_PROBE_SLED."
386
+  #endif
387
+
388
+  /**
389
+   * Z_PROBE_SLED is incompatible with DELTA
390
+   */
355
   #if ENABLED(Z_PROBE_SLED) && ENABLED(DELTA)
391
   #if ENABLED(Z_PROBE_SLED) && ENABLED(DELTA)
356
     #error "You cannot use Z_PROBE_SLED with DELTA."
392
     #error "You cannot use Z_PROBE_SLED with DELTA."
357
   #endif
393
   #endif
368
   #endif
404
   #endif
369
 
405
 
370
   /**
406
   /**
371
-   * A probe needs a pin
372
-   */
373
-  #if !PROBE_PIN_CONFIGURED
374
-    #error "A probe needs a pin! Use Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN or Z_MIN_PROBE_PIN."
375
-  #endif
376
-
377
-  /**
378
-   * Require a Z min pin
407
+   * Require pin options and pins to be defined
379
    */
408
    */
380
-  #if HAS_Z_MIN
381
-     // Z_MIN_PIN and Z_MIN_PROBE_PIN can't co-exist when Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
382
-    #if HAS_Z_MIN_PROBE_PIN && ENABLED(Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN)
383
-      #error "A probe cannot have more than one pin! Use Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN or Z_MIN_PROBE_PIN."
409
+  #if ENABLED(Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN)
410
+    #if ENABLED(Z_MIN_PROBE_ENDSTOP)
411
+      #error "Enable only one option: Z_MIN_PROBE_ENDSTOP or Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN."
412
+    #elif DISABLED(USE_ZMIN_PLUG)
413
+      #error "Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN requires USE_ZMIN_PLUG to be enabled."
414
+    #elif !HAS_Z_MIN
415
+      #error "Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN requires the Z_MIN_PIN to be defined."
384
     #endif
416
     #endif
385
-  #elif !HAS_Z_MIN_PROBE_PIN || (DISABLED(Z_MIN_PROBE_ENDSTOP) || ENABLED(DISABLE_Z_MIN_PROBE_ENDSTOP))
386
-    // A pin was set for the Z probe, but not enabled.
387
-    #error "A probe requires a Z_MIN or Z_PROBE pin. Z_MIN_PIN or Z_MIN_PROBE_PIN must point to a valid hardware pin."
388
-  #endif
389
-
390
-  /**
391
-   * Make sure the plug is enabled if it's used
392
-   */
393
-  #if ENABLED(Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN) && DISABLED(USE_ZMIN_PLUG)
394
-    #error "You must enable USE_ZMIN_PLUG if any probe or endstop is connected to the ZMIN plug."
395
-  #endif
396
-
397
-  /**
398
-   * Only allow one probe option to be defined
399
-   */
400
-  #if (ENABLED(FIX_MOUNTED_PROBE) && (ENABLED(Z_PROBE_ALLEN_KEY) || HAS_Z_SERVO_ENDSTOP || ENABLED(Z_PROBE_SLED))) \
401
-       || (ENABLED(Z_PROBE_ALLEN_KEY) && (HAS_Z_SERVO_ENDSTOP || ENABLED(Z_PROBE_SLED))) \
402
-       || (HAS_Z_SERVO_ENDSTOP && ENABLED(Z_PROBE_SLED))
403
-    #error "Please define only one type of probe: Z Servo/BLTOUCH, Z_PROBE_ALLEN_KEY, Z_PROBE_SLED, or FIX_MOUNTED_PROBE."
404
-  #endif
405
-
406
-  /**
407
-   * Don't allow nonsense probe-pin settings
408
-   */
409
-  #if ENABLED(Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN) && ENABLED(Z_MIN_PROBE_ENDSTOP)
410
-    #error "You can't enable both Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN and Z_MIN_PROBE_ENDSTOP."
411
-  #elif ENABLED(Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN) && ENABLED(DISABLE_Z_MIN_PROBE_ENDSTOP)
412
-    #error "Don't enable DISABLE_Z_MIN_PROBE_ENDSTOP with Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN."
413
-  #elif ENABLED(DISABLE_Z_MIN_PROBE_ENDSTOP) && DISABLED(Z_MIN_PROBE_ENDSTOP)
414
-    #error "DISABLE_Z_MIN_PROBE_ENDSTOP requires Z_MIN_PROBE_ENDSTOP to be set."
415
-  #endif
416
-
417
-  /**
418
-   * Require a Z probe pin if Z_MIN_PROBE_ENDSTOP is enabled.
419
-   */
420
-  #if ENABLED(Z_MIN_PROBE_ENDSTOP)
417
+  #elif ENABLED(Z_MIN_PROBE_ENDSTOP)
421
     #if !HAS_Z_MIN_PROBE_PIN
418
     #if !HAS_Z_MIN_PROBE_PIN
422
-      #error "Z_MIN_PROBE_ENDSTOP requires a Z_MIN_PROBE_PIN in your board's pins_XXXX.h file."
419
+      #error "Z_MIN_PROBE_ENDSTOP requires the Z_MIN_PROBE_PIN to be defined."
423
     #endif
420
     #endif
424
-    // Forcing Servo definitions can break some hall effect sensor setups. Leaving these here for further comment.
425
-    //#ifndef NUM_SERVOS
426
-    //  #error "You must have NUM_SERVOS defined and there must be at least 1 configured to use Z_MIN_PROBE_ENDSTOP."
427
-    //#endif
428
-    //#if defined(NUM_SERVOS) && NUM_SERVOS < 1
429
-    //  #error "You must have at least 1 servo defined for NUM_SERVOS to use Z_MIN_PROBE_ENDSTOP."
430
-    //#endif
431
-    //#if Z_ENDSTOP_SERVO_NR < 0
432
-    //  #error "You must have Z_ENDSTOP_SERVO_NR set to at least 0 or above to use Z_MIN_PROBE_ENDSTOP."
433
-    //#endif
434
-    //#ifndef Z_SERVO_ANGLES
435
-    //  #error "You must have Z_SERVO_ANGLES defined for Z Extend and Retract to use Z_MIN_PROBE_ENDSTOP."
436
-    //#endif
421
+  #else
422
+    #error "You must enable either Z_MIN_PROBE_ENDSTOP or Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use a probe."
437
   #endif
423
   #endif
438
 
424
 
439
   /**
425
   /**

+ 4
- 4
Marlin/endstops.cpp View File

122
     #endif
122
     #endif
123
   #endif
123
   #endif
124
 
124
 
125
-  #if HAS_Z_MIN_PROBE_PIN && ENABLED(Z_MIN_PROBE_ENDSTOP) // Check for Z_MIN_PROBE_ENDSTOP so we don't pull a pin high unless it's to be used.
125
+  #if ENABLED(Z_MIN_PROBE_ENDSTOP)
126
     SET_INPUT(Z_MIN_PROBE_PIN);
126
     SET_INPUT(Z_MIN_PROBE_PIN);
127
     #if ENABLED(ENDSTOPPULLUP_ZMIN_PROBE)
127
     #if ENABLED(ENDSTOPPULLUP_ZMIN_PROBE)
128
       WRITE(Z_MIN_PROBE_PIN,HIGH);
128
       WRITE(Z_MIN_PROBE_PIN,HIGH);
209
     SERIAL_PROTOCOLPGM(MSG_Z2_MAX);
209
     SERIAL_PROTOCOLPGM(MSG_Z2_MAX);
210
     SERIAL_PROTOCOLLN(((READ(Z2_MAX_PIN)^Z2_MAX_ENDSTOP_INVERTING) ? MSG_ENDSTOP_HIT : MSG_ENDSTOP_OPEN));
210
     SERIAL_PROTOCOLLN(((READ(Z2_MAX_PIN)^Z2_MAX_ENDSTOP_INVERTING) ? MSG_ENDSTOP_HIT : MSG_ENDSTOP_OPEN));
211
   #endif
211
   #endif
212
-  #if HAS_Z_MIN_PROBE_PIN
212
+  #if ENABLED(Z_MIN_PROBE_ENDSTOP)
213
     SERIAL_PROTOCOLPGM(MSG_Z_PROBE);
213
     SERIAL_PROTOCOLPGM(MSG_Z_PROBE);
214
     SERIAL_PROTOCOLLN(((READ(Z_MIN_PROBE_PIN)^Z_MIN_PROBE_ENDSTOP_INVERTING) ? MSG_ENDSTOP_HIT : MSG_ENDSTOP_OPEN));
214
     SERIAL_PROTOCOLLN(((READ(Z_MIN_PROBE_PIN)^Z_MIN_PROBE_ENDSTOP_INVERTING) ? MSG_ENDSTOP_HIT : MSG_ENDSTOP_OPEN));
215
   #endif
215
   #endif
331
 
331
 
332
           #else // !Z_DUAL_ENDSTOPS
332
           #else // !Z_DUAL_ENDSTOPS
333
 
333
 
334
-            #if HAS_BED_PROBE && ENABLED(Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN)
334
+            #if ENABLED(Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN)
335
               if (z_probe_enabled) UPDATE_ENDSTOP(Z, MIN);
335
               if (z_probe_enabled) UPDATE_ENDSTOP(Z, MIN);
336
             #else
336
             #else
337
               UPDATE_ENDSTOP(Z, MIN);
337
               UPDATE_ENDSTOP(Z, MIN);
341
 
341
 
342
         #endif // HAS_Z_MIN
342
         #endif // HAS_Z_MIN
343
 
343
 
344
-        #if HAS_BED_PROBE && ENABLED(Z_MIN_PROBE_ENDSTOP) && DISABLED(Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN)
344
+        #if ENABLED(Z_MIN_PROBE_ENDSTOP)
345
           if (z_probe_enabled) {
345
           if (z_probe_enabled) {
346
             UPDATE_ENDSTOP(Z, MIN_PROBE);
346
             UPDATE_ENDSTOP(Z, MIN_PROBE);
347
             if (TEST_ENDSTOP(Z_MIN_PROBE)) SBI(endstop_hit_bits, Z_MIN_PROBE);
347
             if (TEST_ENDSTOP(Z_MIN_PROBE)) SBI(endstop_hit_bits, Z_MIN_PROBE);

+ 10
- 11
Marlin/example_configurations/Cartesio/Configuration.h View File

556
 // Allen Key Probe is defined in the Delta example configurations.
556
 // Allen Key Probe is defined in the Delta example configurations.
557
 //
557
 //
558
 
558
 
559
-// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
560
-// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
561
-//
562
 // *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
559
 // *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
563
 //
560
 //
564
 // To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING.
561
 // To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING.
577
 //
574
 //
578
 // Normally-closed switches are advised and are the default.
575
 // Normally-closed switches are advised and are the default.
579
 //
576
 //
577
+
578
+//
580
 // The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.)
579
 // The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.)
581
 // Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the
580
 // Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the
582
-// default pin for all RAMPS-based boards. Some other boards map differently.
583
-// To set or change the pin for your board, edit the appropriate pins_XXXXX.h file.
581
+// default pin for all RAMPS-based boards. Most boards use the X_MAX_PIN by default.
582
+// To use a different pin you can override it here.
584
 //
583
 //
585
 // WARNING:
584
 // WARNING:
586
 // Setting the wrong pin may have unexpected and potentially disastrous consequences.
585
 // Setting the wrong pin may have unexpected and potentially disastrous consequences.
587
 // Use with caution and do your homework.
586
 // Use with caution and do your homework.
588
 //
587
 //
588
+//#define Z_MIN_PROBE_PIN X_MAX_PIN
589
+
590
+//
591
+// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
592
+// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
593
+//
589
 //#define Z_MIN_PROBE_ENDSTOP
594
 //#define Z_MIN_PROBE_ENDSTOP
590
 
595
 
591
 // Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE.
596
 // Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE.
594
 
599
 
595
 // To use a probe you must enable one of the two options above!
600
 // To use a probe you must enable one of the two options above!
596
 
601
 
597
-// This option disables the use of the Z_MIN_PROBE_PIN
598
-// To enable the Z probe pin but disable its use, uncomment the line below. This only affects a
599
-// Z probe switch if you have a separate Z min endstop also and have activated Z_MIN_PROBE_ENDSTOP above.
600
-// If you're using the Z MIN endstop connector for your Z probe, this has no effect.
601
-//#define DISABLE_Z_MIN_PROBE_ENDSTOP
602
-
603
 // Enable Z Probe Repeatability test to see how accurate your probe is
602
 // Enable Z Probe Repeatability test to see how accurate your probe is
604
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
603
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
605
 
604
 

+ 10
- 11
Marlin/example_configurations/Felix/Configuration.h View File

539
 // Allen Key Probe is defined in the Delta example configurations.
539
 // Allen Key Probe is defined in the Delta example configurations.
540
 //
540
 //
541
 
541
 
542
-// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
543
-// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
544
-//
545
 // *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
542
 // *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
546
 //
543
 //
547
 // To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING.
544
 // To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING.
560
 //
557
 //
561
 // Normally-closed switches are advised and are the default.
558
 // Normally-closed switches are advised and are the default.
562
 //
559
 //
560
+
561
+//
563
 // The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.)
562
 // The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.)
564
 // Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the
563
 // Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the
565
-// default pin for all RAMPS-based boards. Some other boards map differently.
566
-// To set or change the pin for your board, edit the appropriate pins_XXXXX.h file.
564
+// default pin for all RAMPS-based boards. Most boards use the X_MAX_PIN by default.
565
+// To use a different pin you can override it here.
567
 //
566
 //
568
 // WARNING:
567
 // WARNING:
569
 // Setting the wrong pin may have unexpected and potentially disastrous consequences.
568
 // Setting the wrong pin may have unexpected and potentially disastrous consequences.
570
 // Use with caution and do your homework.
569
 // Use with caution and do your homework.
571
 //
570
 //
571
+//#define Z_MIN_PROBE_PIN X_MAX_PIN
572
+
573
+//
574
+// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
575
+// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
576
+//
572
 //#define Z_MIN_PROBE_ENDSTOP
577
 //#define Z_MIN_PROBE_ENDSTOP
573
 
578
 
574
 // Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE.
579
 // Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE.
577
 
582
 
578
 // To use a probe you must enable one of the two options above!
583
 // To use a probe you must enable one of the two options above!
579
 
584
 
580
-// This option disables the use of the Z_MIN_PROBE_PIN
581
-// To enable the Z probe pin but disable its use, uncomment the line below. This only affects a
582
-// Z probe switch if you have a separate Z min endstop also and have activated Z_MIN_PROBE_ENDSTOP above.
583
-// If you're using the Z MIN endstop connector for your Z probe, this has no effect.
584
-//#define DISABLE_Z_MIN_PROBE_ENDSTOP
585
-
586
 // Enable Z Probe Repeatability test to see how accurate your probe is
585
 // Enable Z Probe Repeatability test to see how accurate your probe is
587
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
586
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
588
 
587
 

+ 10
- 11
Marlin/example_configurations/Felix/DUAL/Configuration.h View File

537
 // Allen Key Probe is defined in the Delta example configurations.
537
 // Allen Key Probe is defined in the Delta example configurations.
538
 //
538
 //
539
 
539
 
540
-// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
541
-// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
542
-//
543
 // *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
540
 // *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
544
 //
541
 //
545
 // To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING.
542
 // To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING.
558
 //
555
 //
559
 // Normally-closed switches are advised and are the default.
556
 // Normally-closed switches are advised and are the default.
560
 //
557
 //
558
+
559
+//
561
 // The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.)
560
 // The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.)
562
 // Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the
561
 // Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the
563
-// default pin for all RAMPS-based boards. Some other boards map differently.
564
-// To set or change the pin for your board, edit the appropriate pins_XXXXX.h file.
562
+// default pin for all RAMPS-based boards. Most boards use the X_MAX_PIN by default.
563
+// To use a different pin you can override it here.
565
 //
564
 //
566
 // WARNING:
565
 // WARNING:
567
 // Setting the wrong pin may have unexpected and potentially disastrous consequences.
566
 // Setting the wrong pin may have unexpected and potentially disastrous consequences.
568
 // Use with caution and do your homework.
567
 // Use with caution and do your homework.
569
 //
568
 //
569
+//#define Z_MIN_PROBE_PIN X_MAX_PIN
570
+
571
+//
572
+// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
573
+// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
574
+//
570
 //#define Z_MIN_PROBE_ENDSTOP
575
 //#define Z_MIN_PROBE_ENDSTOP
571
 
576
 
572
 // Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE.
577
 // Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE.
575
 
580
 
576
 // To use a probe you must enable one of the two options above!
581
 // To use a probe you must enable one of the two options above!
577
 
582
 
578
-// This option disables the use of the Z_MIN_PROBE_PIN
579
-// To enable the Z probe pin but disable its use, uncomment the line below. This only affects a
580
-// Z probe switch if you have a separate Z min endstop also and have activated Z_MIN_PROBE_ENDSTOP above.
581
-// If you're using the Z MIN endstop connector for your Z probe, this has no effect.
582
-//#define DISABLE_Z_MIN_PROBE_ENDSTOP
583
-
584
 // Enable Z Probe Repeatability test to see how accurate your probe is
583
 // Enable Z Probe Repeatability test to see how accurate your probe is
585
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
584
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
586
 
585
 

+ 10
- 11
Marlin/example_configurations/Hephestos/Configuration.h View File

548
 // Allen Key Probe is defined in the Delta example configurations.
548
 // Allen Key Probe is defined in the Delta example configurations.
549
 //
549
 //
550
 
550
 
551
-// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
552
-// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
553
-//
554
 // *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
551
 // *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
555
 //
552
 //
556
 // To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING.
553
 // To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING.
569
 //
566
 //
570
 // Normally-closed switches are advised and are the default.
567
 // Normally-closed switches are advised and are the default.
571
 //
568
 //
569
+
570
+//
572
 // The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.)
571
 // The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.)
573
 // Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the
572
 // Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the
574
-// default pin for all RAMPS-based boards. Some other boards map differently.
575
-// To set or change the pin for your board, edit the appropriate pins_XXXXX.h file.
573
+// default pin for all RAMPS-based boards. Most boards use the X_MAX_PIN by default.
574
+// To use a different pin you can override it here.
576
 //
575
 //
577
 // WARNING:
576
 // WARNING:
578
 // Setting the wrong pin may have unexpected and potentially disastrous consequences.
577
 // Setting the wrong pin may have unexpected and potentially disastrous consequences.
579
 // Use with caution and do your homework.
578
 // Use with caution and do your homework.
580
 //
579
 //
580
+//#define Z_MIN_PROBE_PIN X_MAX_PIN
581
+
582
+//
583
+// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
584
+// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
585
+//
581
 #define Z_MIN_PROBE_ENDSTOP
586
 #define Z_MIN_PROBE_ENDSTOP
582
 
587
 
583
 // Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE.
588
 // Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE.
586
 
591
 
587
 // To use a probe you must enable one of the two options above!
592
 // To use a probe you must enable one of the two options above!
588
 
593
 
589
-// This option disables the use of the Z_MIN_PROBE_PIN
590
-// To enable the Z probe pin but disable its use, uncomment the line below. This only affects a
591
-// Z probe switch if you have a separate Z min endstop also and have activated Z_MIN_PROBE_ENDSTOP above.
592
-// If you're using the Z MIN endstop connector for your Z probe, this has no effect.
593
-//#define DISABLE_Z_MIN_PROBE_ENDSTOP
594
-
595
 // Enable Z Probe Repeatability test to see how accurate your probe is
594
 // Enable Z Probe Repeatability test to see how accurate your probe is
596
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
595
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
597
 
596
 

+ 10
- 11
Marlin/example_configurations/Hephestos_2/Configuration.h View File

550
 // Allen Key Probe is defined in the Delta example configurations.
550
 // Allen Key Probe is defined in the Delta example configurations.
551
 //
551
 //
552
 
552
 
553
-// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
554
-// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
555
-//
556
 // *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
553
 // *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
557
 //
554
 //
558
 // To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING.
555
 // To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING.
571
 //
568
 //
572
 // Normally-closed switches are advised and are the default.
569
 // Normally-closed switches are advised and are the default.
573
 //
570
 //
571
+
572
+//
574
 // The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.)
573
 // The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.)
575
 // Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the
574
 // Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the
576
-// default pin for all RAMPS-based boards. Some other boards map differently.
577
-// To set or change the pin for your board, edit the appropriate pins_XXXXX.h file.
575
+// default pin for all RAMPS-based boards. Most boards use the X_MAX_PIN by default.
576
+// To use a different pin you can override it here.
578
 //
577
 //
579
 // WARNING:
578
 // WARNING:
580
 // Setting the wrong pin may have unexpected and potentially disastrous consequences.
579
 // Setting the wrong pin may have unexpected and potentially disastrous consequences.
581
 // Use with caution and do your homework.
580
 // Use with caution and do your homework.
582
 //
581
 //
582
+//#define Z_MIN_PROBE_PIN X_MAX_PIN
583
+
584
+//
585
+// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
586
+// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
587
+//
583
 #define Z_MIN_PROBE_ENDSTOP
588
 #define Z_MIN_PROBE_ENDSTOP
584
 
589
 
585
 // Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE.
590
 // Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE.
588
 
593
 
589
 // To use a probe you must enable one of the two options above!
594
 // To use a probe you must enable one of the two options above!
590
 
595
 
591
-// This option disables the use of the Z_MIN_PROBE_PIN
592
-// To enable the Z probe pin but disable its use, uncomment the line below. This only affects a
593
-// Z probe switch if you have a separate Z min endstop also and have activated Z_MIN_PROBE_ENDSTOP above.
594
-// If you're using the Z MIN endstop connector for your Z probe, this has no effect.
595
-//#define DISABLE_Z_MIN_PROBE_ENDSTOP
596
-
597
 // Enable Z Probe Repeatability test to see how accurate your probe is
596
 // Enable Z Probe Repeatability test to see how accurate your probe is
598
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
597
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
599
 
598
 

+ 10
- 11
Marlin/example_configurations/K8200/Configuration.h View File

573
 // Allen Key Probe is defined in the Delta example configurations.
573
 // Allen Key Probe is defined in the Delta example configurations.
574
 //
574
 //
575
 
575
 
576
-// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
577
-// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
578
-//
579
 // *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
576
 // *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
580
 //
577
 //
581
 // To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING.
578
 // To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING.
594
 //
591
 //
595
 // Normally-closed switches are advised and are the default.
592
 // Normally-closed switches are advised and are the default.
596
 //
593
 //
594
+
595
+//
597
 // The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.)
596
 // The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.)
598
 // Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the
597
 // Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the
599
-// default pin for all RAMPS-based boards. Some other boards map differently.
600
-// To set or change the pin for your board, edit the appropriate pins_XXXXX.h file.
598
+// default pin for all RAMPS-based boards. Most boards use the X_MAX_PIN by default.
599
+// To use a different pin you can override it here.
601
 //
600
 //
602
 // WARNING:
601
 // WARNING:
603
 // Setting the wrong pin may have unexpected and potentially disastrous consequences.
602
 // Setting the wrong pin may have unexpected and potentially disastrous consequences.
604
 // Use with caution and do your homework.
603
 // Use with caution and do your homework.
605
 //
604
 //
605
+//#define Z_MIN_PROBE_PIN X_MAX_PIN
606
+
607
+//
608
+// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
609
+// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
610
+//
606
 //#define Z_MIN_PROBE_ENDSTOP
611
 //#define Z_MIN_PROBE_ENDSTOP
607
 
612
 
608
 // Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE.
613
 // Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE.
611
 
616
 
612
 // To use a probe you must enable one of the two options above!
617
 // To use a probe you must enable one of the two options above!
613
 
618
 
614
-// This option disables the use of the Z_MIN_PROBE_PIN
615
-// To enable the Z probe pin but disable its use, uncomment the line below. This only affects a
616
-// Z probe switch if you have a separate Z min endstop also and have activated Z_MIN_PROBE_ENDSTOP above.
617
-// If you're using the Z MIN endstop connector for your Z probe, this has no effect.
618
-//#define DISABLE_Z_MIN_PROBE_ENDSTOP
619
-
620
 // Enable Z Probe Repeatability test to see how accurate your probe is
619
 // Enable Z Probe Repeatability test to see how accurate your probe is
621
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
620
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
622
 
621
 

+ 10
- 11
Marlin/example_configurations/K8400/Configuration.h View File

556
 // Allen Key Probe is defined in the Delta example configurations.
556
 // Allen Key Probe is defined in the Delta example configurations.
557
 //
557
 //
558
 
558
 
559
-// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
560
-// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
561
-//
562
 // *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
559
 // *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
563
 //
560
 //
564
 // To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING.
561
 // To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING.
577
 //
574
 //
578
 // Normally-closed switches are advised and are the default.
575
 // Normally-closed switches are advised and are the default.
579
 //
576
 //
577
+
578
+//
580
 // The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.)
579
 // The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.)
581
 // Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the
580
 // Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the
582
-// default pin for all RAMPS-based boards. Some other boards map differently.
583
-// To set or change the pin for your board, edit the appropriate pins_XXXXX.h file.
581
+// default pin for all RAMPS-based boards. Most boards use the X_MAX_PIN by default.
582
+// To use a different pin you can override it here.
584
 //
583
 //
585
 // WARNING:
584
 // WARNING:
586
 // Setting the wrong pin may have unexpected and potentially disastrous consequences.
585
 // Setting the wrong pin may have unexpected and potentially disastrous consequences.
587
 // Use with caution and do your homework.
586
 // Use with caution and do your homework.
588
 //
587
 //
588
+//#define Z_MIN_PROBE_PIN X_MAX_PIN
589
+
590
+//
591
+// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
592
+// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
593
+//
589
 //#define Z_MIN_PROBE_ENDSTOP
594
 //#define Z_MIN_PROBE_ENDSTOP
590
 
595
 
591
 // Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE.
596
 // Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE.
594
 
599
 
595
 // To use a probe you must enable one of the two options above!
600
 // To use a probe you must enable one of the two options above!
596
 
601
 
597
-// This option disables the use of the Z_MIN_PROBE_PIN
598
-// To enable the Z probe pin but disable its use, uncomment the line below. This only affects a
599
-// Z probe switch if you have a separate Z min endstop also and have activated Z_MIN_PROBE_ENDSTOP above.
600
-// If you're using the Z MIN endstop connector for your Z probe, this has no effect.
601
-//#define DISABLE_Z_MIN_PROBE_ENDSTOP
602
-
603
 // Enable Z Probe Repeatability test to see how accurate your probe is
602
 // Enable Z Probe Repeatability test to see how accurate your probe is
604
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
603
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
605
 
604
 

+ 10
- 11
Marlin/example_configurations/K8400/Dual-head/Configuration.h View File

556
 // Allen Key Probe is defined in the Delta example configurations.
556
 // Allen Key Probe is defined in the Delta example configurations.
557
 //
557
 //
558
 
558
 
559
-// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
560
-// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
561
-//
562
 // *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
559
 // *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
563
 //
560
 //
564
 // To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING.
561
 // To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING.
577
 //
574
 //
578
 // Normally-closed switches are advised and are the default.
575
 // Normally-closed switches are advised and are the default.
579
 //
576
 //
577
+
578
+//
580
 // The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.)
579
 // The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.)
581
 // Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the
580
 // Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the
582
-// default pin for all RAMPS-based boards. Some other boards map differently.
583
-// To set or change the pin for your board, edit the appropriate pins_XXXXX.h file.
581
+// default pin for all RAMPS-based boards. Most boards use the X_MAX_PIN by default.
582
+// To use a different pin you can override it here.
584
 //
583
 //
585
 // WARNING:
584
 // WARNING:
586
 // Setting the wrong pin may have unexpected and potentially disastrous consequences.
585
 // Setting the wrong pin may have unexpected and potentially disastrous consequences.
587
 // Use with caution and do your homework.
586
 // Use with caution and do your homework.
588
 //
587
 //
588
+//#define Z_MIN_PROBE_PIN X_MAX_PIN
589
+
590
+//
591
+// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
592
+// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
593
+//
589
 //#define Z_MIN_PROBE_ENDSTOP
594
 //#define Z_MIN_PROBE_ENDSTOP
590
 
595
 
591
 // Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE.
596
 // Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE.
594
 
599
 
595
 // To use a probe you must enable one of the two options above!
600
 // To use a probe you must enable one of the two options above!
596
 
601
 
597
-// This option disables the use of the Z_MIN_PROBE_PIN
598
-// To enable the Z probe pin but disable its use, uncomment the line below. This only affects a
599
-// Z probe switch if you have a separate Z min endstop also and have activated Z_MIN_PROBE_ENDSTOP above.
600
-// If you're using the Z MIN endstop connector for your Z probe, this has no effect.
601
-//#define DISABLE_Z_MIN_PROBE_ENDSTOP
602
-
603
 // Enable Z Probe Repeatability test to see how accurate your probe is
602
 // Enable Z Probe Repeatability test to see how accurate your probe is
604
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
603
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
605
 
604
 

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

556
 // Allen Key Probe is defined in the Delta example configurations.
556
 // Allen Key Probe is defined in the Delta example configurations.
557
 //
557
 //
558
 
558
 
559
-// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
560
-// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
561
-//
562
 // *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
559
 // *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
563
 //
560
 //
564
 // To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING.
561
 // To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING.
577
 //
574
 //
578
 // Normally-closed switches are advised and are the default.
575
 // Normally-closed switches are advised and are the default.
579
 //
576
 //
577
+
578
+//
580
 // The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.)
579
 // The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.)
581
 // Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the
580
 // Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the
582
-// default pin for all RAMPS-based boards. Some other boards map differently.
583
-// To set or change the pin for your board, edit the appropriate pins_XXXXX.h file.
581
+// default pin for all RAMPS-based boards. Most boards use the X_MAX_PIN by default.
582
+// To use a different pin you can override it here.
584
 //
583
 //
585
 // WARNING:
584
 // WARNING:
586
 // Setting the wrong pin may have unexpected and potentially disastrous consequences.
585
 // Setting the wrong pin may have unexpected and potentially disastrous consequences.
587
 // Use with caution and do your homework.
586
 // Use with caution and do your homework.
588
 //
587
 //
588
+//#define Z_MIN_PROBE_PIN X_MAX_PIN
589
+
590
+//
591
+// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
592
+// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
593
+//
589
 //#define Z_MIN_PROBE_ENDSTOP
594
 //#define Z_MIN_PROBE_ENDSTOP
590
 
595
 
591
 // Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE.
596
 // Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE.
594
 
599
 
595
 // To use a probe you must enable one of the two options above!
600
 // To use a probe you must enable one of the two options above!
596
 
601
 
597
-// This option disables the use of the Z_MIN_PROBE_PIN
598
-// To enable the Z probe pin but disable its use, uncomment the line below. This only affects a
599
-// Z probe switch if you have a separate Z min endstop also and have activated Z_MIN_PROBE_ENDSTOP above.
600
-// If you're using the Z MIN endstop connector for your Z probe, this has no effect.
601
-//#define DISABLE_Z_MIN_PROBE_ENDSTOP
602
-
603
 // Enable Z Probe Repeatability test to see how accurate your probe is
602
 // Enable Z Probe Repeatability test to see how accurate your probe is
604
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
603
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
605
 
604
 

+ 10
- 11
Marlin/example_configurations/RigidBot/Configuration.h View File

554
 // Allen Key Probe is defined in the Delta example configurations.
554
 // Allen Key Probe is defined in the Delta example configurations.
555
 //
555
 //
556
 
556
 
557
-// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
558
-// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
559
-//
560
 // *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
557
 // *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
561
 //
558
 //
562
 // To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING.
559
 // To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING.
575
 //
572
 //
576
 // Normally-closed switches are advised and are the default.
573
 // Normally-closed switches are advised and are the default.
577
 //
574
 //
575
+
576
+//
578
 // The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.)
577
 // The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.)
579
 // Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the
578
 // Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the
580
-// default pin for all RAMPS-based boards. Some other boards map differently.
581
-// To set or change the pin for your board, edit the appropriate pins_XXXXX.h file.
579
+// default pin for all RAMPS-based boards. Most boards use the X_MAX_PIN by default.
580
+// To use a different pin you can override it here.
582
 //
581
 //
583
 // WARNING:
582
 // WARNING:
584
 // Setting the wrong pin may have unexpected and potentially disastrous consequences.
583
 // Setting the wrong pin may have unexpected and potentially disastrous consequences.
585
 // Use with caution and do your homework.
584
 // Use with caution and do your homework.
586
 //
585
 //
586
+//#define Z_MIN_PROBE_PIN X_MAX_PIN
587
+
588
+//
589
+// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
590
+// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
591
+//
587
 //#define Z_MIN_PROBE_ENDSTOP
592
 //#define Z_MIN_PROBE_ENDSTOP
588
 
593
 
589
 // Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE.
594
 // Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE.
592
 
597
 
593
 // To use a probe you must enable one of the two options above!
598
 // To use a probe you must enable one of the two options above!
594
 
599
 
595
-// This option disables the use of the Z_MIN_PROBE_PIN
596
-// To enable the Z probe pin but disable its use, uncomment the line below. This only affects a
597
-// Z probe switch if you have a separate Z min endstop also and have activated Z_MIN_PROBE_ENDSTOP above.
598
-// If you're using the Z MIN endstop connector for your Z probe, this has no effect.
599
-//#define DISABLE_Z_MIN_PROBE_ENDSTOP
600
-
601
 // Enable Z Probe Repeatability test to see how accurate your probe is
600
 // Enable Z Probe Repeatability test to see how accurate your probe is
602
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
601
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
603
 
602
 

+ 10
- 11
Marlin/example_configurations/SCARA/Configuration.h View File

566
 // Allen Key Probe is defined in the Delta example configurations.
566
 // Allen Key Probe is defined in the Delta example configurations.
567
 //
567
 //
568
 
568
 
569
-// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
570
-// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
571
-//
572
 // *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
569
 // *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
573
 //
570
 //
574
 // To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING.
571
 // To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING.
587
 //
584
 //
588
 // Normally-closed switches are advised and are the default.
585
 // Normally-closed switches are advised and are the default.
589
 //
586
 //
587
+
588
+//
590
 // The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.)
589
 // The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.)
591
 // Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the
590
 // Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the
592
-// default pin for all RAMPS-based boards. Some other boards map differently.
593
-// To set or change the pin for your board, edit the appropriate pins_XXXXX.h file.
591
+// default pin for all RAMPS-based boards. Most boards use the X_MAX_PIN by default.
592
+// To use a different pin you can override it here.
594
 //
593
 //
595
 // WARNING:
594
 // WARNING:
596
 // Setting the wrong pin may have unexpected and potentially disastrous consequences.
595
 // Setting the wrong pin may have unexpected and potentially disastrous consequences.
597
 // Use with caution and do your homework.
596
 // Use with caution and do your homework.
598
 //
597
 //
598
+//#define Z_MIN_PROBE_PIN X_MAX_PIN
599
+
600
+//
601
+// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
602
+// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
603
+//
599
 //#define Z_MIN_PROBE_ENDSTOP
604
 //#define Z_MIN_PROBE_ENDSTOP
600
 
605
 
601
 // Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE.
606
 // Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE.
604
 
609
 
605
 // To use a probe you must enable one of the two options above!
610
 // To use a probe you must enable one of the two options above!
606
 
611
 
607
-// This option disables the use of the Z_MIN_PROBE_PIN
608
-// To enable the Z probe pin but disable its use, uncomment the line below. This only affects a
609
-// Z probe switch if you have a separate Z min endstop also and have activated Z_MIN_PROBE_ENDSTOP above.
610
-// If you're using the Z MIN endstop connector for your Z probe, this has no effect.
611
-//#define DISABLE_Z_MIN_PROBE_ENDSTOP
612
-
613
 // Enable Z Probe Repeatability test to see how accurate your probe is
612
 // Enable Z Probe Repeatability test to see how accurate your probe is
614
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
613
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
615
 
614
 

+ 10
- 11
Marlin/example_configurations/TAZ4/Configuration.h View File

577
 // Allen Key Probe is defined in the Delta example configurations.
577
 // Allen Key Probe is defined in the Delta example configurations.
578
 //
578
 //
579
 
579
 
580
-// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
581
-// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
582
-//
583
 // *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
580
 // *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
584
 //
581
 //
585
 // To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING.
582
 // To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING.
598
 //
595
 //
599
 // Normally-closed switches are advised and are the default.
596
 // Normally-closed switches are advised and are the default.
600
 //
597
 //
598
+
599
+//
601
 // The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.)
600
 // The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.)
602
 // Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the
601
 // Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the
603
-// default pin for all RAMPS-based boards. Some other boards map differently.
604
-// To set or change the pin for your board, edit the appropriate pins_XXXXX.h file.
602
+// default pin for all RAMPS-based boards. Most boards use the X_MAX_PIN by default.
603
+// To use a different pin you can override it here.
605
 //
604
 //
606
 // WARNING:
605
 // WARNING:
607
 // Setting the wrong pin may have unexpected and potentially disastrous consequences.
606
 // Setting the wrong pin may have unexpected and potentially disastrous consequences.
608
 // Use with caution and do your homework.
607
 // Use with caution and do your homework.
609
 //
608
 //
609
+//#define Z_MIN_PROBE_PIN X_MAX_PIN
610
+
611
+//
612
+// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
613
+// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
614
+//
610
 //#define Z_MIN_PROBE_ENDSTOP
615
 //#define Z_MIN_PROBE_ENDSTOP
611
 
616
 
612
 // Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE.
617
 // Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE.
615
 
620
 
616
 // To use a probe you must enable one of the two options above!
621
 // To use a probe you must enable one of the two options above!
617
 
622
 
618
-// This option disables the use of the Z_MIN_PROBE_PIN
619
-// To enable the Z probe pin but disable its use, uncomment the line below. This only affects a
620
-// Z probe switch if you have a separate Z min endstop also and have activated Z_MIN_PROBE_ENDSTOP above.
621
-// If you're using the Z MIN endstop connector for your Z probe, this has no effect.
622
-//#define DISABLE_Z_MIN_PROBE_ENDSTOP
623
-
624
 // Enable Z Probe Repeatability test to see how accurate your probe is
623
 // Enable Z Probe Repeatability test to see how accurate your probe is
625
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
624
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
626
 
625
 

+ 10
- 11
Marlin/example_configurations/WITBOX/Configuration.h View File

548
 // Allen Key Probe is defined in the Delta example configurations.
548
 // Allen Key Probe is defined in the Delta example configurations.
549
 //
549
 //
550
 
550
 
551
-// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
552
-// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
553
-//
554
 // *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
551
 // *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
555
 //
552
 //
556
 // To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING.
553
 // To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING.
569
 //
566
 //
570
 // Normally-closed switches are advised and are the default.
567
 // Normally-closed switches are advised and are the default.
571
 //
568
 //
569
+
570
+//
572
 // The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.)
571
 // The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.)
573
 // Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the
572
 // Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the
574
-// default pin for all RAMPS-based boards. Some other boards map differently.
575
-// To set or change the pin for your board, edit the appropriate pins_XXXXX.h file.
573
+// default pin for all RAMPS-based boards. Most boards use the X_MAX_PIN by default.
574
+// To use a different pin you can override it here.
576
 //
575
 //
577
 // WARNING:
576
 // WARNING:
578
 // Setting the wrong pin may have unexpected and potentially disastrous consequences.
577
 // Setting the wrong pin may have unexpected and potentially disastrous consequences.
579
 // Use with caution and do your homework.
578
 // Use with caution and do your homework.
580
 //
579
 //
580
+//#define Z_MIN_PROBE_PIN X_MAX_PIN
581
+
582
+//
583
+// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
584
+// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
585
+//
581
 //#define Z_MIN_PROBE_ENDSTOP
586
 //#define Z_MIN_PROBE_ENDSTOP
582
 
587
 
583
 // Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE.
588
 // Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE.
586
 
591
 
587
 // To use a probe you must enable one of the two options above!
592
 // To use a probe you must enable one of the two options above!
588
 
593
 
589
-// This option disables the use of the Z_MIN_PROBE_PIN
590
-// To enable the Z probe pin but disable its use, uncomment the line below. This only affects a
591
-// Z probe switch if you have a separate Z min endstop also and have activated Z_MIN_PROBE_ENDSTOP above.
592
-// If you're using the Z MIN endstop connector for your Z probe, this has no effect.
593
-//#define DISABLE_Z_MIN_PROBE_ENDSTOP
594
-
595
 // Enable Z Probe Repeatability test to see how accurate your probe is
594
 // Enable Z Probe Repeatability test to see how accurate your probe is
596
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
595
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
597
 
596
 

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

556
 // Allen Key Probe is defined in the Delta example configurations.
556
 // Allen Key Probe is defined in the Delta example configurations.
557
 //
557
 //
558
 
558
 
559
-// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
560
-// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
561
-//
562
 // *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
559
 // *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
563
 //
560
 //
564
 // To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING.
561
 // To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING.
577
 //
574
 //
578
 // Normally-closed switches are advised and are the default.
575
 // Normally-closed switches are advised and are the default.
579
 //
576
 //
577
+
578
+//
580
 // The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.)
579
 // The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.)
581
 // Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the
580
 // Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the
582
-// default pin for all RAMPS-based boards. Some other boards map differently.
583
-// To set or change the pin for your board, edit the appropriate pins_XXXXX.h file.
581
+// default pin for all RAMPS-based boards. Most boards use the X_MAX_PIN by default.
582
+// To use a different pin you can override it here.
584
 //
583
 //
585
 // WARNING:
584
 // WARNING:
586
 // Setting the wrong pin may have unexpected and potentially disastrous consequences.
585
 // Setting the wrong pin may have unexpected and potentially disastrous consequences.
587
 // Use with caution and do your homework.
586
 // Use with caution and do your homework.
588
 //
587
 //
588
+//#define Z_MIN_PROBE_PIN X_MAX_PIN
589
+
590
+//
591
+// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
592
+// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
593
+//
589
 //#define Z_MIN_PROBE_ENDSTOP
594
 //#define Z_MIN_PROBE_ENDSTOP
590
 
595
 
591
 // Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE.
596
 // Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE.
594
 
599
 
595
 // To use a probe you must enable one of the two options above!
600
 // To use a probe you must enable one of the two options above!
596
 
601
 
597
-// This option disables the use of the Z_MIN_PROBE_PIN
598
-// To enable the Z probe pin but disable its use, uncomment the line below. This only affects a
599
-// Z probe switch if you have a separate Z min endstop also and have activated Z_MIN_PROBE_ENDSTOP above.
600
-// If you're using the Z MIN endstop connector for your Z probe, this has no effect.
601
-//#define DISABLE_Z_MIN_PROBE_ENDSTOP
602
-
603
 // Enable Z Probe Repeatability test to see how accurate your probe is
602
 // Enable Z Probe Repeatability test to see how accurate your probe is
604
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
603
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
605
 
604
 

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

646
 
646
 
647
 #endif // Z_PROBE_ALLEN_KEY
647
 #endif // Z_PROBE_ALLEN_KEY
648
 
648
 
649
-// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
650
-// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
651
-//
652
 // *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
649
 // *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
653
 //
650
 //
654
 // To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING.
651
 // To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING.
667
 //
664
 //
668
 // Normally-closed switches are advised and are the default.
665
 // Normally-closed switches are advised and are the default.
669
 //
666
 //
667
+
668
+//
670
 // The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.)
669
 // The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.)
671
 // Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the
670
 // Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the
672
-// default pin for all RAMPS-based boards. Some other boards map differently.
673
-// To set or change the pin for your board, edit the appropriate pins_XXXXX.h file.
671
+// default pin for all RAMPS-based boards. Most boards use the X_MAX_PIN by default.
672
+// To use a different pin you can override it here.
674
 //
673
 //
675
 // WARNING:
674
 // WARNING:
676
 // Setting the wrong pin may have unexpected and potentially disastrous consequences.
675
 // Setting the wrong pin may have unexpected and potentially disastrous consequences.
677
 // Use with caution and do your homework.
676
 // Use with caution and do your homework.
678
 //
677
 //
678
+//#define Z_MIN_PROBE_PIN X_MAX_PIN
679
+
680
+//
681
+// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
682
+// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
683
+//
679
 //#define Z_MIN_PROBE_ENDSTOP
684
 //#define Z_MIN_PROBE_ENDSTOP
680
 
685
 
681
 // Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE.
686
 // Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE.
684
 
689
 
685
 // To use a probe you must enable one of the two options above!
690
 // To use a probe you must enable one of the two options above!
686
 
691
 
687
-// This option disables the use of the Z_MIN_PROBE_PIN
688
-// To enable the Z probe pin but disable its use, uncomment the line below. This only affects a
689
-// Z probe switch if you have a separate Z min endstop also and have activated Z_MIN_PROBE_ENDSTOP above.
690
-// If you're using the Z MIN endstop connector for your Z probe, this has no effect.
691
-//#define DISABLE_Z_MIN_PROBE_ENDSTOP
692
-
693
 // Enable Z Probe Repeatability test to see how accurate your probe is
692
 // Enable Z Probe Repeatability test to see how accurate your probe is
694
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
693
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
695
 
694
 

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

640
 
640
 
641
 #endif // Z_PROBE_ALLEN_KEY
641
 #endif // Z_PROBE_ALLEN_KEY
642
 
642
 
643
-// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
644
-// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
645
-//
646
 // *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
643
 // *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
647
 //
644
 //
648
 // To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING.
645
 // To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING.
661
 //
658
 //
662
 // Normally-closed switches are advised and are the default.
659
 // Normally-closed switches are advised and are the default.
663
 //
660
 //
661
+
662
+//
664
 // The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.)
663
 // The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.)
665
 // Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the
664
 // Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the
666
-// default pin for all RAMPS-based boards. Some other boards map differently.
667
-// To set or change the pin for your board, edit the appropriate pins_XXXXX.h file.
665
+// default pin for all RAMPS-based boards. Most boards use the X_MAX_PIN by default.
666
+// To use a different pin you can override it here.
668
 //
667
 //
669
 // WARNING:
668
 // WARNING:
670
 // Setting the wrong pin may have unexpected and potentially disastrous consequences.
669
 // Setting the wrong pin may have unexpected and potentially disastrous consequences.
671
 // Use with caution and do your homework.
670
 // Use with caution and do your homework.
672
 //
671
 //
672
+//#define Z_MIN_PROBE_PIN X_MAX_PIN
673
+
674
+//
675
+// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
676
+// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
677
+//
673
 #define Z_MIN_PROBE_ENDSTOP
678
 #define Z_MIN_PROBE_ENDSTOP
674
 
679
 
675
 // Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE.
680
 // Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE.
678
 
683
 
679
 // To use a probe you must enable one of the two options above!
684
 // To use a probe you must enable one of the two options above!
680
 
685
 
681
-// This option disables the use of the Z_MIN_PROBE_PIN
682
-// To enable the Z probe pin but disable its use, uncomment the line below. This only affects a
683
-// Z probe switch if you have a separate Z min endstop also and have activated Z_MIN_PROBE_ENDSTOP above.
684
-// If you're using the Z MIN endstop connector for your Z probe, this has no effect.
685
-//#define DISABLE_Z_MIN_PROBE_ENDSTOP
686
-
687
 // Enable Z Probe Repeatability test to see how accurate your probe is
686
 // Enable Z Probe Repeatability test to see how accurate your probe is
688
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
687
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
689
 
688
 

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

643
 
643
 
644
 #endif // Z_PROBE_ALLEN_KEY
644
 #endif // Z_PROBE_ALLEN_KEY
645
 
645
 
646
-// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
647
-// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
648
-//
649
 // *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
646
 // *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
650
 //
647
 //
651
 // To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING.
648
 // To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING.
664
 //
661
 //
665
 // Normally-closed switches are advised and are the default.
662
 // Normally-closed switches are advised and are the default.
666
 //
663
 //
664
+
665
+//
667
 // The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.)
666
 // The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.)
668
 // Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the
667
 // Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the
669
-// default pin for all RAMPS-based boards. Some other boards map differently.
670
-// To set or change the pin for your board, edit the appropriate pins_XXXXX.h file.
668
+// default pin for all RAMPS-based boards. Most boards use the X_MAX_PIN by default.
669
+// To use a different pin you can override it here.
671
 //
670
 //
672
 // WARNING:
671
 // WARNING:
673
 // Setting the wrong pin may have unexpected and potentially disastrous consequences.
672
 // Setting the wrong pin may have unexpected and potentially disastrous consequences.
674
 // Use with caution and do your homework.
673
 // Use with caution and do your homework.
675
 //
674
 //
675
+//#define Z_MIN_PROBE_PIN X_MAX_PIN
676
+
677
+//
678
+// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
679
+// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
680
+//
676
 //#define Z_MIN_PROBE_ENDSTOP
681
 //#define Z_MIN_PROBE_ENDSTOP
677
 
682
 
678
 // Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE.
683
 // Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE.
681
 
686
 
682
 // To use a probe you must enable one of the two options above!
687
 // To use a probe you must enable one of the two options above!
683
 
688
 
684
-// This option disables the use of the Z_MIN_PROBE_PIN
685
-// To enable the Z probe pin but disable its use, uncomment the line below. This only affects a
686
-// Z probe switch if you have a separate Z min endstop also and have activated Z_MIN_PROBE_ENDSTOP above.
687
-// If you're using the Z MIN endstop connector for your Z probe, this has no effect.
688
-//#define DISABLE_Z_MIN_PROBE_ENDSTOP
689
-
690
 // Enable Z Probe Repeatability test to see how accurate your probe is
689
 // Enable Z Probe Repeatability test to see how accurate your probe is
691
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
690
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
692
 
691
 

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

644
 
644
 
645
 #endif // Z_PROBE_ALLEN_KEY
645
 #endif // Z_PROBE_ALLEN_KEY
646
 
646
 
647
-// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
648
-// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
649
-//
650
 // *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
647
 // *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
651
 //
648
 //
652
 // To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING.
649
 // To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING.
665
 //
662
 //
666
 // Normally-closed switches are advised and are the default.
663
 // Normally-closed switches are advised and are the default.
667
 //
664
 //
665
+
666
+//
668
 // The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.)
667
 // The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.)
669
 // Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the
668
 // Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the
670
-// default pin for all RAMPS-based boards. Some other boards map differently.
671
-// To set or change the pin for your board, edit the appropriate pins_XXXXX.h file.
669
+// default pin for all RAMPS-based boards. Most boards use the X_MAX_PIN by default.
670
+// To use a different pin you can override it here.
672
 //
671
 //
673
 // WARNING:
672
 // WARNING:
674
 // Setting the wrong pin may have unexpected and potentially disastrous consequences.
673
 // Setting the wrong pin may have unexpected and potentially disastrous consequences.
675
 // Use with caution and do your homework.
674
 // Use with caution and do your homework.
676
 //
675
 //
676
+//#define Z_MIN_PROBE_PIN X_MAX_PIN
677
+
678
+//
679
+// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
680
+// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
681
+//
677
 //#define Z_MIN_PROBE_ENDSTOP
682
 //#define Z_MIN_PROBE_ENDSTOP
678
 
683
 
679
 // Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE.
684
 // Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE.
682
 
687
 
683
 // To use a probe you must enable one of the two options above!
688
 // To use a probe you must enable one of the two options above!
684
 
689
 
685
-// This option disables the use of the Z_MIN_PROBE_PIN
686
-// To enable the Z probe pin but disable its use, uncomment the line below. This only affects a
687
-// Z probe switch if you have a separate Z min endstop also and have activated Z_MIN_PROBE_ENDSTOP above.
688
-// If you're using the Z MIN endstop connector for your Z probe, this has no effect.
689
-//#define DISABLE_Z_MIN_PROBE_ENDSTOP
690
-
691
 // Enable Z Probe Repeatability test to see how accurate your probe is
690
 // Enable Z Probe Repeatability test to see how accurate your probe is
692
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
691
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
693
 
692
 

+ 10
- 11
Marlin/example_configurations/delta/kossel_xl/Configuration.h View File

646
 
646
 
647
 #endif // Z_PROBE_ALLEN_KEY
647
 #endif // Z_PROBE_ALLEN_KEY
648
 
648
 
649
-// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
650
-// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
651
-//
652
 // *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
649
 // *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
653
 //
650
 //
654
 // To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING.
651
 // To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING.
667
 //
664
 //
668
 // Normally-closed switches are advised and are the default.
665
 // Normally-closed switches are advised and are the default.
669
 //
666
 //
667
+
668
+//
670
 // The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.)
669
 // The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.)
671
 // Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the
670
 // Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the
672
-// default pin for all RAMPS-based boards. Some other boards map differently.
673
-// To set or change the pin for your board, edit the appropriate pins_XXXXX.h file.
671
+// default pin for all RAMPS-based boards. Most boards use the X_MAX_PIN by default.
672
+// To use a different pin you can override it here.
674
 //
673
 //
675
 // WARNING:
674
 // WARNING:
676
 // Setting the wrong pin may have unexpected and potentially disastrous consequences.
675
 // Setting the wrong pin may have unexpected and potentially disastrous consequences.
677
 // Use with caution and do your homework.
676
 // Use with caution and do your homework.
678
 //
677
 //
678
+//#define Z_MIN_PROBE_PIN X_MAX_PIN
679
+
680
+//
681
+// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
682
+// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
683
+//
679
 #define Z_MIN_PROBE_ENDSTOP
684
 #define Z_MIN_PROBE_ENDSTOP
680
 
685
 
681
 // Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE.
686
 // Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE.
684
 
689
 
685
 // To use a probe you must enable one of the two options above!
690
 // To use a probe you must enable one of the two options above!
686
 
691
 
687
-// This option disables the use of the Z_MIN_PROBE_PIN
688
-// To enable the Z probe pin but disable its use, uncomment the line below. This only affects a
689
-// Z probe switch if you have a separate Z min endstop also and have activated Z_MIN_PROBE_ENDSTOP above.
690
-// If you're using the Z MIN endstop connector for your Z probe, this has no effect.
691
-//#define DISABLE_Z_MIN_PROBE_ENDSTOP
692
-
693
 // Enable Z Probe Repeatability test to see how accurate your probe is
692
 // Enable Z Probe Repeatability test to see how accurate your probe is
694
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
693
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
695
 
694
 

+ 10
- 11
Marlin/example_configurations/makibox/Configuration.h View File

559
 // Allen Key Probe is defined in the Delta example configurations.
559
 // Allen Key Probe is defined in the Delta example configurations.
560
 //
560
 //
561
 
561
 
562
-// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
563
-// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
564
-//
565
 // *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
562
 // *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
566
 //
563
 //
567
 // To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING.
564
 // To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING.
580
 //
577
 //
581
 // Normally-closed switches are advised and are the default.
578
 // Normally-closed switches are advised and are the default.
582
 //
579
 //
580
+
581
+//
583
 // The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.)
582
 // The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.)
584
 // Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the
583
 // Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the
585
-// default pin for all RAMPS-based boards. Some other boards map differently.
586
-// To set or change the pin for your board, edit the appropriate pins_XXXXX.h file.
584
+// default pin for all RAMPS-based boards. Most boards use the X_MAX_PIN by default.
585
+// To use a different pin you can override it here.
587
 //
586
 //
588
 // WARNING:
587
 // WARNING:
589
 // Setting the wrong pin may have unexpected and potentially disastrous consequences.
588
 // Setting the wrong pin may have unexpected and potentially disastrous consequences.
590
 // Use with caution and do your homework.
589
 // Use with caution and do your homework.
591
 //
590
 //
591
+//#define Z_MIN_PROBE_PIN X_MAX_PIN
592
+
593
+//
594
+// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
595
+// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
596
+//
592
 //#define Z_MIN_PROBE_ENDSTOP
597
 //#define Z_MIN_PROBE_ENDSTOP
593
 
598
 
594
 // Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE.
599
 // Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE.
597
 
602
 
598
 // To use a probe you must enable one of the two options above!
603
 // To use a probe you must enable one of the two options above!
599
 
604
 
600
-// This option disables the use of the Z_MIN_PROBE_PIN
601
-// To enable the Z probe pin but disable its use, uncomment the line below. This only affects a
602
-// Z probe switch if you have a separate Z min endstop also and have activated Z_MIN_PROBE_ENDSTOP above.
603
-// If you're using the Z MIN endstop connector for your Z probe, this has no effect.
604
-//#define DISABLE_Z_MIN_PROBE_ENDSTOP
605
-
606
 // Enable Z Probe Repeatability test to see how accurate your probe is
605
 // Enable Z Probe Repeatability test to see how accurate your probe is
607
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
606
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
608
 
607
 

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

552
 // Allen Key Probe is defined in the Delta example configurations.
552
 // Allen Key Probe is defined in the Delta example configurations.
553
 //
553
 //
554
 
554
 
555
-// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
556
-// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
557
-//
558
 // *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
555
 // *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
559
 //
556
 //
560
 // To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING.
557
 // To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING.
573
 //
570
 //
574
 // Normally-closed switches are advised and are the default.
571
 // Normally-closed switches are advised and are the default.
575
 //
572
 //
573
+
574
+//
576
 // The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.)
575
 // The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.)
577
 // Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the
576
 // Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the
578
-// default pin for all RAMPS-based boards. Some other boards map differently.
579
-// To set or change the pin for your board, edit the appropriate pins_XXXXX.h file.
577
+// default pin for all RAMPS-based boards. Most boards use the X_MAX_PIN by default.
578
+// To use a different pin you can override it here.
580
 //
579
 //
581
 // WARNING:
580
 // WARNING:
582
 // Setting the wrong pin may have unexpected and potentially disastrous consequences.
581
 // Setting the wrong pin may have unexpected and potentially disastrous consequences.
583
 // Use with caution and do your homework.
582
 // Use with caution and do your homework.
584
 //
583
 //
584
+//#define Z_MIN_PROBE_PIN X_MAX_PIN
585
+
586
+//
587
+// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
588
+// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
589
+//
585
 //#define Z_MIN_PROBE_ENDSTOP
590
 //#define Z_MIN_PROBE_ENDSTOP
586
 
591
 
587
 // Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE.
592
 // Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE.
590
 
595
 
591
 // To use a probe you must enable one of the two options above!
596
 // To use a probe you must enable one of the two options above!
592
 
597
 
593
-// This option disables the use of the Z_MIN_PROBE_PIN
594
-// To enable the Z probe pin but disable its use, uncomment the line below. This only affects a
595
-// Z probe switch if you have a separate Z min endstop also and have activated Z_MIN_PROBE_ENDSTOP above.
596
-// If you're using the Z MIN endstop connector for your Z probe, this has no effect.
597
-//#define DISABLE_Z_MIN_PROBE_ENDSTOP
598
-
599
 // Enable Z Probe Repeatability test to see how accurate your probe is
598
 // Enable Z Probe Repeatability test to see how accurate your probe is
600
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
599
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
601
 
600
 

+ 1
- 1
Marlin/pins.h View File

361
 //
361
 //
362
 // Disable unused endstop / probe pins
362
 // Disable unused endstop / probe pins
363
 //
363
 //
364
-#if ENABLED(DISABLE_Z_MIN_PROBE_ENDSTOP) || DISABLED(Z_MIN_PROBE_ENDSTOP) // Allow code to compile regardless of Z_MIN_PROBE_ENDSTOP setting.
364
+#if DISABLED(Z_MIN_PROBE_ENDSTOP)
365
   #undef Z_MIN_PROBE_PIN
365
   #undef Z_MIN_PROBE_PIN
366
   #define Z_MIN_PROBE_PIN    -1
366
   #define Z_MIN_PROBE_PIN    -1
367
 #endif
367
 #endif

Loading…
Cancel
Save