Browse Source

Edit configurations to reduce verbosity, arrange logically

Scott Lahteine 7 years ago
parent
commit
0dbe4b3e54
27 changed files with 1525 additions and 2805 deletions
  1. 59
    106
      Marlin/Configuration.h
  2. 58
    107
      Marlin/example_configurations/Cartesio/Configuration.h
  3. 58
    107
      Marlin/example_configurations/Felix/Configuration.h
  4. 58
    107
      Marlin/example_configurations/Felix/DUAL/Configuration.h
  5. 59
    109
      Marlin/example_configurations/FolgerTech-i3-2020/Configuration.h
  6. 58
    107
      Marlin/example_configurations/Hephestos/Configuration.h
  7. 58
    107
      Marlin/example_configurations/Hephestos_2/Configuration.h
  8. 58
    107
      Marlin/example_configurations/K8200/Configuration.h
  9. 58
    107
      Marlin/example_configurations/K8400/Configuration.h
  10. 58
    107
      Marlin/example_configurations/K8400/Dual-head/Configuration.h
  11. 58
    107
      Marlin/example_configurations/RepRapWorld/Megatronics/Configuration.h
  12. 58
    107
      Marlin/example_configurations/RigidBot/Configuration.h
  13. 58
    107
      Marlin/example_configurations/SCARA/Configuration.h
  14. 58
    107
      Marlin/example_configurations/TAZ4/Configuration.h
  15. 58
    107
      Marlin/example_configurations/TinyBoy2/Configuration.h
  16. 58
    107
      Marlin/example_configurations/WITBOX/Configuration.h
  17. 58
    107
      Marlin/example_configurations/adafruit/ST7565/Configuration.h
  18. 58
    104
      Marlin/example_configurations/delta/FLSUN/auto_calibrate/Configuration.h
  19. 58
    104
      Marlin/example_configurations/delta/FLSUN/kossel_mini/Configuration.h
  20. 58
    105
      Marlin/example_configurations/delta/generic/Configuration.h
  21. 56
    101
      Marlin/example_configurations/delta/kossel_mini/Configuration.h
  22. 58
    105
      Marlin/example_configurations/delta/kossel_pro/Configuration.h
  23. 58
    50
      Marlin/example_configurations/delta/kossel_xl/Configuration.h
  24. 17
    95
      Marlin/example_configurations/gCreate_gMax1.5+/Configuration.h
  25. 58
    107
      Marlin/example_configurations/makibox/Configuration.h
  26. 58
    107
      Marlin/example_configurations/tvrrug/Round2/Configuration.h
  27. 58
    107
      Marlin/example_configurations/wt150/Configuration.h

+ 59
- 106
Marlin/Configuration.h View File

@@ -518,77 +518,90 @@
518 518
 #define DEFAULT_EJERK                  5.0
519 519
 
520 520
 
521
+//===========================================================================
522
+//============================= Z Probe Options =============================
523
+//===========================================================================
524
+// @section probes
525
+
526
+//
527
+// See http://marlinfw.org/configuration/probes.html
528
+//
529
+
521 530
 /**
522
- * ===========================================================================
523
- * ============================= Z Probe Options =============================
524
- * ===========================================================================
525
- * @section probes
531
+ * Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
532
+ *
533
+ * Enable this option for a probe connected to the Z Min endstop pin.
534
+ */
535
+#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
536
+
537
+/**
538
+ * Z_MIN_PROBE_ENDSTOP
539
+ *
540
+ * Enable this option for a probe connected to any pin except Z-Min.
541
+ * (By default Marlin assumes the Z-Max endstop pin.)
542
+ * To use a custom Z Probe pin, set Z_MIN_PROBE_PIN below.
543
+ *
544
+ *  - The simplest option is to use a free endstop connector.
545
+ *  - Use 5V for powered (usually inductive) sensors.
526 546
  *
547
+ *  - RAMPS 1.3/1.4 boards may use the 5V, GND, and Aux4->D32 pin:
548
+ *    - For simple switches connect...
549
+ *      - normally-closed switches to GND and D32.
550
+ *      - normally-open switches to 5V and D32.
527 551
  *
528
- *   Probe Type
529
- *   Probes are sensors/switches that are activated / deactivated before/after use.
552
+ * WARNING: Setting the wrong pin may have unexpected and potentially
553
+ * disastrous consequences. Use with caution and do your homework.
530 554
  *
531
- *   Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
532
- *   You must activate one of these to use Auto Bed Leveling below.
555
+ */
556
+//#define Z_MIN_PROBE_ENDSTOP
557
+//#define Z_MIN_PROBE_PIN Z_MAX_PIN
558
+
559
+/**
560
+ * Probe Type
533 561
  *
534
- *   Use M851 to set the Z probe vertical offset from the nozzle. Store with M500.
562
+ * Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
563
+ * You must activate one of these to use Auto Bed Leveling below.
535 564
  */
536 565
 
537 566
 /**
538
- *   The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe.
539
- *   Use G29 repeatedly, adjusting the Z height at each point with movement commands
540
- *   or (with LCD_BED_LEVELING) the LCD controller.
567
+ * The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe.
568
+ * Use G29 repeatedly, adjusting the Z height at each point with movement commands
569
+ * or (with LCD_BED_LEVELING) the LCD controller.
541 570
  */
542 571
 //#define PROBE_MANUALLY
543 572
 
544 573
 /**
545
- *   A Fix-Mounted Probe either doesn't deploy or needs manual deployment.
546
- *   For example an inductive probe, or a setup that uses the nozzle to probe.
547
- *   An inductive probe must be deactivated to go below
548
- *   its trigger-point if hardware endstops are active.
574
+ * A Fix-Mounted Probe either doesn't deploy or needs manual deployment.
575
+ *   (e.g., an inductive probe or a nozzle-based probe-switch.)
549 576
  */
550 577
 //#define FIX_MOUNTED_PROBE
551 578
 
552 579
 /**
553
- *   Z Servo Probe, such as an endstop switch on a rotating arm.
554
- *   NUM_SERVOS also needs to be set.  This is found later in this file.  Set it to
555
- *   1 + the number of other servos in your system.
580
+ * Z Servo Probe, such as an endstop switch on a rotating arm.
556 581
  */
557 582
 //#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
558 583
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
559 584
 
560
- /**
561
- *   The BLTouch probe emulates a servo probe.
562
- *   If using a BLTouch then NUM_SERVOS, Z_ENDSTOP_SERVO_NR and Z_SERVO_ANGLES
563
- *   are setup for you in the background and you shouldn't need to set/modify/enable them
564
- *   with the possible exception of Z_ENDSTOP_SERVO_NR.
565
- */
566
-//#define BLTOUCH
567
-//#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
568
-//#define BLTOUCH_HEATERS_OFF // if defined the printer's heaters are turned off during probe event
569
-
570 585
 /**
571
- *   BLTouch WARNING  -  ONLY APPLIES TO VERSIONS OF MARLIN BEFORE 15 FEB 2017
572
- *   Unless using interrupt endstops, there is a MINIMUM feedrate for Marlin to reliably
573
- *   sense the BLTouch.  If the feedrate is too slow then G28 & G29 can sometimes result
574
- *   in the print head being driven into the bed until manual intervention.
575
- *   The minimum feedrate calculation is:
576
- *
577
- *     feedrate minimum =  24000 / DEFAULT_AXIS_STEPS_PER_UNIT
578
- *        where feedrate is in "mm/minute" or "inches/minute" depending on the units used
579
- *        in DEFAULT_AXIS_STEPS_PER_UNIT
580
- *
581
- *   This applies to the HOMING_FEEDRATE_Z and Z_PROBE_SPEED_FAST.  If PROBE_DOUBLE_TOUCH
582
- *   is enabled then it also applies to Z_PROBE_SPEED_SLOW.
586
+ * The BLTouch probe is a Hall effect sensor that emulates a servo.
583 587
  */
588
+//#define BLTOUCH
589
+#if ENABLED(BLTOUCH)
590
+  //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
591
+  //#define BLTOUCH_HEATERS_OFF // Enable if the probe seems unreliable. Heaters will be disabled for each probe.
592
+#endif
584 593
 
585 594
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
586 595
 //#define SOLENOID_PROBE
587 596
 
588
-// Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.
597
+// A sled-mounted probe like those designed by Charles Bell.
589 598
 //#define Z_PROBE_SLED
590 599
 //#define SLED_DOCKING_OFFSET 5  // The extra distance the X axis must travel to pickup the sled. 0 should be fine but you can push it further if you'd like.
591 600
 
601
+//
602
+// For Z_PROBE_ALLEN_KEY see the Delta example configurations.
603
+//
604
+
592 605
 /**
593 606
  *   Z Probe to nozzle (X,Y) offset, relative to (0, 0).
594 607
  *   X and Y offsets must be integers.
@@ -625,69 +638,6 @@
625 638
 //#define PROBE_DOUBLE_TOUCH
626 639
 
627 640
 /**
628
- *   Allen Key Probe is defined in the Delta example configurations.
629
- *
630
- *
631
- *   *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
632
- *
633
- *   - RAMPS 1.3/1.4 boards may be able to use the 5V, GND, and Aux4->D32 pin.
634
- *   - Use 5V for powered (usu. inductive) sensors.
635
- *   - Otherwise connect:
636
- *     - normally-closed switches to GND and D32.
637
- *     - normally-open switches to 5V and D32.
638
- *
639
- *   Normally-closed switches are advised and are the default.
640
- *
641
- *
642
- *   PIN OPTIONS\SETUP FOR Z PROBES
643
- *
644
- *
645
- *   WARNING:
646
- *   Setting the wrong pin may have unexpected and potentially disastrous consequences.
647
- *   Use with caution and do your homework.
648
- *
649
- *
650
- *   All Z PROBE pin options are configured by defining (or not defining)
651
- *   the following five items:
652
- *       Z_MIN_PROBE_ENDSTOP – defined below
653
- *       Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN – defined below
654
- *       Z_MIN_PIN - defined in the pins_YOUR_BOARD.h file
655
- *       Z_MIN_PROBE_PIN - defined in the pins_YOUR_BOARD.h file
656
- *
657
- *   If you're using a probe then you need to tell Marlin which pin to use as
658
- *   the Z MIN ENDSTOP.  Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN determines if the
659
- *   Z_MIN_PIN or if the Z_MIN_PROBE_PIN is used.
660
- *
661
- *   The pin selected for the probe is ONLY checked during probing operations.
662
- *   If you want to use the Z_MIN_PIN as an endstop AND you want to have a Z PROBE
663
- *   then you’ll need to use the Z_MIN_PROBE_PIN option.
664
- *
665
- *   Z_MIN_PROBE_ENDSTOP also needs to be enabled if you want to use Z_MIN_PROBE_PIN.
666
- *
667
- *   The settings needed to use the Z_MIN_PROBE_PIN are:
668
- *       1. select the type of probe you're using
669
- *       2. define Z_MIN_PROBE_PIN in your pins_YOUR_BOARD.h file
670
- *       3. disable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
671
- *       4. enable Z_MIN_PROBE_ENDSTOP
672
- *   NOTE – if Z_MIN_PIN is defined then it’ll be checked during all moves in the
673
- *          negative Z direction.
674
- *
675
- *   The settings needed to use the Z_MIN_PIN are:
676
- *       1. select the type of probe you're using
677
- *       2. enable Z_MIN _PIN in your pins_YOUR_BOARD.h file
678
- *       3. enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
679
- *       4. disable Z_MIN_PROBE_ENDSTOP
680
- *   NOTES – if Z_MIN_PROBE_PIN is defined in the pins_YOUR_BOARD.h file then it’ll be
681
- *          ignored by Marlin
682
- */
683
-
684
-//#define Z_MIN_PROBE_ENDSTOP
685
-#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
686
-
687
-// Enable Z Probe Repeatability test to see how accurate your probe is
688
-//#define Z_MIN_PROBE_REPEATABILITY_TEST
689
-
690
-/**
691 641
  * Z probes require clearance when deploying, stowing, and moving between
692 642
  * probe points to avoid hitting the bed and other hardware.
693 643
  * Servo-mounted probes require extra space for the arm to rotate.
@@ -708,6 +658,9 @@
708 658
 #define Z_PROBE_OFFSET_RANGE_MIN -20
709 659
 #define Z_PROBE_OFFSET_RANGE_MAX 20
710 660
 
661
+// Enable the M48 repeatability test to test probe accuracy
662
+//#define Z_MIN_PROBE_REPEATABILITY_TEST
663
+
711 664
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
712 665
 // :{ 0:'Low', 1:'High' }
713 666
 #define X_ENABLE_ON 0
@@ -726,7 +679,7 @@
726 679
 // @section extruder
727 680
 
728 681
 #define DISABLE_E false // For all extruders
729
-#define DISABLE_INACTIVE_EXTRUDER true //disable only inactive extruders and keep active extruder enabled
682
+#define DISABLE_INACTIVE_EXTRUDER true // Keep only the active extruder enabled.
730 683
 
731 684
 // @section machine
732 685
 

+ 58
- 107
Marlin/example_configurations/Cartesio/Configuration.h View File

@@ -516,78 +516,90 @@
516 516
 #define DEFAULT_ZJERK                  0.4
517 517
 #define DEFAULT_EJERK                  5.0
518 518
 
519
+//===========================================================================
520
+//============================= Z Probe Options =============================
521
+//===========================================================================
522
+// @section probes
523
+
524
+//
525
+// See http://marlinfw.org/configuration/probes.html
526
+//
519 527
 
520 528
 /**
521
- * ===========================================================================
522
- * ============================= Z Probe Options =============================
523
- * ===========================================================================
524
- *    @section probes
529
+ * Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
525 530
  *
531
+ * Enable this option for a probe connected to the Z Min endstop pin.
532
+ */
533
+#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
534
+
535
+/**
536
+ * Z_MIN_PROBE_ENDSTOP
537
+ *
538
+ * Enable this option for a probe connected to any pin except Z-Min.
539
+ * (By default Marlin assumes the Z-Max endstop pin.)
540
+ * To use a custom Z Probe pin, set Z_MIN_PROBE_PIN below.
526 541
  *
527
- *   Probe Type
528
- *   Probes are sensors/switches that are activated / deactivated before/after use.
542
+ *  - The simplest option is to use a free endstop connector.
543
+ *  - Use 5V for powered (usually inductive) sensors.
529 544
  *
530
- *   Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
531
- *   You must activate one of these to use Auto Bed Leveling below.
545
+ *  - RAMPS 1.3/1.4 boards may use the 5V, GND, and Aux4->D32 pin:
546
+ *    - For simple switches connect...
547
+ *      - normally-closed switches to GND and D32.
548
+ *      - normally-open switches to 5V and D32.
549
+ *
550
+ * WARNING: Setting the wrong pin may have unexpected and potentially
551
+ * disastrous consequences. Use with caution and do your homework.
552
+ *
553
+ */
554
+//#define Z_MIN_PROBE_ENDSTOP
555
+//#define Z_MIN_PROBE_PIN Z_MAX_PIN
556
+
557
+/**
558
+ * Probe Type
532 559
  *
533
- *   Use M851 to set the Z probe vertical offset from the nozzle. Store with M500.
560
+ * Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
561
+ * Activate one of these to use Auto Bed Leveling below.
534 562
  */
535 563
 
536 564
 /**
537
- *   The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe.
538
- *   Use G29 repeatedly, adjusting the Z height at each point with movement commands
539
- *   or (with LCD_BED_LEVELING) the LCD controller.
565
+ * The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe.
566
+ * Use G29 repeatedly, adjusting the Z height at each point with movement commands
567
+ * or (with LCD_BED_LEVELING) the LCD controller.
540 568
  */
541 569
 //#define PROBE_MANUALLY
542 570
 
543 571
 /**
544
- *   A Fix-Mounted Probe either doesn't deploy or needs manual deployment.
545
- *   For example an inductive probe, or a setup that uses the nozzle to probe.
546
- *   An inductive probe must be deactivated to go below
547
- *   its trigger-point if hardware endstops are active.
572
+ * A Fix-Mounted Probe either doesn't deploy or needs manual deployment.
573
+ *   (e.g., an inductive probe or a nozzle-based probe-switch.)
548 574
  */
549 575
 //#define FIX_MOUNTED_PROBE
550 576
 
551 577
 /**
552
- *   Z Servo Probe, such as an endstop switch on a rotating arm.
553
- *   NUM_SERVOS also needs to be set.  This is found later in this file.  Set it to
554
- *   1 + the number of other servos in your system.
578
+ * Z Servo Probe, such as an endstop switch on a rotating arm.
555 579
  */
556 580
 //#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
557 581
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
558 582
 
559
- /**
560
- *   The BLTouch probe emulates a servo probe.
561
- *   If using a BLTouch then NUM_SERVOS, Z_ENDSTOP_SERVO_NR and Z_SERVO_ANGLES
562
- *   are setup for you in the background and you shouldn't need to set/modify/enable them
563
- *   with the possible exception of Z_ENDSTOP_SERVO_NR.
564
- */
565
-//#define BLTOUCH
566
-//#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
567
-//#define BLTOUCH_HEATERS_OFF // if defined the printer's heaters are turned off during probe event
568
-
569 583
 /**
570
- *   BLTouch WARNING  -  ONLY APPLIES TO VERSIONS OF MARLIN BEFORE 15 FEB 2017
571
- *   Unless using interrupt endstops, there is a MINIMUM feedrate for Marlin to reliably
572
- *   sense the BLTouch.  If the feedrate is too slow then G28 & G29 can sometimes result
573
- *   in the print head being driven into the bed until manual intervention.
574
- *   The minimum feedrate calculation is:
575
- *
576
- *     feedrate minimum =  24000 / DEFAULT_AXIS_STEPS_PER_UNIT
577
- *        where feedrate is in "mm/minute" or "inches/minute" depending on the units used
578
- *        in DEFAULT_AXIS_STEPS_PER_UNIT
579
- *
580
- *   This applies to the HOMING_FEEDRATE_Z and Z_PROBE_SPEED_FAST.  If PROBE_DOUBLE_TOUCH
581
- *   is enabled then it also applies to Z_PROBE_SPEED_SLOW.
584
+ * The BLTouch probe is a Hall effect sensor that emulates a servo.
582 585
  */
586
+//#define BLTOUCH
587
+#if ENABLED(BLTOUCH)
588
+  //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
589
+  //#define BLTOUCH_HEATERS_OFF // Enable if the probe seems unreliable. Heaters will be disabled for each probe.
590
+#endif
583 591
 
584 592
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
585 593
 //#define SOLENOID_PROBE
586 594
 
587
-// Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.
595
+// A sled-mounted probe like those designed by Charles Bell.
588 596
 //#define Z_PROBE_SLED
589 597
 //#define SLED_DOCKING_OFFSET 5  // The extra distance the X axis must travel to pickup the sled. 0 should be fine but you can push it further if you'd like.
590 598
 
599
+//
600
+// For Z_PROBE_ALLEN_KEY see the Delta example configurations.
601
+//
602
+
591 603
 /**
592 604
  *   Z Probe to nozzle (X,Y) offset, relative to (0, 0).
593 605
  *   X and Y offsets must be integers.
@@ -624,70 +636,6 @@
624 636
 //#define PROBE_DOUBLE_TOUCH
625 637
 
626 638
 /**
627
- *   Allen Key Probe is defined in the Delta example configurations.
628
- *
629
- *
630
- *   *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
631
- *
632
- *   - RAMPS 1.3/1.4 boards may be able to use the 5V, GND, and Aux4->D32 pin.
633
- *   - Use 5V for powered (usu. inductive) sensors.
634
- *   - Otherwise connect:
635
- *     - normally-closed switches to GND and D32.
636
- *     - normally-open switches to 5V and D32.
637
- *
638
- *   Normally-closed switches are advised and are the default.
639
- *
640
- *
641
- *   PIN OPTIONS\SETUP FOR Z PROBES
642
- *
643
- *
644
- *   WARNING:
645
- *   Setting the wrong pin may have unexpected and potentially disastrous consequences.
646
- *   Use with caution and do your homework.
647
- *
648
- *
649
- *   All Z PROBE pin options are configured by defining (or not defining)
650
- *   the following five items:
651
- *       Z_MIN_PROBE_ENDSTOP – defined below
652
- *       Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN – defined below
653
- *       Z_MIN_PIN - defined in the pins_YOUR_BOARD.h file
654
- *       Z_MIN_PROBE_PIN - defined in the pins_YOUR_BOARD.h file
655
- *
656
- *   If you're using a probe then you need to tell Marlin which pin to use as
657
- *   the Z MIN ENDSTOP.  Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN determines if the
658
- *   Z_MIN_PIN or if the Z_MIN_PROBE_PIN is used.
659
- *
660
- *   The pin selected for the probe is ONLY checked during probing operations.
661
- *   If you want to use the Z_MIN_PIN as an endstop AND you want to have a Z PROBE
662
- *   then you’ll need to use the Z_MIN_PROBE_PIN option.
663
- *
664
- *   Z_MIN_PROBE_ENDSTOP also needs to be enabled if you want to use Z_MIN_PROBE_PIN.
665
- *
666
- *   The settings needed to use the Z_MIN_PROBE_PIN are:
667
- *       1. select the type of probe you're using
668
- *       2. define Z_MIN_PROBE_PIN in your pins_YOUR_BOARD.h file
669
- *       3. disable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
670
- *       4. enable Z_MIN_PROBE_ENDSTOP
671
- *   NOTE – if Z_MIN_PIN is defined then it’ll be checked during all moves in the
672
- *          negative Z direction.
673
- *
674
- *   The settings needed to use the Z_MIN_PIN are:
675
- *       1. select the type of probe you're using
676
- *       2. enable Z_MIN _PIN in your pins_YOUR_BOARD.h file
677
- *       3. enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
678
- *       4. disable Z_MIN_PROBE_ENDSTOP
679
- *   NOTES – if Z_MIN_PROBE_PIN is defined in the pins_YOUR_BOARD.h file then it’ll be
680
- *          ignored by Marlin
681
- */
682
-
683
-//#define Z_MIN_PROBE_ENDSTOP
684
-#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
685
-
686
-
687
-// Enable Z Probe Repeatability test to see how accurate your probe is
688
-//#define Z_MIN_PROBE_REPEATABILITY_TEST
689
-
690
-/**
691 639
  * Z probes require clearance when deploying, stowing, and moving between
692 640
  * probe points to avoid hitting the bed and other hardware.
693 641
  * Servo-mounted probes require extra space for the arm to rotate.
@@ -708,6 +656,9 @@
708 656
 #define Z_PROBE_OFFSET_RANGE_MIN -20
709 657
 #define Z_PROBE_OFFSET_RANGE_MAX 20
710 658
 
659
+// Enable the M48 repeatability test to test probe accuracy
660
+//#define Z_MIN_PROBE_REPEATABILITY_TEST
661
+
711 662
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
712 663
 // :{ 0:'Low', 1:'High' }
713 664
 #define X_ENABLE_ON 1
@@ -726,7 +677,7 @@
726 677
 // @section extruder
727 678
 
728 679
 #define DISABLE_E false // For all extruders
729
-#define DISABLE_INACTIVE_EXTRUDER true //disable only inactive extruders and keep active extruder enabled
680
+#define DISABLE_INACTIVE_EXTRUDER true // Keep only the active extruder enabled.
730 681
 
731 682
 // @section machine
732 683
 

+ 58
- 107
Marlin/example_configurations/Felix/Configuration.h View File

@@ -500,78 +500,90 @@
500 500
 #define DEFAULT_ZJERK                  0.3
501 501
 #define DEFAULT_EJERK                  5.0
502 502
 
503
+//===========================================================================
504
+//============================= Z Probe Options =============================
505
+//===========================================================================
506
+// @section probes
507
+
508
+//
509
+// See http://marlinfw.org/configuration/probes.html
510
+//
503 511
 
504 512
 /**
505
- * ===========================================================================
506
- * ============================= Z Probe Options =============================
507
- * ===========================================================================
508
- *    @section probes
513
+ * Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
509 514
  *
515
+ * Enable this option for a probe connected to the Z Min endstop pin.
516
+ */
517
+#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
518
+
519
+/**
520
+ * Z_MIN_PROBE_ENDSTOP
521
+ *
522
+ * Enable this option for a probe connected to any pin except Z-Min.
523
+ * (By default Marlin assumes the Z-Max endstop pin.)
524
+ * To use a custom Z Probe pin, set Z_MIN_PROBE_PIN below.
510 525
  *
511
- *   Probe Type
512
- *   Probes are sensors/switches that are activated / deactivated before/after use.
526
+ *  - The simplest option is to use a free endstop connector.
527
+ *  - Use 5V for powered (usually inductive) sensors.
513 528
  *
514
- *   Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
515
- *   You must activate one of these to use Auto Bed Leveling below.
529
+ *  - RAMPS 1.3/1.4 boards may use the 5V, GND, and Aux4->D32 pin:
530
+ *    - For simple switches connect...
531
+ *      - normally-closed switches to GND and D32.
532
+ *      - normally-open switches to 5V and D32.
533
+ *
534
+ * WARNING: Setting the wrong pin may have unexpected and potentially
535
+ * disastrous consequences. Use with caution and do your homework.
536
+ *
537
+ */
538
+//#define Z_MIN_PROBE_ENDSTOP
539
+//#define Z_MIN_PROBE_PIN Z_MAX_PIN
540
+
541
+/**
542
+ * Probe Type
516 543
  *
517
- *   Use M851 to set the Z probe vertical offset from the nozzle. Store with M500.
544
+ * Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
545
+ * Activate one of these to use Auto Bed Leveling below.
518 546
  */
519 547
 
520 548
 /**
521
- *   The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe.
522
- *   Use G29 repeatedly, adjusting the Z height at each point with movement commands
523
- *   or (with LCD_BED_LEVELING) the LCD controller.
549
+ * The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe.
550
+ * Use G29 repeatedly, adjusting the Z height at each point with movement commands
551
+ * or (with LCD_BED_LEVELING) the LCD controller.
524 552
  */
525 553
 //#define PROBE_MANUALLY
526 554
 
527 555
 /**
528
- *   A Fix-Mounted Probe either doesn't deploy or needs manual deployment.
529
- *   For example an inductive probe, or a setup that uses the nozzle to probe.
530
- *   An inductive probe must be deactivated to go below
531
- *   its trigger-point if hardware endstops are active.
556
+ * A Fix-Mounted Probe either doesn't deploy or needs manual deployment.
557
+ *   (e.g., an inductive probe or a nozzle-based probe-switch.)
532 558
  */
533 559
 //#define FIX_MOUNTED_PROBE
534 560
 
535 561
 /**
536
- *   Z Servo Probe, such as an endstop switch on a rotating arm.
537
- *   NUM_SERVOS also needs to be set.  This is found later in this file.  Set it to
538
- *   1 + the number of other servos in your system.
562
+ * Z Servo Probe, such as an endstop switch on a rotating arm.
539 563
  */
540 564
 //#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
541 565
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
542 566
 
543
- /**
544
- *   The BLTouch probe emulates a servo probe.
545
- *   If using a BLTouch then NUM_SERVOS, Z_ENDSTOP_SERVO_NR and Z_SERVO_ANGLES
546
- *   are setup for you in the background and you shouldn't need to set/modify/enable them
547
- *   with the possible exception of Z_ENDSTOP_SERVO_NR.
548
- */
549
-//#define BLTOUCH
550
-//#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
551
-//#define BLTOUCH_HEATERS_OFF // if defined the printer's heaters are turned off during probe event
552
-
553 567
 /**
554
- *   BLTouch WARNING  -  ONLY APPLIES TO VERSIONS OF MARLIN BEFORE 15 FEB 2017
555
- *   Unless using interrupt endstops, there is a MINIMUM feedrate for Marlin to reliably
556
- *   sense the BLTouch.  If the feedrate is too slow then G28 & G29 can sometimes result
557
- *   in the print head being driven into the bed until manual intervention.
558
- *   The minimum feedrate calculation is:
559
- *
560
- *     feedrate minimum =  24000 / DEFAULT_AXIS_STEPS_PER_UNIT
561
- *        where feedrate is in "mm/minute" or "inches/minute" depending on the units used
562
- *        in DEFAULT_AXIS_STEPS_PER_UNIT
563
- *
564
- *   This applies to the HOMING_FEEDRATE_Z and Z_PROBE_SPEED_FAST.  If PROBE_DOUBLE_TOUCH
565
- *   is enabled then it also applies to Z_PROBE_SPEED_SLOW.
568
+ * The BLTouch probe is a Hall effect sensor that emulates a servo.
566 569
  */
570
+//#define BLTOUCH
571
+#if ENABLED(BLTOUCH)
572
+  //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
573
+  //#define BLTOUCH_HEATERS_OFF // Enable if the probe seems unreliable. Heaters will be disabled for each probe.
574
+#endif
567 575
 
568 576
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
569 577
 //#define SOLENOID_PROBE
570 578
 
571
-// Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.
579
+// A sled-mounted probe like those designed by Charles Bell.
572 580
 //#define Z_PROBE_SLED
573 581
 //#define SLED_DOCKING_OFFSET 5  // The extra distance the X axis must travel to pickup the sled. 0 should be fine but you can push it further if you'd like.
574 582
 
583
+//
584
+// For Z_PROBE_ALLEN_KEY see the Delta example configurations.
585
+//
586
+
575 587
 /**
576 588
  *   Z Probe to nozzle (X,Y) offset, relative to (0, 0).
577 589
  *   X and Y offsets must be integers.
@@ -608,70 +620,6 @@
608 620
 //#define PROBE_DOUBLE_TOUCH
609 621
 
610 622
 /**
611
- *   Allen Key Probe is defined in the Delta example configurations.
612
- *
613
- *
614
- *   *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
615
- *
616
- *   - RAMPS 1.3/1.4 boards may be able to use the 5V, GND, and Aux4->D32 pin.
617
- *   - Use 5V for powered (usu. inductive) sensors.
618
- *   - Otherwise connect:
619
- *     - normally-closed switches to GND and D32.
620
- *     - normally-open switches to 5V and D32.
621
- *
622
- *   Normally-closed switches are advised and are the default.
623
- *
624
- *
625
- *   PIN OPTIONS\SETUP FOR Z PROBES
626
- *
627
- *
628
- *   WARNING:
629
- *   Setting the wrong pin may have unexpected and potentially disastrous consequences.
630
- *   Use with caution and do your homework.
631
- *
632
- *
633
- *   All Z PROBE pin options are configured by defining (or not defining)
634
- *   the following five items:
635
- *       Z_MIN_PROBE_ENDSTOP – defined below
636
- *       Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN – defined below
637
- *       Z_MIN_PIN - defined in the pins_YOUR_BOARD.h file
638
- *       Z_MIN_PROBE_PIN - defined in the pins_YOUR_BOARD.h file
639
- *
640
- *   If you're using a probe then you need to tell Marlin which pin to use as
641
- *   the Z MIN ENDSTOP.  Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN determines if the
642
- *   Z_MIN_PIN or if the Z_MIN_PROBE_PIN is used.
643
- *
644
- *   The pin selected for the probe is ONLY checked during probing operations.
645
- *   If you want to use the Z_MIN_PIN as an endstop AND you want to have a Z PROBE
646
- *   then you’ll need to use the Z_MIN_PROBE_PIN option.
647
- *
648
- *   Z_MIN_PROBE_ENDSTOP also needs to be enabled if you want to use Z_MIN_PROBE_PIN.
649
- *
650
- *   The settings needed to use the Z_MIN_PROBE_PIN are:
651
- *       1. select the type of probe you're using
652
- *       2. define Z_MIN_PROBE_PIN in your pins_YOUR_BOARD.h file
653
- *       3. disable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
654
- *       4. enable Z_MIN_PROBE_ENDSTOP
655
- *   NOTE – if Z_MIN_PIN is defined then it’ll be checked during all moves in the
656
- *          negative Z direction.
657
- *
658
- *   The settings needed to use the Z_MIN_PIN are:
659
- *       1. select the type of probe you're using
660
- *       2. enable Z_MIN _PIN in your pins_YOUR_BOARD.h file
661
- *       3. enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
662
- *       4. disable Z_MIN_PROBE_ENDSTOP
663
- *   NOTES – if Z_MIN_PROBE_PIN is defined in the pins_YOUR_BOARD.h file then it’ll be
664
- *          ignored by Marlin
665
- */
666
-
667
-//#define Z_MIN_PROBE_ENDSTOP
668
-#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
669
-
670
-
671
-// Enable Z Probe Repeatability test to see how accurate your probe is
672
-//#define Z_MIN_PROBE_REPEATABILITY_TEST
673
-
674
-/**
675 623
  * Z probes require clearance when deploying, stowing, and moving between
676 624
  * probe points to avoid hitting the bed and other hardware.
677 625
  * Servo-mounted probes require extra space for the arm to rotate.
@@ -692,6 +640,9 @@
692 640
 #define Z_PROBE_OFFSET_RANGE_MIN -20
693 641
 #define Z_PROBE_OFFSET_RANGE_MAX 20
694 642
 
643
+// Enable the M48 repeatability test to test probe accuracy
644
+//#define Z_MIN_PROBE_REPEATABILITY_TEST
645
+
695 646
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
696 647
 // :{ 0:'Low', 1:'High' }
697 648
 #define X_ENABLE_ON 0
@@ -710,7 +661,7 @@
710 661
 // @section extruder
711 662
 
712 663
 #define DISABLE_E false // For all extruders
713
-#define DISABLE_INACTIVE_EXTRUDER true //disable only inactive extruders and keep active extruder enabled
664
+#define DISABLE_INACTIVE_EXTRUDER true // Keep only the active extruder enabled.
714 665
 
715 666
 // @section machine
716 667
 

+ 58
- 107
Marlin/example_configurations/Felix/DUAL/Configuration.h View File

@@ -500,78 +500,90 @@
500 500
 #define DEFAULT_ZJERK                  0.3
501 501
 #define DEFAULT_EJERK                  5.0
502 502
 
503
+//===========================================================================
504
+//============================= Z Probe Options =============================
505
+//===========================================================================
506
+// @section probes
507
+
508
+//
509
+// See http://marlinfw.org/configuration/probes.html
510
+//
503 511
 
504 512
 /**
505
- * ===========================================================================
506
- * ============================= Z Probe Options =============================
507
- * ===========================================================================
508
- *    @section probes
513
+ * Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
509 514
  *
515
+ * Enable this option for a probe connected to the Z Min endstop pin.
516
+ */
517
+#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
518
+
519
+/**
520
+ * Z_MIN_PROBE_ENDSTOP
521
+ *
522
+ * Enable this option for a probe connected to any pin except Z-Min.
523
+ * (By default Marlin assumes the Z-Max endstop pin.)
524
+ * To use a custom Z Probe pin, set Z_MIN_PROBE_PIN below.
510 525
  *
511
- *   Probe Type
512
- *   Probes are sensors/switches that are activated / deactivated before/after use.
526
+ *  - The simplest option is to use a free endstop connector.
527
+ *  - Use 5V for powered (usually inductive) sensors.
513 528
  *
514
- *   Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
515
- *   You must activate one of these to use Auto Bed Leveling below.
529
+ *  - RAMPS 1.3/1.4 boards may use the 5V, GND, and Aux4->D32 pin:
530
+ *    - For simple switches connect...
531
+ *      - normally-closed switches to GND and D32.
532
+ *      - normally-open switches to 5V and D32.
533
+ *
534
+ * WARNING: Setting the wrong pin may have unexpected and potentially
535
+ * disastrous consequences. Use with caution and do your homework.
536
+ *
537
+ */
538
+//#define Z_MIN_PROBE_ENDSTOP
539
+//#define Z_MIN_PROBE_PIN Z_MAX_PIN
540
+
541
+/**
542
+ * Probe Type
516 543
  *
517
- *   Use M851 to set the Z probe vertical offset from the nozzle. Store with M500.
544
+ * Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
545
+ * Activate one of these to use Auto Bed Leveling below.
518 546
  */
519 547
 
520 548
 /**
521
- *   The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe.
522
- *   Use G29 repeatedly, adjusting the Z height at each point with movement commands
523
- *   or (with LCD_BED_LEVELING) the LCD controller.
549
+ * The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe.
550
+ * Use G29 repeatedly, adjusting the Z height at each point with movement commands
551
+ * or (with LCD_BED_LEVELING) the LCD controller.
524 552
  */
525 553
 //#define PROBE_MANUALLY
526 554
 
527 555
 /**
528
- *   A Fix-Mounted Probe either doesn't deploy or needs manual deployment.
529
- *   For example an inductive probe, or a setup that uses the nozzle to probe.
530
- *   An inductive probe must be deactivated to go below
531
- *   its trigger-point if hardware endstops are active.
556
+ * A Fix-Mounted Probe either doesn't deploy or needs manual deployment.
557
+ *   (e.g., an inductive probe or a nozzle-based probe-switch.)
532 558
  */
533 559
 //#define FIX_MOUNTED_PROBE
534 560
 
535 561
 /**
536
- *   Z Servo Probe, such as an endstop switch on a rotating arm.
537
- *   NUM_SERVOS also needs to be set.  This is found later in this file.  Set it to
538
- *   1 + the number of other servos in your system.
562
+ * Z Servo Probe, such as an endstop switch on a rotating arm.
539 563
  */
540 564
 //#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
541 565
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
542 566
 
543
- /**
544
- *   The BLTouch probe emulates a servo probe.
545
- *   If using a BLTouch then NUM_SERVOS, Z_ENDSTOP_SERVO_NR and Z_SERVO_ANGLES
546
- *   are setup for you in the background and you shouldn't need to set/modify/enable them
547
- *   with the possible exception of Z_ENDSTOP_SERVO_NR.
548
- */
549
-//#define BLTOUCH
550
-//#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
551
-//#define BLTOUCH_HEATERS_OFF // if defined the printer's heaters are turned off during probe event
552
-
553 567
 /**
554
- *   BLTouch WARNING  -  ONLY APPLIES TO VERSIONS OF MARLIN BEFORE 15 FEB 2017
555
- *   Unless using interrupt endstops, there is a MINIMUM feedrate for Marlin to reliably
556
- *   sense the BLTouch.  If the feedrate is too slow then G28 & G29 can sometimes result
557
- *   in the print head being driven into the bed until manual intervention.
558
- *   The minimum feedrate calculation is:
559
- *
560
- *     feedrate minimum =  24000 / DEFAULT_AXIS_STEPS_PER_UNIT
561
- *        where feedrate is in "mm/minute" or "inches/minute" depending on the units used
562
- *        in DEFAULT_AXIS_STEPS_PER_UNIT
563
- *
564
- *   This applies to the HOMING_FEEDRATE_Z and Z_PROBE_SPEED_FAST.  If PROBE_DOUBLE_TOUCH
565
- *   is enabled then it also applies to Z_PROBE_SPEED_SLOW.
568
+ * The BLTouch probe is a Hall effect sensor that emulates a servo.
566 569
  */
570
+//#define BLTOUCH
571
+#if ENABLED(BLTOUCH)
572
+  //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
573
+  //#define BLTOUCH_HEATERS_OFF // Enable if the probe seems unreliable. Heaters will be disabled for each probe.
574
+#endif
567 575
 
568 576
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
569 577
 //#define SOLENOID_PROBE
570 578
 
571
-// Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.
579
+// A sled-mounted probe like those designed by Charles Bell.
572 580
 //#define Z_PROBE_SLED
573 581
 //#define SLED_DOCKING_OFFSET 5  // The extra distance the X axis must travel to pickup the sled. 0 should be fine but you can push it further if you'd like.
574 582
 
583
+//
584
+// For Z_PROBE_ALLEN_KEY see the Delta example configurations.
585
+//
586
+
575 587
 /**
576 588
  *   Z Probe to nozzle (X,Y) offset, relative to (0, 0).
577 589
  *   X and Y offsets must be integers.
@@ -608,70 +620,6 @@
608 620
 //#define PROBE_DOUBLE_TOUCH
609 621
 
610 622
 /**
611
- *   Allen Key Probe is defined in the Delta example configurations.
612
- *
613
- *
614
- *   *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
615
- *
616
- *   - RAMPS 1.3/1.4 boards may be able to use the 5V, GND, and Aux4->D32 pin.
617
- *   - Use 5V for powered (usu. inductive) sensors.
618
- *   - Otherwise connect:
619
- *     - normally-closed switches to GND and D32.
620
- *     - normally-open switches to 5V and D32.
621
- *
622
- *   Normally-closed switches are advised and are the default.
623
- *
624
- *
625
- *   PIN OPTIONS\SETUP FOR Z PROBES
626
- *
627
- *
628
- *   WARNING:
629
- *   Setting the wrong pin may have unexpected and potentially disastrous consequences.
630
- *   Use with caution and do your homework.
631
- *
632
- *
633
- *   All Z PROBE pin options are configured by defining (or not defining)
634
- *   the following five items:
635
- *       Z_MIN_PROBE_ENDSTOP – defined below
636
- *       Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN – defined below
637
- *       Z_MIN_PIN - defined in the pins_YOUR_BOARD.h file
638
- *       Z_MIN_PROBE_PIN - defined in the pins_YOUR_BOARD.h file
639
- *
640
- *   If you're using a probe then you need to tell Marlin which pin to use as
641
- *   the Z MIN ENDSTOP.  Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN determines if the
642
- *   Z_MIN_PIN or if the Z_MIN_PROBE_PIN is used.
643
- *
644
- *   The pin selected for the probe is ONLY checked during probing operations.
645
- *   If you want to use the Z_MIN_PIN as an endstop AND you want to have a Z PROBE
646
- *   then you’ll need to use the Z_MIN_PROBE_PIN option.
647
- *
648
- *   Z_MIN_PROBE_ENDSTOP also needs to be enabled if you want to use Z_MIN_PROBE_PIN.
649
- *
650
- *   The settings needed to use the Z_MIN_PROBE_PIN are:
651
- *       1. select the type of probe you're using
652
- *       2. define Z_MIN_PROBE_PIN in your pins_YOUR_BOARD.h file
653
- *       3. disable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
654
- *       4. enable Z_MIN_PROBE_ENDSTOP
655
- *   NOTE – if Z_MIN_PIN is defined then it’ll be checked during all moves in the
656
- *          negative Z direction.
657
- *
658
- *   The settings needed to use the Z_MIN_PIN are:
659
- *       1. select the type of probe you're using
660
- *       2. enable Z_MIN _PIN in your pins_YOUR_BOARD.h file
661
- *       3. enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
662
- *       4. disable Z_MIN_PROBE_ENDSTOP
663
- *   NOTES – if Z_MIN_PROBE_PIN is defined in the pins_YOUR_BOARD.h file then it’ll be
664
- *          ignored by Marlin
665
- */
666
-
667
-//#define Z_MIN_PROBE_ENDSTOP
668
-#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
669
-
670
-
671
-// Enable Z Probe Repeatability test to see how accurate your probe is
672
-//#define Z_MIN_PROBE_REPEATABILITY_TEST
673
-
674
-/**
675 623
  * Z probes require clearance when deploying, stowing, and moving between
676 624
  * probe points to avoid hitting the bed and other hardware.
677 625
  * Servo-mounted probes require extra space for the arm to rotate.
@@ -692,6 +640,9 @@
692 640
 #define Z_PROBE_OFFSET_RANGE_MIN -20
693 641
 #define Z_PROBE_OFFSET_RANGE_MAX 20
694 642
 
643
+// Enable the M48 repeatability test to test probe accuracy
644
+//#define Z_MIN_PROBE_REPEATABILITY_TEST
645
+
695 646
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
696 647
 // :{ 0:'Low', 1:'High' }
697 648
 #define X_ENABLE_ON 0
@@ -710,7 +661,7 @@
710 661
 // @section extruder
711 662
 
712 663
 #define DISABLE_E false // For all extruders
713
-#define DISABLE_INACTIVE_EXTRUDER true //disable only inactive extruders and keep active extruder enabled
664
+#define DISABLE_INACTIVE_EXTRUDER true // Keep only the active extruder enabled.
714 665
 
715 666
 // @section machine
716 667
 

+ 59
- 109
Marlin/example_configurations/FolgerTech-i3-2020/Configuration.h View File

@@ -524,78 +524,90 @@
524 524
 #define DEFAULT_EJERK                  4.0
525 525
 
526 526
 
527
+//===========================================================================
528
+//============================= Z Probe Options =============================
529
+//===========================================================================
530
+// @section probes
531
+
532
+//
533
+// See http://marlinfw.org/configuration/probes.html
534
+//
527 535
 
528 536
 /**
529
- * ===========================================================================
530
- * ============================= Z Probe Options =============================
531
- * ===========================================================================
532
- *    @section probes
537
+ * Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
533 538
  *
539
+ * Enable this option for a probe connected to the Z Min endstop pin.
540
+ */
541
+#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
542
+
543
+/**
544
+ * Z_MIN_PROBE_ENDSTOP
545
+ *
546
+ * Enable this option for a probe connected to any pin except Z-Min.
547
+ * (By default Marlin assumes the Z-Max endstop pin.)
548
+ * To use a custom Z Probe pin, set Z_MIN_PROBE_PIN below.
534 549
  *
535
- *   Probe Type
536
- *   Probes are sensors/switches that are activated / deactivated before/after use.
550
+ *  - The simplest option is to use a free endstop connector.
551
+ *  - Use 5V for powered (usually inductive) sensors.
537 552
  *
538
- *   Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
539
- *   You must activate one of these to use Auto Bed Leveling below.
553
+ *  - RAMPS 1.3/1.4 boards may use the 5V, GND, and Aux4->D32 pin:
554
+ *    - For simple switches connect...
555
+ *      - normally-closed switches to GND and D32.
556
+ *      - normally-open switches to 5V and D32.
557
+ *
558
+ * WARNING: Setting the wrong pin may have unexpected and potentially
559
+ * disastrous consequences. Use with caution and do your homework.
560
+ *
561
+ */
562
+//#define Z_MIN_PROBE_ENDSTOP
563
+//#define Z_MIN_PROBE_PIN Z_MAX_PIN
564
+
565
+/**
566
+ * Probe Type
540 567
  *
541
- *   Use M851 to set the Z probe vertical offset from the nozzle. Store with M500.
568
+ * Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
569
+ * Activate one of these to use Auto Bed Leveling below.
542 570
  */
543 571
 
544 572
 /**
545
- *   The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe.
546
- *   Use G29 repeatedly, adjusting the Z height at each point with movement commands
547
- *   or (with LCD_BED_LEVELING) the LCD controller.
573
+ * The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe.
574
+ * Use G29 repeatedly, adjusting the Z height at each point with movement commands
575
+ * or (with LCD_BED_LEVELING) the LCD controller.
548 576
  */
549 577
 //#define PROBE_MANUALLY
550 578
 
551 579
 /**
552
- *   A Fix-Mounted Probe either doesn't deploy or needs manual deployment.
553
- *   For example an inductive probe, or a setup that uses the nozzle to probe.
554
- *   An inductive probe must be deactivated to go below
555
- *   its trigger-point if hardware endstops are active.
580
+ * A Fix-Mounted Probe either doesn't deploy or needs manual deployment.
581
+ *   (e.g., an inductive probe or a nozzle-based probe-switch.)
556 582
  */
557 583
 //#define FIX_MOUNTED_PROBE
558 584
 
559 585
 /**
560
- *   Z Servo Probe, such as an endstop switch on a rotating arm.
561
- *   NUM_SERVOS also needs to be set.  This is found later in this file.  Set it to
562
- *   1 + the number of other servos in your system.
586
+ * Z Servo Probe, such as an endstop switch on a rotating arm.
563 587
  */
564 588
 #define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
565 589
 #define Z_SERVO_ANGLES {40,85}  // Z Servo Deploy and Stow angles
566 590
 
567
- /**
568
- *   The BLTouch probe emulates a servo probe.
569
- *   If using a BLTouch then NUM_SERVOS, Z_ENDSTOP_SERVO_NR and Z_SERVO_ANGLES
570
- *   are setup for you in the background and you shouldn't need to set/modify/enable them
571
- *   with the possible exception of Z_ENDSTOP_SERVO_NR.
572
- */
573
-//#define BLTOUCH
574
-//#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
575
-//#define BLTOUCH_HEATERS_OFF // if defined the printer's heaters are turned off during probe event
576
-
577 591
 /**
578
- *   BLTouch WARNING  -  ONLY APPLIES TO VERSIONS OF MARLIN BEFORE 15 FEB 2017
579
- *   Unless using interrupt endstops, there is a MINIMUM feedrate for Marlin to reliably
580
- *   sense the BLTouch.  If the feedrate is too slow then G28 & G29 can sometimes result
581
- *   in the print head being driven into the bed until manual intervention.
582
- *   The minimum feedrate calculation is:
583
- *
584
- *     feedrate minimum =  24000 / DEFAULT_AXIS_STEPS_PER_UNIT
585
- *        where feedrate is in "mm/minute" or "inches/minute" depending on the units used
586
- *        in DEFAULT_AXIS_STEPS_PER_UNIT
587
- *
588
- *   This applies to the HOMING_FEEDRATE_Z and Z_PROBE_SPEED_FAST.  If PROBE_DOUBLE_TOUCH
589
- *   is enabled then it also applies to Z_PROBE_SPEED_SLOW.
592
+ * The BLTouch probe is a Hall effect sensor that emulates a servo.
590 593
  */
594
+//#define BLTOUCH
595
+#if ENABLED(BLTOUCH)
596
+  //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
597
+  //#define BLTOUCH_HEATERS_OFF // Enable if the probe seems unreliable. Heaters will be disabled for each probe.
598
+#endif
591 599
 
592 600
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
593 601
 //#define SOLENOID_PROBE
594 602
 
595
-// Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.
603
+// A sled-mounted probe like those designed by Charles Bell.
596 604
 //#define Z_PROBE_SLED
597 605
 //#define SLED_DOCKING_OFFSET 5  // The extra distance the X axis must travel to pickup the sled. 0 should be fine but you can push it further if you'd like.
598 606
 
607
+//
608
+// For Z_PROBE_ALLEN_KEY see the Delta example configurations.
609
+//
610
+
599 611
 /**
600 612
  *   Z Probe to nozzle (X,Y) offset, relative to (0, 0).
601 613
  *   X and Y offsets must be integers.
@@ -631,69 +643,6 @@
631 643
 //#define PROBE_DOUBLE_TOUCH
632 644
 
633 645
 /**
634
- *   Allen Key Probe is defined in the Delta example configurations.
635
- *
636
- *
637
- *   *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
638
- *
639
- *   - RAMPS 1.3/1.4 boards may be able to use the 5V, GND, and Aux4->D32 pin.
640
- *   - Use 5V for powered (usu. inductive) sensors.
641
- *   - Otherwise connect:
642
- *     - normally-closed switches to GND and D32.
643
- *     - normally-open switches to 5V and D32.
644
- *
645
- *   Normally-closed switches are advised and are the default.
646
- *
647
- *
648
- *   PIN OPTIONS\SETUP FOR Z PROBES
649
- *
650
- *
651
- *   WARNING:
652
- *   Setting the wrong pin may have unexpected and potentially disastrous consequences.
653
- *   Use with caution and do your homework.
654
- *
655
- *
656
- *   All Z PROBE pin options are configured by defining (or not defining)
657
- *   the following five items:
658
- *       Z_MIN_PROBE_ENDSTOP – defined below
659
- *       Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN – defined below
660
- *       Z_MIN_PIN - defined in the pins_YOUR_BOARD.h file
661
- *       Z_MIN_PROBE_PIN - defined in the pins_YOUR_BOARD.h file
662
- *
663
- *   If you're using a probe then you need to tell Marlin which pin to use as
664
- *   the Z MIN ENDSTOP.  Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN determines if the
665
- *   Z_MIN_PIN or if the Z_MIN_PROBE_PIN is used.
666
- *
667
- *   The pin selected for the probe is ONLY checked during probing operations.
668
- *   If you want to use the Z_MIN_PIN as an endstop AND you want to have a Z PROBE
669
- *   then you’ll need to use the Z_MIN_PROBE_PIN option.
670
- *
671
- *   Z_MIN_PROBE_ENDSTOP also needs to be enabled if you want to use Z_MIN_PROBE_PIN.
672
- *
673
- *   The settings needed to use the Z_MIN_PROBE_PIN are:
674
- *       1. select the type of probe you're using
675
- *       2. define Z_MIN_PROBE_PIN in your pins_YOUR_BOARD.h file
676
- *       3. disable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
677
- *       4. enable Z_MIN_PROBE_ENDSTOP
678
- *   NOTE – if Z_MIN_PIN is defined then it’ll be checked during all moves in the
679
- *          negative Z direction.
680
- *
681
- *   The settings needed to use the Z_MIN_PIN are:
682
- *       1. select the type of probe you're using
683
- *       2. enable Z_MIN _PIN in your pins_YOUR_BOARD.h file
684
- *       3. enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
685
- *       4. disable Z_MIN_PROBE_ENDSTOP
686
- *   NOTES – if Z_MIN_PROBE_PIN is defined in the pins_YOUR_BOARD.h file then it’ll be
687
- *          ignored by Marlin
688
- */
689
-
690
-//#define Z_MIN_PROBE_ENDSTOP
691
-#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
692
-
693
-// Enable Z Probe Repeatability test to see how accurate your probe is
694
-#define Z_MIN_PROBE_REPEATABILITY_TEST
695
-
696
-/**
697 646
  * Z probes require clearance when deploying, stowing, and moving between
698 647
  * probe points to avoid hitting the bed and other hardware.
699 648
  * Servo-mounted probes require extra space for the arm to rotate.
@@ -710,11 +659,12 @@
710 659
 #define Z_CLEARANCE_DEPLOY_PROBE    3 // Z Clearance for Deploy/Stow
711 660
 #define Z_CLEARANCE_BETWEEN_PROBES  3 // Z Clearance between probe points
712 661
 
713
-
714
-// For M851 give a range for adjusting the Z probe offset
715
-#define Z_PROBE_OFFSET_RANGE_MIN -20
662
+// For M851 give a range for adjusting the Z probe offset#define Z_PROBE_OFFSET_RANGE_MIN -20
716 663
 #define Z_PROBE_OFFSET_RANGE_MAX 20
717 664
 
665
+// Enable the M48 repeatability test to test probe accuracy
666
+#define Z_MIN_PROBE_REPEATABILITY_TEST
667
+
718 668
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
719 669
 // :{ 0:'Low', 1:'High' }
720 670
 #define X_ENABLE_ON 0
@@ -733,7 +683,7 @@
733 683
 // @section extruder
734 684
 
735 685
 #define DISABLE_E false // For all extruders
736
-#define DISABLE_INACTIVE_EXTRUDER true //disable only inactive extruders and keep active extruder enabled
686
+#define DISABLE_INACTIVE_EXTRUDER true // Keep only the active extruder enabled.
737 687
 
738 688
 // @section machine
739 689
 

+ 58
- 107
Marlin/example_configurations/Hephestos/Configuration.h View File

@@ -508,78 +508,90 @@
508 508
 #define DEFAULT_ZJERK                  0.4
509 509
 #define DEFAULT_EJERK                  5.0
510 510
 
511
+//===========================================================================
512
+//============================= Z Probe Options =============================
513
+//===========================================================================
514
+// @section probes
515
+
516
+//
517
+// See http://marlinfw.org/configuration/probes.html
518
+//
511 519
 
512 520
 /**
513
- * ===========================================================================
514
- * ============================= Z Probe Options =============================
515
- * ===========================================================================
516
- *    @section probes
521
+ * Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
517 522
  *
523
+ * Enable this option for a probe connected to the Z Min endstop pin.
524
+ */
525
+//#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
526
+
527
+/**
528
+ * Z_MIN_PROBE_ENDSTOP
529
+ *
530
+ * Enable this option for a probe connected to any pin except Z-Min.
531
+ * (By default Marlin assumes the Z-Max endstop pin.)
532
+ * To use a custom Z Probe pin, set Z_MIN_PROBE_PIN below.
518 533
  *
519
- *   Probe Type
520
- *   Probes are sensors/switches that are activated / deactivated before/after use.
534
+ *  - The simplest option is to use a free endstop connector.
535
+ *  - Use 5V for powered (usually inductive) sensors.
521 536
  *
522
- *   Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
523
- *   You must activate one of these to use Auto Bed Leveling below.
537
+ *  - RAMPS 1.3/1.4 boards may use the 5V, GND, and Aux4->D32 pin:
538
+ *    - For simple switches connect...
539
+ *      - normally-closed switches to GND and D32.
540
+ *      - normally-open switches to 5V and D32.
541
+ *
542
+ * WARNING: Setting the wrong pin may have unexpected and potentially
543
+ * disastrous consequences. Use with caution and do your homework.
544
+ *
545
+ */
546
+#define Z_MIN_PROBE_ENDSTOP
547
+//#define Z_MIN_PROBE_PIN Z_MAX_PIN
548
+
549
+/**
550
+ * Probe Type
524 551
  *
525
- *   Use M851 to set the Z probe vertical offset from the nozzle. Store with M500.
552
+ * Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
553
+ * Activate one of these to use Auto Bed Leveling below.
526 554
  */
527 555
 
528 556
 /**
529
- *   The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe.
530
- *   Use G29 repeatedly, adjusting the Z height at each point with movement commands
531
- *   or (with LCD_BED_LEVELING) the LCD controller.
557
+ * The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe.
558
+ * Use G29 repeatedly, adjusting the Z height at each point with movement commands
559
+ * or (with LCD_BED_LEVELING) the LCD controller.
532 560
  */
533 561
 //#define PROBE_MANUALLY
534 562
 
535 563
 /**
536
- *   A Fix-Mounted Probe either doesn't deploy or needs manual deployment.
537
- *   For example an inductive probe, or a setup that uses the nozzle to probe.
538
- *   An inductive probe must be deactivated to go below
539
- *   its trigger-point if hardware endstops are active.
564
+ * A Fix-Mounted Probe either doesn't deploy or needs manual deployment.
565
+ *   (e.g., an inductive probe or a nozzle-based probe-switch.)
540 566
  */
541 567
 //#define FIX_MOUNTED_PROBE
542 568
 
543 569
 /**
544
- *   Z Servo Probe, such as an endstop switch on a rotating arm.
545
- *   NUM_SERVOS also needs to be set.  This is found later in this file.  Set it to
546
- *   1 + the number of other servos in your system.
570
+ * Z Servo Probe, such as an endstop switch on a rotating arm.
547 571
  */
548 572
 //#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
549 573
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
550 574
 
551
- /**
552
- *   The BLTouch probe emulates a servo probe.
553
- *   If using a BLTouch then NUM_SERVOS, Z_ENDSTOP_SERVO_NR and Z_SERVO_ANGLES
554
- *   are setup for you in the background and you shouldn't need to set/modify/enable them
555
- *   with the possible exception of Z_ENDSTOP_SERVO_NR.
556
- */
557
-//#define BLTOUCH
558
-//#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
559
-//#define BLTOUCH_HEATERS_OFF // if defined the printer's heaters are turned off during probe event
560
-
561 575
 /**
562
- *   BLTouch WARNING  -  ONLY APPLIES TO VERSIONS OF MARLIN BEFORE 15 FEB 2017
563
- *   Unless using interrupt endstops, there is a MINIMUM feedrate for Marlin to reliably
564
- *   sense the BLTouch.  If the feedrate is too slow then G28 & G29 can sometimes result
565
- *   in the print head being driven into the bed until manual intervention.
566
- *   The minimum feedrate calculation is:
567
- *
568
- *     feedrate minimum =  24000 / DEFAULT_AXIS_STEPS_PER_UNIT
569
- *        where feedrate is in "mm/minute" or "inches/minute" depending on the units used
570
- *        in DEFAULT_AXIS_STEPS_PER_UNIT
571
- *
572
- *   This applies to the HOMING_FEEDRATE_Z and Z_PROBE_SPEED_FAST.  If PROBE_DOUBLE_TOUCH
573
- *   is enabled then it also applies to Z_PROBE_SPEED_SLOW.
576
+ * The BLTouch probe is a Hall effect sensor that emulates a servo.
574 577
  */
578
+//#define BLTOUCH
579
+#if ENABLED(BLTOUCH)
580
+  //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
581
+  //#define BLTOUCH_HEATERS_OFF // Enable if the probe seems unreliable. Heaters will be disabled for each probe.
582
+#endif
575 583
 
576 584
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
577 585
 //#define SOLENOID_PROBE
578 586
 
579
-// Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.
587
+// A sled-mounted probe like those designed by Charles Bell.
580 588
 //#define Z_PROBE_SLED
581 589
 //#define SLED_DOCKING_OFFSET 5  // The extra distance the X axis must travel to pickup the sled. 0 should be fine but you can push it further if you'd like.
582 590
 
591
+//
592
+// For Z_PROBE_ALLEN_KEY see the Delta example configurations.
593
+//
594
+
583 595
 /**
584 596
  *   Z Probe to nozzle (X,Y) offset, relative to (0, 0).
585 597
  *   X and Y offsets must be integers.
@@ -616,70 +628,6 @@
616 628
 //#define PROBE_DOUBLE_TOUCH
617 629
 
618 630
 /**
619
- *   Allen Key Probe is defined in the Delta example configurations.
620
- *
621
- *
622
- *   *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
623
- *
624
- *   - RAMPS 1.3/1.4 boards may be able to use the 5V, GND, and Aux4->D32 pin.
625
- *   - Use 5V for powered (usu. inductive) sensors.
626
- *   - Otherwise connect:
627
- *     - normally-closed switches to GND and D32.
628
- *     - normally-open switches to 5V and D32.
629
- *
630
- *   Normally-closed switches are advised and are the default.
631
- *
632
- *
633
- *   PIN OPTIONS\SETUP FOR Z PROBES
634
- *
635
- *
636
- *   WARNING:
637
- *   Setting the wrong pin may have unexpected and potentially disastrous consequences.
638
- *   Use with caution and do your homework.
639
- *
640
- *
641
- *   All Z PROBE pin options are configured by defining (or not defining)
642
- *   the following five items:
643
- *       Z_MIN_PROBE_ENDSTOP – defined below
644
- *       Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN – defined below
645
- *       Z_MIN_PIN - defined in the pins_YOUR_BOARD.h file
646
- *       Z_MIN_PROBE_PIN - defined in the pins_YOUR_BOARD.h file
647
- *
648
- *   If you're using a probe then you need to tell Marlin which pin to use as
649
- *   the Z MIN ENDSTOP.  Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN determines if the
650
- *   Z_MIN_PIN or if the Z_MIN_PROBE_PIN is used.
651
- *
652
- *   The pin selected for the probe is ONLY checked during probing operations.
653
- *   If you want to use the Z_MIN_PIN as an endstop AND you want to have a Z PROBE
654
- *   then you’ll need to use the Z_MIN_PROBE_PIN option.
655
- *
656
- *   Z_MIN_PROBE_ENDSTOP also needs to be enabled if you want to use Z_MIN_PROBE_PIN.
657
- *
658
- *   The settings needed to use the Z_MIN_PROBE_PIN are:
659
- *       1. select the type of probe you're using
660
- *       2. define Z_MIN_PROBE_PIN in your pins_YOUR_BOARD.h file
661
- *       3. disable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
662
- *       4. enable Z_MIN_PROBE_ENDSTOP
663
- *   NOTE – if Z_MIN_PIN is defined then it’ll be checked during all moves in the
664
- *          negative Z direction.
665
- *
666
- *   The settings needed to use the Z_MIN_PIN are:
667
- *       1. select the type of probe you're using
668
- *       2. enable Z_MIN _PIN in your pins_YOUR_BOARD.h file
669
- *       3. enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
670
- *       4. disable Z_MIN_PROBE_ENDSTOP
671
- *   NOTES – if Z_MIN_PROBE_PIN is defined in the pins_YOUR_BOARD.h file then it’ll be
672
- *          ignored by Marlin
673
- */
674
-
675
-#define Z_MIN_PROBE_ENDSTOP
676
-//#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
677
-
678
-
679
-// Enable Z Probe Repeatability test to see how accurate your probe is
680
-//#define Z_MIN_PROBE_REPEATABILITY_TEST
681
-
682
-/**
683 631
  * Z probes require clearance when deploying, stowing, and moving between
684 632
  * probe points to avoid hitting the bed and other hardware.
685 633
  * Servo-mounted probes require extra space for the arm to rotate.
@@ -700,6 +648,9 @@
700 648
 #define Z_PROBE_OFFSET_RANGE_MIN -20
701 649
 #define Z_PROBE_OFFSET_RANGE_MAX 20
702 650
 
651
+// Enable the M48 repeatability test to test probe accuracy
652
+//#define Z_MIN_PROBE_REPEATABILITY_TEST
653
+
703 654
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
704 655
 // :{ 0:'Low', 1:'High' }
705 656
 #define X_ENABLE_ON 0
@@ -718,7 +669,7 @@
718 669
 // @section extruder
719 670
 
720 671
 #define DISABLE_E false // For all extruders
721
-#define DISABLE_INACTIVE_EXTRUDER true //disable only inactive extruders and keep active extruder enabled
672
+#define DISABLE_INACTIVE_EXTRUDER true // Keep only the active extruder enabled.
722 673
 
723 674
 // @section machine
724 675
 

+ 58
- 107
Marlin/example_configurations/Hephestos_2/Configuration.h View File

@@ -511,78 +511,90 @@
511 511
 #define DEFAULT_ZJERK                  0.4
512 512
 #define DEFAULT_EJERK                  1.0
513 513
 
514
+//===========================================================================
515
+//============================= Z Probe Options =============================
516
+//===========================================================================
517
+// @section probes
518
+
519
+//
520
+// See http://marlinfw.org/configuration/probes.html
521
+//
514 522
 
515 523
 /**
516
- * ===========================================================================
517
- * ============================= Z Probe Options =============================
518
- * ===========================================================================
519
- *    @section probes
524
+ * Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
520 525
  *
526
+ * Enable this option for a probe connected to the Z Min endstop pin.
527
+ */
528
+#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
529
+
530
+/**
531
+ * Z_MIN_PROBE_ENDSTOP
532
+ *
533
+ * Enable this option for a probe connected to any pin except Z-Min.
534
+ * (By default Marlin assumes the Z-Max endstop pin.)
535
+ * To use a custom Z Probe pin, set Z_MIN_PROBE_PIN below.
521 536
  *
522
- *   Probe Type
523
- *   Probes are sensors/switches that are activated / deactivated before/after use.
537
+ *  - The simplest option is to use a free endstop connector.
538
+ *  - Use 5V for powered (usually inductive) sensors.
524 539
  *
525
- *   Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
526
- *   You must activate one of these to use Auto Bed Leveling below.
540
+ *  - RAMPS 1.3/1.4 boards may use the 5V, GND, and Aux4->D32 pin:
541
+ *    - For simple switches connect...
542
+ *      - normally-closed switches to GND and D32.
543
+ *      - normally-open switches to 5V and D32.
544
+ *
545
+ * WARNING: Setting the wrong pin may have unexpected and potentially
546
+ * disastrous consequences. Use with caution and do your homework.
547
+ *
548
+ */
549
+//#define Z_MIN_PROBE_ENDSTOP
550
+//#define Z_MIN_PROBE_PIN Z_MAX_PIN
551
+
552
+/**
553
+ * Probe Type
527 554
  *
528
- *   Use M851 to set the Z probe vertical offset from the nozzle. Store with M500.
555
+ * Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
556
+ * Activate one of these to use Auto Bed Leveling below.
529 557
  */
530 558
 
531 559
 /**
532
- *   The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe.
533
- *   Use G29 repeatedly, adjusting the Z height at each point with movement commands
534
- *   or (with LCD_BED_LEVELING) the LCD controller.
560
+ * The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe.
561
+ * Use G29 repeatedly, adjusting the Z height at each point with movement commands
562
+ * or (with LCD_BED_LEVELING) the LCD controller.
535 563
  */
536 564
 //#define PROBE_MANUALLY
537 565
 
538 566
 /**
539
- *   A Fix-Mounted Probe either doesn't deploy or needs manual deployment.
540
- *   For example an inductive probe, or a setup that uses the nozzle to probe.
541
- *   An inductive probe must be deactivated to go below
542
- *   its trigger-point if hardware endstops are active.
567
+ * A Fix-Mounted Probe either doesn't deploy or needs manual deployment.
568
+ *   (e.g., an inductive probe or a nozzle-based probe-switch.)
543 569
  */
544 570
 #define FIX_MOUNTED_PROBE
545 571
 
546 572
 /**
547
- *   Z Servo Probe, such as an endstop switch on a rotating arm.
548
- *   NUM_SERVOS also needs to be set.  This is found later in this file.  Set it to
549
- *   1 + the number of other servos in your system.
573
+ * Z Servo Probe, such as an endstop switch on a rotating arm.
550 574
  */
551 575
 //#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
552 576
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
553 577
 
554
- /**
555
- *   The BLTouch probe emulates a servo probe.
556
- *   If using a BLTouch then NUM_SERVOS, Z_ENDSTOP_SERVO_NR and Z_SERVO_ANGLES
557
- *   are setup for you in the background and you shouldn't need to set/modify/enable them
558
- *   with the possible exception of Z_ENDSTOP_SERVO_NR.
559
- */
560
-//#define BLTOUCH
561
-//#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
562
-//#define BLTOUCH_HEATERS_OFF // if defined the printer's heaters are turned off during probe event
563
-
564 578
 /**
565
- *   BLTouch WARNING  -  ONLY APPLIES TO VERSIONS OF MARLIN BEFORE 15 FEB 2017
566
- *   Unless using interrupt endstops, there is a MINIMUM feedrate for Marlin to reliably
567
- *   sense the BLTouch.  If the feedrate is too slow then G28 & G29 can sometimes result
568
- *   in the print head being driven into the bed until manual intervention.
569
- *   The minimum feedrate calculation is:
570
- *
571
- *     feedrate minimum =  24000 / DEFAULT_AXIS_STEPS_PER_UNIT
572
- *        where feedrate is in "mm/minute" or "inches/minute" depending on the units used
573
- *        in DEFAULT_AXIS_STEPS_PER_UNIT
574
- *
575
- *   This applies to the HOMING_FEEDRATE_Z and Z_PROBE_SPEED_FAST.  If PROBE_DOUBLE_TOUCH
576
- *   is enabled then it also applies to Z_PROBE_SPEED_SLOW.
579
+ * The BLTouch probe is a Hall effect sensor that emulates a servo.
577 580
  */
581
+//#define BLTOUCH
582
+#if ENABLED(BLTOUCH)
583
+  //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
584
+  //#define BLTOUCH_HEATERS_OFF // Enable if the probe seems unreliable. Heaters will be disabled for each probe.
585
+#endif
578 586
 
579 587
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
580 588
 //#define SOLENOID_PROBE
581 589
 
582
-// Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.
590
+// A sled-mounted probe like those designed by Charles Bell.
583 591
 //#define Z_PROBE_SLED
584 592
 //#define SLED_DOCKING_OFFSET 5  // The extra distance the X axis must travel to pickup the sled. 0 should be fine but you can push it further if you'd like.
585 593
 
594
+//
595
+// For Z_PROBE_ALLEN_KEY see the Delta example configurations.
596
+//
597
+
586 598
 /**
587 599
  *   Z Probe to nozzle (X,Y) offset, relative to (0, 0).
588 600
  *   X and Y offsets must be integers.
@@ -619,70 +631,6 @@
619 631
 //#define PROBE_DOUBLE_TOUCH
620 632
 
621 633
 /**
622
- *   Allen Key Probe is defined in the Delta example configurations.
623
- *
624
- *
625
- *   *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
626
- *
627
- *   - RAMPS 1.3/1.4 boards may be able to use the 5V, GND, and Aux4->D32 pin.
628
- *   - Use 5V for powered (usu. inductive) sensors.
629
- *   - Otherwise connect:
630
- *     - normally-closed switches to GND and D32.
631
- *     - normally-open switches to 5V and D32.
632
- *
633
- *   Normally-closed switches are advised and are the default.
634
- *
635
- *
636
- *   PIN OPTIONS\SETUP FOR Z PROBES
637
- *
638
- *
639
- *   WARNING:
640
- *   Setting the wrong pin may have unexpected and potentially disastrous consequences.
641
- *   Use with caution and do your homework.
642
- *
643
- *
644
- *   All Z PROBE pin options are configured by defining (or not defining)
645
- *   the following five items:
646
- *       Z_MIN_PROBE_ENDSTOP – defined below
647
- *       Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN – defined below
648
- *       Z_MIN_PIN - defined in the pins_YOUR_BOARD.h file
649
- *       Z_MIN_PROBE_PIN - defined in the pins_YOUR_BOARD.h file
650
- *
651
- *   If you're using a probe then you need to tell Marlin which pin to use as
652
- *   the Z MIN ENDSTOP.  Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN determines if the
653
- *   Z_MIN_PIN or if the Z_MIN_PROBE_PIN is used.
654
- *
655
- *   The pin selected for the probe is ONLY checked during probing operations.
656
- *   If you want to use the Z_MIN_PIN as an endstop AND you want to have a Z PROBE
657
- *   then you’ll need to use the Z_MIN_PROBE_PIN option.
658
- *
659
- *   Z_MIN_PROBE_ENDSTOP also needs to be enabled if you want to use Z_MIN_PROBE_PIN.
660
- *
661
- *   The settings needed to use the Z_MIN_PROBE_PIN are:
662
- *       1. select the type of probe you're using
663
- *       2. define Z_MIN_PROBE_PIN in your pins_YOUR_BOARD.h file
664
- *       3. disable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
665
- *       4. enable Z_MIN_PROBE_ENDSTOP
666
- *   NOTE – if Z_MIN_PIN is defined then it’ll be checked during all moves in the
667
- *          negative Z direction.
668
- *
669
- *   The settings needed to use the Z_MIN_PIN are:
670
- *       1. select the type of probe you're using
671
- *       2. enable Z_MIN _PIN in your pins_YOUR_BOARD.h file
672
- *       3. enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
673
- *       4. disable Z_MIN_PROBE_ENDSTOP
674
- *   NOTES – if Z_MIN_PROBE_PIN is defined in the pins_YOUR_BOARD.h file then it’ll be
675
- *          ignored by Marlin
676
- */
677
-
678
-//#define Z_MIN_PROBE_ENDSTOP
679
-#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
680
-
681
-
682
-// Enable Z Probe Repeatability test to see how accurate your probe is
683
-//#define Z_MIN_PROBE_REPEATABILITY_TEST
684
-
685
-/**
686 634
  * Z probes require clearance when deploying, stowing, and moving between
687 635
  * probe points to avoid hitting the bed and other hardware.
688 636
  * Servo-mounted probes require extra space for the arm to rotate.
@@ -703,6 +651,9 @@
703 651
 #define Z_PROBE_OFFSET_RANGE_MIN -2
704 652
 #define Z_PROBE_OFFSET_RANGE_MAX  0
705 653
 
654
+// Enable the M48 repeatability test to test probe accuracy
655
+//#define Z_MIN_PROBE_REPEATABILITY_TEST
656
+
706 657
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
707 658
 // :{ 0:'Low', 1:'High' }
708 659
 #define X_ENABLE_ON 0
@@ -721,7 +672,7 @@
721 672
 // @section extruder
722 673
 
723 674
 #define DISABLE_E false // For all extruders
724
-#define DISABLE_INACTIVE_EXTRUDER true //disable only inactive extruders and keep active extruder enabled
675
+#define DISABLE_INACTIVE_EXTRUDER true // Keep only the active extruder enabled.
725 676
 
726 677
 // @section machine
727 678
 

+ 58
- 107
Marlin/example_configurations/K8200/Configuration.h View File

@@ -546,78 +546,90 @@
546 546
 #define DEFAULT_ZJERK                  0.4
547 547
 #define DEFAULT_EJERK                  5.0
548 548
 
549
+//===========================================================================
550
+//============================= Z Probe Options =============================
551
+//===========================================================================
552
+// @section probes
553
+
554
+//
555
+// See http://marlinfw.org/configuration/probes.html
556
+//
549 557
 
550 558
 /**
551
- * ===========================================================================
552
- * ============================= Z Probe Options =============================
553
- * ===========================================================================
554
- *    @section probes
559
+ * Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
555 560
  *
561
+ * Enable this option for a probe connected to the Z Min endstop pin.
562
+ */
563
+#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
564
+
565
+/**
566
+ * Z_MIN_PROBE_ENDSTOP
567
+ *
568
+ * Enable this option for a probe connected to any pin except Z-Min.
569
+ * (By default Marlin assumes the Z-Max endstop pin.)
570
+ * To use a custom Z Probe pin, set Z_MIN_PROBE_PIN below.
556 571
  *
557
- *   Probe Type
558
- *   Probes are sensors/switches that are activated / deactivated before/after use.
572
+ *  - The simplest option is to use a free endstop connector.
573
+ *  - Use 5V for powered (usually inductive) sensors.
559 574
  *
560
- *   Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
561
- *   You must activate one of these to use Auto Bed Leveling below.
575
+ *  - RAMPS 1.3/1.4 boards may use the 5V, GND, and Aux4->D32 pin:
576
+ *    - For simple switches connect...
577
+ *      - normally-closed switches to GND and D32.
578
+ *      - normally-open switches to 5V and D32.
579
+ *
580
+ * WARNING: Setting the wrong pin may have unexpected and potentially
581
+ * disastrous consequences. Use with caution and do your homework.
582
+ *
583
+ */
584
+//#define Z_MIN_PROBE_ENDSTOP
585
+//#define Z_MIN_PROBE_PIN Z_MAX_PIN
586
+
587
+/**
588
+ * Probe Type
562 589
  *
563
- *   Use M851 to set the Z probe vertical offset from the nozzle. Store with M500.
590
+ * Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
591
+ * Activate one of these to use Auto Bed Leveling below.
564 592
  */
565 593
 
566 594
 /**
567
- *   The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe.
568
- *   Use G29 repeatedly, adjusting the Z height at each point with movement commands
569
- *   or (with LCD_BED_LEVELING) the LCD controller.
595
+ * The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe.
596
+ * Use G29 repeatedly, adjusting the Z height at each point with movement commands
597
+ * or (with LCD_BED_LEVELING) the LCD controller.
570 598
  */
571 599
 //#define PROBE_MANUALLY
572 600
 
573 601
 /**
574
- *   A Fix-Mounted Probe either doesn't deploy or needs manual deployment.
575
- *   For example an inductive probe, or a setup that uses the nozzle to probe.
576
- *   An inductive probe must be deactivated to go below
577
- *   its trigger-point if hardware endstops are active.
602
+ * A Fix-Mounted Probe either doesn't deploy or needs manual deployment.
603
+ *   (e.g., an inductive probe or a nozzle-based probe-switch.)
578 604
  */
579 605
 //#define FIX_MOUNTED_PROBE
580 606
 
581 607
 /**
582
- *   Z Servo Probe, such as an endstop switch on a rotating arm.
583
- *   NUM_SERVOS also needs to be set.  This is found later in this file.  Set it to
584
- *   1 + the number of other servos in your system.
608
+ * Z Servo Probe, such as an endstop switch on a rotating arm.
585 609
  */
586 610
 //#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
587 611
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
588 612
 
589
- /**
590
- *   The BLTouch probe emulates a servo probe.
591
- *   If using a BLTouch then NUM_SERVOS, Z_ENDSTOP_SERVO_NR and Z_SERVO_ANGLES
592
- *   are setup for you in the background and you shouldn't need to set/modify/enable them
593
- *   with the possible exception of Z_ENDSTOP_SERVO_NR.
594
- */
595
-//#define BLTOUCH
596
-//#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
597
-//#define BLTOUCH_HEATERS_OFF // if defined the printer's heaters are turned off during probe event
598
-
599 613
 /**
600
- *   BLTouch WARNING  -  ONLY APPLIES TO VERSIONS OF MARLIN BEFORE 15 FEB 2017
601
- *   Unless using interrupt endstops, there is a MINIMUM feedrate for Marlin to reliably
602
- *   sense the BLTouch.  If the feedrate is too slow then G28 & G29 can sometimes result
603
- *   in the print head being driven into the bed until manual intervention.
604
- *   The minimum feedrate calculation is:
605
- *
606
- *     feedrate minimum =  24000 / DEFAULT_AXIS_STEPS_PER_UNIT
607
- *        where feedrate is in "mm/minute" or "inches/minute" depending on the units used
608
- *        in DEFAULT_AXIS_STEPS_PER_UNIT
609
- *
610
- *   This applies to the HOMING_FEEDRATE_Z and Z_PROBE_SPEED_FAST.  If PROBE_DOUBLE_TOUCH
611
- *   is enabled then it also applies to Z_PROBE_SPEED_SLOW.
614
+ * The BLTouch probe is a Hall effect sensor that emulates a servo.
612 615
  */
616
+//#define BLTOUCH
617
+#if ENABLED(BLTOUCH)
618
+  //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
619
+  //#define BLTOUCH_HEATERS_OFF // Enable if the probe seems unreliable. Heaters will be disabled for each probe.
620
+#endif
613 621
 
614 622
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
615 623
 //#define SOLENOID_PROBE
616 624
 
617
-// Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.
625
+// A sled-mounted probe like those designed by Charles Bell.
618 626
 //#define Z_PROBE_SLED
619 627
 //#define SLED_DOCKING_OFFSET 5  // The extra distance the X axis must travel to pickup the sled. 0 should be fine but you can push it further if you'd like.
620 628
 
629
+//
630
+// For Z_PROBE_ALLEN_KEY see the Delta example configurations.
631
+//
632
+
621 633
 /**
622 634
  *   Z Probe to nozzle (X,Y) offset, relative to (0, 0).
623 635
  *   X and Y offsets must be integers.
@@ -654,70 +666,6 @@
654 666
 //#define PROBE_DOUBLE_TOUCH
655 667
 
656 668
 /**
657
- *   Allen Key Probe is defined in the Delta example configurations.
658
- *
659
- *
660
- *   *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
661
- *
662
- *   - RAMPS 1.3/1.4 boards may be able to use the 5V, GND, and Aux4->D32 pin.
663
- *   - Use 5V for powered (usu. inductive) sensors.
664
- *   - Otherwise connect:
665
- *     - normally-closed switches to GND and D32.
666
- *     - normally-open switches to 5V and D32.
667
- *
668
- *   Normally-closed switches are advised and are the default.
669
- *
670
- *
671
- *   PIN OPTIONS\SETUP FOR Z PROBES
672
- *
673
- *
674
- *   WARNING:
675
- *   Setting the wrong pin may have unexpected and potentially disastrous consequences.
676
- *   Use with caution and do your homework.
677
- *
678
- *
679
- *   All Z PROBE pin options are configured by defining (or not defining)
680
- *   the following five items:
681
- *       Z_MIN_PROBE_ENDSTOP – defined below
682
- *       Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN – defined below
683
- *       Z_MIN_PIN - defined in the pins_YOUR_BOARD.h file
684
- *       Z_MIN_PROBE_PIN - defined in the pins_YOUR_BOARD.h file
685
- *
686
- *   If you're using a probe then you need to tell Marlin which pin to use as
687
- *   the Z MIN ENDSTOP.  Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN determines if the
688
- *   Z_MIN_PIN or if the Z_MIN_PROBE_PIN is used.
689
- *
690
- *   The pin selected for the probe is ONLY checked during probing operations.
691
- *   If you want to use the Z_MIN_PIN as an endstop AND you want to have a Z PROBE
692
- *   then you’ll need to use the Z_MIN_PROBE_PIN option.
693
- *
694
- *   Z_MIN_PROBE_ENDSTOP also needs to be enabled if you want to use Z_MIN_PROBE_PIN.
695
- *
696
- *   The settings needed to use the Z_MIN_PROBE_PIN are:
697
- *       1. select the type of probe you're using
698
- *       2. define Z_MIN_PROBE_PIN in your pins_YOUR_BOARD.h file
699
- *       3. disable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
700
- *       4. enable Z_MIN_PROBE_ENDSTOP
701
- *   NOTE – if Z_MIN_PIN is defined then it’ll be checked during all moves in the
702
- *          negative Z direction.
703
- *
704
- *   The settings needed to use the Z_MIN_PIN are:
705
- *       1. select the type of probe you're using
706
- *       2. enable Z_MIN _PIN in your pins_YOUR_BOARD.h file
707
- *       3. enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
708
- *       4. disable Z_MIN_PROBE_ENDSTOP
709
- *   NOTES – if Z_MIN_PROBE_PIN is defined in the pins_YOUR_BOARD.h file then it’ll be
710
- *          ignored by Marlin
711
- */
712
-
713
-//#define Z_MIN_PROBE_ENDSTOP
714
-#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
715
-
716
-
717
-// Enable Z Probe Repeatability test to see how accurate your probe is
718
-//#define Z_MIN_PROBE_REPEATABILITY_TEST
719
-
720
-/**
721 669
  * Z probes require clearance when deploying, stowing, and moving between
722 670
  * probe points to avoid hitting the bed and other hardware.
723 671
  * Servo-mounted probes require extra space for the arm to rotate.
@@ -738,6 +686,9 @@
738 686
 #define Z_PROBE_OFFSET_RANGE_MIN -20
739 687
 #define Z_PROBE_OFFSET_RANGE_MAX 20
740 688
 
689
+// Enable the M48 repeatability test to test probe accuracy
690
+//#define Z_MIN_PROBE_REPEATABILITY_TEST
691
+
741 692
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
742 693
 // :{ 0:'Low', 1:'High' }
743 694
 #define X_ENABLE_ON 0
@@ -756,7 +707,7 @@
756 707
 // @section extruder
757 708
 
758 709
 #define DISABLE_E false // For all extruders
759
-#define DISABLE_INACTIVE_EXTRUDER true //disable only inactive extruders and keep active extruder enabled
710
+#define DISABLE_INACTIVE_EXTRUDER true // Keep only the active extruder enabled.
760 711
 
761 712
 // @section machine
762 713
 

+ 58
- 107
Marlin/example_configurations/K8400/Configuration.h View File

@@ -517,78 +517,90 @@
517 517
 #define DEFAULT_ZJERK                  0.5
518 518
 #define DEFAULT_EJERK                 20.0
519 519
 
520
+//===========================================================================
521
+//============================= Z Probe Options =============================
522
+//===========================================================================
523
+// @section probes
524
+
525
+//
526
+// See http://marlinfw.org/configuration/probes.html
527
+//
520 528
 
521 529
 /**
522
- * ===========================================================================
523
- * ============================= Z Probe Options =============================
524
- * ===========================================================================
525
- *    @section probes
530
+ * Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
526 531
  *
532
+ * Enable this option for a probe connected to the Z Min endstop pin.
533
+ */
534
+#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
535
+
536
+/**
537
+ * Z_MIN_PROBE_ENDSTOP
538
+ *
539
+ * Enable this option for a probe connected to any pin except Z-Min.
540
+ * (By default Marlin assumes the Z-Max endstop pin.)
541
+ * To use a custom Z Probe pin, set Z_MIN_PROBE_PIN below.
527 542
  *
528
- *   Probe Type
529
- *   Probes are sensors/switches that are activated / deactivated before/after use.
543
+ *  - The simplest option is to use a free endstop connector.
544
+ *  - Use 5V for powered (usually inductive) sensors.
530 545
  *
531
- *   Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
532
- *   You must activate one of these to use Auto Bed Leveling below.
546
+ *  - RAMPS 1.3/1.4 boards may use the 5V, GND, and Aux4->D32 pin:
547
+ *    - For simple switches connect...
548
+ *      - normally-closed switches to GND and D32.
549
+ *      - normally-open switches to 5V and D32.
550
+ *
551
+ * WARNING: Setting the wrong pin may have unexpected and potentially
552
+ * disastrous consequences. Use with caution and do your homework.
553
+ *
554
+ */
555
+//#define Z_MIN_PROBE_ENDSTOP
556
+//#define Z_MIN_PROBE_PIN Z_MAX_PIN
557
+
558
+/**
559
+ * Probe Type
533 560
  *
534
- *   Use M851 to set the Z probe vertical offset from the nozzle. Store with M500.
561
+ * Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
562
+ * Activate one of these to use Auto Bed Leveling below.
535 563
  */
536 564
 
537 565
 /**
538
- *   The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe.
539
- *   Use G29 repeatedly, adjusting the Z height at each point with movement commands
540
- *   or (with LCD_BED_LEVELING) the LCD controller.
566
+ * The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe.
567
+ * Use G29 repeatedly, adjusting the Z height at each point with movement commands
568
+ * or (with LCD_BED_LEVELING) the LCD controller.
541 569
  */
542 570
 //#define PROBE_MANUALLY
543 571
 
544 572
 /**
545
- *   A Fix-Mounted Probe either doesn't deploy or needs manual deployment.
546
- *   For example an inductive probe, or a setup that uses the nozzle to probe.
547
- *   An inductive probe must be deactivated to go below
548
- *   its trigger-point if hardware endstops are active.
573
+ * A Fix-Mounted Probe either doesn't deploy or needs manual deployment.
574
+ *   (e.g., an inductive probe or a nozzle-based probe-switch.)
549 575
  */
550 576
 //#define FIX_MOUNTED_PROBE
551 577
 
552 578
 /**
553
- *   Z Servo Probe, such as an endstop switch on a rotating arm.
554
- *   NUM_SERVOS also needs to be set.  This is found later in this file.  Set it to
555
- *   1 + the number of other servos in your system.
579
+ * Z Servo Probe, such as an endstop switch on a rotating arm.
556 580
  */
557 581
 //#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
558 582
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
559 583
 
560
- /**
561
- *   The BLTouch probe emulates a servo probe.
562
- *   If using a BLTouch then NUM_SERVOS, Z_ENDSTOP_SERVO_NR and Z_SERVO_ANGLES
563
- *   are setup for you in the background and you shouldn't need to set/modify/enable them
564
- *   with the possible exception of Z_ENDSTOP_SERVO_NR.
565
- */
566
-//#define BLTOUCH
567
-//#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
568
-//#define BLTOUCH_HEATERS_OFF // if defined the printer's heaters are turned off during probe event
569
-
570 584
 /**
571
- *   BLTouch WARNING  -  ONLY APPLIES TO VERSIONS OF MARLIN BEFORE 15 FEB 2017
572
- *   Unless using interrupt endstops, there is a MINIMUM feedrate for Marlin to reliably
573
- *   sense the BLTouch.  If the feedrate is too slow then G28 & G29 can sometimes result
574
- *   in the print head being driven into the bed until manual intervention.
575
- *   The minimum feedrate calculation is:
576
- *
577
- *     feedrate minimum =  24000 / DEFAULT_AXIS_STEPS_PER_UNIT
578
- *        where feedrate is in "mm/minute" or "inches/minute" depending on the units used
579
- *        in DEFAULT_AXIS_STEPS_PER_UNIT
580
- *
581
- *   This applies to the HOMING_FEEDRATE_Z and Z_PROBE_SPEED_FAST.  If PROBE_DOUBLE_TOUCH
582
- *   is enabled then it also applies to Z_PROBE_SPEED_SLOW.
585
+ * The BLTouch probe is a Hall effect sensor that emulates a servo.
583 586
  */
587
+//#define BLTOUCH
588
+#if ENABLED(BLTOUCH)
589
+  //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
590
+  //#define BLTOUCH_HEATERS_OFF // Enable if the probe seems unreliable. Heaters will be disabled for each probe.
591
+#endif
584 592
 
585 593
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
586 594
 //#define SOLENOID_PROBE
587 595
 
588
-// Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.
596
+// A sled-mounted probe like those designed by Charles Bell.
589 597
 //#define Z_PROBE_SLED
590 598
 //#define SLED_DOCKING_OFFSET 5  // The extra distance the X axis must travel to pickup the sled. 0 should be fine but you can push it further if you'd like.
591 599
 
600
+//
601
+// For Z_PROBE_ALLEN_KEY see the Delta example configurations.
602
+//
603
+
592 604
 /**
593 605
  *   Z Probe to nozzle (X,Y) offset, relative to (0, 0).
594 606
  *   X and Y offsets must be integers.
@@ -625,70 +637,6 @@
625 637
 //#define PROBE_DOUBLE_TOUCH
626 638
 
627 639
 /**
628
- *   Allen Key Probe is defined in the Delta example configurations.
629
- *
630
- *
631
- *   *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
632
- *
633
- *   - RAMPS 1.3/1.4 boards may be able to use the 5V, GND, and Aux4->D32 pin.
634
- *   - Use 5V for powered (usu. inductive) sensors.
635
- *   - Otherwise connect:
636
- *     - normally-closed switches to GND and D32.
637
- *     - normally-open switches to 5V and D32.
638
- *
639
- *   Normally-closed switches are advised and are the default.
640
- *
641
- *
642
- *   PIN OPTIONS\SETUP FOR Z PROBES
643
- *
644
- *
645
- *   WARNING:
646
- *   Setting the wrong pin may have unexpected and potentially disastrous consequences.
647
- *   Use with caution and do your homework.
648
- *
649
- *
650
- *   All Z PROBE pin options are configured by defining (or not defining)
651
- *   the following five items:
652
- *       Z_MIN_PROBE_ENDSTOP – defined below
653
- *       Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN – defined below
654
- *       Z_MIN_PIN - defined in the pins_YOUR_BOARD.h file
655
- *       Z_MIN_PROBE_PIN - defined in the pins_YOUR_BOARD.h file
656
- *
657
- *   If you're using a probe then you need to tell Marlin which pin to use as
658
- *   the Z MIN ENDSTOP.  Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN determines if the
659
- *   Z_MIN_PIN or if the Z_MIN_PROBE_PIN is used.
660
- *
661
- *   The pin selected for the probe is ONLY checked during probing operations.
662
- *   If you want to use the Z_MIN_PIN as an endstop AND you want to have a Z PROBE
663
- *   then you’ll need to use the Z_MIN_PROBE_PIN option.
664
- *
665
- *   Z_MIN_PROBE_ENDSTOP also needs to be enabled if you want to use Z_MIN_PROBE_PIN.
666
- *
667
- *   The settings needed to use the Z_MIN_PROBE_PIN are:
668
- *       1. select the type of probe you're using
669
- *       2. define Z_MIN_PROBE_PIN in your pins_YOUR_BOARD.h file
670
- *       3. disable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
671
- *       4. enable Z_MIN_PROBE_ENDSTOP
672
- *   NOTE – if Z_MIN_PIN is defined then it’ll be checked during all moves in the
673
- *          negative Z direction.
674
- *
675
- *   The settings needed to use the Z_MIN_PIN are:
676
- *       1. select the type of probe you're using
677
- *       2. enable Z_MIN _PIN in your pins_YOUR_BOARD.h file
678
- *       3. enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
679
- *       4. disable Z_MIN_PROBE_ENDSTOP
680
- *   NOTES – if Z_MIN_PROBE_PIN is defined in the pins_YOUR_BOARD.h file then it’ll be
681
- *          ignored by Marlin
682
- */
683
-
684
-//#define Z_MIN_PROBE_ENDSTOP
685
-#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
686
-
687
-
688
-// Enable Z Probe Repeatability test to see how accurate your probe is
689
-//#define Z_MIN_PROBE_REPEATABILITY_TEST
690
-
691
-/**
692 640
  * Z probes require clearance when deploying, stowing, and moving between
693 641
  * probe points to avoid hitting the bed and other hardware.
694 642
  * Servo-mounted probes require extra space for the arm to rotate.
@@ -709,6 +657,9 @@
709 657
 #define Z_PROBE_OFFSET_RANGE_MIN -20
710 658
 #define Z_PROBE_OFFSET_RANGE_MAX 20
711 659
 
660
+// Enable the M48 repeatability test to test probe accuracy
661
+//#define Z_MIN_PROBE_REPEATABILITY_TEST
662
+
712 663
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
713 664
 // :{ 0:'Low', 1:'High' }
714 665
 #define X_ENABLE_ON 0
@@ -727,7 +678,7 @@
727 678
 // @section extruder
728 679
 
729 680
 #define DISABLE_E false // For all extruders
730
-#define DISABLE_INACTIVE_EXTRUDER true //disable only inactive extruders and keep active extruder enabled
681
+#define DISABLE_INACTIVE_EXTRUDER true // Keep only the active extruder enabled.
731 682
 
732 683
 // @section machine
733 684
 

+ 58
- 107
Marlin/example_configurations/K8400/Dual-head/Configuration.h View File

@@ -517,78 +517,90 @@
517 517
 #define DEFAULT_ZJERK                  0.5
518 518
 #define DEFAULT_EJERK                 20.0
519 519
 
520
+//===========================================================================
521
+//============================= Z Probe Options =============================
522
+//===========================================================================
523
+// @section probes
524
+
525
+//
526
+// See http://marlinfw.org/configuration/probes.html
527
+//
520 528
 
521 529
 /**
522
- * ===========================================================================
523
- * ============================= Z Probe Options =============================
524
- * ===========================================================================
525
- *    @section probes
530
+ * Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
526 531
  *
532
+ * Enable this option for a probe connected to the Z Min endstop pin.
533
+ */
534
+#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
535
+
536
+/**
537
+ * Z_MIN_PROBE_ENDSTOP
538
+ *
539
+ * Enable this option for a probe connected to any pin except Z-Min.
540
+ * (By default Marlin assumes the Z-Max endstop pin.)
541
+ * To use a custom Z Probe pin, set Z_MIN_PROBE_PIN below.
527 542
  *
528
- *   Probe Type
529
- *   Probes are sensors/switches that are activated / deactivated before/after use.
543
+ *  - The simplest option is to use a free endstop connector.
544
+ *  - Use 5V for powered (usually inductive) sensors.
530 545
  *
531
- *   Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
532
- *   You must activate one of these to use Auto Bed Leveling below.
546
+ *  - RAMPS 1.3/1.4 boards may use the 5V, GND, and Aux4->D32 pin:
547
+ *    - For simple switches connect...
548
+ *      - normally-closed switches to GND and D32.
549
+ *      - normally-open switches to 5V and D32.
550
+ *
551
+ * WARNING: Setting the wrong pin may have unexpected and potentially
552
+ * disastrous consequences. Use with caution and do your homework.
553
+ *
554
+ */
555
+//#define Z_MIN_PROBE_ENDSTOP
556
+//#define Z_MIN_PROBE_PIN Z_MAX_PIN
557
+
558
+/**
559
+ * Probe Type
533 560
  *
534
- *   Use M851 to set the Z probe vertical offset from the nozzle. Store with M500.
561
+ * Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
562
+ * Activate one of these to use Auto Bed Leveling below.
535 563
  */
536 564
 
537 565
 /**
538
- *   The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe.
539
- *   Use G29 repeatedly, adjusting the Z height at each point with movement commands
540
- *   or (with LCD_BED_LEVELING) the LCD controller.
566
+ * The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe.
567
+ * Use G29 repeatedly, adjusting the Z height at each point with movement commands
568
+ * or (with LCD_BED_LEVELING) the LCD controller.
541 569
  */
542 570
 //#define PROBE_MANUALLY
543 571
 
544 572
 /**
545
- *   A Fix-Mounted Probe either doesn't deploy or needs manual deployment.
546
- *   For example an inductive probe, or a setup that uses the nozzle to probe.
547
- *   An inductive probe must be deactivated to go below
548
- *   its trigger-point if hardware endstops are active.
573
+ * A Fix-Mounted Probe either doesn't deploy or needs manual deployment.
574
+ *   (e.g., an inductive probe or a nozzle-based probe-switch.)
549 575
  */
550 576
 //#define FIX_MOUNTED_PROBE
551 577
 
552 578
 /**
553
- *   Z Servo Probe, such as an endstop switch on a rotating arm.
554
- *   NUM_SERVOS also needs to be set.  This is found later in this file.  Set it to
555
- *   1 + the number of other servos in your system.
579
+ * Z Servo Probe, such as an endstop switch on a rotating arm.
556 580
  */
557 581
 //#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
558 582
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
559 583
 
560
- /**
561
- *   The BLTouch probe emulates a servo probe.
562
- *   If using a BLTouch then NUM_SERVOS, Z_ENDSTOP_SERVO_NR and Z_SERVO_ANGLES
563
- *   are setup for you in the background and you shouldn't need to set/modify/enable them
564
- *   with the possible exception of Z_ENDSTOP_SERVO_NR.
565
- */
566
-//#define BLTOUCH
567
-//#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
568
-//#define BLTOUCH_HEATERS_OFF // if defined the printer's heaters are turned off during probe event
569
-
570 584
 /**
571
- *   BLTouch WARNING  -  ONLY APPLIES TO VERSIONS OF MARLIN BEFORE 15 FEB 2017
572
- *   Unless using interrupt endstops, there is a MINIMUM feedrate for Marlin to reliably
573
- *   sense the BLTouch.  If the feedrate is too slow then G28 & G29 can sometimes result
574
- *   in the print head being driven into the bed until manual intervention.
575
- *   The minimum feedrate calculation is:
576
- *
577
- *     feedrate minimum =  24000 / DEFAULT_AXIS_STEPS_PER_UNIT
578
- *        where feedrate is in "mm/minute" or "inches/minute" depending on the units used
579
- *        in DEFAULT_AXIS_STEPS_PER_UNIT
580
- *
581
- *   This applies to the HOMING_FEEDRATE_Z and Z_PROBE_SPEED_FAST.  If PROBE_DOUBLE_TOUCH
582
- *   is enabled then it also applies to Z_PROBE_SPEED_SLOW.
585
+ * The BLTouch probe is a Hall effect sensor that emulates a servo.
583 586
  */
587
+//#define BLTOUCH
588
+#if ENABLED(BLTOUCH)
589
+  //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
590
+  //#define BLTOUCH_HEATERS_OFF // Enable if the probe seems unreliable. Heaters will be disabled for each probe.
591
+#endif
584 592
 
585 593
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
586 594
 //#define SOLENOID_PROBE
587 595
 
588
-// Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.
596
+// A sled-mounted probe like those designed by Charles Bell.
589 597
 //#define Z_PROBE_SLED
590 598
 //#define SLED_DOCKING_OFFSET 5  // The extra distance the X axis must travel to pickup the sled. 0 should be fine but you can push it further if you'd like.
591 599
 
600
+//
601
+// For Z_PROBE_ALLEN_KEY see the Delta example configurations.
602
+//
603
+
592 604
 /**
593 605
  *   Z Probe to nozzle (X,Y) offset, relative to (0, 0).
594 606
  *   X and Y offsets must be integers.
@@ -625,70 +637,6 @@
625 637
 //#define PROBE_DOUBLE_TOUCH
626 638
 
627 639
 /**
628
- *   Allen Key Probe is defined in the Delta example configurations.
629
- *
630
- *
631
- *   *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
632
- *
633
- *   - RAMPS 1.3/1.4 boards may be able to use the 5V, GND, and Aux4->D32 pin.
634
- *   - Use 5V for powered (usu. inductive) sensors.
635
- *   - Otherwise connect:
636
- *     - normally-closed switches to GND and D32.
637
- *     - normally-open switches to 5V and D32.
638
- *
639
- *   Normally-closed switches are advised and are the default.
640
- *
641
- *
642
- *   PIN OPTIONS\SETUP FOR Z PROBES
643
- *
644
- *
645
- *   WARNING:
646
- *   Setting the wrong pin may have unexpected and potentially disastrous consequences.
647
- *   Use with caution and do your homework.
648
- *
649
- *
650
- *   All Z PROBE pin options are configured by defining (or not defining)
651
- *   the following five items:
652
- *       Z_MIN_PROBE_ENDSTOP – defined below
653
- *       Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN – defined below
654
- *       Z_MIN_PIN - defined in the pins_YOUR_BOARD.h file
655
- *       Z_MIN_PROBE_PIN - defined in the pins_YOUR_BOARD.h file
656
- *
657
- *   If you're using a probe then you need to tell Marlin which pin to use as
658
- *   the Z MIN ENDSTOP.  Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN determines if the
659
- *   Z_MIN_PIN or if the Z_MIN_PROBE_PIN is used.
660
- *
661
- *   The pin selected for the probe is ONLY checked during probing operations.
662
- *   If you want to use the Z_MIN_PIN as an endstop AND you want to have a Z PROBE
663
- *   then you’ll need to use the Z_MIN_PROBE_PIN option.
664
- *
665
- *   Z_MIN_PROBE_ENDSTOP also needs to be enabled if you want to use Z_MIN_PROBE_PIN.
666
- *
667
- *   The settings needed to use the Z_MIN_PROBE_PIN are:
668
- *       1. select the type of probe you're using
669
- *       2. define Z_MIN_PROBE_PIN in your pins_YOUR_BOARD.h file
670
- *       3. disable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
671
- *       4. enable Z_MIN_PROBE_ENDSTOP
672
- *   NOTE – if Z_MIN_PIN is defined then it’ll be checked during all moves in the
673
- *          negative Z direction.
674
- *
675
- *   The settings needed to use the Z_MIN_PIN are:
676
- *       1. select the type of probe you're using
677
- *       2. enable Z_MIN _PIN in your pins_YOUR_BOARD.h file
678
- *       3. enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
679
- *       4. disable Z_MIN_PROBE_ENDSTOP
680
- *   NOTES – if Z_MIN_PROBE_PIN is defined in the pins_YOUR_BOARD.h file then it’ll be
681
- *          ignored by Marlin
682
- */
683
-
684
-//#define Z_MIN_PROBE_ENDSTOP
685
-#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
686
-
687
-
688
-// Enable Z Probe Repeatability test to see how accurate your probe is
689
-//#define Z_MIN_PROBE_REPEATABILITY_TEST
690
-
691
-/**
692 640
  * Z probes require clearance when deploying, stowing, and moving between
693 641
  * probe points to avoid hitting the bed and other hardware.
694 642
  * Servo-mounted probes require extra space for the arm to rotate.
@@ -709,6 +657,9 @@
709 657
 #define Z_PROBE_OFFSET_RANGE_MIN -20
710 658
 #define Z_PROBE_OFFSET_RANGE_MAX 20
711 659
 
660
+// Enable the M48 repeatability test to test probe accuracy
661
+//#define Z_MIN_PROBE_REPEATABILITY_TEST
662
+
712 663
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
713 664
 // :{ 0:'Low', 1:'High' }
714 665
 #define X_ENABLE_ON 0
@@ -727,7 +678,7 @@
727 678
 // @section extruder
728 679
 
729 680
 #define DISABLE_E false // For all extruders
730
-#define DISABLE_INACTIVE_EXTRUDER true //disable only inactive extruders and keep active extruder enabled
681
+#define DISABLE_INACTIVE_EXTRUDER true // Keep only the active extruder enabled.
731 682
 
732 683
 // @section machine
733 684
 

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

@@ -517,78 +517,90 @@
517 517
 #define DEFAULT_ZJERK                  0.4
518 518
 #define DEFAULT_EJERK                  5.0
519 519
 
520
+//===========================================================================
521
+//============================= Z Probe Options =============================
522
+//===========================================================================
523
+// @section probes
524
+
525
+//
526
+// See http://marlinfw.org/configuration/probes.html
527
+//
520 528
 
521 529
 /**
522
- * ===========================================================================
523
- * ============================= Z Probe Options =============================
524
- * ===========================================================================
525
- *    @section probes
530
+ * Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
526 531
  *
532
+ * Enable this option for a probe connected to the Z Min endstop pin.
533
+ */
534
+#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
535
+
536
+/**
537
+ * Z_MIN_PROBE_ENDSTOP
538
+ *
539
+ * Enable this option for a probe connected to any pin except Z-Min.
540
+ * (By default Marlin assumes the Z-Max endstop pin.)
541
+ * To use a custom Z Probe pin, set Z_MIN_PROBE_PIN below.
527 542
  *
528
- *   Probe Type
529
- *   Probes are sensors/switches that are activated / deactivated before/after use.
543
+ *  - The simplest option is to use a free endstop connector.
544
+ *  - Use 5V for powered (usually inductive) sensors.
530 545
  *
531
- *   Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
532
- *   You must activate one of these to use Auto Bed Leveling below.
546
+ *  - RAMPS 1.3/1.4 boards may use the 5V, GND, and Aux4->D32 pin:
547
+ *    - For simple switches connect...
548
+ *      - normally-closed switches to GND and D32.
549
+ *      - normally-open switches to 5V and D32.
550
+ *
551
+ * WARNING: Setting the wrong pin may have unexpected and potentially
552
+ * disastrous consequences. Use with caution and do your homework.
553
+ *
554
+ */
555
+//#define Z_MIN_PROBE_ENDSTOP
556
+//#define Z_MIN_PROBE_PIN Z_MAX_PIN
557
+
558
+/**
559
+ * Probe Type
533 560
  *
534
- *   Use M851 to set the Z probe vertical offset from the nozzle. Store with M500.
561
+ * Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
562
+ * Activate one of these to use Auto Bed Leveling below.
535 563
  */
536 564
 
537 565
 /**
538
- *   The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe.
539
- *   Use G29 repeatedly, adjusting the Z height at each point with movement commands
540
- *   or (with LCD_BED_LEVELING) the LCD controller.
566
+ * The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe.
567
+ * Use G29 repeatedly, adjusting the Z height at each point with movement commands
568
+ * or (with LCD_BED_LEVELING) the LCD controller.
541 569
  */
542 570
 //#define PROBE_MANUALLY
543 571
 
544 572
 /**
545
- *   A Fix-Mounted Probe either doesn't deploy or needs manual deployment.
546
- *   For example an inductive probe, or a setup that uses the nozzle to probe.
547
- *   An inductive probe must be deactivated to go below
548
- *   its trigger-point if hardware endstops are active.
573
+ * A Fix-Mounted Probe either doesn't deploy or needs manual deployment.
574
+ *   (e.g., an inductive probe or a nozzle-based probe-switch.)
549 575
  */
550 576
 //#define FIX_MOUNTED_PROBE
551 577
 
552 578
 /**
553
- *   Z Servo Probe, such as an endstop switch on a rotating arm.
554
- *   NUM_SERVOS also needs to be set.  This is found later in this file.  Set it to
555
- *   1 + the number of other servos in your system.
579
+ * Z Servo Probe, such as an endstop switch on a rotating arm.
556 580
  */
557 581
 //#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
558 582
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
559 583
 
560
- /**
561
- *   The BLTouch probe emulates a servo probe.
562
- *   If using a BLTouch then NUM_SERVOS, Z_ENDSTOP_SERVO_NR and Z_SERVO_ANGLES
563
- *   are setup for you in the background and you shouldn't need to set/modify/enable them
564
- *   with the possible exception of Z_ENDSTOP_SERVO_NR.
565
- */
566
-//#define BLTOUCH
567
-//#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
568
-//#define BLTOUCH_HEATERS_OFF // if defined the printer's heaters are turned off during probe event
569
-
570 584
 /**
571
- *   BLTouch WARNING  -  ONLY APPLIES TO VERSIONS OF MARLIN BEFORE 15 FEB 2017
572
- *   Unless using interrupt endstops, there is a MINIMUM feedrate for Marlin to reliably
573
- *   sense the BLTouch.  If the feedrate is too slow then G28 & G29 can sometimes result
574
- *   in the print head being driven into the bed until manual intervention.
575
- *   The minimum feedrate calculation is:
576
- *
577
- *     feedrate minimum =  24000 / DEFAULT_AXIS_STEPS_PER_UNIT
578
- *        where feedrate is in "mm/minute" or "inches/minute" depending on the units used
579
- *        in DEFAULT_AXIS_STEPS_PER_UNIT
580
- *
581
- *   This applies to the HOMING_FEEDRATE_Z and Z_PROBE_SPEED_FAST.  If PROBE_DOUBLE_TOUCH
582
- *   is enabled then it also applies to Z_PROBE_SPEED_SLOW.
585
+ * The BLTouch probe is a Hall effect sensor that emulates a servo.
583 586
  */
587
+//#define BLTOUCH
588
+#if ENABLED(BLTOUCH)
589
+  //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
590
+  //#define BLTOUCH_HEATERS_OFF // Enable if the probe seems unreliable. Heaters will be disabled for each probe.
591
+#endif
584 592
 
585 593
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
586 594
 //#define SOLENOID_PROBE
587 595
 
588
-// Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.
596
+// A sled-mounted probe like those designed by Charles Bell.
589 597
 //#define Z_PROBE_SLED
590 598
 //#define SLED_DOCKING_OFFSET 5  // The extra distance the X axis must travel to pickup the sled. 0 should be fine but you can push it further if you'd like.
591 599
 
600
+//
601
+// For Z_PROBE_ALLEN_KEY see the Delta example configurations.
602
+//
603
+
592 604
 /**
593 605
  *   Z Probe to nozzle (X,Y) offset, relative to (0, 0).
594 606
  *   X and Y offsets must be integers.
@@ -625,70 +637,6 @@
625 637
 //#define PROBE_DOUBLE_TOUCH
626 638
 
627 639
 /**
628
- *   Allen Key Probe is defined in the Delta example configurations.
629
- *
630
- *
631
- *   *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
632
- *
633
- *   - RAMPS 1.3/1.4 boards may be able to use the 5V, GND, and Aux4->D32 pin.
634
- *   - Use 5V for powered (usu. inductive) sensors.
635
- *   - Otherwise connect:
636
- *     - normally-closed switches to GND and D32.
637
- *     - normally-open switches to 5V and D32.
638
- *
639
- *   Normally-closed switches are advised and are the default.
640
- *
641
- *
642
- *   PIN OPTIONS\SETUP FOR Z PROBES
643
- *
644
- *
645
- *   WARNING:
646
- *   Setting the wrong pin may have unexpected and potentially disastrous consequences.
647
- *   Use with caution and do your homework.
648
- *
649
- *
650
- *   All Z PROBE pin options are configured by defining (or not defining)
651
- *   the following five items:
652
- *       Z_MIN_PROBE_ENDSTOP – defined below
653
- *       Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN – defined below
654
- *       Z_MIN_PIN - defined in the pins_YOUR_BOARD.h file
655
- *       Z_MIN_PROBE_PIN - defined in the pins_YOUR_BOARD.h file
656
- *
657
- *   If you're using a probe then you need to tell Marlin which pin to use as
658
- *   the Z MIN ENDSTOP.  Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN determines if the
659
- *   Z_MIN_PIN or if the Z_MIN_PROBE_PIN is used.
660
- *
661
- *   The pin selected for the probe is ONLY checked during probing operations.
662
- *   If you want to use the Z_MIN_PIN as an endstop AND you want to have a Z PROBE
663
- *   then you’ll need to use the Z_MIN_PROBE_PIN option.
664
- *
665
- *   Z_MIN_PROBE_ENDSTOP also needs to be enabled if you want to use Z_MIN_PROBE_PIN.
666
- *
667
- *   The settings needed to use the Z_MIN_PROBE_PIN are:
668
- *       1. select the type of probe you're using
669
- *       2. define Z_MIN_PROBE_PIN in your pins_YOUR_BOARD.h file
670
- *       3. disable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
671
- *       4. enable Z_MIN_PROBE_ENDSTOP
672
- *   NOTE – if Z_MIN_PIN is defined then it’ll be checked during all moves in the
673
- *          negative Z direction.
674
- *
675
- *   The settings needed to use the Z_MIN_PIN are:
676
- *       1. select the type of probe you're using
677
- *       2. enable Z_MIN _PIN in your pins_YOUR_BOARD.h file
678
- *       3. enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
679
- *       4. disable Z_MIN_PROBE_ENDSTOP
680
- *   NOTES – if Z_MIN_PROBE_PIN is defined in the pins_YOUR_BOARD.h file then it’ll be
681
- *          ignored by Marlin
682
- */
683
-
684
-//#define Z_MIN_PROBE_ENDSTOP
685
-#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
686
-
687
-
688
-// Enable Z Probe Repeatability test to see how accurate your probe is
689
-//#define Z_MIN_PROBE_REPEATABILITY_TEST
690
-
691
-/**
692 640
  * Z probes require clearance when deploying, stowing, and moving between
693 641
  * probe points to avoid hitting the bed and other hardware.
694 642
  * Servo-mounted probes require extra space for the arm to rotate.
@@ -709,6 +657,9 @@
709 657
 #define Z_PROBE_OFFSET_RANGE_MIN -20
710 658
 #define Z_PROBE_OFFSET_RANGE_MAX 20
711 659
 
660
+// Enable the M48 repeatability test to test probe accuracy
661
+//#define Z_MIN_PROBE_REPEATABILITY_TEST
662
+
712 663
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
713 664
 // :{ 0:'Low', 1:'High' }
714 665
 #define X_ENABLE_ON 0
@@ -727,7 +678,7 @@
727 678
 // @section extruder
728 679
 
729 680
 #define DISABLE_E false // For all extruders
730
-#define DISABLE_INACTIVE_EXTRUDER true //disable only inactive extruders and keep active extruder enabled
681
+#define DISABLE_INACTIVE_EXTRUDER true // Keep only the active extruder enabled.
731 682
 
732 683
 // @section machine
733 684
 

+ 58
- 107
Marlin/example_configurations/RigidBot/Configuration.h View File

@@ -516,78 +516,90 @@
516 516
 #define DEFAULT_ZJERK                 0.4
517 517
 #define DEFAULT_EJERK                 5.0
518 518
 
519
+//===========================================================================
520
+//============================= Z Probe Options =============================
521
+//===========================================================================
522
+// @section probes
523
+
524
+//
525
+// See http://marlinfw.org/configuration/probes.html
526
+//
519 527
 
520 528
 /**
521
- * ===========================================================================
522
- * ============================= Z Probe Options =============================
523
- * ===========================================================================
524
- *    @section probes
529
+ * Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
525 530
  *
531
+ * Enable this option for a probe connected to the Z Min endstop pin.
532
+ */
533
+#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
534
+
535
+/**
536
+ * Z_MIN_PROBE_ENDSTOP
537
+ *
538
+ * Enable this option for a probe connected to any pin except Z-Min.
539
+ * (By default Marlin assumes the Z-Max endstop pin.)
540
+ * To use a custom Z Probe pin, set Z_MIN_PROBE_PIN below.
526 541
  *
527
- *   Probe Type
528
- *   Probes are sensors/switches that are activated / deactivated before/after use.
542
+ *  - The simplest option is to use a free endstop connector.
543
+ *  - Use 5V for powered (usually inductive) sensors.
529 544
  *
530
- *   Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
531
- *   You must activate one of these to use Auto Bed Leveling below.
545
+ *  - RAMPS 1.3/1.4 boards may use the 5V, GND, and Aux4->D32 pin:
546
+ *    - For simple switches connect...
547
+ *      - normally-closed switches to GND and D32.
548
+ *      - normally-open switches to 5V and D32.
549
+ *
550
+ * WARNING: Setting the wrong pin may have unexpected and potentially
551
+ * disastrous consequences. Use with caution and do your homework.
552
+ *
553
+ */
554
+//#define Z_MIN_PROBE_ENDSTOP
555
+//#define Z_MIN_PROBE_PIN Z_MAX_PIN
556
+
557
+/**
558
+ * Probe Type
532 559
  *
533
- *   Use M851 to set the Z probe vertical offset from the nozzle. Store with M500.
560
+ * Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
561
+ * Activate one of these to use Auto Bed Leveling below.
534 562
  */
535 563
 
536 564
 /**
537
- *   The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe.
538
- *   Use G29 repeatedly, adjusting the Z height at each point with movement commands
539
- *   or (with LCD_BED_LEVELING) the LCD controller.
565
+ * The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe.
566
+ * Use G29 repeatedly, adjusting the Z height at each point with movement commands
567
+ * or (with LCD_BED_LEVELING) the LCD controller.
540 568
  */
541 569
 //#define PROBE_MANUALLY
542 570
 
543 571
 /**
544
- *   A Fix-Mounted Probe either doesn't deploy or needs manual deployment.
545
- *   For example an inductive probe, or a setup that uses the nozzle to probe.
546
- *   An inductive probe must be deactivated to go below
547
- *   its trigger-point if hardware endstops are active.
572
+ * A Fix-Mounted Probe either doesn't deploy or needs manual deployment.
573
+ *   (e.g., an inductive probe or a nozzle-based probe-switch.)
548 574
  */
549 575
 //#define FIX_MOUNTED_PROBE
550 576
 
551 577
 /**
552
- *   Z Servo Probe, such as an endstop switch on a rotating arm.
553
- *   NUM_SERVOS also needs to be set.  This is found later in this file.  Set it to
554
- *   1 + the number of other servos in your system.
578
+ * Z Servo Probe, such as an endstop switch on a rotating arm.
555 579
  */
556 580
 //#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
557 581
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
558 582
 
559
- /**
560
- *   The BLTouch probe emulates a servo probe.
561
- *   If using a BLTouch then NUM_SERVOS, Z_ENDSTOP_SERVO_NR and Z_SERVO_ANGLES
562
- *   are setup for you in the background and you shouldn't need to set/modify/enable them
563
- *   with the possible exception of Z_ENDSTOP_SERVO_NR.
564
- */
565
-//#define BLTOUCH
566
-//#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
567
-//#define BLTOUCH_HEATERS_OFF // if defined the printer's heaters are turned off during probe event
568
-
569 583
 /**
570
- *   BLTouch WARNING  -  ONLY APPLIES TO VERSIONS OF MARLIN BEFORE 15 FEB 2017
571
- *   Unless using interrupt endstops, there is a MINIMUM feedrate for Marlin to reliably
572
- *   sense the BLTouch.  If the feedrate is too slow then G28 & G29 can sometimes result
573
- *   in the print head being driven into the bed until manual intervention.
574
- *   The minimum feedrate calculation is:
575
- *
576
- *     feedrate minimum =  24000 / DEFAULT_AXIS_STEPS_PER_UNIT
577
- *        where feedrate is in "mm/minute" or "inches/minute" depending on the units used
578
- *        in DEFAULT_AXIS_STEPS_PER_UNIT
579
- *
580
- *   This applies to the HOMING_FEEDRATE_Z and Z_PROBE_SPEED_FAST.  If PROBE_DOUBLE_TOUCH
581
- *   is enabled then it also applies to Z_PROBE_SPEED_SLOW.
584
+ * The BLTouch probe is a Hall effect sensor that emulates a servo.
582 585
  */
586
+//#define BLTOUCH
587
+#if ENABLED(BLTOUCH)
588
+  //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
589
+  //#define BLTOUCH_HEATERS_OFF // Enable if the probe seems unreliable. Heaters will be disabled for each probe.
590
+#endif
583 591
 
584 592
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
585 593
 //#define SOLENOID_PROBE
586 594
 
587
-// Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.
595
+// A sled-mounted probe like those designed by Charles Bell.
588 596
 //#define Z_PROBE_SLED
589 597
 //#define SLED_DOCKING_OFFSET 5  // The extra distance the X axis must travel to pickup the sled. 0 should be fine but you can push it further if you'd like.
590 598
 
599
+//
600
+// For Z_PROBE_ALLEN_KEY see the Delta example configurations.
601
+//
602
+
591 603
 /**
592 604
  *   Z Probe to nozzle (X,Y) offset, relative to (0, 0).
593 605
  *   X and Y offsets must be integers.
@@ -624,70 +636,6 @@
624 636
 //#define PROBE_DOUBLE_TOUCH
625 637
 
626 638
 /**
627
- *   Allen Key Probe is defined in the Delta example configurations.
628
- *
629
- *
630
- *   *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
631
- *
632
- *   - RAMPS 1.3/1.4 boards may be able to use the 5V, GND, and Aux4->D32 pin.
633
- *   - Use 5V for powered (usu. inductive) sensors.
634
- *   - Otherwise connect:
635
- *     - normally-closed switches to GND and D32.
636
- *     - normally-open switches to 5V and D32.
637
- *
638
- *   Normally-closed switches are advised and are the default.
639
- *
640
- *
641
- *   PIN OPTIONS\SETUP FOR Z PROBES
642
- *
643
- *
644
- *   WARNING:
645
- *   Setting the wrong pin may have unexpected and potentially disastrous consequences.
646
- *   Use with caution and do your homework.
647
- *
648
- *
649
- *   All Z PROBE pin options are configured by defining (or not defining)
650
- *   the following five items:
651
- *       Z_MIN_PROBE_ENDSTOP – defined below
652
- *       Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN – defined below
653
- *       Z_MIN_PIN - defined in the pins_YOUR_BOARD.h file
654
- *       Z_MIN_PROBE_PIN - defined in the pins_YOUR_BOARD.h file
655
- *
656
- *   If you're using a probe then you need to tell Marlin which pin to use as
657
- *   the Z MIN ENDSTOP.  Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN determines if the
658
- *   Z_MIN_PIN or if the Z_MIN_PROBE_PIN is used.
659
- *
660
- *   The pin selected for the probe is ONLY checked during probing operations.
661
- *   If you want to use the Z_MIN_PIN as an endstop AND you want to have a Z PROBE
662
- *   then you’ll need to use the Z_MIN_PROBE_PIN option.
663
- *
664
- *   Z_MIN_PROBE_ENDSTOP also needs to be enabled if you want to use Z_MIN_PROBE_PIN.
665
- *
666
- *   The settings needed to use the Z_MIN_PROBE_PIN are:
667
- *       1. select the type of probe you're using
668
- *       2. define Z_MIN_PROBE_PIN in your pins_YOUR_BOARD.h file
669
- *       3. disable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
670
- *       4. enable Z_MIN_PROBE_ENDSTOP
671
- *   NOTE – if Z_MIN_PIN is defined then it’ll be checked during all moves in the
672
- *          negative Z direction.
673
- *
674
- *   The settings needed to use the Z_MIN_PIN are:
675
- *       1. select the type of probe you're using
676
- *       2. enable Z_MIN _PIN in your pins_YOUR_BOARD.h file
677
- *       3. enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
678
- *       4. disable Z_MIN_PROBE_ENDSTOP
679
- *   NOTES – if Z_MIN_PROBE_PIN is defined in the pins_YOUR_BOARD.h file then it’ll be
680
- *          ignored by Marlin
681
- */
682
-
683
-//#define Z_MIN_PROBE_ENDSTOP
684
-#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
685
-
686
-
687
-// Enable Z Probe Repeatability test to see how accurate your probe is
688
-//#define Z_MIN_PROBE_REPEATABILITY_TEST
689
-
690
-/**
691 639
  * Z probes require clearance when deploying, stowing, and moving between
692 640
  * probe points to avoid hitting the bed and other hardware.
693 641
  * Servo-mounted probes require extra space for the arm to rotate.
@@ -708,6 +656,9 @@
708 656
 #define Z_PROBE_OFFSET_RANGE_MIN -20
709 657
 #define Z_PROBE_OFFSET_RANGE_MAX 20
710 658
 
659
+// Enable the M48 repeatability test to test probe accuracy
660
+//#define Z_MIN_PROBE_REPEATABILITY_TEST
661
+
711 662
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
712 663
 // :{ 0:'Low', 1:'High' }
713 664
 #define X_ENABLE_ON 0
@@ -726,7 +677,7 @@
726 677
 // @section extruder
727 678
 
728 679
 #define DISABLE_E false // For all extruders
729
-#define DISABLE_INACTIVE_EXTRUDER true //disable only inactive extruders and keep active extruder enabled
680
+#define DISABLE_INACTIVE_EXTRUDER true // Keep only the active extruder enabled.
730 681
 
731 682
 // @section machine
732 683
 

+ 58
- 107
Marlin/example_configurations/SCARA/Configuration.h View File

@@ -532,78 +532,90 @@
532 532
 #define DEFAULT_ZJERK                 0.4
533 533
 #define DEFAULT_EJERK                 3.0
534 534
 
535
+//===========================================================================
536
+//============================= Z Probe Options =============================
537
+//===========================================================================
538
+// @section probes
539
+
540
+//
541
+// See http://marlinfw.org/configuration/probes.html
542
+//
535 543
 
536 544
 /**
537
- * ===========================================================================
538
- * ============================= Z Probe Options =============================
539
- * ===========================================================================
540
- *    @section probes
545
+ * Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
541 546
  *
547
+ * Enable this option for a probe connected to the Z Min endstop pin.
548
+ */
549
+#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
550
+
551
+/**
552
+ * Z_MIN_PROBE_ENDSTOP
553
+ *
554
+ * Enable this option for a probe connected to any pin except Z-Min.
555
+ * (By default Marlin assumes the Z-Max endstop pin.)
556
+ * To use a custom Z Probe pin, set Z_MIN_PROBE_PIN below.
542 557
  *
543
- *   Probe Type
544
- *   Probes are sensors/switches that are activated / deactivated before/after use.
558
+ *  - The simplest option is to use a free endstop connector.
559
+ *  - Use 5V for powered (usually inductive) sensors.
545 560
  *
546
- *   Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
547
- *   You must activate one of these to use Auto Bed Leveling below.
561
+ *  - RAMPS 1.3/1.4 boards may use the 5V, GND, and Aux4->D32 pin:
562
+ *    - For simple switches connect...
563
+ *      - normally-closed switches to GND and D32.
564
+ *      - normally-open switches to 5V and D32.
565
+ *
566
+ * WARNING: Setting the wrong pin may have unexpected and potentially
567
+ * disastrous consequences. Use with caution and do your homework.
568
+ *
569
+ */
570
+//#define Z_MIN_PROBE_ENDSTOP
571
+//#define Z_MIN_PROBE_PIN Z_MAX_PIN
572
+
573
+/**
574
+ * Probe Type
548 575
  *
549
- *   Use M851 to set the Z probe vertical offset from the nozzle. Store with M500.
576
+ * Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
577
+ * Activate one of these to use Auto Bed Leveling below.
550 578
  */
551 579
 
552 580
 /**
553
- *   The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe.
554
- *   Use G29 repeatedly, adjusting the Z height at each point with movement commands
555
- *   or (with LCD_BED_LEVELING) the LCD controller.
581
+ * The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe.
582
+ * Use G29 repeatedly, adjusting the Z height at each point with movement commands
583
+ * or (with LCD_BED_LEVELING) the LCD controller.
556 584
  */
557 585
 //#define PROBE_MANUALLY
558 586
 
559 587
 /**
560
- *   A Fix-Mounted Probe either doesn't deploy or needs manual deployment.
561
- *   For example an inductive probe, or a setup that uses the nozzle to probe.
562
- *   An inductive probe must be deactivated to go below
563
- *   its trigger-point if hardware endstops are active.
588
+ * A Fix-Mounted Probe either doesn't deploy or needs manual deployment.
589
+ *   (e.g., an inductive probe or a nozzle-based probe-switch.)
564 590
  */
565 591
 //#define FIX_MOUNTED_PROBE
566 592
 
567 593
 /**
568
- *   Z Servo Probe, such as an endstop switch on a rotating arm.
569
- *   NUM_SERVOS also needs to be set.  This is found later in this file.  Set it to
570
- *   1 + the number of other servos in your system.
594
+ * Z Servo Probe, such as an endstop switch on a rotating arm.
571 595
  */
572 596
 //#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
573 597
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
574 598
 
575
- /**
576
- *   The BLTouch probe emulates a servo probe.
577
- *   If using a BLTouch then NUM_SERVOS, Z_ENDSTOP_SERVO_NR and Z_SERVO_ANGLES
578
- *   are setup for you in the background and you shouldn't need to set/modify/enable them
579
- *   with the possible exception of Z_ENDSTOP_SERVO_NR.
580
- */
581
-//#define BLTOUCH
582
-//#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
583
-//#define BLTOUCH_HEATERS_OFF // if defined the printer's heaters are turned off during probe event
584
-
585 599
 /**
586
- *   BLTouch WARNING  -  ONLY APPLIES TO VERSIONS OF MARLIN BEFORE 15 FEB 2017
587
- *   Unless using interrupt endstops, there is a MINIMUM feedrate for Marlin to reliably
588
- *   sense the BLTouch.  If the feedrate is too slow then G28 & G29 can sometimes result
589
- *   in the print head being driven into the bed until manual intervention.
590
- *   The minimum feedrate calculation is:
591
- *
592
- *     feedrate minimum =  24000 / DEFAULT_AXIS_STEPS_PER_UNIT
593
- *        where feedrate is in "mm/minute" or "inches/minute" depending on the units used
594
- *        in DEFAULT_AXIS_STEPS_PER_UNIT
595
- *
596
- *   This applies to the HOMING_FEEDRATE_Z and Z_PROBE_SPEED_FAST.  If PROBE_DOUBLE_TOUCH
597
- *   is enabled then it also applies to Z_PROBE_SPEED_SLOW.
600
+ * The BLTouch probe is a Hall effect sensor that emulates a servo.
598 601
  */
602
+//#define BLTOUCH
603
+#if ENABLED(BLTOUCH)
604
+  //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
605
+  //#define BLTOUCH_HEATERS_OFF // Enable if the probe seems unreliable. Heaters will be disabled for each probe.
606
+#endif
599 607
 
600 608
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
601 609
 //#define SOLENOID_PROBE
602 610
 
603
-// Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.
611
+// A sled-mounted probe like those designed by Charles Bell.
604 612
 //#define Z_PROBE_SLED
605 613
 //#define SLED_DOCKING_OFFSET 5  // The extra distance the X axis must travel to pickup the sled. 0 should be fine but you can push it further if you'd like.
606 614
 
615
+//
616
+// For Z_PROBE_ALLEN_KEY see the Delta example configurations.
617
+//
618
+
607 619
 /**
608 620
  *   Z Probe to nozzle (X,Y) offset, relative to (0, 0).
609 621
  *   X and Y offsets must be integers.
@@ -640,70 +652,6 @@
640 652
 //#define PROBE_DOUBLE_TOUCH
641 653
 
642 654
 /**
643
- *   Allen Key Probe is defined in the Delta example configurations.
644
- *
645
- *
646
- *   *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
647
- *
648
- *   - RAMPS 1.3/1.4 boards may be able to use the 5V, GND, and Aux4->D32 pin.
649
- *   - Use 5V for powered (usu. inductive) sensors.
650
- *   - Otherwise connect:
651
- *     - normally-closed switches to GND and D32.
652
- *     - normally-open switches to 5V and D32.
653
- *
654
- *   Normally-closed switches are advised and are the default.
655
- *
656
- *
657
- *   PIN OPTIONS\SETUP FOR Z PROBES
658
- *
659
- *
660
- *   WARNING:
661
- *   Setting the wrong pin may have unexpected and potentially disastrous consequences.
662
- *   Use with caution and do your homework.
663
- *
664
- *
665
- *   All Z PROBE pin options are configured by defining (or not defining)
666
- *   the following five items:
667
- *       Z_MIN_PROBE_ENDSTOP – defined below
668
- *       Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN – defined below
669
- *       Z_MIN_PIN - defined in the pins_YOUR_BOARD.h file
670
- *       Z_MIN_PROBE_PIN - defined in the pins_YOUR_BOARD.h file
671
- *
672
- *   If you're using a probe then you need to tell Marlin which pin to use as
673
- *   the Z MIN ENDSTOP.  Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN determines if the
674
- *   Z_MIN_PIN or if the Z_MIN_PROBE_PIN is used.
675
- *
676
- *   The pin selected for the probe is ONLY checked during probing operations.
677
- *   If you want to use the Z_MIN_PIN as an endstop AND you want to have a Z PROBE
678
- *   then you’ll need to use the Z_MIN_PROBE_PIN option.
679
- *
680
- *   Z_MIN_PROBE_ENDSTOP also needs to be enabled if you want to use Z_MIN_PROBE_PIN.
681
- *
682
- *   The settings needed to use the Z_MIN_PROBE_PIN are:
683
- *       1. select the type of probe you're using
684
- *       2. define Z_MIN_PROBE_PIN in your pins_YOUR_BOARD.h file
685
- *       3. disable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
686
- *       4. enable Z_MIN_PROBE_ENDSTOP
687
- *   NOTE – if Z_MIN_PIN is defined then it’ll be checked during all moves in the
688
- *          negative Z direction.
689
- *
690
- *   The settings needed to use the Z_MIN_PIN are:
691
- *       1. select the type of probe you're using
692
- *       2. enable Z_MIN _PIN in your pins_YOUR_BOARD.h file
693
- *       3. enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
694
- *       4. disable Z_MIN_PROBE_ENDSTOP
695
- *   NOTES – if Z_MIN_PROBE_PIN is defined in the pins_YOUR_BOARD.h file then it’ll be
696
- *          ignored by Marlin
697
- */
698
-
699
-//#define Z_MIN_PROBE_ENDSTOP
700
-#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
701
-
702
-
703
-// Enable Z Probe Repeatability test to see how accurate your probe is
704
-//#define Z_MIN_PROBE_REPEATABILITY_TEST
705
-
706
-/**
707 655
  * Z probes require clearance when deploying, stowing, and moving between
708 656
  * probe points to avoid hitting the bed and other hardware.
709 657
  * Servo-mounted probes require extra space for the arm to rotate.
@@ -724,6 +672,9 @@
724 672
 #define Z_PROBE_OFFSET_RANGE_MIN -20
725 673
 #define Z_PROBE_OFFSET_RANGE_MAX 20
726 674
 
675
+// Enable the M48 repeatability test to test probe accuracy
676
+//#define Z_MIN_PROBE_REPEATABILITY_TEST
677
+
727 678
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
728 679
 // :{ 0:'Low', 1:'High' }
729 680
 #define X_ENABLE_ON 0
@@ -742,7 +693,7 @@
742 693
 // @section extruder
743 694
 
744 695
 #define DISABLE_E false // For all extruders
745
-#define DISABLE_INACTIVE_EXTRUDER true //disable only inactive extruders and keep active extruder enabled
696
+#define DISABLE_INACTIVE_EXTRUDER true // Keep only the active extruder enabled.
746 697
 
747 698
 // @section machine
748 699
 

+ 58
- 107
Marlin/example_configurations/TAZ4/Configuration.h View File

@@ -537,78 +537,90 @@
537 537
 #define DEFAULT_ZJERK                  0.4
538 538
 #define DEFAULT_EJERK                 10.0
539 539
 
540
+//===========================================================================
541
+//============================= Z Probe Options =============================
542
+//===========================================================================
543
+// @section probes
544
+
545
+//
546
+// See http://marlinfw.org/configuration/probes.html
547
+//
540 548
 
541 549
 /**
542
- * ===========================================================================
543
- * ============================= Z Probe Options =============================
544
- * ===========================================================================
545
- *    @section probes
550
+ * Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
546 551
  *
552
+ * Enable this option for a probe connected to the Z Min endstop pin.
553
+ */
554
+#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
555
+
556
+/**
557
+ * Z_MIN_PROBE_ENDSTOP
558
+ *
559
+ * Enable this option for a probe connected to any pin except Z-Min.
560
+ * (By default Marlin assumes the Z-Max endstop pin.)
561
+ * To use a custom Z Probe pin, set Z_MIN_PROBE_PIN below.
547 562
  *
548
- *   Probe Type
549
- *   Probes are sensors/switches that are activated / deactivated before/after use.
563
+ *  - The simplest option is to use a free endstop connector.
564
+ *  - Use 5V for powered (usually inductive) sensors.
550 565
  *
551
- *   Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
552
- *   You must activate one of these to use Auto Bed Leveling below.
566
+ *  - RAMPS 1.3/1.4 boards may use the 5V, GND, and Aux4->D32 pin:
567
+ *    - For simple switches connect...
568
+ *      - normally-closed switches to GND and D32.
569
+ *      - normally-open switches to 5V and D32.
570
+ *
571
+ * WARNING: Setting the wrong pin may have unexpected and potentially
572
+ * disastrous consequences. Use with caution and do your homework.
573
+ *
574
+ */
575
+//#define Z_MIN_PROBE_ENDSTOP
576
+//#define Z_MIN_PROBE_PIN Z_MAX_PIN
577
+
578
+/**
579
+ * Probe Type
553 580
  *
554
- *   Use M851 to set the Z probe vertical offset from the nozzle. Store with M500.
581
+ * Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
582
+ * Activate one of these to use Auto Bed Leveling below.
555 583
  */
556 584
 
557 585
 /**
558
- *   The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe.
559
- *   Use G29 repeatedly, adjusting the Z height at each point with movement commands
560
- *   or (with LCD_BED_LEVELING) the LCD controller.
586
+ * The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe.
587
+ * Use G29 repeatedly, adjusting the Z height at each point with movement commands
588
+ * or (with LCD_BED_LEVELING) the LCD controller.
561 589
  */
562 590
 //#define PROBE_MANUALLY
563 591
 
564 592
 /**
565
- *   A Fix-Mounted Probe either doesn't deploy or needs manual deployment.
566
- *   For example an inductive probe, or a setup that uses the nozzle to probe.
567
- *   An inductive probe must be deactivated to go below
568
- *   its trigger-point if hardware endstops are active.
593
+ * A Fix-Mounted Probe either doesn't deploy or needs manual deployment.
594
+ *   (e.g., an inductive probe or a nozzle-based probe-switch.)
569 595
  */
570 596
 #define FIX_MOUNTED_PROBE
571 597
 
572 598
 /**
573
- *   Z Servo Probe, such as an endstop switch on a rotating arm.
574
- *   NUM_SERVOS also needs to be set.  This is found later in this file.  Set it to
575
- *   1 + the number of other servos in your system.
599
+ * Z Servo Probe, such as an endstop switch on a rotating arm.
576 600
  */
577 601
 //#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
578 602
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
579 603
 
580
- /**
581
- *   The BLTouch probe emulates a servo probe.
582
- *   If using a BLTouch then NUM_SERVOS, Z_ENDSTOP_SERVO_NR and Z_SERVO_ANGLES
583
- *   are setup for you in the background and you shouldn't need to set/modify/enable them
584
- *   with the possible exception of Z_ENDSTOP_SERVO_NR.
585
- */
586
-//#define BLTOUCH
587
-//#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
588
-//#define BLTOUCH_HEATERS_OFF // if defined the printer's heaters are turned off during probe event
589
-
590 604
 /**
591
- *   BLTouch WARNING  -  ONLY APPLIES TO VERSIONS OF MARLIN BEFORE 15 FEB 2017
592
- *   Unless using interrupt endstops, there is a MINIMUM feedrate for Marlin to reliably
593
- *   sense the BLTouch.  If the feedrate is too slow then G28 & G29 can sometimes result
594
- *   in the print head being driven into the bed until manual intervention.
595
- *   The minimum feedrate calculation is:
596
- *
597
- *     feedrate minimum =  24000 / DEFAULT_AXIS_STEPS_PER_UNIT
598
- *        where feedrate is in "mm/minute" or "inches/minute" depending on the units used
599
- *        in DEFAULT_AXIS_STEPS_PER_UNIT
600
- *
601
- *   This applies to the HOMING_FEEDRATE_Z and Z_PROBE_SPEED_FAST.  If PROBE_DOUBLE_TOUCH
602
- *   is enabled then it also applies to Z_PROBE_SPEED_SLOW.
605
+ * The BLTouch probe is a Hall effect sensor that emulates a servo.
603 606
  */
607
+//#define BLTOUCH
608
+#if ENABLED(BLTOUCH)
609
+  //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
610
+  //#define BLTOUCH_HEATERS_OFF // Enable if the probe seems unreliable. Heaters will be disabled for each probe.
611
+#endif
604 612
 
605 613
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
606 614
 //#define SOLENOID_PROBE
607 615
 
608
-// Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.
616
+// A sled-mounted probe like those designed by Charles Bell.
609 617
 //#define Z_PROBE_SLED
610 618
 //#define SLED_DOCKING_OFFSET 5  // The extra distance the X axis must travel to pickup the sled. 0 should be fine but you can push it further if you'd like.
611 619
 
620
+//
621
+// For Z_PROBE_ALLEN_KEY see the Delta example configurations.
622
+//
623
+
612 624
 /**
613 625
  *   Z Probe to nozzle (X,Y) offset, relative to (0, 0).
614 626
  *   X and Y offsets must be integers.
@@ -645,70 +657,6 @@
645 657
 //#define PROBE_DOUBLE_TOUCH
646 658
 
647 659
 /**
648
- *   Allen Key Probe is defined in the Delta example configurations.
649
- *
650
- *
651
- *   *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
652
- *
653
- *   - RAMPS 1.3/1.4 boards may be able to use the 5V, GND, and Aux4->D32 pin.
654
- *   - Use 5V for powered (usu. inductive) sensors.
655
- *   - Otherwise connect:
656
- *     - normally-closed switches to GND and D32.
657
- *     - normally-open switches to 5V and D32.
658
- *
659
- *   Normally-closed switches are advised and are the default.
660
- *
661
- *
662
- *   PIN OPTIONS\SETUP FOR Z PROBES
663
- *
664
- *
665
- *   WARNING:
666
- *   Setting the wrong pin may have unexpected and potentially disastrous consequences.
667
- *   Use with caution and do your homework.
668
- *
669
- *
670
- *   All Z PROBE pin options are configured by defining (or not defining)
671
- *   the following five items:
672
- *       Z_MIN_PROBE_ENDSTOP – defined below
673
- *       Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN – defined below
674
- *       Z_MIN_PIN - defined in the pins_YOUR_BOARD.h file
675
- *       Z_MIN_PROBE_PIN - defined in the pins_YOUR_BOARD.h file
676
- *
677
- *   If you're using a probe then you need to tell Marlin which pin to use as
678
- *   the Z MIN ENDSTOP.  Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN determines if the
679
- *   Z_MIN_PIN or if the Z_MIN_PROBE_PIN is used.
680
- *
681
- *   The pin selected for the probe is ONLY checked during probing operations.
682
- *   If you want to use the Z_MIN_PIN as an endstop AND you want to have a Z PROBE
683
- *   then you’ll need to use the Z_MIN_PROBE_PIN option.
684
- *
685
- *   Z_MIN_PROBE_ENDSTOP also needs to be enabled if you want to use Z_MIN_PROBE_PIN.
686
- *
687
- *   The settings needed to use the Z_MIN_PROBE_PIN are:
688
- *       1. select the type of probe you're using
689
- *       2. define Z_MIN_PROBE_PIN in your pins_YOUR_BOARD.h file
690
- *       3. disable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
691
- *       4. enable Z_MIN_PROBE_ENDSTOP
692
- *   NOTE – if Z_MIN_PIN is defined then it’ll be checked during all moves in the
693
- *          negative Z direction.
694
- *
695
- *   The settings needed to use the Z_MIN_PIN are:
696
- *       1. select the type of probe you're using
697
- *       2. enable Z_MIN _PIN in your pins_YOUR_BOARD.h file
698
- *       3. enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
699
- *       4. disable Z_MIN_PROBE_ENDSTOP
700
- *   NOTES – if Z_MIN_PROBE_PIN is defined in the pins_YOUR_BOARD.h file then it’ll be
701
- *          ignored by Marlin
702
- */
703
-
704
-//#define Z_MIN_PROBE_ENDSTOP
705
-#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
706
-
707
-
708
-// Enable Z Probe Repeatability test to see how accurate your probe is
709
-//#define Z_MIN_PROBE_REPEATABILITY_TEST
710
-
711
-/**
712 660
  * Z probes require clearance when deploying, stowing, and moving between
713 661
  * probe points to avoid hitting the bed and other hardware.
714 662
  * Servo-mounted probes require extra space for the arm to rotate.
@@ -729,6 +677,9 @@
729 677
 #define Z_PROBE_OFFSET_RANGE_MIN -20
730 678
 #define Z_PROBE_OFFSET_RANGE_MAX 20
731 679
 
680
+// Enable the M48 repeatability test to test probe accuracy
681
+//#define Z_MIN_PROBE_REPEATABILITY_TEST
682
+
732 683
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
733 684
 // :{ 0:'Low', 1:'High' }
734 685
 #define X_ENABLE_ON 0
@@ -747,7 +698,7 @@
747 698
 // @section extruder
748 699
 
749 700
 #define DISABLE_E false // For all extruders
750
-#define DISABLE_INACTIVE_EXTRUDER true //disable only inactive extruders and keep active extruder enabled
701
+#define DISABLE_INACTIVE_EXTRUDER true // Keep only the active extruder enabled.
751 702
 
752 703
 // @section machine
753 704
 

+ 58
- 107
Marlin/example_configurations/TinyBoy2/Configuration.h View File

@@ -568,78 +568,90 @@
568 568
 #define DEFAULT_ZJERK                  0.4
569 569
 #define DEFAULT_EJERK                  5.0
570 570
 
571
+//===========================================================================
572
+//============================= Z Probe Options =============================
573
+//===========================================================================
574
+// @section probes
575
+
576
+//
577
+// See http://marlinfw.org/configuration/probes.html
578
+//
571 579
 
572 580
 /**
573
- * ===========================================================================
574
- * ============================= Z Probe Options =============================
575
- * ===========================================================================
576
- *    @section probes
581
+ * Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
577 582
  *
583
+ * Enable this option for a probe connected to the Z Min endstop pin.
584
+ */
585
+#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
586
+
587
+/**
588
+ * Z_MIN_PROBE_ENDSTOP
589
+ *
590
+ * Enable this option for a probe connected to any pin except Z-Min.
591
+ * (By default Marlin assumes the Z-Max endstop pin.)
592
+ * To use a custom Z Probe pin, set Z_MIN_PROBE_PIN below.
578 593
  *
579
- *   Probe Type
580
- *   Probes are sensors/switches that are activated / deactivated before/after use.
594
+ *  - The simplest option is to use a free endstop connector.
595
+ *  - Use 5V for powered (usually inductive) sensors.
581 596
  *
582
- *   Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
583
- *   You must activate one of these to use Auto Bed Leveling below.
597
+ *  - RAMPS 1.3/1.4 boards may use the 5V, GND, and Aux4->D32 pin:
598
+ *    - For simple switches connect...
599
+ *      - normally-closed switches to GND and D32.
600
+ *      - normally-open switches to 5V and D32.
601
+ *
602
+ * WARNING: Setting the wrong pin may have unexpected and potentially
603
+ * disastrous consequences. Use with caution and do your homework.
604
+ *
605
+ */
606
+//#define Z_MIN_PROBE_ENDSTOP
607
+//#define Z_MIN_PROBE_PIN Z_MAX_PIN
608
+
609
+/**
610
+ * Probe Type
584 611
  *
585
- *   Use M851 to set the Z probe vertical offset from the nozzle. Store with M500.
612
+ * Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
613
+ * Activate one of these to use Auto Bed Leveling below.
586 614
  */
587 615
 
588 616
 /**
589
- *   The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe.
590
- *   Use G29 repeatedly, adjusting the Z height at each point with movement commands
591
- *   or (with LCD_BED_LEVELING) the LCD controller.
617
+ * The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe.
618
+ * Use G29 repeatedly, adjusting the Z height at each point with movement commands
619
+ * or (with LCD_BED_LEVELING) the LCD controller.
592 620
  */
593 621
 //#define PROBE_MANUALLY
594 622
 
595 623
 /**
596
- *   A Fix-Mounted Probe either doesn't deploy or needs manual deployment.
597
- *   For example an inductive probe, or a setup that uses the nozzle to probe.
598
- *   An inductive probe must be deactivated to go below
599
- *   its trigger-point if hardware endstops are active.
624
+ * A Fix-Mounted Probe either doesn't deploy or needs manual deployment.
625
+ *   (e.g., an inductive probe or a nozzle-based probe-switch.)
600 626
  */
601 627
 //#define FIX_MOUNTED_PROBE
602 628
 
603 629
 /**
604
- *   Z Servo Probe, such as an endstop switch on a rotating arm.
605
- *   NUM_SERVOS also needs to be set.  This is found later in this file.  Set it to
606
- *   1 + the number of other servos in your system.
630
+ * Z Servo Probe, such as an endstop switch on a rotating arm.
607 631
  */
608 632
 //#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
609 633
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
610 634
 
611
- /**
612
- *   The BLTouch probe emulates a servo probe.
613
- *   If using a BLTouch then NUM_SERVOS, Z_ENDSTOP_SERVO_NR and Z_SERVO_ANGLES
614
- *   are setup for you in the background and you shouldn't need to set/modify/enable them
615
- *   with the possible exception of Z_ENDSTOP_SERVO_NR.
616
- */
617
-//#define BLTOUCH
618
-//#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
619
-//#define BLTOUCH_HEATERS_OFF // if defined the printer's heaters are turned off during probe event
620
-
621 635
 /**
622
- *   BLTouch WARNING  -  ONLY APPLIES TO VERSIONS OF MARLIN BEFORE 15 FEB 2017
623
- *   Unless using interrupt endstops, there is a MINIMUM feedrate for Marlin to reliably
624
- *   sense the BLTouch.  If the feedrate is too slow then G28 & G29 can sometimes result
625
- *   in the print head being driven into the bed until manual intervention.
626
- *   The minimum feedrate calculation is:
627
- *
628
- *     feedrate minimum =  24000 / DEFAULT_AXIS_STEPS_PER_UNIT
629
- *        where feedrate is in "mm/minute" or "inches/minute" depending on the units used
630
- *        in DEFAULT_AXIS_STEPS_PER_UNIT
631
- *
632
- *   This applies to the HOMING_FEEDRATE_Z and Z_PROBE_SPEED_FAST.  If PROBE_DOUBLE_TOUCH
633
- *   is enabled then it also applies to Z_PROBE_SPEED_SLOW.
636
+ * The BLTouch probe is a Hall effect sensor that emulates a servo.
634 637
  */
638
+//#define BLTOUCH
639
+#if ENABLED(BLTOUCH)
640
+  //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
641
+  //#define BLTOUCH_HEATERS_OFF // Enable if the probe seems unreliable. Heaters will be disabled for each probe.
642
+#endif
635 643
 
636 644
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
637 645
 //#define SOLENOID_PROBE
638 646
 
639
-// Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.
647
+// A sled-mounted probe like those designed by Charles Bell.
640 648
 //#define Z_PROBE_SLED
641 649
 //#define SLED_DOCKING_OFFSET 5  // The extra distance the X axis must travel to pickup the sled. 0 should be fine but you can push it further if you'd like.
642 650
 
651
+//
652
+// For Z_PROBE_ALLEN_KEY see the Delta example configurations.
653
+//
654
+
643 655
 /**
644 656
  *   Z Probe to nozzle (X,Y) offset, relative to (0, 0).
645 657
  *   X and Y offsets must be integers.
@@ -676,70 +688,6 @@
676 688
 //#define PROBE_DOUBLE_TOUCH
677 689
 
678 690
 /**
679
- *   Allen Key Probe is defined in the Delta example configurations.
680
- *
681
- *
682
- *   *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
683
- *
684
- *   - RAMPS 1.3/1.4 boards may be able to use the 5V, GND, and Aux4->D32 pin.
685
- *   - Use 5V for powered (usu. inductive) sensors.
686
- *   - Otherwise connect:
687
- *     - normally-closed switches to GND and D32.
688
- *     - normally-open switches to 5V and D32.
689
- *
690
- *   Normally-closed switches are advised and are the default.
691
- *
692
- *
693
- *   PIN OPTIONS\SETUP FOR Z PROBES
694
- *
695
- *
696
- *   WARNING:
697
- *   Setting the wrong pin may have unexpected and potentially disastrous consequences.
698
- *   Use with caution and do your homework.
699
- *
700
- *
701
- *   All Z PROBE pin options are configured by defining (or not defining)
702
- *   the following five items:
703
- *       Z_MIN_PROBE_ENDSTOP – defined below
704
- *       Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN – defined below
705
- *       Z_MIN_PIN - defined in the pins_YOUR_BOARD.h file
706
- *       Z_MIN_PROBE_PIN - defined in the pins_YOUR_BOARD.h file
707
- *
708
- *   If you're using a probe then you need to tell Marlin which pin to use as
709
- *   the Z MIN ENDSTOP.  Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN determines if the
710
- *   Z_MIN_PIN or if the Z_MIN_PROBE_PIN is used.
711
- *
712
- *   The pin selected for the probe is ONLY checked during probing operations.
713
- *   If you want to use the Z_MIN_PIN as an endstop AND you want to have a Z PROBE
714
- *   then you’ll need to use the Z_MIN_PROBE_PIN option.
715
- *
716
- *   Z_MIN_PROBE_ENDSTOP also needs to be enabled if you want to use Z_MIN_PROBE_PIN.
717
- *
718
- *   The settings needed to use the Z_MIN_PROBE_PIN are:
719
- *       1. select the type of probe you're using
720
- *       2. define Z_MIN_PROBE_PIN in your pins_YOUR_BOARD.h file
721
- *       3. disable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
722
- *       4. enable Z_MIN_PROBE_ENDSTOP
723
- *   NOTE – if Z_MIN_PIN is defined then it’ll be checked during all moves in the
724
- *          negative Z direction.
725
- *
726
- *   The settings needed to use the Z_MIN_PIN are:
727
- *       1. select the type of probe you're using
728
- *       2. enable Z_MIN _PIN in your pins_YOUR_BOARD.h file
729
- *       3. enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
730
- *       4. disable Z_MIN_PROBE_ENDSTOP
731
- *   NOTES – if Z_MIN_PROBE_PIN is defined in the pins_YOUR_BOARD.h file then it’ll be
732
- *          ignored by Marlin
733
- */
734
-
735
-//#define Z_MIN_PROBE_ENDSTOP
736
-#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
737
-
738
-
739
-// Enable Z Probe Repeatability test to see how accurate your probe is
740
-//#define Z_MIN_PROBE_REPEATABILITY_TEST
741
-
742
-/**
743 691
  * Z probes require clearance when deploying, stowing, and moving between
744 692
  * probe points to avoid hitting the bed and other hardware.
745 693
  * Servo-mounted probes require extra space for the arm to rotate.
@@ -760,6 +708,9 @@
760 708
 #define Z_PROBE_OFFSET_RANGE_MIN -20
761 709
 #define Z_PROBE_OFFSET_RANGE_MAX 20
762 710
 
711
+// Enable the M48 repeatability test to test probe accuracy
712
+//#define Z_MIN_PROBE_REPEATABILITY_TEST
713
+
763 714
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
764 715
 // :{ 0:'Low', 1:'High' }
765 716
 #define X_ENABLE_ON 0
@@ -778,7 +729,7 @@
778 729
 // @section extruder
779 730
 
780 731
 #define DISABLE_E false // For all extruders
781
-#define DISABLE_INACTIVE_EXTRUDER true //disable only inactive extruders and keep active extruder enabled
732
+#define DISABLE_INACTIVE_EXTRUDER true // Keep only the active extruder enabled.
782 733
 
783 734
 // @section machine
784 735
 

+ 58
- 107
Marlin/example_configurations/WITBOX/Configuration.h View File

@@ -508,78 +508,90 @@
508 508
 #define DEFAULT_ZJERK                  0.4
509 509
 #define DEFAULT_EJERK                  5.0
510 510
 
511
+//===========================================================================
512
+//============================= Z Probe Options =============================
513
+//===========================================================================
514
+// @section probes
515
+
516
+//
517
+// See http://marlinfw.org/configuration/probes.html
518
+//
511 519
 
512 520
 /**
513
- * ===========================================================================
514
- * ============================= Z Probe Options =============================
515
- * ===========================================================================
516
- *    @section probes
521
+ * Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
517 522
  *
523
+ * Enable this option for a probe connected to the Z Min endstop pin.
524
+ */
525
+#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
526
+
527
+/**
528
+ * Z_MIN_PROBE_ENDSTOP
529
+ *
530
+ * Enable this option for a probe connected to any pin except Z-Min.
531
+ * (By default Marlin assumes the Z-Max endstop pin.)
532
+ * To use a custom Z Probe pin, set Z_MIN_PROBE_PIN below.
518 533
  *
519
- *   Probe Type
520
- *   Probes are sensors/switches that are activated / deactivated before/after use.
534
+ *  - The simplest option is to use a free endstop connector.
535
+ *  - Use 5V for powered (usually inductive) sensors.
521 536
  *
522
- *   Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
523
- *   You must activate one of these to use Auto Bed Leveling below.
537
+ *  - RAMPS 1.3/1.4 boards may use the 5V, GND, and Aux4->D32 pin:
538
+ *    - For simple switches connect...
539
+ *      - normally-closed switches to GND and D32.
540
+ *      - normally-open switches to 5V and D32.
541
+ *
542
+ * WARNING: Setting the wrong pin may have unexpected and potentially
543
+ * disastrous consequences. Use with caution and do your homework.
544
+ *
545
+ */
546
+//#define Z_MIN_PROBE_ENDSTOP
547
+//#define Z_MIN_PROBE_PIN Z_MAX_PIN
548
+
549
+/**
550
+ * Probe Type
524 551
  *
525
- *   Use M851 to set the Z probe vertical offset from the nozzle. Store with M500.
552
+ * Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
553
+ * Activate one of these to use Auto Bed Leveling below.
526 554
  */
527 555
 
528 556
 /**
529
- *   The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe.
530
- *   Use G29 repeatedly, adjusting the Z height at each point with movement commands
531
- *   or (with LCD_BED_LEVELING) the LCD controller.
557
+ * The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe.
558
+ * Use G29 repeatedly, adjusting the Z height at each point with movement commands
559
+ * or (with LCD_BED_LEVELING) the LCD controller.
532 560
  */
533 561
 //#define PROBE_MANUALLY
534 562
 
535 563
 /**
536
- *   A Fix-Mounted Probe either doesn't deploy or needs manual deployment.
537
- *   For example an inductive probe, or a setup that uses the nozzle to probe.
538
- *   An inductive probe must be deactivated to go below
539
- *   its trigger-point if hardware endstops are active.
564
+ * A Fix-Mounted Probe either doesn't deploy or needs manual deployment.
565
+ *   (e.g., an inductive probe or a nozzle-based probe-switch.)
540 566
  */
541 567
 //#define FIX_MOUNTED_PROBE
542 568
 
543 569
 /**
544
- *   Z Servo Probe, such as an endstop switch on a rotating arm.
545
- *   NUM_SERVOS also needs to be set.  This is found later in this file.  Set it to
546
- *   1 + the number of other servos in your system.
570
+ * Z Servo Probe, such as an endstop switch on a rotating arm.
547 571
  */
548 572
 //#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
549 573
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
550 574
 
551
- /**
552
- *   The BLTouch probe emulates a servo probe.
553
- *   If using a BLTouch then NUM_SERVOS, Z_ENDSTOP_SERVO_NR and Z_SERVO_ANGLES
554
- *   are setup for you in the background and you shouldn't need to set/modify/enable them
555
- *   with the possible exception of Z_ENDSTOP_SERVO_NR.
556
- */
557
-//#define BLTOUCH
558
-//#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
559
-//#define BLTOUCH_HEATERS_OFF // if defined the printer's heaters are turned off during probe event
560
-
561 575
 /**
562
- *   BLTouch WARNING  -  ONLY APPLIES TO VERSIONS OF MARLIN BEFORE 15 FEB 2017
563
- *   Unless using interrupt endstops, there is a MINIMUM feedrate for Marlin to reliably
564
- *   sense the BLTouch.  If the feedrate is too slow then G28 & G29 can sometimes result
565
- *   in the print head being driven into the bed until manual intervention.
566
- *   The minimum feedrate calculation is:
567
- *
568
- *     feedrate minimum =  24000 / DEFAULT_AXIS_STEPS_PER_UNIT
569
- *        where feedrate is in "mm/minute" or "inches/minute" depending on the units used
570
- *        in DEFAULT_AXIS_STEPS_PER_UNIT
571
- *
572
- *   This applies to the HOMING_FEEDRATE_Z and Z_PROBE_SPEED_FAST.  If PROBE_DOUBLE_TOUCH
573
- *   is enabled then it also applies to Z_PROBE_SPEED_SLOW.
576
+ * The BLTouch probe is a Hall effect sensor that emulates a servo.
574 577
  */
578
+//#define BLTOUCH
579
+#if ENABLED(BLTOUCH)
580
+  //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
581
+  //#define BLTOUCH_HEATERS_OFF // Enable if the probe seems unreliable. Heaters will be disabled for each probe.
582
+#endif
575 583
 
576 584
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
577 585
 //#define SOLENOID_PROBE
578 586
 
579
-// Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.
587
+// A sled-mounted probe like those designed by Charles Bell.
580 588
 //#define Z_PROBE_SLED
581 589
 //#define SLED_DOCKING_OFFSET 5  // The extra distance the X axis must travel to pickup the sled. 0 should be fine but you can push it further if you'd like.
582 590
 
591
+//
592
+// For Z_PROBE_ALLEN_KEY see the Delta example configurations.
593
+//
594
+
583 595
 /**
584 596
  *   Z Probe to nozzle (X,Y) offset, relative to (0, 0).
585 597
  *   X and Y offsets must be integers.
@@ -616,70 +628,6 @@
616 628
 //#define PROBE_DOUBLE_TOUCH
617 629
 
618 630
 /**
619
- *   Allen Key Probe is defined in the Delta example configurations.
620
- *
621
- *
622
- *   *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
623
- *
624
- *   - RAMPS 1.3/1.4 boards may be able to use the 5V, GND, and Aux4->D32 pin.
625
- *   - Use 5V for powered (usu. inductive) sensors.
626
- *   - Otherwise connect:
627
- *     - normally-closed switches to GND and D32.
628
- *     - normally-open switches to 5V and D32.
629
- *
630
- *   Normally-closed switches are advised and are the default.
631
- *
632
- *
633
- *   PIN OPTIONS\SETUP FOR Z PROBES
634
- *
635
- *
636
- *   WARNING:
637
- *   Setting the wrong pin may have unexpected and potentially disastrous consequences.
638
- *   Use with caution and do your homework.
639
- *
640
- *
641
- *   All Z PROBE pin options are configured by defining (or not defining)
642
- *   the following five items:
643
- *       Z_MIN_PROBE_ENDSTOP – defined below
644
- *       Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN – defined below
645
- *       Z_MIN_PIN - defined in the pins_YOUR_BOARD.h file
646
- *       Z_MIN_PROBE_PIN - defined in the pins_YOUR_BOARD.h file
647
- *
648
- *   If you're using a probe then you need to tell Marlin which pin to use as
649
- *   the Z MIN ENDSTOP.  Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN determines if the
650
- *   Z_MIN_PIN or if the Z_MIN_PROBE_PIN is used.
651
- *
652
- *   The pin selected for the probe is ONLY checked during probing operations.
653
- *   If you want to use the Z_MIN_PIN as an endstop AND you want to have a Z PROBE
654
- *   then you’ll need to use the Z_MIN_PROBE_PIN option.
655
- *
656
- *   Z_MIN_PROBE_ENDSTOP also needs to be enabled if you want to use Z_MIN_PROBE_PIN.
657
- *
658
- *   The settings needed to use the Z_MIN_PROBE_PIN are:
659
- *       1. select the type of probe you're using
660
- *       2. define Z_MIN_PROBE_PIN in your pins_YOUR_BOARD.h file
661
- *       3. disable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
662
- *       4. enable Z_MIN_PROBE_ENDSTOP
663
- *   NOTE – if Z_MIN_PIN is defined then it’ll be checked during all moves in the
664
- *          negative Z direction.
665
- *
666
- *   The settings needed to use the Z_MIN_PIN are:
667
- *       1. select the type of probe you're using
668
- *       2. enable Z_MIN _PIN in your pins_YOUR_BOARD.h file
669
- *       3. enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
670
- *       4. disable Z_MIN_PROBE_ENDSTOP
671
- *   NOTES – if Z_MIN_PROBE_PIN is defined in the pins_YOUR_BOARD.h file then it’ll be
672
- *          ignored by Marlin
673
- */
674
-
675
-//#define Z_MIN_PROBE_ENDSTOP
676
-#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
677
-
678
-
679
-// Enable Z Probe Repeatability test to see how accurate your probe is
680
-//#define Z_MIN_PROBE_REPEATABILITY_TEST
681
-
682
-/**
683 631
  * Z probes require clearance when deploying, stowing, and moving between
684 632
  * probe points to avoid hitting the bed and other hardware.
685 633
  * Servo-mounted probes require extra space for the arm to rotate.
@@ -700,6 +648,9 @@
700 648
 #define Z_PROBE_OFFSET_RANGE_MIN -20
701 649
 #define Z_PROBE_OFFSET_RANGE_MAX 20
702 650
 
651
+// Enable the M48 repeatability test to test probe accuracy
652
+//#define Z_MIN_PROBE_REPEATABILITY_TEST
653
+
703 654
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
704 655
 // :{ 0:'Low', 1:'High' }
705 656
 #define X_ENABLE_ON 0
@@ -718,7 +669,7 @@
718 669
 // @section extruder
719 670
 
720 671
 #define DISABLE_E false // For all extruders
721
-#define DISABLE_INACTIVE_EXTRUDER true //disable only inactive extruders and keep active extruder enabled
672
+#define DISABLE_INACTIVE_EXTRUDER true // Keep only the active extruder enabled.
722 673
 
723 674
 // @section machine
724 675
 

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

@@ -517,78 +517,90 @@
517 517
 #define DEFAULT_ZJERK                  0.4
518 518
 #define DEFAULT_EJERK                  5.0
519 519
 
520
+//===========================================================================
521
+//============================= Z Probe Options =============================
522
+//===========================================================================
523
+// @section probes
524
+
525
+//
526
+// See http://marlinfw.org/configuration/probes.html
527
+//
520 528
 
521 529
 /**
522
- * ===========================================================================
523
- * ============================= Z Probe Options =============================
524
- * ===========================================================================
525
- *    @section probes
530
+ * Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
526 531
  *
532
+ * Enable this option for a probe connected to the Z Min endstop pin.
533
+ */
534
+#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
535
+
536
+/**
537
+ * Z_MIN_PROBE_ENDSTOP
538
+ *
539
+ * Enable this option for a probe connected to any pin except Z-Min.
540
+ * (By default Marlin assumes the Z-Max endstop pin.)
541
+ * To use a custom Z Probe pin, set Z_MIN_PROBE_PIN below.
527 542
  *
528
- *   Probe Type
529
- *   Probes are sensors/switches that are activated / deactivated before/after use.
543
+ *  - The simplest option is to use a free endstop connector.
544
+ *  - Use 5V for powered (usually inductive) sensors.
530 545
  *
531
- *   Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
532
- *   You must activate one of these to use Auto Bed Leveling below.
546
+ *  - RAMPS 1.3/1.4 boards may use the 5V, GND, and Aux4->D32 pin:
547
+ *    - For simple switches connect...
548
+ *      - normally-closed switches to GND and D32.
549
+ *      - normally-open switches to 5V and D32.
550
+ *
551
+ * WARNING: Setting the wrong pin may have unexpected and potentially
552
+ * disastrous consequences. Use with caution and do your homework.
553
+ *
554
+ */
555
+//#define Z_MIN_PROBE_ENDSTOP
556
+//#define Z_MIN_PROBE_PIN Z_MAX_PIN
557
+
558
+/**
559
+ * Probe Type
533 560
  *
534
- *   Use M851 to set the Z probe vertical offset from the nozzle. Store with M500.
561
+ * Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
562
+ * Activate one of these to use Auto Bed Leveling below.
535 563
  */
536 564
 
537 565
 /**
538
- *   The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe.
539
- *   Use G29 repeatedly, adjusting the Z height at each point with movement commands
540
- *   or (with LCD_BED_LEVELING) the LCD controller.
566
+ * The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe.
567
+ * Use G29 repeatedly, adjusting the Z height at each point with movement commands
568
+ * or (with LCD_BED_LEVELING) the LCD controller.
541 569
  */
542 570
 //#define PROBE_MANUALLY
543 571
 
544 572
 /**
545
- *   A Fix-Mounted Probe either doesn't deploy or needs manual deployment.
546
- *   For example an inductive probe, or a setup that uses the nozzle to probe.
547
- *   An inductive probe must be deactivated to go below
548
- *   its trigger-point if hardware endstops are active.
573
+ * A Fix-Mounted Probe either doesn't deploy or needs manual deployment.
574
+ *   (e.g., an inductive probe or a nozzle-based probe-switch.)
549 575
  */
550 576
  //#define FIX_MOUNTED_PROBE
551 577
 
552 578
 /**
553
- *   Z Servo Probe, such as an endstop switch on a rotating arm.
554
- *   NUM_SERVOS also needs to be set.  This is found later in this file.  Set it to
555
- *   1 + the number of other servos in your system.
579
+ * Z Servo Probe, such as an endstop switch on a rotating arm.
556 580
  */
557 581
 //#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
558 582
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
559 583
 
560
- /**
561
- *   The BLTouch probe emulates a servo probe.
562
- *   If using a BLTouch then NUM_SERVOS, Z_ENDSTOP_SERVO_NR and Z_SERVO_ANGLES
563
- *   are setup for you in the background and you shouldn't need to set/modify/enable them
564
- *   with the possible exception of Z_ENDSTOP_SERVO_NR.
565
- */
566
-//#define BLTOUCH
567
-//#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
568
-//#define BLTOUCH_HEATERS_OFF // if defined the printer's heaters are turned off during probe event
569
-
570 584
 /**
571
- *   BLTouch WARNING  -  ONLY APPLIES TO VERSIONS OF MARLIN BEFORE 15 FEB 2017
572
- *   Unless using interrupt endstops, there is a MINIMUM feedrate for Marlin to reliably
573
- *   sense the BLTouch.  If the feedrate is too slow then G28 & G29 can sometimes result
574
- *   in the print head being driven into the bed until manual intervention.
575
- *   The minimum feedrate calculation is:
576
- *
577
- *     feedrate minimum =  24000 / DEFAULT_AXIS_STEPS_PER_UNIT
578
- *        where feedrate is in "mm/minute" or "inches/minute" depending on the units used
579
- *        in DEFAULT_AXIS_STEPS_PER_UNIT
580
- *
581
- *   This applies to the HOMING_FEEDRATE_Z and Z_PROBE_SPEED_FAST.  If PROBE_DOUBLE_TOUCH
582
- *   is enabled then it also applies to Z_PROBE_SPEED_SLOW.
585
+ * The BLTouch probe is a Hall effect sensor that emulates a servo.
583 586
  */
587
+//#define BLTOUCH
588
+#if ENABLED(BLTOUCH)
589
+  //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
590
+  //#define BLTOUCH_HEATERS_OFF // Enable if the probe seems unreliable. Heaters will be disabled for each probe.
591
+#endif
584 592
 
585 593
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
586 594
 //#define SOLENOID_PROBE
587 595
 
588
-// Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.
596
+// A sled-mounted probe like those designed by Charles Bell.
589 597
 //#define Z_PROBE_SLED
590 598
 //#define SLED_DOCKING_OFFSET 5  // The extra distance the X axis must travel to pickup the sled. 0 should be fine but you can push it further if you'd like.
591 599
 
600
+//
601
+// For Z_PROBE_ALLEN_KEY see the Delta example configurations.
602
+//
603
+
592 604
 /**
593 605
  *   Z Probe to nozzle (X,Y) offset, relative to (0, 0).
594 606
  *   X and Y offsets must be integers.
@@ -625,70 +637,6 @@
625 637
 //#define PROBE_DOUBLE_TOUCH
626 638
 
627 639
 /**
628
- *   Allen Key Probe is defined in the Delta example configurations.
629
- *
630
- *
631
- *   *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
632
- *
633
- *   - RAMPS 1.3/1.4 boards may be able to use the 5V, GND, and Aux4->D32 pin.
634
- *   - Use 5V for powered (usu. inductive) sensors.
635
- *   - Otherwise connect:
636
- *     - normally-closed switches to GND and D32.
637
- *     - normally-open switches to 5V and D32.
638
- *
639
- *   Normally-closed switches are advised and are the default.
640
- *
641
- *
642
- *   PIN OPTIONS\SETUP FOR Z PROBES
643
- *
644
- *
645
- *   WARNING:
646
- *   Setting the wrong pin may have unexpected and potentially disastrous consequences.
647
- *   Use with caution and do your homework.
648
- *
649
- *
650
- *   All Z PROBE pin options are configured by defining (or not defining)
651
- *   the following five items:
652
- *       Z_MIN_PROBE_ENDSTOP – defined below
653
- *       Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN – defined below
654
- *       Z_MIN_PIN - defined in the pins_YOUR_BOARD.h file
655
- *       Z_MIN_PROBE_PIN - defined in the pins_YOUR_BOARD.h file
656
- *
657
- *   If you're using a probe then you need to tell Marlin which pin to use as
658
- *   the Z MIN ENDSTOP.  Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN determines if the
659
- *   Z_MIN_PIN or if the Z_MIN_PROBE_PIN is used.
660
- *
661
- *   The pin selected for the probe is ONLY checked during probing operations.
662
- *   If you want to use the Z_MIN_PIN as an endstop AND you want to have a Z PROBE
663
- *   then you’ll need to use the Z_MIN_PROBE_PIN option.
664
- *
665
- *   Z_MIN_PROBE_ENDSTOP also needs to be enabled if you want to use Z_MIN_PROBE_PIN.
666
- *
667
- *   The settings needed to use the Z_MIN_PROBE_PIN are:
668
- *       1. select the type of probe you're using
669
- *       2. define Z_MIN_PROBE_PIN in your pins_YOUR_BOARD.h file
670
- *       3. disable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
671
- *       4. enable Z_MIN_PROBE_ENDSTOP
672
- *   NOTE – if Z_MIN_PIN is defined then it’ll be checked during all moves in the
673
- *          negative Z direction.
674
- *
675
- *   The settings needed to use the Z_MIN_PIN are:
676
- *       1. select the type of probe you're using
677
- *       2. enable Z_MIN _PIN in your pins_YOUR_BOARD.h file
678
- *       3. enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
679
- *       4. disable Z_MIN_PROBE_ENDSTOP
680
- *   NOTES – if Z_MIN_PROBE_PIN is defined in the pins_YOUR_BOARD.h file then it’ll be
681
- *          ignored by Marlin
682
- */
683
-
684
-//#define Z_MIN_PROBE_ENDSTOP
685
-#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
686
-
687
-
688
-// Enable Z Probe Repeatability test to see how accurate your probe is
689
-//#define Z_MIN_PROBE_REPEATABILITY_TEST
690
-
691
-/**
692 640
  * Z probes require clearance when deploying, stowing, and moving between
693 641
  * probe points to avoid hitting the bed and other hardware.
694 642
  * Servo-mounted probes require extra space for the arm to rotate.
@@ -709,6 +657,9 @@
709 657
 #define Z_PROBE_OFFSET_RANGE_MIN -20
710 658
 #define Z_PROBE_OFFSET_RANGE_MAX 20
711 659
 
660
+// Enable the M48 repeatability test to test probe accuracy
661
+//#define Z_MIN_PROBE_REPEATABILITY_TEST
662
+
712 663
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
713 664
 // :{ 0:'Low', 1:'High' }
714 665
 #define X_ENABLE_ON 0
@@ -727,7 +678,7 @@
727 678
 // @section extruder
728 679
 
729 680
 #define DISABLE_E false // For all extruders
730
-#define DISABLE_INACTIVE_EXTRUDER true //disable only inactive extruders and keep active extruder enabled
681
+#define DISABLE_INACTIVE_EXTRUDER true // Keep only the active extruder enabled.
731 682
 
732 683
 // @section machine
733 684
 

+ 58
- 104
Marlin/example_configurations/delta/FLSUN/auto_calibrate/Configuration.h View File

@@ -591,78 +591,90 @@
591 591
 #define DEFAULT_ZJERK                 DEFAULT_YJERK // Must be same as XY for delta
592 592
 #define DEFAULT_EJERK                  5.0
593 593
 
594
+//===========================================================================
595
+//============================= Z Probe Options =============================
596
+//===========================================================================
597
+// @section probes
598
+
599
+//
600
+// See http://marlinfw.org/configuration/probes.html
601
+//
594 602
 
595 603
 /**
596
- * ===========================================================================
597
- * ============================= Z Probe Options =============================
598
- * ===========================================================================
599
- *    @section probes
604
+ * Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
600 605
  *
606
+ * Enable this option for a probe connected to the Z Min endstop pin.
607
+ */
608
+#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
609
+
610
+/**
611
+ * Z_MIN_PROBE_ENDSTOP
612
+ *
613
+ * Enable this option for a probe connected to any pin except Z-Min.
614
+ * (By default Marlin assumes the Z-Max endstop pin.)
615
+ * To use a custom Z Probe pin, set Z_MIN_PROBE_PIN below.
601 616
  *
602
- *   Probe Type
603
- *   Probes are sensors/switches that are activated / deactivated before/after use.
617
+ *  - The simplest option is to use a free endstop connector.
618
+ *  - Use 5V for powered (usually inductive) sensors.
604 619
  *
605
- *   Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
606
- *   You must activate one of these to use Auto Bed Leveling below.
620
+ *  - RAMPS 1.3/1.4 boards may use the 5V, GND, and Aux4->D32 pin:
621
+ *    - For simple switches connect...
622
+ *      - normally-closed switches to GND and D32.
623
+ *      - normally-open switches to 5V and D32.
624
+ *
625
+ * WARNING: Setting the wrong pin may have unexpected and potentially
626
+ * disastrous consequences. Use with caution and do your homework.
607 627
  *
608
- *   Use M851 to set the Z probe vertical offset from the nozzle. Store with M500.
609 628
  */
629
+//#define Z_MIN_PROBE_ENDSTOP // A3K leave disabled!
630
+//#define Z_MIN_PROBE_PIN Z_MAX_PIN
610 631
 
611 632
 /**
612
- *   The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe.
613
- *   Use G29 repeatedly, adjusting the Z height at each point with movement commands
614
- *   or (with LCD_BED_LEVELING) the LCD controller.
633
+ * Probe Type
634
+ *
635
+ * Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
636
+ * Activate one of these to use Auto Bed Leveling below.
637
+ */
638
+
639
+/**
640
+ * The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe.
641
+ * Use G29 repeatedly, adjusting the Z height at each point with movement commands
642
+ * or (with LCD_BED_LEVELING) the LCD controller.
615 643
  */
616 644
 //#define PROBE_MANUALLY
617 645
 
618 646
 /**
619
- *   A Fix-Mounted Probe either doesn't deploy or needs manual deployment.
620
- *   For example an inductive probe, or a setup that uses the nozzle to probe.
621
- *   An inductive probe must be deactivated to go below
622
- *   its trigger-point if hardware endstops are active.
647
+ * A Fix-Mounted Probe either doesn't deploy or needs manual deployment.
648
+ *   (e.g., an inductive probe or a nozzle-based probe-switch.)
623 649
  */
624 650
 #define FIX_MOUNTED_PROBE
625 651
 
626 652
 /**
627
- *   Z Servo Probe, such as an endstop switch on a rotating arm.
628
- *   NUM_SERVOS also needs to be set.  This is found later in this file.  Set it to
629
- *   1 + the number of other servos in your system.
653
+ * Z Servo Probe, such as an endstop switch on a rotating arm.
630 654
  */
631 655
 //#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
632 656
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
633 657
 
634
- /**
635
- *   The BLTouch probe emulates a servo probe.
636
- *   If using a BLTouch then NUM_SERVOS, Z_ENDSTOP_SERVO_NR and Z_SERVO_ANGLES
637
- *   are setup for you in the background and you shouldn't need to set/modify/enable them
638
- *   with the possible exception of Z_ENDSTOP_SERVO_NR.
639
- */
640
-//#define BLTOUCH
641
-//#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
642
-//#define BLTOUCH_HEATERS_OFF // if defined the printer's heaters are turned off during probe event
643
-
644 658
 /**
645
- *   BLTouch WARNING  -  ONLY APPLIES TO VERSIONS OF MARLIN BEFORE 15 FEB 2017
646
- *   Unless using interrupt endstops, there is a MINIMUM feedrate for Marlin to reliably
647
- *   sense the BLTouch.  If the feedrate is too slow then G28 & G29 can sometimes result
648
- *   in the print head being driven into the bed until manual intervention.
649
- *   The minimum feedrate calculation is:
650
- *
651
- *     feedrate minimum =  24000 / DEFAULT_AXIS_STEPS_PER_UNIT
652
- *        where feedrate is in "mm/minute" or "inches/minute" depending on the units used
653
- *        in DEFAULT_AXIS_STEPS_PER_UNIT
654
- *
655
- *   This applies to the HOMING_FEEDRATE_Z and Z_PROBE_SPEED_FAST.  If PROBE_DOUBLE_TOUCH
656
- *   is enabled then it also applies to Z_PROBE_SPEED_SLOW.
659
+ * The BLTouch probe is a Hall effect sensor that emulates a servo.
657 660
  */
661
+//#define BLTOUCH
662
+#if ENABLED(BLTOUCH)
663
+  //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
664
+  //#define BLTOUCH_HEATERS_OFF // Enable if the probe seems unreliable. Heaters will be disabled for each probe.
665
+#endif
658 666
 
659 667
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
660 668
 //#define SOLENOID_PROBE
661 669
 
662
-// Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.
670
+// A sled-mounted probe like those designed by Charles Bell.
663 671
 //#define Z_PROBE_SLED
664 672
 //#define SLED_DOCKING_OFFSET 5  // The extra distance the X axis must travel to pickup the sled. 0 should be fine but you can push it further if you'd like.
665 673
 
674
+//
675
+// For Z_PROBE_ALLEN_KEY see the Delta example configurations.
676
+//
677
+
666 678
 /**
667 679
  *   Z Probe to nozzle (X,Y) offset, relative to (0, 0).
668 680
  *   X and Y offsets must be integers.
@@ -749,67 +761,6 @@
749 761
 #endif // Z_PROBE_ALLEN_KEY
750 762
 
751 763
 /**
752
- *
753
- *   *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
754
- *
755
- *   - RAMPS 1.3/1.4 boards may be able to use the 5V, GND, and Aux4->D32 pin.
756
- *   - Use 5V for powered (usu. inductive) sensors.
757
- *   - Otherwise connect:
758
- *     - normally-closed switches to GND and D32.
759
- *     - normally-open switches to 5V and D32.
760
- *
761
- *   Normally-closed switches are advised and are the default.
762
- *
763
- *
764
- *   PIN OPTIONS\SETUP FOR Z PROBES
765
- *
766
- *
767
- *   WARNING:
768
- *   Setting the wrong pin may have unexpected and potentially disastrous consequences.
769
- *   Use with caution and do your homework.
770
- *
771
- *
772
- *   All Z PROBE pin options are configured by defining (or not defining)
773
- *   the following five items:
774
- *       Z_MIN_PROBE_ENDSTOP – defined below
775
- *       Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN – defined below
776
- *       Z_MIN_PIN - defined in the pins_YOUR_BOARD.h file
777
- *       Z_MIN_PROBE_PIN - defined in the pins_YOUR_BOARD.h file
778
- *
779
- *   If you're using a probe then you need to tell Marlin which pin to use as
780
- *   the Z MIN ENDSTOP.  Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN determines if the
781
- *   Z_MIN_PIN or if the Z_MIN_PROBE_PIN is used.
782
- *
783
- *   The pin selected for the probe is ONLY checked during probing operations.
784
- *   If you want to use the Z_MIN_PIN as an endstop AND you want to have a Z PROBE
785
- *   then you’ll need to use the Z_MIN_PROBE_PIN option.
786
- *
787
- *   Z_MIN_PROBE_ENDSTOP also needs to be enabled if you want to use Z_MIN_PROBE_PIN.
788
- *
789
- *   The settings needed to use the Z_MIN_PROBE_PIN are:
790
- *       1. select the type of probe you're using
791
- *       2. define Z_MIN_PROBE_PIN in your pins_YOUR_BOARD.h file
792
- *       3. disable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
793
- *       4. enable Z_MIN_PROBE_ENDSTOP
794
- *   NOTE – if Z_MIN_PIN is defined then it’ll be checked during all moves in the
795
- *          negative Z direction.
796
- *
797
- *   The settings needed to use the Z_MIN_PIN are:
798
- *       1. select the type of probe you're using
799
- *       2. enable Z_MIN _PIN in your pins_YOUR_BOARD.h file
800
- *       3. enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
801
- *       4. disable Z_MIN_PROBE_ENDSTOP
802
- *   NOTES – if Z_MIN_PROBE_PIN is defined in the pins_YOUR_BOARD.h file then it’ll be
803
- *          ignored by Marlin
804
- */
805
-
806
-//#define Z_MIN_PROBE_ENDSTOP // A3K leave disabled!
807
-#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
808
-
809
-// Enable Z Probe Repeatability test to see how accurate your probe is
810
-//#define Z_MIN_PROBE_REPEATABILITY_TEST
811
-
812
-/**
813 764
  * Z probes require clearance when deploying, stowing, and moving between
814 765
  * probe points to avoid hitting the bed and other hardware.
815 766
  * Servo-mounted probes require extra space for the arm to rotate.
@@ -830,6 +781,9 @@
830 781
 #define Z_PROBE_OFFSET_RANGE_MIN -20
831 782
 #define Z_PROBE_OFFSET_RANGE_MAX 20
832 783
 
784
+// Enable the M48 repeatability test to test probe accuracy
785
+//#define Z_MIN_PROBE_REPEATABILITY_TEST
786
+
833 787
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
834 788
 // :{ 0:'Low', 1:'High' }
835 789
 #define X_ENABLE_ON 0
@@ -848,7 +802,7 @@
848 802
 // @section extruder
849 803
 
850 804
 #define DISABLE_E false // For all extruders
851
-#define DISABLE_INACTIVE_EXTRUDER true //disable only inactive extruders and keep active extruder enabled
805
+#define DISABLE_INACTIVE_EXTRUDER true // Keep only the active extruder enabled.
852 806
 
853 807
 // @section machine
854 808
 

+ 58
- 104
Marlin/example_configurations/delta/FLSUN/kossel_mini/Configuration.h View File

@@ -592,78 +592,90 @@
592 592
 #define DEFAULT_ZJERK                 DEFAULT_YJERK // Must be same as XY for delta
593 593
 #define DEFAULT_EJERK                  5.0
594 594
 
595
+//===========================================================================
596
+//============================= Z Probe Options =============================
597
+//===========================================================================
598
+// @section probes
599
+
600
+//
601
+// See http://marlinfw.org/configuration/probes.html
602
+//
603
+
604
+/**
605
+ * Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
606
+ *
607
+ * Enable this option for a probe connected to the Z Min endstop pin.
608
+ */
609
+#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
595 610
 
596 611
 /**
597
- * ===========================================================================
598
- * ============================= Z Probe Options =============================
599
- * ===========================================================================
600
- *    @section probes
612
+ * Z_MIN_PROBE_ENDSTOP
613
+ *
614
+ * Enable this option for a probe connected to any pin except Z-Min.
615
+ * (By default Marlin assumes the Z-Max endstop pin.)
616
+ * To use a custom Z Probe pin, set Z_MIN_PROBE_PIN below.
617
+ *
618
+ *  - The simplest option is to use a free endstop connector.
619
+ *  - Use 5V for powered (usually inductive) sensors.
601 620
  *
621
+ *  - RAMPS 1.3/1.4 boards may use the 5V, GND, and Aux4->D32 pin:
622
+ *    - For simple switches connect...
623
+ *      - normally-closed switches to GND and D32.
624
+ *      - normally-open switches to 5V and D32.
602 625
  *
603
- *   Probe Type
604
- *   Probes are sensors/switches that are activated / deactivated before/after use.
626
+ * WARNING: Setting the wrong pin may have unexpected and potentially
627
+ * disastrous consequences. Use with caution and do your homework.
605 628
  *
606
- *   Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
607
- *   You must activate one of these to use Auto Bed Leveling below.
629
+ */
630
+//#define Z_MIN_PROBE_ENDSTOP  // A3K leave disabled!
631
+//#define Z_MIN_PROBE_PIN Z_MAX_PIN
632
+
633
+/**
634
+ * Probe Type
608 635
  *
609
- *   Use M851 to set the Z probe vertical offset from the nozzle. Store with M500.
636
+ * Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
637
+ * Activate one of these to use Auto Bed Leveling below.
610 638
  */
611 639
 
612 640
 /**
613
- *   The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe.
614
- *   Use G29 repeatedly, adjusting the Z height at each point with movement commands
615
- *   or (with LCD_BED_LEVELING) the LCD controller.
641
+ * The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe.
642
+ * Use G29 repeatedly, adjusting the Z height at each point with movement commands
643
+ * or (with LCD_BED_LEVELING) the LCD controller.
616 644
  */
617 645
 //#define PROBE_MANUALLY
618 646
 
619 647
 /**
620
- *   A Fix-Mounted Probe either doesn't deploy or needs manual deployment.
621
- *   For example an inductive probe, or a setup that uses the nozzle to probe.
622
- *   An inductive probe must be deactivated to go below
623
- *   its trigger-point if hardware endstops are active.
648
+ * A Fix-Mounted Probe either doesn't deploy or needs manual deployment.
649
+ *   (e.g., an inductive probe or a nozzle-based probe-switch.)
624 650
  */
625 651
 #define FIX_MOUNTED_PROBE
626 652
 
627 653
 /**
628
- *   Z Servo Probe, such as an endstop switch on a rotating arm.
629
- *   NUM_SERVOS also needs to be set.  This is found later in this file.  Set it to
630
- *   1 + the number of other servos in your system.
654
+ * Z Servo Probe, such as an endstop switch on a rotating arm.
631 655
  */
632 656
 //#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
633 657
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
634 658
 
635
- /**
636
- *   The BLTouch probe emulates a servo probe.
637
- *   If using a BLTouch then NUM_SERVOS, Z_ENDSTOP_SERVO_NR and Z_SERVO_ANGLES
638
- *   are setup for you in the background and you shouldn't need to set/modify/enable them
639
- *   with the possible exception of Z_ENDSTOP_SERVO_NR.
640
- */
641
-//#define BLTOUCH
642
-//#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
643
-//#define BLTOUCH_HEATERS_OFF // if defined the printer's heaters are turned off during probe event
644
-
645 659
 /**
646
- *   BLTouch WARNING  -  ONLY APPLIES TO VERSIONS OF MARLIN BEFORE 15 FEB 2017
647
- *   Unless using interrupt endstops, there is a MINIMUM feedrate for Marlin to reliably
648
- *   sense the BLTouch.  If the feedrate is too slow then G28 & G29 can sometimes result
649
- *   in the print head being driven into the bed until manual intervention.
650
- *   The minimum feedrate calculation is:
651
- *
652
- *     feedrate minimum =  24000 / DEFAULT_AXIS_STEPS_PER_UNIT
653
- *        where feedrate is in "mm/minute" or "inches/minute" depending on the units used
654
- *        in DEFAULT_AXIS_STEPS_PER_UNIT
655
- *
656
- *   This applies to the HOMING_FEEDRATE_Z and Z_PROBE_SPEED_FAST.  If PROBE_DOUBLE_TOUCH
657
- *   is enabled then it also applies to Z_PROBE_SPEED_SLOW.
660
+ * The BLTouch probe is a Hall effect sensor that emulates a servo.
658 661
  */
662
+//#define BLTOUCH
663
+#if ENABLED(BLTOUCH)
664
+  //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
665
+  //#define BLTOUCH_HEATERS_OFF // Enable if the probe seems unreliable. Heaters will be disabled for each probe.
666
+#endif
659 667
 
660 668
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
661 669
 //#define SOLENOID_PROBE
662 670
 
663
-// Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.
671
+// A sled-mounted probe like those designed by Charles Bell.
664 672
 //#define Z_PROBE_SLED
665 673
 //#define SLED_DOCKING_OFFSET 5  // The extra distance the X axis must travel to pickup the sled. 0 should be fine but you can push it further if you'd like.
666 674
 
675
+//
676
+// For Z_PROBE_ALLEN_KEY see the Delta example configurations.
677
+//
678
+
667 679
 /**
668 680
  *   Z Probe to nozzle (X,Y) offset, relative to (0, 0).
669 681
  *   X and Y offsets must be integers.
@@ -750,67 +762,6 @@
750 762
 #endif // Z_PROBE_ALLEN_KEY
751 763
 
752 764
 /**
753
- *
754
- *   *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
755
- *
756
- *   - RAMPS 1.3/1.4 boards may be able to use the 5V, GND, and Aux4->D32 pin.
757
- *   - Use 5V for powered (usu. inductive) sensors.
758
- *   - Otherwise connect:
759
- *     - normally-closed switches to GND and D32.
760
- *     - normally-open switches to 5V and D32.
761
- *
762
- *   Normally-closed switches are advised and are the default.
763
- *
764
- *
765
- *   PIN OPTIONS\SETUP FOR Z PROBES
766
- *
767
- *
768
- *   WARNING:
769
- *   Setting the wrong pin may have unexpected and potentially disastrous consequences.
770
- *   Use with caution and do your homework.
771
- *
772
- *
773
- *   All Z PROBE pin options are configured by defining (or not defining)
774
- *   the following five items:
775
- *       Z_MIN_PROBE_ENDSTOP – defined below
776
- *       Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN – defined below
777
- *       Z_MIN_PIN - defined in the pins_YOUR_BOARD.h file
778
- *       Z_MIN_PROBE_PIN - defined in the pins_YOUR_BOARD.h file
779
- *
780
- *   If you're using a probe then you need to tell Marlin which pin to use as
781
- *   the Z MIN ENDSTOP.  Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN determines if the
782
- *   Z_MIN_PIN or if the Z_MIN_PROBE_PIN is used.
783
- *
784
- *   The pin selected for the probe is ONLY checked during probing operations.
785
- *   If you want to use the Z_MIN_PIN as an endstop AND you want to have a Z PROBE
786
- *   then you’ll need to use the Z_MIN_PROBE_PIN option.
787
- *
788
- *   Z_MIN_PROBE_ENDSTOP also needs to be enabled if you want to use Z_MIN_PROBE_PIN.
789
- *
790
- *   The settings needed to use the Z_MIN_PROBE_PIN are:
791
- *       1. select the type of probe you're using
792
- *       2. define Z_MIN_PROBE_PIN in your pins_YOUR_BOARD.h file
793
- *       3. disable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
794
- *       4. enable Z_MIN_PROBE_ENDSTOP
795
- *   NOTE – if Z_MIN_PIN is defined then it’ll be checked during all moves in the
796
- *          negative Z direction.
797
- *
798
- *   The settings needed to use the Z_MIN_PIN are:
799
- *       1. select the type of probe you're using
800
- *       2. enable Z_MIN _PIN in your pins_YOUR_BOARD.h file
801
- *       3. enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
802
- *       4. disable Z_MIN_PROBE_ENDSTOP
803
- *   NOTES – if Z_MIN_PROBE_PIN is defined in the pins_YOUR_BOARD.h file then it’ll be
804
- *          ignored by Marlin
805
- */
806
-
807
-//#define Z_MIN_PROBE_ENDSTOP // A3K leave disabled!
808
-#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
809
-
810
-// Enable Z Probe Repeatability test to see how accurate your probe is
811
-#define Z_MIN_PROBE_REPEATABILITY_TEST
812
-
813
-/**
814 765
  * Z probes require clearance when deploying, stowing, and moving between
815 766
  * probe points to avoid hitting the bed and other hardware.
816 767
  * Servo-mounted probes require extra space for the arm to rotate.
@@ -831,6 +782,9 @@
831 782
 #define Z_PROBE_OFFSET_RANGE_MIN -20
832 783
 #define Z_PROBE_OFFSET_RANGE_MAX 20
833 784
 
785
+// Enable the M48 repeatability test to test probe accuracy
786
+#define Z_MIN_PROBE_REPEATABILITY_TEST
787
+
834 788
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
835 789
 // :{ 0:'Low', 1:'High' }
836 790
 #define X_ENABLE_ON 0
@@ -849,7 +803,7 @@
849 803
 // @section extruder
850 804
 
851 805
 #define DISABLE_E false // For all extruders
852
-#define DISABLE_INACTIVE_EXTRUDER true //disable only inactive extruders and keep active extruder enabled
806
+#define DISABLE_INACTIVE_EXTRUDER true // Keep only the active extruder enabled.
853 807
 
854 808
 // @section machine
855 809
 

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

@@ -581,78 +581,90 @@
581 581
 #define DEFAULT_ZJERK                 20.0 // Must be same as XY for delta
582 582
 #define DEFAULT_EJERK                  5.0
583 583
 
584
+//===========================================================================
585
+//============================= Z Probe Options =============================
586
+//===========================================================================
587
+// @section probes
588
+
589
+//
590
+// See http://marlinfw.org/configuration/probes.html
591
+//
584 592
 
585 593
 /**
586
- * ===========================================================================
587
- * ============================= Z Probe Options =============================
588
- * ===========================================================================
589
- *    @section probes
594
+ * Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
590 595
  *
596
+ * Enable this option for a probe connected to the Z Min endstop pin.
597
+ */
598
+//#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
599
+
600
+/**
601
+ * Z_MIN_PROBE_ENDSTOP
602
+ *
603
+ * Enable this option for a probe connected to any pin except Z-Min.
604
+ * (By default Marlin assumes the Z-Max endstop pin.)
605
+ * To use a custom Z Probe pin, set Z_MIN_PROBE_PIN below.
591 606
  *
592
- *   Probe Type
593
- *   Probes are sensors/switches that are activated / deactivated before/after use.
607
+ *  - The simplest option is to use a free endstop connector.
608
+ *  - Use 5V for powered (usually inductive) sensors.
594 609
  *
595
- *   Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
596
- *   You must activate one of these to use Auto Bed Leveling below.
610
+ *  - RAMPS 1.3/1.4 boards may use the 5V, GND, and Aux4->D32 pin:
611
+ *    - For simple switches connect...
612
+ *      - normally-closed switches to GND and D32.
613
+ *      - normally-open switches to 5V and D32.
614
+ *
615
+ * WARNING: Setting the wrong pin may have unexpected and potentially
616
+ * disastrous consequences. Use with caution and do your homework.
617
+ *
618
+ */
619
+#define Z_MIN_PROBE_ENDSTOP
620
+//#define Z_MIN_PROBE_PIN Z_MAX_PIN
621
+
622
+/**
623
+ * Probe Type
597 624
  *
598
- *   Use M851 to set the Z probe vertical offset from the nozzle. Store with M500.
625
+ * Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
626
+ * Activate one of these to use Auto Bed Leveling below.
599 627
  */
600 628
 
601 629
 /**
602
- *   The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe.
603
- *   Use G29 repeatedly, adjusting the Z height at each point with movement commands
604
- *   or (with LCD_BED_LEVELING) the LCD controller.
630
+ * The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe.
631
+ * Use G29 repeatedly, adjusting the Z height at each point with movement commands
632
+ * or (with LCD_BED_LEVELING) the LCD controller.
605 633
  */
606 634
 //#define PROBE_MANUALLY
607 635
 
608 636
 /**
609
- *   A Fix-Mounted Probe either doesn't deploy or needs manual deployment.
610
- *   For example an inductive probe, or a setup that uses the nozzle to probe.
611
- *   An inductive probe must be deactivated to go below
612
- *   its trigger-point if hardware endstops are active.
637
+ * A Fix-Mounted Probe either doesn't deploy or needs manual deployment.
638
+ *   (e.g., an inductive probe or a nozzle-based probe-switch.)
613 639
  */
614 640
 //#define FIX_MOUNTED_PROBE
615 641
 
616 642
 /**
617
- *   Z Servo Probe, such as an endstop switch on a rotating arm.
618
- *   NUM_SERVOS also needs to be set.  This is found later in this file.  Set it to
619
- *   1 + the number of other servos in your system.
643
+ * Z Servo Probe, such as an endstop switch on a rotating arm.
620 644
  */
621 645
 //#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
622 646
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
623 647
 
624
- /**
625
- *   The BLTouch probe emulates a servo probe.
626
- *   If using a BLTouch then NUM_SERVOS, Z_ENDSTOP_SERVO_NR and Z_SERVO_ANGLES
627
- *   are setup for you in the background and you shouldn't need to set/modify/enable them
628
- *   with the possible exception of Z_ENDSTOP_SERVO_NR.
629
- */
630
-//#define BLTOUCH
631
-//#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
632
-//#define BLTOUCH_HEATERS_OFF // if defined the printer's heaters are turned off during probe event
633
-
634 648
 /**
635
- *   BLTouch WARNING  -  ONLY APPLIES TO VERSIONS OF MARLIN BEFORE 15 FEB 2017
636
- *   Unless using interrupt endstops, there is a MINIMUM feedrate for Marlin to reliably
637
- *   sense the BLTouch.  If the feedrate is too slow then G28 & G29 can sometimes result
638
- *   in the print head being driven into the bed until manual intervention.
639
- *   The minimum feedrate calculation is:
640
- *
641
- *     feedrate minimum =  24000 / DEFAULT_AXIS_STEPS_PER_UNIT
642
- *        where feedrate is in "mm/minute" or "inches/minute" depending on the units used
643
- *        in DEFAULT_AXIS_STEPS_PER_UNIT
644
- *
645
- *   This applies to the HOMING_FEEDRATE_Z and Z_PROBE_SPEED_FAST.  If PROBE_DOUBLE_TOUCH
646
- *   is enabled then it also applies to Z_PROBE_SPEED_SLOW.
649
+ * The BLTouch probe is a Hall effect sensor that emulates a servo.
647 650
  */
651
+//#define BLTOUCH
652
+#if ENABLED(BLTOUCH)
653
+  //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
654
+  //#define BLTOUCH_HEATERS_OFF // Enable if the probe seems unreliable. Heaters will be disabled for each probe.
655
+#endif
648 656
 
649 657
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
650 658
 //#define SOLENOID_PROBE
651 659
 
652
-// Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.
660
+// A sled-mounted probe like those designed by Charles Bell.
653 661
 //#define Z_PROBE_SLED
654 662
 //#define SLED_DOCKING_OFFSET 5  // The extra distance the X axis must travel to pickup the sled. 0 should be fine but you can push it further if you'd like.
655 663
 
664
+//
665
+// For Z_PROBE_ALLEN_KEY see the Delta example configurations.
666
+//
667
+
656 668
 /**
657 669
  *   Z Probe to nozzle (X,Y) offset, relative to (0, 0).
658 670
  *   X and Y offsets must be integers.
@@ -736,68 +748,6 @@
736 748
 #endif // Z_PROBE_ALLEN_KEY
737 749
 
738 750
 /**
739
- *
740
- *   *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
741
- *
742
- *   - RAMPS 1.3/1.4 boards may be able to use the 5V, GND, and Aux4->D32 pin.
743
- *   - Use 5V for powered (usu. inductive) sensors.
744
- *   - Otherwise connect:
745
- *     - normally-closed switches to GND and D32.
746
- *     - normally-open switches to 5V and D32.
747
- *
748
- *   Normally-closed switches are advised and are the default.
749
- *
750
- *
751
- *   PIN OPTIONS\SETUP FOR Z PROBES
752
- *
753
- *
754
- *   WARNING:
755
- *   Setting the wrong pin may have unexpected and potentially disastrous consequences.
756
- *   Use with caution and do your homework.
757
- *
758
- *
759
- *   All Z PROBE pin options are configured by defining (or not defining)
760
- *   the following five items:
761
- *       Z_MIN_PROBE_ENDSTOP – defined below
762
- *       Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN – defined below
763
- *       Z_MIN_PIN - defined in the pins_YOUR_BOARD.h file
764
- *       Z_MIN_PROBE_PIN - defined in the pins_YOUR_BOARD.h file
765
- *
766
- *   If you're using a probe then you need to tell Marlin which pin to use as
767
- *   the Z MIN ENDSTOP.  Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN determines if the
768
- *   Z_MIN_PIN or if the Z_MIN_PROBE_PIN is used.
769
- *
770
- *   The pin selected for the probe is ONLY checked during probing operations.
771
- *   If you want to use the Z_MIN_PIN as an endstop AND you want to have a Z PROBE
772
- *   then you’ll need to use the Z_MIN_PROBE_PIN option.
773
- *
774
- *   Z_MIN_PROBE_ENDSTOP also needs to be enabled if you want to use Z_MIN_PROBE_PIN.
775
- *
776
- *   The settings needed to use the Z_MIN_PROBE_PIN are:
777
- *       1. select the type of probe you're using
778
- *       2. define Z_MIN_PROBE_PIN in your pins_YOUR_BOARD.h file
779
- *       3. disable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
780
- *       4. enable Z_MIN_PROBE_ENDSTOP
781
- *   NOTE – if Z_MIN_PIN is defined then it’ll be checked during all moves in the
782
- *          negative Z direction.
783
- *
784
- *   The settings needed to use the Z_MIN_PIN are:
785
- *       1. select the type of probe you're using
786
- *       2. enable Z_MIN _PIN in your pins_YOUR_BOARD.h file
787
- *       3. enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
788
- *       4. disable Z_MIN_PROBE_ENDSTOP
789
- *   NOTES – if Z_MIN_PROBE_PIN is defined in the pins_YOUR_BOARD.h file then it’ll be
790
- *          ignored by Marlin
791
- */
792
-
793
-#define Z_MIN_PROBE_ENDSTOP
794
-//#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
795
-
796
-
797
-// Enable Z Probe Repeatability test to see how accurate your probe is
798
-//#define Z_MIN_PROBE_REPEATABILITY_TEST
799
-
800
-/**
801 751
  * Z probes require clearance when deploying, stowing, and moving between
802 752
  * probe points to avoid hitting the bed and other hardware.
803 753
  * Servo-mounted probes require extra space for the arm to rotate.
@@ -818,6 +768,9 @@
818 768
 #define Z_PROBE_OFFSET_RANGE_MIN -20
819 769
 #define Z_PROBE_OFFSET_RANGE_MAX 20
820 770
 
771
+// Enable the M48 repeatability test to test probe accuracy
772
+//#define Z_MIN_PROBE_REPEATABILITY_TEST
773
+
821 774
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
822 775
 // :{ 0:'Low', 1:'High' }
823 776
 #define X_ENABLE_ON 0
@@ -836,7 +789,7 @@
836 789
 // @section extruder
837 790
 
838 791
 #define DISABLE_E false // For all extruders
839
-#define DISABLE_INACTIVE_EXTRUDER true //disable only inactive extruders and keep active extruder enabled
792
+#define DISABLE_INACTIVE_EXTRUDER true // Keep only the active extruder enabled.
840 793
 
841 794
 // @section machine
842 795
 

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

@@ -581,71 +581,85 @@
581 581
 #define DEFAULT_ZJERK                 20.0 // Must be same as XY for delta
582 582
 #define DEFAULT_EJERK                  5.0
583 583
 
584
+//===========================================================================
585
+//============================= Z Probe Options =============================
586
+//===========================================================================
587
+// @section probes
588
+
589
+//
590
+// See http://marlinfw.org/configuration/probes.html
591
+//
584 592
 
585 593
 /**
586
- * ===========================================================================
587
- * ============================= Z Probe Options =============================
588
- * ===========================================================================
589
- *    @section probes
594
+ * Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
590 595
  *
596
+ * Enable this option for a probe connected to the Z Min endstop pin.
597
+ */
598
+#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
599
+
600
+/**
601
+ * Z_MIN_PROBE_ENDSTOP
602
+ *
603
+ * Enable this option for a probe connected to any pin except Z-Min.
604
+ * (By default Marlin assumes the Z-Max endstop pin.)
605
+ * To use a custom Z Probe pin, set Z_MIN_PROBE_PIN below.
591 606
  *
592
- *   Probe Type
593
- *   Probes are sensors/switches that are activated / deactivated before/after use.
607
+ *  - The simplest option is to use a free endstop connector.
608
+ *  - Use 5V for powered (usually inductive) sensors.
594 609
  *
595
- *   Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
596
- *   You must activate one of these to use Auto Bed Leveling below.
610
+ *  - RAMPS 1.3/1.4 boards may use the 5V, GND, and Aux4->D32 pin:
611
+ *    - For simple switches connect...
612
+ *      - normally-closed switches to GND and D32.
613
+ *      - normally-open switches to 5V and D32.
614
+ *
615
+ * WARNING: Setting the wrong pin may have unexpected and potentially
616
+ * disastrous consequences. Use with caution and do your homework.
617
+ *
618
+ */
619
+//#define Z_MIN_PROBE_ENDSTOP
620
+//#define Z_MIN_PROBE_PIN Z_MAX_PIN
621
+
622
+/**
623
+ * Probe Type
597 624
  *
598
- *   Use M851 to set the Z probe vertical offset from the nozzle. Store with M500.
625
+ * Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
626
+ * Activate one of these to use Auto Bed Leveling below.
599 627
  */
600 628
 
601 629
 
602 630
 /**
603
- *   The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe.
604
- *   Use G29 repeatedly, adjusting the Z height at each point with movement commands
605
- *   or (with LCD_BED_LEVELING) the LCD controller.
631
+ * The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe.
632
+ * Use G29 repeatedly, adjusting the Z height at each point with movement commands
633
+ * or (with LCD_BED_LEVELING) the LCD controller.
606 634
  */
607 635
 //#define PROBE_MANUALLY
608 636
 
609 637
 /**
610
- *   Z Servo Probe, such as an endstop switch on a rotating arm.
611
- *   NUM_SERVOS also needs to be set.  This is found later in this file.  Set it to
612
- *   1 + the number of other servos in your system.
638
+ * Z Servo Probe, such as an endstop switch on a rotating arm.
613 639
  */
614 640
 //#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
615 641
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
616 642
 
617
- /**
618
- *   The BLTouch probe emulates a servo probe.
619
- *   If using a BLTouch then NUM_SERVOS, Z_ENDSTOP_SERVO_NR and Z_SERVO_ANGLES
620
- *   are setup for you in the background and you shouldn't need to set/modify/enable them
621
- *   with the possible exception of Z_ENDSTOP_SERVO_NR.
622
- */
623
-//#define BLTOUCH
624
-//#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
625
-//#define BLTOUCH_HEATERS_OFF // if defined the printer's heaters are turned off during probe event
626
-
627 643
 /**
628
- *   BLTouch WARNING  -  ONLY APPLIES TO VERSIONS OF MARLIN BEFORE 15 FEB 2017
629
- *   Unless using interrupt endstops, there is a MINIMUM feedrate for Marlin to reliably
630
- *   sense the BLTouch.  If the feedrate is too slow then G28 & G29 can sometimes result
631
- *   in the print head being driven into the bed until manual intervention.
632
- *   The minimum feedrate calculation is:
633
- *
634
- *     feedrate minimum =  24000 / DEFAULT_AXIS_STEPS_PER_UNIT
635
- *        where feedrate is in "mm/minute" or "inches/minute" depending on the units used
636
- *        in DEFAULT_AXIS_STEPS_PER_UNIT
637
- *
638
- *   This applies to the HOMING_FEEDRATE_Z and Z_PROBE_SPEED_FAST.  If PROBE_DOUBLE_TOUCH
639
- *   is enabled then it also applies to Z_PROBE_SPEED_SLOW.
644
+ * The BLTouch probe is a Hall effect sensor that emulates a servo.
640 645
  */
646
+//#define BLTOUCH
647
+#if ENABLED(BLTOUCH)
648
+  //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
649
+  //#define BLTOUCH_HEATERS_OFF // Enable if the probe seems unreliable. Heaters will be disabled for each probe.
650
+#endif
641 651
 
642 652
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
643 653
 //#define SOLENOID_PROBE
644 654
 
645
-// Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.
655
+// A sled-mounted probe like those designed by Charles Bell.
646 656
 //#define Z_PROBE_SLED
647 657
 //#define SLED_DOCKING_OFFSET 5  // The extra distance the X axis must travel to pickup the sled. 0 should be fine but you can push it further if you'd like.
648 658
 
659
+//
660
+// For Z_PROBE_ALLEN_KEY see the Delta example configurations.
661
+//
662
+
649 663
 /**
650 664
  *   Z Probe to nozzle (X,Y) offset, relative to (0, 0).
651 665
  *   X and Y offsets must be integers.
@@ -732,68 +746,6 @@
732 746
 #endif // Z_PROBE_ALLEN_KEY
733 747
 
734 748
 /**
735
- *
736
- *   *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
737
- *
738
- *   - RAMPS 1.3/1.4 boards may be able to use the 5V, GND, and Aux4->D32 pin.
739
- *   - Use 5V for powered (usu. inductive) sensors.
740
- *   - Otherwise connect:
741
- *     - normally-closed switches to GND and D32.
742
- *     - normally-open switches to 5V and D32.
743
- *
744
- *   Normally-closed switches are advised and are the default.
745
- *
746
- *
747
- *   PIN OPTIONS\SETUP FOR Z PROBES
748
- *
749
- *
750
- *   WARNING:
751
- *   Setting the wrong pin may have unexpected and potentially disastrous consequences.
752
- *   Use with caution and do your homework.
753
- *
754
- *
755
- *   All Z PROBE pin options are configured by defining (or not defining)
756
- *   the following five items:
757
- *       Z_MIN_PROBE_ENDSTOP – defined below
758
- *       Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN – defined below
759
- *       Z_MIN_PIN - defined in the pins_YOUR_BOARD.h file
760
- *       Z_MIN_PROBE_PIN - defined in the pins_YOUR_BOARD.h file
761
- *
762
- *   If you're using a probe then you need to tell Marlin which pin to use as
763
- *   the Z MIN ENDSTOP.  Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN determines if the
764
- *   Z_MIN_PIN or if the Z_MIN_PROBE_PIN is used.
765
- *
766
- *   The pin selected for the probe is ONLY checked during probing operations.
767
- *   If you want to use the Z_MIN_PIN as an endstop AND you want to have a Z PROBE
768
- *   then you’ll need to use the Z_MIN_PROBE_PIN option.
769
- *
770
- *   Z_MIN_PROBE_ENDSTOP also needs to be enabled if you want to use Z_MIN_PROBE_PIN.
771
- *
772
- *   The settings needed to use the Z_MIN_PROBE_PIN are:
773
- *       1. select the type of probe you're using
774
- *       2. define Z_MIN_PROBE_PIN in your pins_YOUR_BOARD.h file
775
- *       3. disable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
776
- *       4. enable Z_MIN_PROBE_ENDSTOP
777
- *   NOTE – if Z_MIN_PIN is defined then it’ll be checked during all moves in the
778
- *          negative Z direction.
779
- *
780
- *   The settings needed to use the Z_MIN_PIN are:
781
- *       1. select the type of probe you're using
782
- *       2. enable Z_MIN _PIN in your pins_YOUR_BOARD.h file
783
- *       3. enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
784
- *       4. disable Z_MIN_PROBE_ENDSTOP
785
- *   NOTES – if Z_MIN_PROBE_PIN is defined in the pins_YOUR_BOARD.h file then it’ll be
786
- *          ignored by Marlin
787
- */
788
-
789
-//#define Z_MIN_PROBE_ENDSTOP
790
-#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
791
-
792
-
793
-// Enable Z Probe Repeatability test to see how accurate your probe is
794
-//#define Z_MIN_PROBE_REPEATABILITY_TEST
795
-
796
-/**
797 749
  * Z probes require clearance when deploying, stowing, and moving between
798 750
  * probe points to avoid hitting the bed and other hardware.
799 751
  * Servo-mounted probes require extra space for the arm to rotate.
@@ -814,6 +766,9 @@
814 766
 #define Z_PROBE_OFFSET_RANGE_MIN -20
815 767
 #define Z_PROBE_OFFSET_RANGE_MAX 20
816 768
 
769
+// Enable the M48 repeatability test to test probe accuracy
770
+//#define Z_MIN_PROBE_REPEATABILITY_TEST
771
+
817 772
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
818 773
 // :{ 0:'Low', 1:'High' }
819 774
 #define X_ENABLE_ON 0
@@ -832,7 +787,7 @@
832 787
 // @section extruder
833 788
 
834 789
 #define DISABLE_E false // For all extruders
835
-#define DISABLE_INACTIVE_EXTRUDER true //disable only inactive extruders and keep active extruder enabled
790
+#define DISABLE_INACTIVE_EXTRUDER true // Keep only the active extruder enabled.
836 791
 
837 792
 // @section machine
838 793
 

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

@@ -575,78 +575,90 @@
575 575
 #define DEFAULT_ZJERK                 20.0 // Must be same as XY for delta
576 576
 #define DEFAULT_EJERK                  5.0
577 577
 
578
+//===========================================================================
579
+//============================= Z Probe Options =============================
580
+//===========================================================================
581
+// @section probes
582
+
583
+//
584
+// See http://marlinfw.org/configuration/probes.html
585
+//
578 586
 
579 587
 /**
580
- * ===========================================================================
581
- * ============================= Z Probe Options =============================
582
- * ===========================================================================
583
- *    @section probes
588
+ * Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
584 589
  *
590
+ * Enable this option for a probe connected to the Z Min endstop pin.
591
+ */
592
+#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
593
+
594
+/**
595
+ * Z_MIN_PROBE_ENDSTOP
596
+ *
597
+ * Enable this option for a probe connected to any pin except Z-Min.
598
+ * (By default Marlin assumes the Z-Max endstop pin.)
599
+ * To use a custom Z Probe pin, set Z_MIN_PROBE_PIN below.
585 600
  *
586
- *   Probe Type
587
- *   Probes are sensors/switches that are activated / deactivated before/after use.
601
+ *  - The simplest option is to use a free endstop connector.
602
+ *  - Use 5V for powered (usually inductive) sensors.
588 603
  *
589
- *   Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
590
- *   You must activate one of these to use Auto Bed Leveling below.
604
+ *  - RAMPS 1.3/1.4 boards may use the 5V, GND, and Aux4->D32 pin:
605
+ *    - For simple switches connect...
606
+ *      - normally-closed switches to GND and D32.
607
+ *      - normally-open switches to 5V and D32.
608
+ *
609
+ * WARNING: Setting the wrong pin may have unexpected and potentially
610
+ * disastrous consequences. Use with caution and do your homework.
611
+ *
612
+ */
613
+//#define Z_MIN_PROBE_ENDSTOP
614
+//#define Z_MIN_PROBE_PIN Z_MAX_PIN
615
+
616
+/**
617
+ * Probe Type
591 618
  *
592
- *   Use M851 to set the Z probe vertical offset from the nozzle. Store with M500.
619
+ * Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
620
+ * Activate one of these to use Auto Bed Leveling below.
593 621
  */
594 622
 
595 623
 /**
596
- *   The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe.
597
- *   Use G29 repeatedly, adjusting the Z height at each point with movement commands
598
- *   or (with LCD_BED_LEVELING) the LCD controller.
624
+ * The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe.
625
+ * Use G29 repeatedly, adjusting the Z height at each point with movement commands
626
+ * or (with LCD_BED_LEVELING) the LCD controller.
599 627
  */
600 628
 //#define PROBE_MANUALLY
601 629
 
602 630
 /**
603
- *   A Fix-Mounted Probe either doesn't deploy or needs manual deployment.
604
- *   For example an inductive probe, or a setup that uses the nozzle to probe.
605
- *   An inductive probe must be deactivated to go below
606
- *   its trigger-point if hardware endstops are active.
631
+ * A Fix-Mounted Probe either doesn't deploy or needs manual deployment.
632
+ *   (e.g., an inductive probe or a nozzle-based probe-switch.)
607 633
  */
608 634
 //#define FIX_MOUNTED_PROBE
609 635
 
610 636
 /**
611
- *   Z Servo Probe, such as an endstop switch on a rotating arm.
612
- *   NUM_SERVOS also needs to be set.  This is found later in this file.  Set it to
613
- *   1 + the number of other servos in your system.
637
+ * Z Servo Probe, such as an endstop switch on a rotating arm.
614 638
  */
615 639
 //#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
616 640
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
617 641
 
618
- /**
619
- *   The BLTouch probe emulates a servo probe.
620
- *   If using a BLTouch then NUM_SERVOS, Z_ENDSTOP_SERVO_NR and Z_SERVO_ANGLES
621
- *   are setup for you in the background and you shouldn't need to set/modify/enable them
622
- *   with the possible exception of Z_ENDSTOP_SERVO_NR.
623
- */
624
-//#define BLTOUCH
625
-//#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
626
-//#define BLTOUCH_HEATERS_OFF // if defined the printer's heaters are turned off during probe event
627
-
628 642
 /**
629
- *   BLTouch WARNING  -  ONLY APPLIES TO VERSIONS OF MARLIN BEFORE 15 FEB 2017
630
- *   Unless using interrupt endstops, there is a MINIMUM feedrate for Marlin to reliably
631
- *   sense the BLTouch.  If the feedrate is too slow then G28 & G29 can sometimes result
632
- *   in the print head being driven into the bed until manual intervention.
633
- *   The minimum feedrate calculation is:
634
- *
635
- *     feedrate minimum =  24000 / DEFAULT_AXIS_STEPS_PER_UNIT
636
- *        where feedrate is in "mm/minute" or "inches/minute" depending on the units used
637
- *        in DEFAULT_AXIS_STEPS_PER_UNIT
638
- *
639
- *   This applies to the HOMING_FEEDRATE_Z and Z_PROBE_SPEED_FAST.  If PROBE_DOUBLE_TOUCH
640
- *   is enabled then it also applies to Z_PROBE_SPEED_SLOW.
643
+ * The BLTouch probe is a Hall effect sensor that emulates a servo.
641 644
  */
645
+//#define BLTOUCH
646
+#if ENABLED(BLTOUCH)
647
+  //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
648
+  //#define BLTOUCH_HEATERS_OFF // Enable if the probe seems unreliable. Heaters will be disabled for each probe.
649
+#endif
642 650
 
643 651
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
644 652
 //#define SOLENOID_PROBE
645 653
 
646
-// Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.
654
+// A sled-mounted probe like those designed by Charles Bell.
647 655
 //#define Z_PROBE_SLED
648 656
 //#define SLED_DOCKING_OFFSET 5  // The extra distance the X axis must travel to pickup the sled. 0 should be fine but you can push it further if you'd like.
649 657
 
658
+//
659
+// For Z_PROBE_ALLEN_KEY see the Delta example configurations.
660
+//
661
+
650 662
 /**
651 663
  *   Z Probe to nozzle (X,Y) offset, relative to (0, 0).
652 664
  *   X and Y offsets must be integers.
@@ -739,68 +751,6 @@
739 751
 #endif // Z_PROBE_ALLEN_KEY
740 752
 
741 753
 /**
742
- *
743
- *   *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
744
- *
745
- *   - RAMPS 1.3/1.4 boards may be able to use the 5V, GND, and Aux4->D32 pin.
746
- *   - Use 5V for powered (usu. inductive) sensors.
747
- *   - Otherwise connect:
748
- *     - normally-closed switches to GND and D32.
749
- *     - normally-open switches to 5V and D32.
750
- *
751
- *   Normally-closed switches are advised and are the default.
752
- *
753
- *
754
- *   PIN OPTIONS\SETUP FOR Z PROBES
755
- *
756
- *
757
- *   WARNING:
758
- *   Setting the wrong pin may have unexpected and potentially disastrous consequences.
759
- *   Use with caution and do your homework.
760
- *
761
- *
762
- *   All Z PROBE pin options are configured by defining (or not defining)
763
- *   the following five items:
764
- *       Z_MIN_PROBE_ENDSTOP – defined below
765
- *       Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN – defined below
766
- *       Z_MIN_PIN - defined in the pins_YOUR_BOARD.h file
767
- *       Z_MIN_PROBE_PIN - defined in the pins_YOUR_BOARD.h file
768
- *
769
- *   If you're using a probe then you need to tell Marlin which pin to use as
770
- *   the Z MIN ENDSTOP.  Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN determines if the
771
- *   Z_MIN_PIN or if the Z_MIN_PROBE_PIN is used.
772
- *
773
- *   The pin selected for the probe is ONLY checked during probing operations.
774
- *   If you want to use the Z_MIN_PIN as an endstop AND you want to have a Z PROBE
775
- *   then you’ll need to use the Z_MIN_PROBE_PIN option.
776
- *
777
- *   Z_MIN_PROBE_ENDSTOP also needs to be enabled if you want to use Z_MIN_PROBE_PIN.
778
- *
779
- *   The settings needed to use the Z_MIN_PROBE_PIN are:
780
- *       1. select the type of probe you're using
781
- *       2. define Z_MIN_PROBE_PIN in your pins_YOUR_BOARD.h file
782
- *       3. disable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
783
- *       4. enable Z_MIN_PROBE_ENDSTOP
784
- *   NOTE – if Z_MIN_PIN is defined then it’ll be checked during all moves in the
785
- *          negative Z direction.
786
- *
787
- *   The settings needed to use the Z_MIN_PIN are:
788
- *       1. select the type of probe you're using
789
- *       2. enable Z_MIN _PIN in your pins_YOUR_BOARD.h file
790
- *       3. enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
791
- *       4. disable Z_MIN_PROBE_ENDSTOP
792
- *   NOTES – if Z_MIN_PROBE_PIN is defined in the pins_YOUR_BOARD.h file then it’ll be
793
- *          ignored by Marlin
794
- */
795
-
796
-//#define Z_MIN_PROBE_ENDSTOP
797
-#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
798
-
799
-
800
-// Enable Z Probe Repeatability test to see how accurate your probe is
801
-//#define Z_MIN_PROBE_REPEATABILITY_TEST
802
-
803
-/**
804 754
  * Z probes require clearance when deploying, stowing, and moving between
805 755
  * probe points to avoid hitting the bed and other hardware.
806 756
  * Servo-mounted probes require extra space for the arm to rotate.
@@ -822,6 +772,9 @@
822 772
 #define Z_PROBE_OFFSET_RANGE_MIN -15
823 773
 #define Z_PROBE_OFFSET_RANGE_MAX   5
824 774
 
775
+// Enable the M48 repeatability test to test probe accuracy
776
+//#define Z_MIN_PROBE_REPEATABILITY_TEST
777
+
825 778
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
826 779
 // :{ 0:'Low', 1:'High' }
827 780
 #define X_ENABLE_ON 0
@@ -840,7 +793,7 @@
840 793
 // @section extruder
841 794
 
842 795
 #define DISABLE_E false // For all extruders
843
-#define DISABLE_INACTIVE_EXTRUDER true //disable only inactive extruders and keep active extruder enabled
796
+#define DISABLE_INACTIVE_EXTRUDER true // Keep only the active extruder enabled.
844 797
 
845 798
 // @section machine
846 799
 

+ 58
- 50
Marlin/example_configurations/delta/kossel_xl/Configuration.h View File

@@ -594,78 +594,90 @@
594 594
 #define DEFAULT_ZJERK                 20.0
595 595
 #define DEFAULT_EJERK                 20.0
596 596
 
597
+//===========================================================================
598
+//============================= Z Probe Options =============================
599
+//===========================================================================
600
+// @section probes
601
+
602
+//
603
+// See http://marlinfw.org/configuration/probes.html
604
+//
605
+
606
+/**
607
+ * Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
608
+ *
609
+ * Enable this option for a probe connected to the Z Min endstop pin.
610
+ */
611
+//#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
597 612
 
598 613
 /**
599
- * ===========================================================================
600
- * ============================= Z Probe Options =============================
601
- * ===========================================================================
602
- *    @section probes
614
+ * Z_MIN_PROBE_ENDSTOP
615
+ *
616
+ * Enable this option for a probe connected to any pin except Z-Min.
617
+ * (By default Marlin assumes the Z-Max endstop pin.)
618
+ * To use a custom Z Probe pin, set Z_MIN_PROBE_PIN below.
619
+ *
620
+ *  - The simplest option is to use a free endstop connector.
621
+ *  - Use 5V for powered (usually inductive) sensors.
603 622
  *
623
+ *  - RAMPS 1.3/1.4 boards may use the 5V, GND, and Aux4->D32 pin:
624
+ *    - For simple switches connect...
625
+ *      - normally-closed switches to GND and D32.
626
+ *      - normally-open switches to 5V and D32.
604 627
  *
605
- *   Probe Type
606
- *   Probes are sensors/switches that are activated / deactivated before/after use.
628
+ * WARNING: Setting the wrong pin may have unexpected and potentially
629
+ * disastrous consequences. Use with caution and do your homework.
607 630
  *
608
- *   Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
609
- *   You must activate one of these to use Auto Bed Leveling below.
631
+ */
632
+#define Z_MIN_PROBE_ENDSTOP
633
+//#define Z_MIN_PROBE_PIN Z_MAX_PIN
634
+
635
+/**
636
+ * Probe Type
610 637
  *
611
- *   Use M851 to set the Z probe vertical offset from the nozzle. Store with M500.
638
+ * Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
639
+ * Activate one of these to use Auto Bed Leveling below.
612 640
  */
613 641
 
614 642
 /**
615
- *   The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe.
616
- *   Use G29 repeatedly, adjusting the Z height at each point with movement commands
617
- *   or (with LCD_BED_LEVELING) the LCD controller.
643
+ * The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe.
644
+ * Use G29 repeatedly, adjusting the Z height at each point with movement commands
645
+ * or (with LCD_BED_LEVELING) the LCD controller.
618 646
  */
619 647
 //#define PROBE_MANUALLY
620 648
 
621 649
 /**
622
- *   A Fix-Mounted Probe either doesn't deploy or needs manual deployment.
623
- *   For example an inductive probe, or a setup that uses the nozzle to probe.
624
- *   An inductive probe must be deactivated to go below
625
- *   its trigger-point if hardware endstops are active.
650
+ * A Fix-Mounted Probe either doesn't deploy or needs manual deployment.
651
+ *   (e.g., an inductive probe or a nozzle-based probe-switch.)
626 652
  */
627 653
 #define FIX_MOUNTED_PROBE
628 654
 
629 655
 /**
630
- *   Z Servo Probe, such as an endstop switch on a rotating arm.
631
- *   NUM_SERVOS also needs to be set.  This is found later in this file.  Set it to
632
- *   1 + the number of other servos in your system.
656
+ * Z Servo Probe, such as an endstop switch on a rotating arm.
633 657
  */
634 658
 //#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
635 659
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
636 660
 
637
- /**
638
- *   The BLTouch probe emulates a servo probe.
639
- *   If using a BLTouch then NUM_SERVOS, Z_ENDSTOP_SERVO_NR and Z_SERVO_ANGLES
640
- *   are setup for you in the background and you shouldn't need to set/modify/enable them
641
- *   with the possible exception of Z_ENDSTOP_SERVO_NR.
642
- */
643
-//#define BLTOUCH
644
-//#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
645
-//#define BLTOUCH_HEATERS_OFF // if defined the printer's heaters are turned off during probe event
646
-
647 661
 /**
648
- *   BLTouch WARNING  -  ONLY APPLIES TO VERSIONS OF MARLIN BEFORE 15 FEB 2017
649
- *   Unless using interrupt endstops, there is a MINIMUM feedrate for Marlin to reliably
650
- *   sense the BLTouch.  If the feedrate is too slow then G28 & G29 can sometimes result
651
- *   in the print head being driven into the bed until manual intervention.
652
- *   The minimum feedrate calculation is:
653
- *
654
- *     feedrate minimum =  24000 / DEFAULT_AXIS_STEPS_PER_UNIT
655
- *        where feedrate is in "mm/minute" or "inches/minute" depending on the units used
656
- *        in DEFAULT_AXIS_STEPS_PER_UNIT
657
- *
658
- *   This applies to the HOMING_FEEDRATE_Z and Z_PROBE_SPEED_FAST.  If PROBE_DOUBLE_TOUCH
659
- *   is enabled then it also applies to Z_PROBE_SPEED_SLOW.
662
+ * The BLTouch probe is a Hall effect sensor that emulates a servo.
660 663
  */
664
+//#define BLTOUCH
665
+#if ENABLED(BLTOUCH)
666
+  //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
667
+  //#define BLTOUCH_HEATERS_OFF // Enable if the probe seems unreliable. Heaters will be disabled for each probe.
668
+#endif
661 669
 
662 670
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
663 671
 //#define SOLENOID_PROBE
664 672
 
665
-// Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.
673
+// A sled-mounted probe like those designed by Charles Bell.
666 674
 //#define Z_PROBE_SLED
667 675
 //#define SLED_DOCKING_OFFSET 5  // The extra distance the X axis must travel to pickup the sled. 0 should be fine but you can push it further if you'd like.
668 676
 
677
+//
678
+// For Z_PROBE_ALLEN_KEY see the Delta example configurations.
679
+//
680
+
669 681
 /**
670 682
  *   Z Probe to nozzle (X,Y) offset, relative to (0, 0).
671 683
  *   X and Y offsets must be integers.
@@ -802,13 +814,6 @@
802 814
  *          ignored by Marlin
803 815
  */
804 816
 
805
-#define Z_MIN_PROBE_ENDSTOP
806
-//#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
807
-
808
-
809
-// Enable Z Probe Repeatability test to see how accurate your probe is
810
-//#define Z_MIN_PROBE_REPEATABILITY_TEST
811
-
812 817
 /**
813 818
  * Z probes require clearance when deploying, stowing, and moving between
814 819
  * probe points to avoid hitting the bed and other hardware.
@@ -830,6 +835,9 @@
830 835
 #define Z_PROBE_OFFSET_RANGE_MIN -20
831 836
 #define Z_PROBE_OFFSET_RANGE_MAX 20
832 837
 
838
+// Enable the M48 repeatability test to test probe accuracy
839
+//#define Z_MIN_PROBE_REPEATABILITY_TEST
840
+
833 841
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
834 842
 // :{ 0:'Low', 1:'High' }
835 843
 #define X_ENABLE_ON 0
@@ -848,7 +856,7 @@
848 856
 // @section extruder
849 857
 
850 858
 #define DISABLE_E false // For all extruders
851
-#define DISABLE_INACTIVE_EXTRUDER true //disable only inactive extruders and keep active extruder enabled
859
+#define DISABLE_INACTIVE_EXTRUDER true // Keep only the active extruder enabled.
852 860
 
853 861
 // @section machine
854 862
 

+ 17
- 95
Marlin/example_configurations/gCreate_gMax1.5+/Configuration.h View File

@@ -549,60 +549,42 @@
549 549
  */
550 550
 
551 551
 /**
552
- *   The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe.
553
- *   Use G29 repeatedly, adjusting the Z height at each point with movement commands
554
- *   or (with LCD_BED_LEVELING) the LCD controller.
552
+ * The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe.
553
+ * Use G29 repeatedly, adjusting the Z height at each point with movement commands
554
+ * or (with LCD_BED_LEVELING) the LCD controller.
555 555
  */
556 556
 //#define PROBE_MANUALLY
557 557
 
558 558
 /**
559
- *   A Fix-Mounted Probe either doesn't deploy or needs manual deployment.
560
- *   For example an inductive probe, or a setup that uses the nozzle to probe.
561
- *   An inductive probe must be deactivated to go below
562
- *   its trigger-point if hardware endstops are active.
559
+ * A Fix-Mounted Probe either doesn't deploy or needs manual deployment.
560
+ *   (e.g., an inductive probe or a nozzle-based probe-switch.)
563 561
  */
564 562
 //#define FIX_MOUNTED_PROBE
565 563
 
566 564
 /**
567
- *   Z Servo Probe, such as an endstop switch on a rotating arm.
568
- *   NUM_SERVOS also needs to be set.  This is found later in this file.  Set it to
569
- *   1 + the number of other servos in your system.
565
+ * Z Servo Probe, such as an endstop switch on a rotating arm.
570 566
  */
571 567
 //#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
572 568
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
573 569
 
574
- /**
575
- *   The BLTouch probe emulates a servo probe.
576
- *   If using a BLTouch then NUM_SERVOS, Z_ENDSTOP_SERVO_NR and Z_SERVO_ANGLES
577
- *   are setup for you in the background and you shouldn't need to set/modify/enable them
578
- *   with the possible exception of Z_ENDSTOP_SERVO_NR.
570
+/**
571
+ * The BLTouch probe is a Hall effect sensor that emulates a servo.
579 572
  */
580 573
 #define BLTOUCH
581 574
 #define BLTOUCH_DELAY 500   // (ms) Enable and increase if needed
582 575
 #define BLTOUCH_HEATERS_OFF // if defined the printer's heaters are turned off during probe event
583 576
 
584
-/**
585
- *   BLTouch WARNING  -  ONLY APPLIES TO VERSIONS OF MARLIN BEFORE 15 FEB 2017
586
- *   Unless using interrupt endstops, there is a MINIMUM feedrate for Marlin to reliably
587
- *   sense the BLTouch.  If the feedrate is too slow then G28 & G29 can sometimes result
588
- *   in the print head being driven into the bed until manual intervention.
589
- *   The minimum feedrate calculation is:
590
- *
591
- *     feedrate minimum =  24000 / DEFAULT_AXIS_STEPS_PER_UNIT
592
- *        where feedrate is in "mm/minute" or "inches/minute" depending on the units used
593
- *        in DEFAULT_AXIS_STEPS_PER_UNIT
594
- *
595
- *   This applies to the HOMING_FEEDRATE_Z and Z_PROBE_SPEED_FAST.  If PROBE_DOUBLE_TOUCH
596
- *   is enabled then it also applies to Z_PROBE_SPEED_SLOW.
597
- */
598
-
599 577
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
600 578
 //#define SOLENOID_PROBE
601 579
 
602
-// Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.
580
+// A sled-mounted probe like those designed by Charles Bell.
603 581
 //#define Z_PROBE_SLED
604 582
 //#define SLED_DOCKING_OFFSET 5  // The extra distance the X axis must travel to pickup the sled. 0 should be fine but you can push it further if you'd like.
605 583
 
584
+//
585
+// For Z_PROBE_ALLEN_KEY see the Delta example configurations.
586
+//
587
+
606 588
 /**
607 589
  *   Z Probe to nozzle (X,Y) offset, relative to (0, 0).
608 590
  *   X and Y offsets must be integers.
@@ -639,69 +621,6 @@
639 621
 //#define PROBE_DOUBLE_TOUCH
640 622
 
641 623
 /**
642
- *   Allen Key Probe is defined in the Delta example configurations.
643
- *
644
- *
645
- *   *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
646
- *
647
- *   - RAMPS 1.3/1.4 boards may be able to use the 5V, GND, and Aux4->D32 pin.
648
- *   - Use 5V for powered (usu. inductive) sensors.
649
- *   - Otherwise connect:
650
- *     - normally-closed switches to GND and D32.
651
- *     - normally-open switches to 5V and D32.
652
- *
653
- *   Normally-closed switches are advised and are the default.
654
- *
655
- *
656
- *   PIN OPTIONS\SETUP FOR Z PROBES
657
- *
658
- *
659
- *   WARNING:
660
- *   Setting the wrong pin may have unexpected and potentially disastrous consequences.
661
- *   Use with caution and do your homework.
662
- *
663
- *
664
- *   All Z PROBE pin options are configured by defining (or not defining)
665
- *   the following five items:
666
- *       Z_MIN_PROBE_ENDSTOP – defined below
667
- *       Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN – defined below
668
- *       Z_MIN_PIN - defined in the pins_YOUR_BOARD.h file
669
- *       Z_MIN_PROBE_PIN - defined in the pins_YOUR_BOARD.h file
670
- *
671
- *   If you're using a probe then you need to tell Marlin which pin to use as
672
- *   the Z MIN ENDSTOP.  Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN determines if the
673
- *   Z_MIN_PIN or if the Z_MIN_PROBE_PIN is used.
674
- *
675
- *   The pin selected for the probe is ONLY checked during probing operations.
676
- *   If you want to use the Z_MIN_PIN as an endstop AND you want to have a Z PROBE
677
- *   then you’ll need to use the Z_MIN_PROBE_PIN option.
678
- *
679
- *   Z_MIN_PROBE_ENDSTOP also needs to be enabled if you want to use Z_MIN_PROBE_PIN.
680
- *
681
- *   The settings needed to use the Z_MIN_PROBE_PIN are:
682
- *       1. select the type of probe you're using
683
- *       2. define Z_MIN_PROBE_PIN in your pins_YOUR_BOARD.h file
684
- *       3. disable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
685
- *       4. enable Z_MIN_PROBE_ENDSTOP
686
- *   NOTE – if Z_MIN_PIN is defined then it’ll be checked during all moves in the
687
- *          negative Z direction.
688
- *
689
- *   The settings needed to use the Z_MIN_PIN are:
690
- *       1. select the type of probe you're using
691
- *       2. enable Z_MIN _PIN in your pins_YOUR_BOARD.h file
692
- *       3. enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
693
- *       4. disable Z_MIN_PROBE_ENDSTOP
694
- *   NOTES – if Z_MIN_PROBE_PIN is defined in the pins_YOUR_BOARD.h file then it’ll be
695
- *          ignored by Marlin
696
- */
697
-
698
-//#define Z_MIN_PROBE_ENDSTOP
699
-#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
700
-
701
-// Enable Z Probe Repeatability test to see how accurate your probe is
702
-#define Z_MIN_PROBE_REPEATABILITY_TEST
703
-
704
-/**
705 624
  * Z probes require clearance when deploying, stowing, and moving between
706 625
  * probe points to avoid hitting the bed and other hardware.
707 626
  * Servo-mounted probes require extra space for the arm to rotate.
@@ -722,6 +641,9 @@
722 641
 #define Z_PROBE_OFFSET_RANGE_MIN -20
723 642
 #define Z_PROBE_OFFSET_RANGE_MAX 20
724 643
 
644
+// Enable the M48 repeatability test to test probe accuracy
645
+#define Z_MIN_PROBE_REPEATABILITY_TEST
646
+
725 647
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
726 648
 // :{ 0:'Low', 1:'High' }
727 649
 #define X_ENABLE_ON 0
@@ -740,7 +662,7 @@
740 662
 // @section extruder
741 663
 
742 664
 #define DISABLE_E false // For all extruders
743
-#define DISABLE_INACTIVE_EXTRUDER true //disable only inactive extruders and keep active extruder enabled
665
+#define DISABLE_INACTIVE_EXTRUDER true // Keep only the active extruder enabled.
744 666
 
745 667
 // @section machine
746 668
 

+ 58
- 107
Marlin/example_configurations/makibox/Configuration.h View File

@@ -520,78 +520,90 @@
520 520
 #define DEFAULT_ZJERK                  0.4
521 521
 #define DEFAULT_EJERK                  5.0
522 522
 
523
+//===========================================================================
524
+//============================= Z Probe Options =============================
525
+//===========================================================================
526
+// @section probes
527
+
528
+//
529
+// See http://marlinfw.org/configuration/probes.html
530
+//
523 531
 
524 532
 /**
525
- * ===========================================================================
526
- * ============================= Z Probe Options =============================
527
- * ===========================================================================
528
- *    @section probes
533
+ * Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
529 534
  *
535
+ * Enable this option for a probe connected to the Z Min endstop pin.
536
+ */
537
+#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
538
+
539
+/**
540
+ * Z_MIN_PROBE_ENDSTOP
541
+ *
542
+ * Enable this option for a probe connected to any pin except Z-Min.
543
+ * (By default Marlin assumes the Z-Max endstop pin.)
544
+ * To use a custom Z Probe pin, set Z_MIN_PROBE_PIN below.
530 545
  *
531
- *   Probe Type
532
- *   Probes are sensors/switches that are activated / deactivated before/after use.
546
+ *  - The simplest option is to use a free endstop connector.
547
+ *  - Use 5V for powered (usually inductive) sensors.
533 548
  *
534
- *   Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
535
- *   You must activate one of these to use Auto Bed Leveling below.
549
+ *  - RAMPS 1.3/1.4 boards may use the 5V, GND, and Aux4->D32 pin:
550
+ *    - For simple switches connect...
551
+ *      - normally-closed switches to GND and D32.
552
+ *      - normally-open switches to 5V and D32.
553
+ *
554
+ * WARNING: Setting the wrong pin may have unexpected and potentially
555
+ * disastrous consequences. Use with caution and do your homework.
556
+ *
557
+ */
558
+//#define Z_MIN_PROBE_ENDSTOP
559
+//#define Z_MIN_PROBE_PIN Z_MAX_PIN
560
+
561
+/**
562
+ * Probe Type
536 563
  *
537
- *   Use M851 to set the Z probe vertical offset from the nozzle. Store with M500.
564
+ * Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
565
+ * Activate one of these to use Auto Bed Leveling below.
538 566
  */
539 567
 
540 568
 /**
541
- *   The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe.
542
- *   Use G29 repeatedly, adjusting the Z height at each point with movement commands
543
- *   or (with LCD_BED_LEVELING) the LCD controller.
569
+ * The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe.
570
+ * Use G29 repeatedly, adjusting the Z height at each point with movement commands
571
+ * or (with LCD_BED_LEVELING) the LCD controller.
544 572
  */
545 573
 //#define PROBE_MANUALLY
546 574
 
547 575
 /**
548
- *   A Fix-Mounted Probe either doesn't deploy or needs manual deployment.
549
- *   For example an inductive probe, or a setup that uses the nozzle to probe.
550
- *   An inductive probe must be deactivated to go below
551
- *   its trigger-point if hardware endstops are active.
576
+ * A Fix-Mounted Probe either doesn't deploy or needs manual deployment.
577
+ *   (e.g., an inductive probe or a nozzle-based probe-switch.)
552 578
  */
553 579
 //#define FIX_MOUNTED_PROBE
554 580
 
555 581
 /**
556
- *   Z Servo Probe, such as an endstop switch on a rotating arm.
557
- *   NUM_SERVOS also needs to be set.  This is found later in this file.  Set it to
558
- *   1 + the number of other servos in your system.
582
+ * Z Servo Probe, such as an endstop switch on a rotating arm.
559 583
  */
560 584
 //#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
561 585
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
562 586
 
563
- /**
564
- *   The BLTouch probe emulates a servo probe.
565
- *   If using a BLTouch then NUM_SERVOS, Z_ENDSTOP_SERVO_NR and Z_SERVO_ANGLES
566
- *   are setup for you in the background and you shouldn't need to set/modify/enable them
567
- *   with the possible exception of Z_ENDSTOP_SERVO_NR.
568
- */
569
-//#define BLTOUCH
570
-//#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
571
-//#define BLTOUCH_HEATERS_OFF // if defined the printer's heaters are turned off during probe event
572
-
573 587
 /**
574
- *   BLTouch WARNING  -  ONLY APPLIES TO VERSIONS OF MARLIN BEFORE 15 FEB 2017
575
- *   Unless using interrupt endstops, there is a MINIMUM feedrate for Marlin to reliably
576
- *   sense the BLTouch.  If the feedrate is too slow then G28 & G29 can sometimes result
577
- *   in the print head being driven into the bed until manual intervention.
578
- *   The minimum feedrate calculation is:
579
- *
580
- *     feedrate minimum =  24000 / DEFAULT_AXIS_STEPS_PER_UNIT
581
- *        where feedrate is in "mm/minute" or "inches/minute" depending on the units used
582
- *        in DEFAULT_AXIS_STEPS_PER_UNIT
583
- *
584
- *   This applies to the HOMING_FEEDRATE_Z and Z_PROBE_SPEED_FAST.  If PROBE_DOUBLE_TOUCH
585
- *   is enabled then it also applies to Z_PROBE_SPEED_SLOW.
588
+ * The BLTouch probe is a Hall effect sensor that emulates a servo.
586 589
  */
590
+//#define BLTOUCH
591
+#if ENABLED(BLTOUCH)
592
+  //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
593
+  //#define BLTOUCH_HEATERS_OFF // Enable if the probe seems unreliable. Heaters will be disabled for each probe.
594
+#endif
587 595
 
588 596
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
589 597
 //#define SOLENOID_PROBE
590 598
 
591
-// Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.
599
+// A sled-mounted probe like those designed by Charles Bell.
592 600
 //#define Z_PROBE_SLED
593 601
 //#define SLED_DOCKING_OFFSET 5  // The extra distance the X axis must travel to pickup the sled. 0 should be fine but you can push it further if you'd like.
594 602
 
603
+//
604
+// For Z_PROBE_ALLEN_KEY see the Delta example configurations.
605
+//
606
+
595 607
 /**
596 608
  *   Z Probe to nozzle (X,Y) offset, relative to (0, 0).
597 609
  *   X and Y offsets must be integers.
@@ -628,70 +640,6 @@
628 640
 //#define PROBE_DOUBLE_TOUCH
629 641
 
630 642
 /**
631
- *   Allen Key Probe is defined in the Delta example configurations.
632
- *
633
- *
634
- *   *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
635
- *
636
- *   - RAMPS 1.3/1.4 boards may be able to use the 5V, GND, and Aux4->D32 pin.
637
- *   - Use 5V for powered (usu. inductive) sensors.
638
- *   - Otherwise connect:
639
- *     - normally-closed switches to GND and D32.
640
- *     - normally-open switches to 5V and D32.
641
- *
642
- *   Normally-closed switches are advised and are the default.
643
- *
644
- *
645
- *   PIN OPTIONS\SETUP FOR Z PROBES
646
- *
647
- *
648
- *   WARNING:
649
- *   Setting the wrong pin may have unexpected and potentially disastrous consequences.
650
- *   Use with caution and do your homework.
651
- *
652
- *
653
- *   All Z PROBE pin options are configured by defining (or not defining)
654
- *   the following five items:
655
- *       Z_MIN_PROBE_ENDSTOP – defined below
656
- *       Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN – defined below
657
- *       Z_MIN_PIN - defined in the pins_YOUR_BOARD.h file
658
- *       Z_MIN_PROBE_PIN - defined in the pins_YOUR_BOARD.h file
659
- *
660
- *   If you're using a probe then you need to tell Marlin which pin to use as
661
- *   the Z MIN ENDSTOP.  Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN determines if the
662
- *   Z_MIN_PIN or if the Z_MIN_PROBE_PIN is used.
663
- *
664
- *   The pin selected for the probe is ONLY checked during probing operations.
665
- *   If you want to use the Z_MIN_PIN as an endstop AND you want to have a Z PROBE
666
- *   then you’ll need to use the Z_MIN_PROBE_PIN option.
667
- *
668
- *   Z_MIN_PROBE_ENDSTOP also needs to be enabled if you want to use Z_MIN_PROBE_PIN.
669
- *
670
- *   The settings needed to use the Z_MIN_PROBE_PIN are:
671
- *       1. select the type of probe you're using
672
- *       2. define Z_MIN_PROBE_PIN in your pins_YOUR_BOARD.h file
673
- *       3. disable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
674
- *       4. enable Z_MIN_PROBE_ENDSTOP
675
- *   NOTE – if Z_MIN_PIN is defined then it’ll be checked during all moves in the
676
- *          negative Z direction.
677
- *
678
- *   The settings needed to use the Z_MIN_PIN are:
679
- *       1. select the type of probe you're using
680
- *       2. enable Z_MIN _PIN in your pins_YOUR_BOARD.h file
681
- *       3. enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
682
- *       4. disable Z_MIN_PROBE_ENDSTOP
683
- *   NOTES – if Z_MIN_PROBE_PIN is defined in the pins_YOUR_BOARD.h file then it’ll be
684
- *          ignored by Marlin
685
- */
686
-
687
-//#define Z_MIN_PROBE_ENDSTOP
688
-#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
689
-
690
-
691
-// Enable Z Probe Repeatability test to see how accurate your probe is
692
-//#define Z_MIN_PROBE_REPEATABILITY_TEST
693
-
694
-/**
695 643
  * Z probes require clearance when deploying, stowing, and moving between
696 644
  * probe points to avoid hitting the bed and other hardware.
697 645
  * Servo-mounted probes require extra space for the arm to rotate.
@@ -712,6 +660,9 @@
712 660
 #define Z_PROBE_OFFSET_RANGE_MIN -20
713 661
 #define Z_PROBE_OFFSET_RANGE_MAX 20
714 662
 
663
+// Enable the M48 repeatability test to test probe accuracy
664
+//#define Z_MIN_PROBE_REPEATABILITY_TEST
665
+
715 666
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
716 667
 // :{ 0:'Low', 1:'High' }
717 668
 #define X_ENABLE_ON 0
@@ -730,7 +681,7 @@
730 681
 // @section extruder
731 682
 
732 683
 #define DISABLE_E false // For all extruders
733
-#define DISABLE_INACTIVE_EXTRUDER true //disable only inactive extruders and keep active extruder enabled
684
+#define DISABLE_INACTIVE_EXTRUDER true // Keep only the active extruder enabled.
734 685
 
735 686
 // @section machine
736 687
 

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

@@ -513,78 +513,90 @@
513 513
 #define DEFAULT_ZJERK                  0.4
514 514
 #define DEFAULT_EJERK                  5.0
515 515
 
516
+//===========================================================================
517
+//============================= Z Probe Options =============================
518
+//===========================================================================
519
+// @section probes
520
+
521
+//
522
+// See http://marlinfw.org/configuration/probes.html
523
+//
516 524
 
517 525
 /**
518
- * ===========================================================================
519
- * ============================= Z Probe Options =============================
520
- * ===========================================================================
521
- *    @section probes
526
+ * Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
522 527
  *
528
+ * Enable this option for a probe connected to the Z Min endstop pin.
529
+ */
530
+#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
531
+
532
+/**
533
+ * Z_MIN_PROBE_ENDSTOP
534
+ *
535
+ * Enable this option for a probe connected to any pin except Z-Min.
536
+ * (By default Marlin assumes the Z-Max endstop pin.)
537
+ * To use a custom Z Probe pin, set Z_MIN_PROBE_PIN below.
523 538
  *
524
- *   Probe Type
525
- *   Probes are sensors/switches that are activated / deactivated before/after use.
539
+ *  - The simplest option is to use a free endstop connector.
540
+ *  - Use 5V for powered (usually inductive) sensors.
526 541
  *
527
- *   Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
528
- *   You must activate one of these to use Auto Bed Leveling below.
542
+ *  - RAMPS 1.3/1.4 boards may use the 5V, GND, and Aux4->D32 pin:
543
+ *    - For simple switches connect...
544
+ *      - normally-closed switches to GND and D32.
545
+ *      - normally-open switches to 5V and D32.
546
+ *
547
+ * WARNING: Setting the wrong pin may have unexpected and potentially
548
+ * disastrous consequences. Use with caution and do your homework.
549
+ *
550
+ */
551
+//#define Z_MIN_PROBE_ENDSTOP
552
+//#define Z_MIN_PROBE_PIN Z_MAX_PIN
553
+
554
+/**
555
+ * Probe Type
529 556
  *
530
- *   Use M851 to set the Z probe vertical offset from the nozzle. Store with M500.
557
+ * Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
558
+ * Activate one of these to use Auto Bed Leveling below.
531 559
  */
532 560
 
533 561
 /**
534
- *   The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe.
535
- *   Use G29 repeatedly, adjusting the Z height at each point with movement commands
536
- *   or (with LCD_BED_LEVELING) the LCD controller.
562
+ * The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe.
563
+ * Use G29 repeatedly, adjusting the Z height at each point with movement commands
564
+ * or (with LCD_BED_LEVELING) the LCD controller.
537 565
  */
538 566
 //#define PROBE_MANUALLY
539 567
 
540 568
 /**
541
- *   A Fix-Mounted Probe either doesn't deploy or needs manual deployment.
542
- *   For example an inductive probe, or a setup that uses the nozzle to probe.
543
- *   An inductive probe must be deactivated to go below
544
- *   its trigger-point if hardware endstops are active.
569
+ * A Fix-Mounted Probe either doesn't deploy or needs manual deployment.
570
+ *   (e.g., an inductive probe or a nozzle-based probe-switch.)
545 571
  */
546 572
 //#define FIX_MOUNTED_PROBE
547 573
 
548 574
 /**
549
- *   Z Servo Probe, such as an endstop switch on a rotating arm.
550
- *   NUM_SERVOS also needs to be set.  This is found later in this file.  Set it to
551
- *   1 + the number of other servos in your system.
575
+ * Z Servo Probe, such as an endstop switch on a rotating arm.
552 576
  */
553 577
 //#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
554 578
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
555 579
 
556
- /**
557
- *   The BLTouch probe emulates a servo probe.
558
- *   If using a BLTouch then NUM_SERVOS, Z_ENDSTOP_SERVO_NR and Z_SERVO_ANGLES
559
- *   are setup for you in the background and you shouldn't need to set/modify/enable them
560
- *   with the possible exception of Z_ENDSTOP_SERVO_NR.
561
- */
562
-//#define BLTOUCH
563
-//#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
564
-//#define BLTOUCH_HEATERS_OFF // if defined the printer's heaters are turned off during probe event
565
-
566 580
 /**
567
- *   BLTouch WARNING  -  ONLY APPLIES TO VERSIONS OF MARLIN BEFORE 15 FEB 2017
568
- *   Unless using interrupt endstops, there is a MINIMUM feedrate for Marlin to reliably
569
- *   sense the BLTouch.  If the feedrate is too slow then G28 & G29 can sometimes result
570
- *   in the print head being driven into the bed until manual intervention.
571
- *   The minimum feedrate calculation is:
572
- *
573
- *     feedrate minimum =  24000 / DEFAULT_AXIS_STEPS_PER_UNIT
574
- *        where feedrate is in "mm/minute" or "inches/minute" depending on the units used
575
- *        in DEFAULT_AXIS_STEPS_PER_UNIT
576
- *
577
- *   This applies to the HOMING_FEEDRATE_Z and Z_PROBE_SPEED_FAST.  If PROBE_DOUBLE_TOUCH
578
- *   is enabled then it also applies to Z_PROBE_SPEED_SLOW.
581
+ * The BLTouch probe is a Hall effect sensor that emulates a servo.
579 582
  */
583
+//#define BLTOUCH
584
+#if ENABLED(BLTOUCH)
585
+  //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
586
+  //#define BLTOUCH_HEATERS_OFF // Enable if the probe seems unreliable. Heaters will be disabled for each probe.
587
+#endif
580 588
 
581 589
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
582 590
 //#define SOLENOID_PROBE
583 591
 
584
-// Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.
592
+// A sled-mounted probe like those designed by Charles Bell.
585 593
 //#define Z_PROBE_SLED
586 594
 //#define SLED_DOCKING_OFFSET 5  // The extra distance the X axis must travel to pickup the sled. 0 should be fine but you can push it further if you'd like.
587 595
 
596
+//
597
+// For Z_PROBE_ALLEN_KEY see the Delta example configurations.
598
+//
599
+
588 600
 /**
589 601
  *   Z Probe to nozzle (X,Y) offset, relative to (0, 0).
590 602
  *   X and Y offsets must be integers.
@@ -621,70 +633,6 @@
621 633
 //#define PROBE_DOUBLE_TOUCH
622 634
 
623 635
 /**
624
- *   Allen Key Probe is defined in the Delta example configurations.
625
- *
626
- *
627
- *   *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
628
- *
629
- *   - RAMPS 1.3/1.4 boards may be able to use the 5V, GND, and Aux4->D32 pin.
630
- *   - Use 5V for powered (usu. inductive) sensors.
631
- *   - Otherwise connect:
632
- *     - normally-closed switches to GND and D32.
633
- *     - normally-open switches to 5V and D32.
634
- *
635
- *   Normally-closed switches are advised and are the default.
636
- *
637
- *
638
- *   PIN OPTIONS\SETUP FOR Z PROBES
639
- *
640
- *
641
- *   WARNING:
642
- *   Setting the wrong pin may have unexpected and potentially disastrous consequences.
643
- *   Use with caution and do your homework.
644
- *
645
- *
646
- *   All Z PROBE pin options are configured by defining (or not defining)
647
- *   the following five items:
648
- *       Z_MIN_PROBE_ENDSTOP – defined below
649
- *       Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN – defined below
650
- *       Z_MIN_PIN - defined in the pins_YOUR_BOARD.h file
651
- *       Z_MIN_PROBE_PIN - defined in the pins_YOUR_BOARD.h file
652
- *
653
- *   If you're using a probe then you need to tell Marlin which pin to use as
654
- *   the Z MIN ENDSTOP.  Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN determines if the
655
- *   Z_MIN_PIN or if the Z_MIN_PROBE_PIN is used.
656
- *
657
- *   The pin selected for the probe is ONLY checked during probing operations.
658
- *   If you want to use the Z_MIN_PIN as an endstop AND you want to have a Z PROBE
659
- *   then you’ll need to use the Z_MIN_PROBE_PIN option.
660
- *
661
- *   Z_MIN_PROBE_ENDSTOP also needs to be enabled if you want to use Z_MIN_PROBE_PIN.
662
- *
663
- *   The settings needed to use the Z_MIN_PROBE_PIN are:
664
- *       1. select the type of probe you're using
665
- *       2. define Z_MIN_PROBE_PIN in your pins_YOUR_BOARD.h file
666
- *       3. disable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
667
- *       4. enable Z_MIN_PROBE_ENDSTOP
668
- *   NOTE – if Z_MIN_PIN is defined then it’ll be checked during all moves in the
669
- *          negative Z direction.
670
- *
671
- *   The settings needed to use the Z_MIN_PIN are:
672
- *       1. select the type of probe you're using
673
- *       2. enable Z_MIN _PIN in your pins_YOUR_BOARD.h file
674
- *       3. enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
675
- *       4. disable Z_MIN_PROBE_ENDSTOP
676
- *   NOTES – if Z_MIN_PROBE_PIN is defined in the pins_YOUR_BOARD.h file then it’ll be
677
- *          ignored by Marlin
678
- */
679
-
680
-//#define Z_MIN_PROBE_ENDSTOP
681
-#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
682
-
683
-
684
-// Enable Z Probe Repeatability test to see how accurate your probe is
685
-//#define Z_MIN_PROBE_REPEATABILITY_TEST
686
-
687
-/**
688 636
  * Z probes require clearance when deploying, stowing, and moving between
689 637
  * probe points to avoid hitting the bed and other hardware.
690 638
  * Servo-mounted probes require extra space for the arm to rotate.
@@ -705,6 +653,9 @@
705 653
 #define Z_PROBE_OFFSET_RANGE_MIN -20
706 654
 #define Z_PROBE_OFFSET_RANGE_MAX 20
707 655
 
656
+// Enable the M48 repeatability test to test probe accuracy
657
+//#define Z_MIN_PROBE_REPEATABILITY_TEST
658
+
708 659
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
709 660
 // :{ 0:'Low', 1:'High' }
710 661
 #define X_ENABLE_ON 1
@@ -723,7 +674,7 @@
723 674
 // @section extruder
724 675
 
725 676
 #define DISABLE_E false // For all extruders
726
-#define DISABLE_INACTIVE_EXTRUDER true //disable only inactive extruders and keep active extruder enabled
677
+#define DISABLE_INACTIVE_EXTRUDER true // Keep only the active extruder enabled.
727 678
 
728 679
 // @section machine
729 680
 

+ 58
- 107
Marlin/example_configurations/wt150/Configuration.h View File

@@ -522,78 +522,90 @@
522 522
 #define DEFAULT_ZJERK                  0.4
523 523
 #define DEFAULT_EJERK                  5.0
524 524
 
525
+//===========================================================================
526
+//============================= Z Probe Options =============================
527
+//===========================================================================
528
+// @section probes
529
+
530
+//
531
+// See http://marlinfw.org/configuration/probes.html
532
+//
525 533
 
526 534
 /**
527
- * ===========================================================================
528
- * ============================= Z Probe Options =============================
529
- * ===========================================================================
530
- *    @section probes
535
+ * Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
531 536
  *
537
+ * Enable this option for a probe connected to the Z Min endstop pin.
538
+ */
539
+#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
540
+
541
+/**
542
+ * Z_MIN_PROBE_ENDSTOP
543
+ *
544
+ * Enable this option for a probe connected to any pin except Z-Min.
545
+ * (By default Marlin assumes the Z-Max endstop pin.)
546
+ * To use a custom Z Probe pin, set Z_MIN_PROBE_PIN below.
532 547
  *
533
- *   Probe Type
534
- *   Probes are sensors/switches that are activated / deactivated before/after use.
548
+ *  - The simplest option is to use a free endstop connector.
549
+ *  - Use 5V for powered (usually inductive) sensors.
535 550
  *
536
- *   Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
537
- *   You must activate one of these to use Auto Bed Leveling below.
551
+ *  - RAMPS 1.3/1.4 boards may use the 5V, GND, and Aux4->D32 pin:
552
+ *    - For simple switches connect...
553
+ *      - normally-closed switches to GND and D32.
554
+ *      - normally-open switches to 5V and D32.
555
+ *
556
+ * WARNING: Setting the wrong pin may have unexpected and potentially
557
+ * disastrous consequences. Use with caution and do your homework.
558
+ *
559
+ */
560
+//#define Z_MIN_PROBE_ENDSTOP
561
+//#define Z_MIN_PROBE_PIN Z_MAX_PIN
562
+
563
+/**
564
+ * Probe Type
538 565
  *
539
- *   Use M851 to set the Z probe vertical offset from the nozzle. Store with M500.
566
+ * Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
567
+ * Activate one of these to use Auto Bed Leveling below.
540 568
  */
541 569
 
542 570
 /**
543
- *   The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe.
544
- *   Use G29 repeatedly, adjusting the Z height at each point with movement commands
545
- *   or (with LCD_BED_LEVELING) the LCD controller.
571
+ * The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe.
572
+ * Use G29 repeatedly, adjusting the Z height at each point with movement commands
573
+ * or (with LCD_BED_LEVELING) the LCD controller.
546 574
  */
547 575
 //#define PROBE_MANUALLY
548 576
 
549 577
 /**
550
- *   A Fix-Mounted Probe either doesn't deploy or needs manual deployment.
551
- *   For example an inductive probe, or a setup that uses the nozzle to probe.
552
- *   An inductive probe must be deactivated to go below
553
- *   its trigger-point if hardware endstops are active.
578
+ * A Fix-Mounted Probe either doesn't deploy or needs manual deployment.
579
+ *   (e.g., an inductive probe or a nozzle-based probe-switch.)
554 580
  */
555 581
 //#define FIX_MOUNTED_PROBE
556 582
 
557 583
 /**
558
- *   Z Servo Probe, such as an endstop switch on a rotating arm.
559
- *   NUM_SERVOS also needs to be set.  This is found later in this file.  Set it to
560
- *   1 + the number of other servos in your system.
584
+ * Z Servo Probe, such as an endstop switch on a rotating arm.
561 585
  */
562 586
 //#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
563 587
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
564 588
 
565
- /**
566
- *   The BLTouch probe emulates a servo probe.
567
- *   If using a BLTouch then NUM_SERVOS, Z_ENDSTOP_SERVO_NR and Z_SERVO_ANGLES
568
- *   are setup for you in the background and you shouldn't need to set/modify/enable them
569
- *   with the possible exception of Z_ENDSTOP_SERVO_NR.
570
- */
571
-//#define BLTOUCH
572
-//#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
573
-//#define BLTOUCH_HEATERS_OFF // if defined the printer's heaters are turned off during probe event
574
-
575 589
 /**
576
- *   BLTouch WARNING  -  ONLY APPLIES TO VERSIONS OF MARLIN BEFORE 15 FEB 2017
577
- *   Unless using interrupt endstops, there is a MINIMUM feedrate for Marlin to reliably
578
- *   sense the BLTouch.  If the feedrate is too slow then G28 & G29 can sometimes result
579
- *   in the print head being driven into the bed until manual intervention.
580
- *   The minimum feedrate calculation is:
581
- *
582
- *     feedrate minimum =  24000 / DEFAULT_AXIS_STEPS_PER_UNIT
583
- *        where feedrate is in "mm/minute" or "inches/minute" depending on the units used
584
- *        in DEFAULT_AXIS_STEPS_PER_UNIT
585
- *
586
- *   This applies to the HOMING_FEEDRATE_Z and Z_PROBE_SPEED_FAST.  If PROBE_DOUBLE_TOUCH
587
- *   is enabled then it also applies to Z_PROBE_SPEED_SLOW.
590
+ * The BLTouch probe is a Hall effect sensor that emulates a servo.
588 591
  */
592
+//#define BLTOUCH
593
+#if ENABLED(BLTOUCH)
594
+  //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
595
+  //#define BLTOUCH_HEATERS_OFF // Enable if the probe seems unreliable. Heaters will be disabled for each probe.
596
+#endif
589 597
 
590 598
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
591 599
 //#define SOLENOID_PROBE
592 600
 
593
-// Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.
601
+// A sled-mounted probe like those designed by Charles Bell.
594 602
 //#define Z_PROBE_SLED
595 603
 //#define SLED_DOCKING_OFFSET 5  // The extra distance the X axis must travel to pickup the sled. 0 should be fine but you can push it further if you'd like.
596 604
 
605
+//
606
+// For Z_PROBE_ALLEN_KEY see the Delta example configurations.
607
+//
608
+
597 609
 /**
598 610
  *   Z Probe to nozzle (X,Y) offset, relative to (0, 0).
599 611
  *   X and Y offsets must be integers.
@@ -630,70 +642,6 @@
630 642
 //#define PROBE_DOUBLE_TOUCH
631 643
 
632 644
 /**
633
- *   Allen Key Probe is defined in the Delta example configurations.
634
- *
635
- *
636
- *   *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
637
- *
638
- *   - RAMPS 1.3/1.4 boards may be able to use the 5V, GND, and Aux4->D32 pin.
639
- *   - Use 5V for powered (usu. inductive) sensors.
640
- *   - Otherwise connect:
641
- *     - normally-closed switches to GND and D32.
642
- *     - normally-open switches to 5V and D32.
643
- *
644
- *   Normally-closed switches are advised and are the default.
645
- *
646
- *
647
- *   PIN OPTIONS\SETUP FOR Z PROBES
648
- *
649
- *
650
- *   WARNING:
651
- *   Setting the wrong pin may have unexpected and potentially disastrous consequences.
652
- *   Use with caution and do your homework.
653
- *
654
- *
655
- *   All Z PROBE pin options are configured by defining (or not defining)
656
- *   the following five items:
657
- *       Z_MIN_PROBE_ENDSTOP – defined below
658
- *       Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN – defined below
659
- *       Z_MIN_PIN - defined in the pins_YOUR_BOARD.h file
660
- *       Z_MIN_PROBE_PIN - defined in the pins_YOUR_BOARD.h file
661
- *
662
- *   If you're using a probe then you need to tell Marlin which pin to use as
663
- *   the Z MIN ENDSTOP.  Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN determines if the
664
- *   Z_MIN_PIN or if the Z_MIN_PROBE_PIN is used.
665
- *
666
- *   The pin selected for the probe is ONLY checked during probing operations.
667
- *   If you want to use the Z_MIN_PIN as an endstop AND you want to have a Z PROBE
668
- *   then you’ll need to use the Z_MIN_PROBE_PIN option.
669
- *
670
- *   Z_MIN_PROBE_ENDSTOP also needs to be enabled if you want to use Z_MIN_PROBE_PIN.
671
- *
672
- *   The settings needed to use the Z_MIN_PROBE_PIN are:
673
- *       1. select the type of probe you're using
674
- *       2. define Z_MIN_PROBE_PIN in your pins_YOUR_BOARD.h file
675
- *       3. disable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
676
- *       4. enable Z_MIN_PROBE_ENDSTOP
677
- *   NOTE – if Z_MIN_PIN is defined then it’ll be checked during all moves in the
678
- *          negative Z direction.
679
- *
680
- *   The settings needed to use the Z_MIN_PIN are:
681
- *       1. select the type of probe you're using
682
- *       2. enable Z_MIN _PIN in your pins_YOUR_BOARD.h file
683
- *       3. enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
684
- *       4. disable Z_MIN_PROBE_ENDSTOP
685
- *   NOTES – if Z_MIN_PROBE_PIN is defined in the pins_YOUR_BOARD.h file then it’ll be
686
- *          ignored by Marlin
687
- */
688
-
689
-//#define Z_MIN_PROBE_ENDSTOP
690
-#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
691
-
692
-
693
-// Enable Z Probe Repeatability test to see how accurate your probe is
694
-//#define Z_MIN_PROBE_REPEATABILITY_TEST
695
-
696
-/**
697 645
  * Z probes require clearance when deploying, stowing, and moving between
698 646
  * probe points to avoid hitting the bed and other hardware.
699 647
  * Servo-mounted probes require extra space for the arm to rotate.
@@ -714,6 +662,9 @@
714 662
 #define Z_PROBE_OFFSET_RANGE_MIN -20
715 663
 #define Z_PROBE_OFFSET_RANGE_MAX 20
716 664
 
665
+// Enable the M48 repeatability test to test probe accuracy
666
+//#define Z_MIN_PROBE_REPEATABILITY_TEST
667
+
717 668
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
718 669
 // :{ 0:'Low', 1:'High' }
719 670
 #define X_ENABLE_ON 0
@@ -732,7 +683,7 @@
732 683
 // @section extruder
733 684
 
734 685
 #define DISABLE_E false // For all extruders
735
-#define DISABLE_INACTIVE_EXTRUDER true //disable only inactive extruders and keep active extruder enabled
686
+#define DISABLE_INACTIVE_EXTRUDER true // Keep only the active extruder enabled.
736 687
 
737 688
 // @section machine
738 689
 

Loading…
Cancel
Save