Sfoglia il codice sorgente

Merge pull request #5676 from Bob-the-Kuhn/configuration.h

Configuration.h - reword Z PROBE section
Bob-the-Kuhn 8 anni fa
parent
commit
3b9ff2cb12
23 ha cambiato i file con 3254 aggiunte e 2175 eliminazioni
  1. 141
    94
      Marlin/Configuration.h
  2. 141
    94
      Marlin/example_configurations/Cartesio/Configuration.h
  3. 141
    94
      Marlin/example_configurations/Felix/Configuration.h
  4. 141
    94
      Marlin/example_configurations/Felix/DUAL/Configuration.h
  5. 141
    94
      Marlin/example_configurations/Hephestos/Configuration.h
  6. 141
    94
      Marlin/example_configurations/Hephestos_2/Configuration.h
  7. 140
    94
      Marlin/example_configurations/K8200/Configuration.h
  8. 141
    94
      Marlin/example_configurations/K8400/Configuration.h
  9. 141
    94
      Marlin/example_configurations/K8400/Dual-head/Configuration.h
  10. 141
    94
      Marlin/example_configurations/RepRapWorld/Megatronics/Configuration.h
  11. 141
    94
      Marlin/example_configurations/RigidBot/Configuration.h
  12. 141
    94
      Marlin/example_configurations/SCARA/Configuration.h
  13. 142
    95
      Marlin/example_configurations/TAZ4/Configuration.h
  14. 143
    92
      Marlin/example_configurations/TinyBoy2/Configuration.h
  15. 141
    94
      Marlin/example_configurations/WITBOX/Configuration.h
  16. 142
    95
      Marlin/example_configurations/adafruit/ST7565/Configuration.h
  17. 143
    95
      Marlin/example_configurations/delta/flsun_kossel_mini/Configuration.h
  18. 144
    96
      Marlin/example_configurations/delta/generic/Configuration.h
  19. 137
    97
      Marlin/example_configurations/delta/kossel_mini/Configuration.h
  20. 147
    99
      Marlin/example_configurations/delta/kossel_pro/Configuration.h
  21. 142
    96
      Marlin/example_configurations/delta/kossel_xl/Configuration.h
  22. 141
    94
      Marlin/example_configurations/makibox/Configuration.h
  23. 141
    94
      Marlin/example_configurations/tvrrug/Round2/Configuration.h

+ 141
- 94
Marlin/Configuration.h Vedi File

@@ -530,122 +530,170 @@
530 530
 #define DEFAULT_EJERK                  5.0
531 531
 
532 532
 
533
-//===========================================================================
534
-//============================= Z Probe Options =============================
535
-//===========================================================================
536
-// @section probes
537
-
538
-//
539
-// Probe Type
540
-// Probes are sensors/switches that are activated / deactivated before/after use.
541
-//
542
-// Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
543
-// You must activate one of these to use Auto Bed Leveling below.
544
-//
545
-// Use M851 to set the Z probe vertical offset from the nozzle. Store with M500.
546
-//
533
+/**
534
+ * ===========================================================================
535
+ * ============================= Z Probe Options =============================
536
+ * ===========================================================================
537
+ *    @section probes
538
+ *
539
+ *
540
+ *   Probe Type
541
+ *   Probes are sensors/switches that are activated / deactivated before/after use.
542
+ *
543
+ *   Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
544
+ *   You must activate one of these to use Auto Bed Leveling below.
545
+ *
546
+ *   Use M851 to set the Z probe vertical offset from the nozzle. Store with M500.
547
+ */
547 548
 
548
-// The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe.
549
-// Use G29 repeatedly, adjusting the Z height at each point with movement commands
550
-// or (with LCD_BED_LEVELING) the LCD controller.
549
+/**
550
+ *   The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe.
551
+ *   Use G29 repeatedly, adjusting the Z height at each point with movement commands
552
+ *   or (with LCD_BED_LEVELING) the LCD controller.
553
+ */
551 554
 //#define PROBE_MANUALLY
552 555
 
553
-// A Fix-Mounted Probe either doesn't deploy or needs manual deployment.
554
-// For example an inductive probe, or a setup that uses the nozzle to probe.
555
-// An inductive probe must be deactivated to go below
556
-// its trigger-point if hardware endstops are active.
556
+/**
557
+ *   A Fix-Mounted Probe either doesn't deploy or needs manual deployment.
558
+ *   For example an inductive probe, or a setup that uses the nozzle to probe.
559
+ *   An inductive probe must be deactivated to go below
560
+ *   its trigger-point if hardware endstops are active.
561
+ */
557 562
 //#define FIX_MOUNTED_PROBE
558 563
 
559
-// The BLTouch probe emulates a servo probe.
560
-// The default connector is SERVO 0. Set Z_ENDSTOP_SERVO_NR below to override.
564
+/**
565
+ *   Z Servo Probe, such as an endstop switch on a rotating arm.
566
+ *   NUM_SERVOS also needs to be set.  This is found later in this file.  Set it to
567
+ *   1 + the number of other servos in your system.
568
+ */
569
+//#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
570
+//#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
571
+
572
+ /**
573
+ *   The BLTouch probe emulates a servo probe.
574
+ *   If using a BLTouch then NUM_SERVOS, Z_ENDSTOP_SERVO_NR and Z_SERVO_ANGLES
575
+ *   are setup for you in the background and you shouldn't need to set/modify/enable them
576
+ *   with the possible exception of Z_ENDSTOP_SERVO_NR.
577
+ */
561 578
 //#define BLTOUCH
562 579
 //#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
563 580
 
564
-// Z Servo Probe, such as an endstop switch on a rotating arm.
565
-//#define Z_ENDSTOP_SERVO_NR 0
566
-//#define Z_SERVO_ANGLES {70,0} // Z Servo Deploy and Stow angles
581
+/**
582
+ *   BLTouch WARNING  -  ONLY APPLIES TO VERSIONS OF MARLIN BEFORE 15 FEB 2017
583
+ *   Unless using interrupt endstops, there is a MINIMUM feedrate for Marlin to reliably
584
+ *   sense the BLTouch.  If the feedrate is too slow then G28 & G29 can sometimes result
585
+ *   in the print head being driven into the bed until manual intervention.
586
+ *   The minimum feedrate calculation is:
587
+ *
588
+ *     feedrate minimum =  24000 / DEFAULT_AXIS_STEPS_PER_UNIT
589
+ *        where feedrate is in "mm/minute" or "inches/minute" depending on the units used
590
+ *        in DEFAULT_AXIS_STEPS_PER_UNIT
591
+ *
592
+ *   This applies to the HOMING_FEEDRATE_Z and Z_PROBE_SPEED_FAST.  If PROBE_DOUBLE_TOUCH
593
+ *   is enabled then it also applies to Z_PROBE_SPEED_SLOW.
594
+ */
567 595
 
568
-// Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.
596
+/*   Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.  */
569 597
 //#define Z_PROBE_SLED
570
-//#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.
571
-
572
-//
573
-// Allen Key Probe is defined in the Delta example configurations.
574
-//
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.
575 599
 
576
-// Z Probe to nozzle (X,Y) offset, relative to (0, 0).
577
-// X and Y offsets must be integers.
578
-//
579
-// In the following example the X and Y offsets are both positive:
580
-// #define X_PROBE_OFFSET_FROM_EXTRUDER 10
581
-// #define Y_PROBE_OFFSET_FROM_EXTRUDER 10
582
-//
583
-//    +-- BACK ---+
584
-//    |           |
585
-//  L |    (+) P  | R <-- probe (20,20)
586
-//  E |           | I
587
-//  F | (-) N (+) | G <-- nozzle (10,10)
588
-//  T |           | H
589
-//    |    (-)    | T
590
-//    |           |
591
-//    O-- FRONT --+
592
-//  (0,0)
600
+/**
601
+ *   Z Probe to nozzle (X,Y) offset, relative to (0, 0).
602
+ *   X and Y offsets must be integers.
603
+ *
604
+ *   In the following example the X and Y offsets are both positive:
605
+ *   #define X_PROBE_OFFSET_FROM_EXTRUDER 10
606
+ *   #define Y_PROBE_OFFSET_FROM_EXTRUDER 10
607
+ *
608
+ *      +-- BACK ---+
609
+ *      |           |
610
+ *    L |    (+) P  | R <-- probe (20,20)
611
+ *    E |           | I
612
+ *    F | (-) N (+) | G <-- nozzle (10,10)
613
+ *    T |           | H
614
+ *      |    (-)    | T
615
+ *      |           |
616
+ *      O-- FRONT --+
617
+ *    (0,0)
618
+ */
593 619
 #define X_PROBE_OFFSET_FROM_EXTRUDER 10  // X offset: -left  +right  [of the nozzle]
594 620
 #define Y_PROBE_OFFSET_FROM_EXTRUDER 10  // Y offset: -front +behind [the nozzle]
595 621
 #define Z_PROBE_OFFSET_FROM_EXTRUDER 0   // Z offset: -below +above  [the nozzle]
596 622
 
597
-// X and Y axis travel speed (mm/m) between probes
623
+/*   X and Y axis travel speed (mm/m) between probes */
598 624
 #define XY_PROBE_SPEED 8000
599
-// Speed for the first approach when double-probing (with PROBE_DOUBLE_TOUCH)
625
+
626
+/*   Speed for the first approach when double-probing (with PROBE_DOUBLE_TOUCH) */
600 627
 #define Z_PROBE_SPEED_FAST HOMING_FEEDRATE_Z
601
-// Speed for the "accurate" probe of each point
628
+
629
+/*   Speed for the "accurate" probe of each point  */
602 630
 #define Z_PROBE_SPEED_SLOW (Z_PROBE_SPEED_FAST / 2)
603
-// Use double touch for probing
604
-//#define PROBE_DOUBLE_TOUCH
605 631
 
606
-// *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
607
-//
608
-// To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING.
609
-// Example: To park the head outside the bed area when homing with G28.
610
-//
611
-// To use a separate Z probe, your board must define a Z_MIN_PROBE_PIN.
612
-//
613
-// For a servo-based Z probe, just set Z_ENDSTOP_SERVO_NR and Z_SERVO_ANGLES above.
614
-//
615
-// - RAMPS 1.3/1.4 boards may be able to use the 5V, GND, and Aux4->D32 pin.
616
-// - Use 5V for powered (usu. inductive) sensors.
617
-// - Otherwise connect:
618
-//   - normally-closed switches to GND and D32.
619
-//   - normally-open switches to 5V and D32.
620
-//
621
-// Normally-closed switches are advised and are the default.
622
-//
632
+/*   Use double touch for probing  */
633
+//#define PROBE_DOUBLE_TOUCH
623 634
 
624
-//
625
-// The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.)
626
-// Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the
627
-// default pin for all RAMPS-based boards. Most boards use the X_MAX_PIN by default.
628
-// To use a different pin you can override it here.
629
-//
630
-// WARNING:
631
-// Setting the wrong pin may have unexpected and potentially disastrous consequences.
632
-// Use with caution and do your homework.
633
-//
634
-//#define Z_MIN_PROBE_PIN X_MAX_PIN
635
+/**
636
+ *   Allen Key Probe is defined in the Delta example configurations.
637
+ *
638
+ *
639
+ *   *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
640
+ *
641
+ *   - RAMPS 1.3/1.4 boards may be able to use the 5V, GND, and Aux4->D32 pin.
642
+ *   - Use 5V for powered (usu. inductive) sensors.
643
+ *   - Otherwise connect:
644
+ *     - normally-closed switches to GND and D32.
645
+ *     - normally-open switches to 5V and D32.
646
+ *
647
+ *   Normally-closed switches are advised and are the default.
648
+ *
649
+ *
650
+ *   PIN OPTIONS\SETUP FOR Z PROBES
651
+ *
652
+ *
653
+ *   WARNING:
654
+ *   Setting the wrong pin may have unexpected and potentially disastrous consequences.
655
+ *   Use with caution and do your homework.
656
+ *
657
+ *
658
+ *   All Z PROBE pin options are configured by defining (or not defining)
659
+ *   the following five items:
660
+ *       Z_MIN_PROBE_ENDSTOP – defined below
661
+ *       Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN – defined below
662
+ *       Z_MIN_PIN - defined in the pins_YOUR_BOARD.h file
663
+ *       Z_MIN_PROBE_PIN - defined in the pins_YOUR_BOARD.h file
664
+ *
665
+ *   If you're using a probe then you need to tell Marlin which pin to use as
666
+ *   the Z MIN ENDSTOP.  Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN determines if the
667
+ *   Z_MIN_PIN or if the Z_MIN_PROBE_PIN is used.
668
+ *
669
+ *   The pin selected for the probe is ONLY checked during probing operations.
670
+ *   If you want to use the Z_MIN_PIN as an endstop AND you want to have a Z PROBE
671
+ *   then you’ll need to use the Z_MIN_PROBE_PIN option.
672
+ *
673
+ *   Z_MIN_PROBE_ENDSTOP also needs to be enabled if you want to use Z_MIN_PROBE_PIN.
674
+ *
675
+ *   The settings needed to use the Z_MIN_PROBE_PIN are:
676
+ *       1. select the type of probe you're using
677
+ *       2. define Z_MIN_PROBE_PIN in your pins_YOUR_BOARD.h file
678
+ *       3. disable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
679
+ *       4. enable Z_MIN_PROBE_ENDSTOP
680
+ *   NOTE – if Z_MIN_PIN is defined then it’ll be checked during all moves in the
681
+ *          negative Z direction.
682
+ *
683
+ *   The settings needed to use the Z_MIN_PIN are:
684
+ *       1. select the type of probe you're using
685
+ *       2. enable Z_MIN _PIN in your pins_YOUR_BOARD.h file
686
+ *       3. enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
687
+ *       4. disable Z_MIN_PROBE_ENDSTOP
688
+ *   NOTES – if Z_MIN_PROBE_PIN is defined in the pins_YOUR_BOARD.h file then it’ll be
689
+ *          ignored by Marlin
690
+ */
635 691
 
636
-//
637
-// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
638
-// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
639
-//
640 692
 //#define Z_MIN_PROBE_ENDSTOP
641
-
642
-// Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE.
643
-// The Z_MIN_PIN will then be used for both Z-homing and probing.
644 693
 #define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
645 694
 
646
-// To use a probe you must enable one of the two options above!
647 695
 
648
-// Enable Z Probe Repeatability test to see how accurate your probe is
696
+/* Enable Z Probe Repeatability test to see how accurate your probe is  */
649 697
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
650 698
 
651 699
 /**
@@ -665,12 +713,11 @@
665 713
 #define Z_CLEARANCE_DEPLOY_PROBE   10 // Z Clearance for Deploy/Stow
666 714
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
667 715
 
668
-//
669
-// For M851 give a range for adjusting the Z probe offset
670
-//
716
+/* For M851 give a range for adjusting the Z probe offset */
671 717
 #define Z_PROBE_OFFSET_RANGE_MIN -20
672 718
 #define Z_PROBE_OFFSET_RANGE_MAX 20
673 719
 
720
+
674 721
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
675 722
 // :{ 0:'Low', 1:'High' }
676 723
 #define X_ENABLE_ON 0

+ 141
- 94
Marlin/example_configurations/Cartesio/Configuration.h Vedi File

@@ -530,122 +530,170 @@
530 530
 #define DEFAULT_EJERK                  5.0
531 531
 
532 532
 
533
-//===========================================================================
534
-//============================= Z Probe Options =============================
535
-//===========================================================================
536
-// @section probes
537
-
538
-//
539
-// Probe Type
540
-// Probes are sensors/switches that are activated / deactivated before/after use.
541
-//
542
-// Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
543
-// You must activate one of these to use Auto Bed Leveling below.
544
-//
545
-// Use M851 to set the Z probe vertical offset from the nozzle. Store with M500.
546
-//
533
+/**
534
+ * ===========================================================================
535
+ * ============================= Z Probe Options =============================
536
+ * ===========================================================================
537
+ *    @section probes
538
+ *
539
+ *
540
+ *   Probe Type
541
+ *   Probes are sensors/switches that are activated / deactivated before/after use.
542
+ *
543
+ *   Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
544
+ *   You must activate one of these to use Auto Bed Leveling below.
545
+ *
546
+ *   Use M851 to set the Z probe vertical offset from the nozzle. Store with M500.
547
+ */
547 548
 
548
-// The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe.
549
-// Use G29 repeatedly, adjusting the Z height at each point with movement commands
550
-// or (with LCD_BED_LEVELING) the LCD controller.
549
+/**
550
+ *   The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe.
551
+ *   Use G29 repeatedly, adjusting the Z height at each point with movement commands
552
+ *   or (with LCD_BED_LEVELING) the LCD controller.
553
+ */
551 554
 //#define PROBE_MANUALLY
552 555
 
553
-// A Fix-Mounted Probe either doesn't deploy or needs manual deployment.
554
-// For example an inductive probe, or a setup that uses the nozzle to probe.
555
-// An inductive probe must be deactivated to go below
556
-// its trigger-point if hardware endstops are active.
556
+/**
557
+ *   A Fix-Mounted Probe either doesn't deploy or needs manual deployment.
558
+ *   For example an inductive probe, or a setup that uses the nozzle to probe.
559
+ *   An inductive probe must be deactivated to go below
560
+ *   its trigger-point if hardware endstops are active.
561
+ */
557 562
 //#define FIX_MOUNTED_PROBE
558 563
 
559
-// The BLTouch probe emulates a servo probe.
560
-// The default connector is SERVO 0. Set Z_ENDSTOP_SERVO_NR below to override.
564
+/**
565
+ *   Z Servo Probe, such as an endstop switch on a rotating arm.
566
+ *   NUM_SERVOS also needs to be set.  This is found later in this file.  Set it to
567
+ *   1 + the number of other servos in your system.
568
+ */
569
+//#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
570
+//#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
571
+
572
+ /**
573
+ *   The BLTouch probe emulates a servo probe.
574
+ *   If using a BLTouch then NUM_SERVOS, Z_ENDSTOP_SERVO_NR and Z_SERVO_ANGLES
575
+ *   are setup for you in the background and you shouldn't need to set/modify/enable them
576
+ *   with the possible exception of Z_ENDSTOP_SERVO_NR.
577
+ */
561 578
 //#define BLTOUCH
562 579
 //#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
563 580
 
564
-// Z Servo Probe, such as an endstop switch on a rotating arm.
565
-//#define Z_ENDSTOP_SERVO_NR 0
566
-//#define Z_SERVO_ANGLES {70,0} // Z Servo Deploy and Stow angles
581
+/**
582
+ *   BLTouch WARNING  -  ONLY APPLIES TO VERSIONS OF MARLIN BEFORE 15 FEB 2017
583
+ *   Unless using interrupt endstops, there is a MINIMUM feedrate for Marlin to reliably
584
+ *   sense the BLTouch.  If the feedrate is too slow then G28 & G29 can sometimes result
585
+ *   in the print head being driven into the bed until manual intervention.
586
+ *   The minimum feedrate calculation is:
587
+ *
588
+ *     feedrate minimum =  24000 / DEFAULT_AXIS_STEPS_PER_UNIT
589
+ *        where feedrate is in "mm/minute" or "inches/minute" depending on the units used
590
+ *        in DEFAULT_AXIS_STEPS_PER_UNIT
591
+ *
592
+ *   This applies to the HOMING_FEEDRATE_Z and Z_PROBE_SPEED_FAST.  If PROBE_DOUBLE_TOUCH
593
+ *   is enabled then it also applies to Z_PROBE_SPEED_SLOW.
594
+ */
567 595
 
568
-// Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.
596
+/*   Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.  */
569 597
 //#define Z_PROBE_SLED
570
-//#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.
571
-
572
-//
573
-// Allen Key Probe is defined in the Delta example configurations.
574
-//
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.
575 599
 
576
-// Z Probe to nozzle (X,Y) offset, relative to (0, 0).
577
-// X and Y offsets must be integers.
578
-//
579
-// In the following example the X and Y offsets are both positive:
580
-// #define X_PROBE_OFFSET_FROM_EXTRUDER 10
581
-// #define Y_PROBE_OFFSET_FROM_EXTRUDER 10
582
-//
583
-//    +-- BACK ---+
584
-//    |           |
585
-//  L |    (+) P  | R <-- probe (20,20)
586
-//  E |           | I
587
-//  F | (-) N (+) | G <-- nozzle (10,10)
588
-//  T |           | H
589
-//    |    (-)    | T
590
-//    |           |
591
-//    O-- FRONT --+
592
-//  (0,0)
600
+/**
601
+ *   Z Probe to nozzle (X,Y) offset, relative to (0, 0).
602
+ *   X and Y offsets must be integers.
603
+ *
604
+ *   In the following example the X and Y offsets are both positive:
605
+ *   #define X_PROBE_OFFSET_FROM_EXTRUDER 10
606
+ *   #define Y_PROBE_OFFSET_FROM_EXTRUDER 10
607
+ *
608
+ *      +-- BACK ---+
609
+ *      |           |
610
+ *    L |    (+) P  | R <-- probe (20,20)
611
+ *    E |           | I
612
+ *    F | (-) N (+) | G <-- nozzle (10,10)
613
+ *    T |           | H
614
+ *      |    (-)    | T
615
+ *      |           |
616
+ *      O-- FRONT --+
617
+ *    (0,0)
618
+ */
593 619
 #define X_PROBE_OFFSET_FROM_EXTRUDER 10  // X offset: -left  +right  [of the nozzle]
594 620
 #define Y_PROBE_OFFSET_FROM_EXTRUDER 10  // Y offset: -front +behind [the nozzle]
595 621
 #define Z_PROBE_OFFSET_FROM_EXTRUDER 0   // Z offset: -below +above  [the nozzle]
596 622
 
597
-// X and Y axis travel speed (mm/m) between probes
623
+/*   X and Y axis travel speed (mm/m) between probes */
598 624
 #define XY_PROBE_SPEED 8000
599
-// Speed for the first approach when double-probing (with PROBE_DOUBLE_TOUCH)
625
+
626
+/*   Speed for the first approach when double-probing (with PROBE_DOUBLE_TOUCH) */
600 627
 #define Z_PROBE_SPEED_FAST HOMING_FEEDRATE_Z
601
-// Speed for the "accurate" probe of each point
628
+
629
+/*   Speed for the "accurate" probe of each point  */
602 630
 #define Z_PROBE_SPEED_SLOW (Z_PROBE_SPEED_FAST / 2)
603
-// Use double touch for probing
604
-//#define PROBE_DOUBLE_TOUCH
605 631
 
606
-// *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
607
-//
608
-// To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING.
609
-// Example: To park the head outside the bed area when homing with G28.
610
-//
611
-// To use a separate Z probe, your board must define a Z_MIN_PROBE_PIN.
612
-//
613
-// For a servo-based Z probe, just set Z_ENDSTOP_SERVO_NR and Z_SERVO_ANGLES above.
614
-//
615
-// - RAMPS 1.3/1.4 boards may be able to use the 5V, GND, and Aux4->D32 pin.
616
-// - Use 5V for powered (usu. inductive) sensors.
617
-// - Otherwise connect:
618
-//   - normally-closed switches to GND and D32.
619
-//   - normally-open switches to 5V and D32.
620
-//
621
-// Normally-closed switches are advised and are the default.
622
-//
632
+/*   Use double touch for probing  */
633
+//#define PROBE_DOUBLE_TOUCH
623 634
 
624
-//
625
-// The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.)
626
-// Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the
627
-// default pin for all RAMPS-based boards. Most boards use the X_MAX_PIN by default.
628
-// To use a different pin you can override it here.
629
-//
630
-// WARNING:
631
-// Setting the wrong pin may have unexpected and potentially disastrous consequences.
632
-// Use with caution and do your homework.
633
-//
634
-//#define Z_MIN_PROBE_PIN X_MAX_PIN
635
+/**
636
+ *   Allen Key Probe is defined in the Delta example configurations.
637
+ *
638
+ *
639
+ *   *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
640
+ *
641
+ *   - RAMPS 1.3/1.4 boards may be able to use the 5V, GND, and Aux4->D32 pin.
642
+ *   - Use 5V for powered (usu. inductive) sensors.
643
+ *   - Otherwise connect:
644
+ *     - normally-closed switches to GND and D32.
645
+ *     - normally-open switches to 5V and D32.
646
+ *
647
+ *   Normally-closed switches are advised and are the default.
648
+ *
649
+ *
650
+ *   PIN OPTIONS\SETUP FOR Z PROBES
651
+ *
652
+ *
653
+ *   WARNING:
654
+ *   Setting the wrong pin may have unexpected and potentially disastrous consequences.
655
+ *   Use with caution and do your homework.
656
+ *
657
+ *
658
+ *   All Z PROBE pin options are configured by defining (or not defining)
659
+ *   the following five items:
660
+ *       Z_MIN_PROBE_ENDSTOP – defined below
661
+ *       Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN – defined below
662
+ *       Z_MIN_PIN - defined in the pins_YOUR_BOARD.h file
663
+ *       Z_MIN_PROBE_PIN - defined in the pins_YOUR_BOARD.h file
664
+ *
665
+ *   If you're using a probe then you need to tell Marlin which pin to use as
666
+ *   the Z MIN ENDSTOP.  Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN determines if the
667
+ *   Z_MIN_PIN or if the Z_MIN_PROBE_PIN is used.
668
+ *
669
+ *   The pin selected for the probe is ONLY checked during probing operations.
670
+ *   If you want to use the Z_MIN_PIN as an endstop AND you want to have a Z PROBE
671
+ *   then you’ll need to use the Z_MIN_PROBE_PIN option.
672
+ *
673
+ *   Z_MIN_PROBE_ENDSTOP also needs to be enabled if you want to use Z_MIN_PROBE_PIN.
674
+ *
675
+ *   The settings needed to use the Z_MIN_PROBE_PIN are:
676
+ *       1. select the type of probe you're using
677
+ *       2. define Z_MIN_PROBE_PIN in your pins_YOUR_BOARD.h file
678
+ *       3. disable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
679
+ *       4. enable Z_MIN_PROBE_ENDSTOP
680
+ *   NOTE – if Z_MIN_PIN is defined then it’ll be checked during all moves in the
681
+ *          negative Z direction.
682
+ *
683
+ *   The settings needed to use the Z_MIN_PIN are:
684
+ *       1. select the type of probe you're using
685
+ *       2. enable Z_MIN _PIN in your pins_YOUR_BOARD.h file
686
+ *       3. enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
687
+ *       4. disable Z_MIN_PROBE_ENDSTOP
688
+ *   NOTES – if Z_MIN_PROBE_PIN is defined in the pins_YOUR_BOARD.h file then it’ll be
689
+ *          ignored by Marlin
690
+ */
635 691
 
636
-//
637
-// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
638
-// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
639
-//
640 692
 //#define Z_MIN_PROBE_ENDSTOP
641
-
642
-// Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE.
643
-// The Z_MIN_PIN will then be used for both Z-homing and probing.
644 693
 #define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
645 694
 
646
-// To use a probe you must enable one of the two options above!
647 695
 
648
-// Enable Z Probe Repeatability test to see how accurate your probe is
696
+/* Enable Z Probe Repeatability test to see how accurate your probe is  */
649 697
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
650 698
 
651 699
 /**
@@ -665,12 +713,11 @@
665 713
 #define Z_CLEARANCE_DEPLOY_PROBE   15 // Z Clearance for Deploy/Stow
666 714
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
667 715
 
668
-//
669
-// For M851 give a range for adjusting the Z probe offset
670
-//
716
+/* For M851 give a range for adjusting the Z probe offset */
671 717
 #define Z_PROBE_OFFSET_RANGE_MIN -20
672 718
 #define Z_PROBE_OFFSET_RANGE_MAX 20
673 719
 
720
+
674 721
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
675 722
 // :{ 0:'Low', 1:'High' }
676 723
 #define X_ENABLE_ON 1

+ 141
- 94
Marlin/example_configurations/Felix/Configuration.h Vedi File

@@ -513,122 +513,170 @@
513 513
 #define DEFAULT_EJERK                  5.0
514 514
 
515 515
 
516
-//===========================================================================
517
-//============================= Z Probe Options =============================
518
-//===========================================================================
519
-// @section probes
520
-
521
-//
522
-// Probe Type
523
-// Probes are sensors/switches that are activated / deactivated before/after use.
524
-//
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.
527
-//
528
-// Use M851 to set the Z probe vertical offset from the nozzle. Store with M500.
529
-//
516
+/**
517
+ * ===========================================================================
518
+ * ============================= Z Probe Options =============================
519
+ * ===========================================================================
520
+ *    @section probes
521
+ *
522
+ *
523
+ *   Probe Type
524
+ *   Probes are sensors/switches that are activated / deactivated before/after use.
525
+ *
526
+ *   Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
527
+ *   You must activate one of these to use Auto Bed Leveling below.
528
+ *
529
+ *   Use M851 to set the Z probe vertical offset from the nozzle. Store with M500.
530
+ */
530 531
 
531
-// The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe.
532
-// Use G29 repeatedly, adjusting the Z height at each point with movement commands
533
-// or (with LCD_BED_LEVELING) the LCD controller.
532
+/**
533
+ *   The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe.
534
+ *   Use G29 repeatedly, adjusting the Z height at each point with movement commands
535
+ *   or (with LCD_BED_LEVELING) the LCD controller.
536
+ */
534 537
 //#define PROBE_MANUALLY
535 538
 
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.
539
+/**
540
+ *   A Fix-Mounted Probe either doesn't deploy or needs manual deployment.
541
+ *   For example an inductive probe, or a setup that uses the nozzle to probe.
542
+ *   An inductive probe must be deactivated to go below
543
+ *   its trigger-point if hardware endstops are active.
544
+ */
540 545
 //#define FIX_MOUNTED_PROBE
541 546
 
542
-// The BLTouch probe emulates a servo probe.
543
-// The default connector is SERVO 0. Set Z_ENDSTOP_SERVO_NR below to override.
547
+/**
548
+ *   Z Servo Probe, such as an endstop switch on a rotating arm.
549
+ *   NUM_SERVOS also needs to be set.  This is found later in this file.  Set it to
550
+ *   1 + the number of other servos in your system.
551
+ */
552
+//#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
553
+//#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
554
+
555
+ /**
556
+ *   The BLTouch probe emulates a servo probe.
557
+ *   If using a BLTouch then NUM_SERVOS, Z_ENDSTOP_SERVO_NR and Z_SERVO_ANGLES
558
+ *   are setup for you in the background and you shouldn't need to set/modify/enable them
559
+ *   with the possible exception of Z_ENDSTOP_SERVO_NR.
560
+ */
544 561
 //#define BLTOUCH
545 562
 //#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
546 563
 
547
-// Z Servo Probe, such as an endstop switch on a rotating arm.
548
-//#define Z_ENDSTOP_SERVO_NR 0
549
-//#define Z_SERVO_ANGLES {70,0} // Z Servo Deploy and Stow angles
564
+/**
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.
577
+ */
550 578
 
551
-// Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.
579
+/*   Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.  */
552 580
 //#define Z_PROBE_SLED
553
-//#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.
554
-
555
-//
556
-// Allen Key Probe is defined in the Delta example configurations.
557
-//
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.
558 582
 
559
-// Z Probe to nozzle (X,Y) offset, relative to (0, 0).
560
-// X and Y offsets must be integers.
561
-//
562
-// In the following example the X and Y offsets are both positive:
563
-// #define X_PROBE_OFFSET_FROM_EXTRUDER 10
564
-// #define Y_PROBE_OFFSET_FROM_EXTRUDER 10
565
-//
566
-//    +-- BACK ---+
567
-//    |           |
568
-//  L |    (+) P  | R <-- probe (20,20)
569
-//  E |           | I
570
-//  F | (-) N (+) | G <-- nozzle (10,10)
571
-//  T |           | H
572
-//    |    (-)    | T
573
-//    |           |
574
-//    O-- FRONT --+
575
-//  (0,0)
583
+/**
584
+ *   Z Probe to nozzle (X,Y) offset, relative to (0, 0).
585
+ *   X and Y offsets must be integers.
586
+ *
587
+ *   In the following example the X and Y offsets are both positive:
588
+ *   #define X_PROBE_OFFSET_FROM_EXTRUDER 10
589
+ *   #define Y_PROBE_OFFSET_FROM_EXTRUDER 10
590
+ *
591
+ *      +-- BACK ---+
592
+ *      |           |
593
+ *    L |    (+) P  | R <-- probe (20,20)
594
+ *    E |           | I
595
+ *    F | (-) N (+) | G <-- nozzle (10,10)
596
+ *    T |           | H
597
+ *      |    (-)    | T
598
+ *      |           |
599
+ *      O-- FRONT --+
600
+ *    (0,0)
601
+ */
576 602
 #define X_PROBE_OFFSET_FROM_EXTRUDER -25     // X offset: -left  +right  [of the nozzle]
577 603
 #define Y_PROBE_OFFSET_FROM_EXTRUDER -29     // Y offset: -front +behind [the nozzle]
578 604
 #define Z_PROBE_OFFSET_FROM_EXTRUDER -12.35  // Z offset: -below +above  [the nozzle]
579 605
 
580
-// X and Y axis travel speed (mm/m) between probes
606
+/*   X and Y axis travel speed (mm/m) between probes */
581 607
 #define XY_PROBE_SPEED 8000
582
-// Speed for the first approach when double-probing (with PROBE_DOUBLE_TOUCH)
608
+
609
+/*   Speed for the first approach when double-probing (with PROBE_DOUBLE_TOUCH) */
583 610
 #define Z_PROBE_SPEED_FAST HOMING_FEEDRATE_Z
584
-// Speed for the "accurate" probe of each point
611
+
612
+/*   Speed for the "accurate" probe of each point  */
585 613
 #define Z_PROBE_SPEED_SLOW (Z_PROBE_SPEED_FAST / 2)
586
-// Use double touch for probing
587
-//#define PROBE_DOUBLE_TOUCH
588 614
 
589
-// *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
590
-//
591
-// To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING.
592
-// Example: To park the head outside the bed area when homing with G28.
593
-//
594
-// To use a separate Z probe, your board must define a Z_MIN_PROBE_PIN.
595
-//
596
-// For a servo-based Z probe, just set Z_ENDSTOP_SERVO_NR and Z_SERVO_ANGLES above.
597
-//
598
-// - RAMPS 1.3/1.4 boards may be able to use the 5V, GND, and Aux4->D32 pin.
599
-// - Use 5V for powered (usu. inductive) sensors.
600
-// - Otherwise connect:
601
-//   - normally-closed switches to GND and D32.
602
-//   - normally-open switches to 5V and D32.
603
-//
604
-// Normally-closed switches are advised and are the default.
605
-//
615
+/*   Use double touch for probing  */
616
+//#define PROBE_DOUBLE_TOUCH
606 617
 
607
-//
608
-// The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.)
609
-// Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the
610
-// default pin for all RAMPS-based boards. Most boards use the X_MAX_PIN by default.
611
-// To use a different pin you can override it here.
612
-//
613
-// WARNING:
614
-// Setting the wrong pin may have unexpected and potentially disastrous consequences.
615
-// Use with caution and do your homework.
616
-//
617
-//#define Z_MIN_PROBE_PIN X_MAX_PIN
618
+/**
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
+ */
618 674
 
619
-//
620
-// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
621
-// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
622
-//
623 675
 //#define Z_MIN_PROBE_ENDSTOP
624
-
625
-// Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE.
626
-// The Z_MIN_PIN will then be used for both Z-homing and probing.
627 676
 #define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
628 677
 
629
-// To use a probe you must enable one of the two options above!
630 678
 
631
-// Enable Z Probe Repeatability test to see how accurate your probe is
679
+/* Enable Z Probe Repeatability test to see how accurate your probe is  */
632 680
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
633 681
 
634 682
 /**
@@ -648,12 +696,11 @@
648 696
 #define Z_CLEARANCE_DEPLOY_PROBE   15 // Z Clearance for Deploy/Stow
649 697
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
650 698
 
651
-//
652
-// For M851 give a range for adjusting the Z probe offset
653
-//
699
+/* For M851 give a range for adjusting the Z probe offset */
654 700
 #define Z_PROBE_OFFSET_RANGE_MIN -20
655 701
 #define Z_PROBE_OFFSET_RANGE_MAX 20
656 702
 
703
+
657 704
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
658 705
 // :{ 0:'Low', 1:'High' }
659 706
 #define X_ENABLE_ON 0

+ 141
- 94
Marlin/example_configurations/Felix/DUAL/Configuration.h Vedi File

@@ -513,122 +513,170 @@
513 513
 #define DEFAULT_EJERK                  5.0
514 514
 
515 515
 
516
-//===========================================================================
517
-//============================= Z Probe Options =============================
518
-//===========================================================================
519
-// @section probes
520
-
521
-//
522
-// Probe Type
523
-// Probes are sensors/switches that are activated / deactivated before/after use.
524
-//
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.
527
-//
528
-// Use M851 to set the Z probe vertical offset from the nozzle. Store with M500.
529
-//
516
+/**
517
+ * ===========================================================================
518
+ * ============================= Z Probe Options =============================
519
+ * ===========================================================================
520
+ *    @section probes
521
+ *
522
+ *
523
+ *   Probe Type
524
+ *   Probes are sensors/switches that are activated / deactivated before/after use.
525
+ *
526
+ *   Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
527
+ *   You must activate one of these to use Auto Bed Leveling below.
528
+ *
529
+ *   Use M851 to set the Z probe vertical offset from the nozzle. Store with M500.
530
+ */
530 531
 
531
-// The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe.
532
-// Use G29 repeatedly, adjusting the Z height at each point with movement commands
533
-// or (with LCD_BED_LEVELING) the LCD controller.
532
+/**
533
+ *   The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe.
534
+ *   Use G29 repeatedly, adjusting the Z height at each point with movement commands
535
+ *   or (with LCD_BED_LEVELING) the LCD controller.
536
+ */
534 537
 //#define PROBE_MANUALLY
535 538
 
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.
539
+/**
540
+ *   A Fix-Mounted Probe either doesn't deploy or needs manual deployment.
541
+ *   For example an inductive probe, or a setup that uses the nozzle to probe.
542
+ *   An inductive probe must be deactivated to go below
543
+ *   its trigger-point if hardware endstops are active.
544
+ */
540 545
 //#define FIX_MOUNTED_PROBE
541 546
 
542
-// The BLTouch probe emulates a servo probe.
543
-// The default connector is SERVO 0. Set Z_ENDSTOP_SERVO_NR below to override.
547
+/**
548
+ *   Z Servo Probe, such as an endstop switch on a rotating arm.
549
+ *   NUM_SERVOS also needs to be set.  This is found later in this file.  Set it to
550
+ *   1 + the number of other servos in your system.
551
+ */
552
+//#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
553
+//#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
554
+
555
+ /**
556
+ *   The BLTouch probe emulates a servo probe.
557
+ *   If using a BLTouch then NUM_SERVOS, Z_ENDSTOP_SERVO_NR and Z_SERVO_ANGLES
558
+ *   are setup for you in the background and you shouldn't need to set/modify/enable them
559
+ *   with the possible exception of Z_ENDSTOP_SERVO_NR.
560
+ */
544 561
 //#define BLTOUCH
545 562
 //#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
546 563
 
547
-// Z Servo Probe, such as an endstop switch on a rotating arm.
548
-//#define Z_ENDSTOP_SERVO_NR 0
549
-//#define Z_SERVO_ANGLES {70,0} // Z Servo Deploy and Stow angles
564
+/**
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.
577
+ */
550 578
 
551
-// Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.
579
+/*   Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.  */
552 580
 //#define Z_PROBE_SLED
553
-//#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.
554
-
555
-//
556
-// Allen Key Probe is defined in the Delta example configurations.
557
-//
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.
558 582
 
559
-// Z Probe to nozzle (X,Y) offset, relative to (0, 0).
560
-// X and Y offsets must be integers.
561
-//
562
-// In the following example the X and Y offsets are both positive:
563
-// #define X_PROBE_OFFSET_FROM_EXTRUDER 10
564
-// #define Y_PROBE_OFFSET_FROM_EXTRUDER 10
565
-//
566
-//    +-- BACK ---+
567
-//    |           |
568
-//  L |    (+) P  | R <-- probe (20,20)
569
-//  E |           | I
570
-//  F | (-) N (+) | G <-- nozzle (10,10)
571
-//  T |           | H
572
-//    |    (-)    | T
573
-//    |           |
574
-//    O-- FRONT --+
575
-//  (0,0)
583
+/**
584
+ *   Z Probe to nozzle (X,Y) offset, relative to (0, 0).
585
+ *   X and Y offsets must be integers.
586
+ *
587
+ *   In the following example the X and Y offsets are both positive:
588
+ *   #define X_PROBE_OFFSET_FROM_EXTRUDER 10
589
+ *   #define Y_PROBE_OFFSET_FROM_EXTRUDER 10
590
+ *
591
+ *      +-- BACK ---+
592
+ *      |           |
593
+ *    L |    (+) P  | R <-- probe (20,20)
594
+ *    E |           | I
595
+ *    F | (-) N (+) | G <-- nozzle (10,10)
596
+ *    T |           | H
597
+ *      |    (-)    | T
598
+ *      |           |
599
+ *      O-- FRONT --+
600
+ *    (0,0)
601
+ */
576 602
 #define X_PROBE_OFFSET_FROM_EXTRUDER -25     // X offset: -left  +right  [of the nozzle]
577 603
 #define Y_PROBE_OFFSET_FROM_EXTRUDER -29     // Y offset: -front +behind [the nozzle]
578 604
 #define Z_PROBE_OFFSET_FROM_EXTRUDER -12.35  // Z offset: -below +above  [the nozzle]
579 605
 
580
-// X and Y axis travel speed (mm/m) between probes
606
+/*   X and Y axis travel speed (mm/m) between probes */
581 607
 #define XY_PROBE_SPEED 8000
582
-// Speed for the first approach when double-probing (with PROBE_DOUBLE_TOUCH)
608
+
609
+/*   Speed for the first approach when double-probing (with PROBE_DOUBLE_TOUCH) */
583 610
 #define Z_PROBE_SPEED_FAST HOMING_FEEDRATE_Z
584
-// Speed for the "accurate" probe of each point
611
+
612
+/*   Speed for the "accurate" probe of each point  */
585 613
 #define Z_PROBE_SPEED_SLOW (Z_PROBE_SPEED_FAST / 2)
586
-// Use double touch for probing
587
-//#define PROBE_DOUBLE_TOUCH
588 614
 
589
-// *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
590
-//
591
-// To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING.
592
-// Example: To park the head outside the bed area when homing with G28.
593
-//
594
-// To use a separate Z probe, your board must define a Z_MIN_PROBE_PIN.
595
-//
596
-// For a servo-based Z probe, just set Z_ENDSTOP_SERVO_NR and Z_SERVO_ANGLES above.
597
-//
598
-// - RAMPS 1.3/1.4 boards may be able to use the 5V, GND, and Aux4->D32 pin.
599
-// - Use 5V for powered (usu. inductive) sensors.
600
-// - Otherwise connect:
601
-//   - normally-closed switches to GND and D32.
602
-//   - normally-open switches to 5V and D32.
603
-//
604
-// Normally-closed switches are advised and are the default.
605
-//
615
+/*   Use double touch for probing  */
616
+//#define PROBE_DOUBLE_TOUCH
606 617
 
607
-//
608
-// The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.)
609
-// Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the
610
-// default pin for all RAMPS-based boards. Most boards use the X_MAX_PIN by default.
611
-// To use a different pin you can override it here.
612
-//
613
-// WARNING:
614
-// Setting the wrong pin may have unexpected and potentially disastrous consequences.
615
-// Use with caution and do your homework.
616
-//
617
-//#define Z_MIN_PROBE_PIN X_MAX_PIN
618
+/**
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
+ */
618 674
 
619
-//
620
-// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
621
-// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
622
-//
623 675
 //#define Z_MIN_PROBE_ENDSTOP
624
-
625
-// Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE.
626
-// The Z_MIN_PIN will then be used for both Z-homing and probing.
627 676
 #define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
628 677
 
629
-// To use a probe you must enable one of the two options above!
630 678
 
631
-// Enable Z Probe Repeatability test to see how accurate your probe is
679
+/* Enable Z Probe Repeatability test to see how accurate your probe is  */
632 680
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
633 681
 
634 682
 /**
@@ -648,12 +696,11 @@
648 696
 #define Z_CLEARANCE_DEPLOY_PROBE   15 // Z Clearance for Deploy/Stow
649 697
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
650 698
 
651
-//
652
-// For M851 give a range for adjusting the Z probe offset
653
-//
699
+/* For M851 give a range for adjusting the Z probe offset */
654 700
 #define Z_PROBE_OFFSET_RANGE_MIN -20
655 701
 #define Z_PROBE_OFFSET_RANGE_MAX 20
656 702
 
703
+
657 704
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
658 705
 // :{ 0:'Low', 1:'High' }
659 706
 #define X_ENABLE_ON 0

+ 141
- 94
Marlin/example_configurations/Hephestos/Configuration.h Vedi File

@@ -522,122 +522,170 @@
522 522
 #define DEFAULT_EJERK                  5.0
523 523
 
524 524
 
525
-//===========================================================================
526
-//============================= Z Probe Options =============================
527
-//===========================================================================
528
-// @section probes
529
-
530
-//
531
-// Probe Type
532
-// Probes are sensors/switches that are activated / deactivated before/after use.
533
-//
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.
536
-//
537
-// Use M851 to set the Z probe vertical offset from the nozzle. Store with M500.
538
-//
525
+/**
526
+ * ===========================================================================
527
+ * ============================= Z Probe Options =============================
528
+ * ===========================================================================
529
+ *    @section probes
530
+ *
531
+ *
532
+ *   Probe Type
533
+ *   Probes are sensors/switches that are activated / deactivated before/after use.
534
+ *
535
+ *   Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
536
+ *   You must activate one of these to use Auto Bed Leveling below.
537
+ *
538
+ *   Use M851 to set the Z probe vertical offset from the nozzle. Store with M500.
539
+ */
539 540
 
540
-// The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe.
541
-// Use G29 repeatedly, adjusting the Z height at each point with movement commands
542
-// or (with LCD_BED_LEVELING) the LCD controller.
541
+/**
542
+ *   The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe.
543
+ *   Use G29 repeatedly, adjusting the Z height at each point with movement commands
544
+ *   or (with LCD_BED_LEVELING) the LCD controller.
545
+ */
543 546
 //#define PROBE_MANUALLY
544 547
 
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.
548
+/**
549
+ *   A Fix-Mounted Probe either doesn't deploy or needs manual deployment.
550
+ *   For example an inductive probe, or a setup that uses the nozzle to probe.
551
+ *   An inductive probe must be deactivated to go below
552
+ *   its trigger-point if hardware endstops are active.
553
+ */
549 554
 //#define FIX_MOUNTED_PROBE
550 555
 
551
-// The BLTouch probe emulates a servo probe.
552
-// The default connector is SERVO 0. Set Z_ENDSTOP_SERVO_NR below to override.
556
+/**
557
+ *   Z Servo Probe, such as an endstop switch on a rotating arm.
558
+ *   NUM_SERVOS also needs to be set.  This is found later in this file.  Set it to
559
+ *   1 + the number of other servos in your system.
560
+ */
561
+//#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
562
+//#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
563
+
564
+ /**
565
+ *   The BLTouch probe emulates a servo probe.
566
+ *   If using a BLTouch then NUM_SERVOS, Z_ENDSTOP_SERVO_NR and Z_SERVO_ANGLES
567
+ *   are setup for you in the background and you shouldn't need to set/modify/enable them
568
+ *   with the possible exception of Z_ENDSTOP_SERVO_NR.
569
+ */
553 570
 //#define BLTOUCH
554 571
 //#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
555 572
 
556
-// Z Servo Probe, such as an endstop switch on a rotating arm.
557
-//#define Z_ENDSTOP_SERVO_NR 0
558
-//#define Z_SERVO_ANGLES {70,0} // Z Servo Deploy and Stow angles
573
+/**
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.
586
+ */
559 587
 
560
-// Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.
588
+/*   Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.  */
561 589
 //#define Z_PROBE_SLED
562
-//#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.
563
-
564
-//
565
-// Allen Key Probe is defined in the Delta example configurations.
566
-//
590
+//#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.
567 591
 
568
-// Z Probe to nozzle (X,Y) offset, relative to (0, 0).
569
-// X and Y offsets must be integers.
570
-//
571
-// In the following example the X and Y offsets are both positive:
572
-// #define X_PROBE_OFFSET_FROM_EXTRUDER 10
573
-// #define Y_PROBE_OFFSET_FROM_EXTRUDER 10
574
-//
575
-//    +-- BACK ---+
576
-//    |           |
577
-//  L |    (+) P  | R <-- probe (20,20)
578
-//  E |           | I
579
-//  F | (-) N (+) | G <-- nozzle (10,10)
580
-//  T |           | H
581
-//    |    (-)    | T
582
-//    |           |
583
-//    O-- FRONT --+
584
-//  (0,0)
592
+/**
593
+ *   Z Probe to nozzle (X,Y) offset, relative to (0, 0).
594
+ *   X and Y offsets must be integers.
595
+ *
596
+ *   In the following example the X and Y offsets are both positive:
597
+ *   #define X_PROBE_OFFSET_FROM_EXTRUDER 10
598
+ *   #define Y_PROBE_OFFSET_FROM_EXTRUDER 10
599
+ *
600
+ *      +-- BACK ---+
601
+ *      |           |
602
+ *    L |    (+) P  | R <-- probe (20,20)
603
+ *    E |           | I
604
+ *    F | (-) N (+) | G <-- nozzle (10,10)
605
+ *    T |           | H
606
+ *      |    (-)    | T
607
+ *      |           |
608
+ *      O-- FRONT --+
609
+ *    (0,0)
610
+ */
585 611
 #define X_PROBE_OFFSET_FROM_EXTRUDER -25     // X offset: -left  +right  [of the nozzle]
586 612
 #define Y_PROBE_OFFSET_FROM_EXTRUDER -29     // Y offset: -front +behind [the nozzle]
587 613
 #define Z_PROBE_OFFSET_FROM_EXTRUDER -12.35  // Z offset: -below +above  [the nozzle]
588 614
 
589
-// X and Y axis travel speed (mm/m) between probes
615
+/*   X and Y axis travel speed (mm/m) between probes */
590 616
 #define XY_PROBE_SPEED 8000
591
-// Speed for the first approach when double-probing (with PROBE_DOUBLE_TOUCH)
617
+
618
+/*   Speed for the first approach when double-probing (with PROBE_DOUBLE_TOUCH) */
592 619
 #define Z_PROBE_SPEED_FAST HOMING_FEEDRATE_Z
593
-// Speed for the "accurate" probe of each point
620
+
621
+/*   Speed for the "accurate" probe of each point  */
594 622
 #define Z_PROBE_SPEED_SLOW (Z_PROBE_SPEED_FAST / 2)
595
-// Use double touch for probing
596
-//#define PROBE_DOUBLE_TOUCH
597 623
 
598
-// *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
599
-//
600
-// To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING.
601
-// Example: To park the head outside the bed area when homing with G28.
602
-//
603
-// To use a separate Z probe, your board must define a Z_MIN_PROBE_PIN.
604
-//
605
-// For a servo-based Z probe, just set Z_ENDSTOP_SERVO_NR and Z_SERVO_ANGLES above.
606
-//
607
-// - RAMPS 1.3/1.4 boards may be able to use the 5V, GND, and Aux4->D32 pin.
608
-// - Use 5V for powered (usu. inductive) sensors.
609
-// - Otherwise connect:
610
-//   - normally-closed switches to GND and D32.
611
-//   - normally-open switches to 5V and D32.
612
-//
613
-// Normally-closed switches are advised and are the default.
614
-//
624
+/*   Use double touch for probing  */
625
+//#define PROBE_DOUBLE_TOUCH
615 626
 
616
-//
617
-// The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.)
618
-// Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the
619
-// default pin for all RAMPS-based boards. Most boards use the X_MAX_PIN by default.
620
-// To use a different pin you can override it here.
621
-//
622
-// WARNING:
623
-// Setting the wrong pin may have unexpected and potentially disastrous consequences.
624
-// Use with caution and do your homework.
625
-//
626
-//#define Z_MIN_PROBE_PIN X_MAX_PIN
627
+/**
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
+ */
627 683
 
628
-//
629
-// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
630
-// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
631
-//
632 684
 #define Z_MIN_PROBE_ENDSTOP
633
-
634
-// Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE.
635
-// The Z_MIN_PIN will then be used for both Z-homing and probing.
636 685
 //#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
637 686
 
638
-// To use a probe you must enable one of the two options above!
639 687
 
640
-// Enable Z Probe Repeatability test to see how accurate your probe is
688
+/* Enable Z Probe Repeatability test to see how accurate your probe is  */
641 689
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
642 690
 
643 691
 /**
@@ -657,12 +705,11 @@
657 705
 #define Z_CLEARANCE_DEPLOY_PROBE   15 // Z Clearance for Deploy/Stow
658 706
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
659 707
 
660
-//
661
-// For M851 give a range for adjusting the Z probe offset
662
-//
708
+/* For M851 give a range for adjusting the Z probe offset */
663 709
 #define Z_PROBE_OFFSET_RANGE_MIN -20
664 710
 #define Z_PROBE_OFFSET_RANGE_MAX 20
665 711
 
712
+
666 713
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
667 714
 // :{ 0:'Low', 1:'High' }
668 715
 #define X_ENABLE_ON 0

+ 141
- 94
Marlin/example_configurations/Hephestos_2/Configuration.h Vedi File

@@ -524,122 +524,170 @@
524 524
 #define DEFAULT_EJERK                  1.0
525 525
 
526 526
 
527
-//===========================================================================
528
-//============================= Z Probe Options =============================
529
-//===========================================================================
530
-// @section probes
531
-
532
-//
533
-// Probe Type
534
-// Probes are sensors/switches that are activated / deactivated before/after use.
535
-//
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.
538
-//
539
-// Use M851 to set the Z probe vertical offset from the nozzle. Store with M500.
540
-//
527
+/**
528
+ * ===========================================================================
529
+ * ============================= Z Probe Options =============================
530
+ * ===========================================================================
531
+ *    @section probes
532
+ *
533
+ *
534
+ *   Probe Type
535
+ *   Probes are sensors/switches that are activated / deactivated before/after use.
536
+ *
537
+ *   Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
538
+ *   You must activate one of these to use Auto Bed Leveling below.
539
+ *
540
+ *   Use M851 to set the Z probe vertical offset from the nozzle. Store with M500.
541
+ */
541 542
 
542
-// The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe.
543
-// Use G29 repeatedly, adjusting the Z height at each point with movement commands
544
-// or (with LCD_BED_LEVELING) the LCD controller.
543
+/**
544
+ *   The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe.
545
+ *   Use G29 repeatedly, adjusting the Z height at each point with movement commands
546
+ *   or (with LCD_BED_LEVELING) the LCD controller.
547
+ */
545 548
 //#define PROBE_MANUALLY
546 549
 
547
-// A Fix-Mounted Probe either doesn't deploy or needs manual deployment.
548
-// For example an inductive probe, or a setup that uses the nozzle to probe.
549
-// An inductive probe must be deactivated to go below
550
-// its trigger-point if hardware endstops are active.
550
+/**
551
+ *   A Fix-Mounted Probe either doesn't deploy or needs manual deployment.
552
+ *   For example an inductive probe, or a setup that uses the nozzle to probe.
553
+ *   An inductive probe must be deactivated to go below
554
+ *   its trigger-point if hardware endstops are active.
555
+ */
551 556
 #define FIX_MOUNTED_PROBE
552 557
 
553
-// The BLTouch probe emulates a servo probe.
554
-// The default connector is SERVO 0. Set Z_ENDSTOP_SERVO_NR below to override.
558
+/**
559
+ *   Z Servo Probe, such as an endstop switch on a rotating arm.
560
+ *   NUM_SERVOS also needs to be set.  This is found later in this file.  Set it to
561
+ *   1 + the number of other servos in your system.
562
+ */
563
+//#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
564
+//#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
565
+
566
+ /**
567
+ *   The BLTouch probe emulates a servo probe.
568
+ *   If using a BLTouch then NUM_SERVOS, Z_ENDSTOP_SERVO_NR and Z_SERVO_ANGLES
569
+ *   are setup for you in the background and you shouldn't need to set/modify/enable them
570
+ *   with the possible exception of Z_ENDSTOP_SERVO_NR.
571
+ */
555 572
 //#define BLTOUCH
556 573
 //#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
557 574
 
558
-// Z Servo Probe, such as an endstop switch on a rotating arm.
559
-//#define Z_ENDSTOP_SERVO_NR 0
560
-//#define Z_SERVO_ANGLES {70,0} // Z Servo Deploy and Stow angles
575
+/**
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.
588
+ */
561 589
 
562
-// Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.
590
+/*   Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.  */
563 591
 //#define Z_PROBE_SLED
564
-//#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.
565
-
566
-//
567
-// Allen Key Probe is defined in the Delta example configurations.
568
-//
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.
569 593
 
570
-// Z Probe to nozzle (X,Y) offset, relative to (0, 0).
571
-// X and Y offsets must be integers.
572
-//
573
-// In the following example the X and Y offsets are both positive:
574
-// #define X_PROBE_OFFSET_FROM_EXTRUDER 10
575
-// #define Y_PROBE_OFFSET_FROM_EXTRUDER 10
576
-//
577
-//    +-- BACK ---+
578
-//    |           |
579
-//  L |    (+) P  | R <-- probe (20,20)
580
-//  E |           | I
581
-//  F | (-) N (+) | G <-- nozzle (10,10)
582
-//  T |           | H
583
-//    |    (-)    | T
584
-//    |           |
585
-//    O-- FRONT --+
586
-//  (0,0)
594
+/**
595
+ *   Z Probe to nozzle (X,Y) offset, relative to (0, 0).
596
+ *   X and Y offsets must be integers.
597
+ *
598
+ *   In the following example the X and Y offsets are both positive:
599
+ *   #define X_PROBE_OFFSET_FROM_EXTRUDER 10
600
+ *   #define Y_PROBE_OFFSET_FROM_EXTRUDER 10
601
+ *
602
+ *      +-- BACK ---+
603
+ *      |           |
604
+ *    L |    (+) P  | R <-- probe (20,20)
605
+ *    E |           | I
606
+ *    F | (-) N (+) | G <-- nozzle (10,10)
607
+ *    T |           | H
608
+ *      |    (-)    | T
609
+ *      |           |
610
+ *      O-- FRONT --+
611
+ *    (0,0)
612
+ */
587 613
 #define X_PROBE_OFFSET_FROM_EXTRUDER 34  // X offset: -left  +right  [of the nozzle]
588 614
 #define Y_PROBE_OFFSET_FROM_EXTRUDER 15  // Y offset: -front +behind [the nozzle]
589 615
 #define Z_PROBE_OFFSET_FROM_EXTRUDER 0   // Z offset: -below +above  [the nozzle]
590 616
 
591
-// X and Y axis travel speed (mm/m) between probes
617
+/*   X and Y axis travel speed (mm/m) between probes */
592 618
 #define XY_PROBE_SPEED 8000
593
-// Speed for the first approach when double-probing (with PROBE_DOUBLE_TOUCH)
619
+
620
+/*   Speed for the first approach when double-probing (with PROBE_DOUBLE_TOUCH) */
594 621
 #define Z_PROBE_SPEED_FAST HOMING_FEEDRATE_Z
595
-// Speed for the "accurate" probe of each point
622
+
623
+/*   Speed for the "accurate" probe of each point  */
596 624
 #define Z_PROBE_SPEED_SLOW (Z_PROBE_SPEED_FAST / 2)
597
-// Use double touch for probing
598
-//#define PROBE_DOUBLE_TOUCH
599 625
 
600
-// *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
601
-//
602
-// To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING.
603
-// Example: To park the head outside the bed area when homing with G28.
604
-//
605
-// To use a separate Z probe, your board must define a Z_MIN_PROBE_PIN.
606
-//
607
-// For a servo-based Z probe, just set Z_ENDSTOP_SERVO_NR and Z_SERVO_ANGLES above.
608
-//
609
-// - RAMPS 1.3/1.4 boards may be able to use the 5V, GND, and Aux4->D32 pin.
610
-// - Use 5V for powered (usu. inductive) sensors.
611
-// - Otherwise connect:
612
-//   - normally-closed switches to GND and D32.
613
-//   - normally-open switches to 5V and D32.
614
-//
615
-// Normally-closed switches are advised and are the default.
616
-//
626
+/*   Use double touch for probing  */
627
+//#define PROBE_DOUBLE_TOUCH
617 628
 
618
-//
619
-// The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.)
620
-// Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the
621
-// default pin for all RAMPS-based boards. Most boards use the X_MAX_PIN by default.
622
-// To use a different pin you can override it here.
623
-//
624
-// WARNING:
625
-// Setting the wrong pin may have unexpected and potentially disastrous consequences.
626
-// Use with caution and do your homework.
627
-//
628
-//#define Z_MIN_PROBE_PIN X_MAX_PIN
629
+/**
630
+ *   Allen Key Probe is defined in the Delta example configurations.
631
+ *
632
+ *
633
+ *   *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
634
+ *
635
+ *   - RAMPS 1.3/1.4 boards may be able to use the 5V, GND, and Aux4->D32 pin.
636
+ *   - Use 5V for powered (usu. inductive) sensors.
637
+ *   - Otherwise connect:
638
+ *     - normally-closed switches to GND and D32.
639
+ *     - normally-open switches to 5V and D32.
640
+ *
641
+ *   Normally-closed switches are advised and are the default.
642
+ *
643
+ *
644
+ *   PIN OPTIONS\SETUP FOR Z PROBES
645
+ *
646
+ *
647
+ *   WARNING:
648
+ *   Setting the wrong pin may have unexpected and potentially disastrous consequences.
649
+ *   Use with caution and do your homework.
650
+ *
651
+ *
652
+ *   All Z PROBE pin options are configured by defining (or not defining)
653
+ *   the following five items:
654
+ *       Z_MIN_PROBE_ENDSTOP – defined below
655
+ *       Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN – defined below
656
+ *       Z_MIN_PIN - defined in the pins_YOUR_BOARD.h file
657
+ *       Z_MIN_PROBE_PIN - defined in the pins_YOUR_BOARD.h file
658
+ *
659
+ *   If you're using a probe then you need to tell Marlin which pin to use as
660
+ *   the Z MIN ENDSTOP.  Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN determines if the
661
+ *   Z_MIN_PIN or if the Z_MIN_PROBE_PIN is used.
662
+ *
663
+ *   The pin selected for the probe is ONLY checked during probing operations.
664
+ *   If you want to use the Z_MIN_PIN as an endstop AND you want to have a Z PROBE
665
+ *   then you’ll need to use the Z_MIN_PROBE_PIN option.
666
+ *
667
+ *   Z_MIN_PROBE_ENDSTOP also needs to be enabled if you want to use Z_MIN_PROBE_PIN.
668
+ *
669
+ *   The settings needed to use the Z_MIN_PROBE_PIN are:
670
+ *       1. select the type of probe you're using
671
+ *       2. define Z_MIN_PROBE_PIN in your pins_YOUR_BOARD.h file
672
+ *       3. disable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
673
+ *       4. enable Z_MIN_PROBE_ENDSTOP
674
+ *   NOTE – if Z_MIN_PIN is defined then it’ll be checked during all moves in the
675
+ *          negative Z direction.
676
+ *
677
+ *   The settings needed to use the Z_MIN_PIN are:
678
+ *       1. select the type of probe you're using
679
+ *       2. enable Z_MIN _PIN in your pins_YOUR_BOARD.h file
680
+ *       3. enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
681
+ *       4. disable Z_MIN_PROBE_ENDSTOP
682
+ *   NOTES – if Z_MIN_PROBE_PIN is defined in the pins_YOUR_BOARD.h file then it’ll be
683
+ *          ignored by Marlin
684
+ */
629 685
 
630
-//
631
-// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
632
-// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
633
-//
634 686
 //#define Z_MIN_PROBE_ENDSTOP
635
-
636
-// Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE.
637
-// The Z_MIN_PIN will then be used for both Z-homing and probing.
638 687
 #define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
639 688
 
640
-// To use a probe you must enable one of the two options above!
641 689
 
642
-// Enable Z Probe Repeatability test to see how accurate your probe is
690
+/* Enable Z Probe Repeatability test to see how accurate your probe is  */
643 691
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
644 692
 
645 693
 /**
@@ -659,12 +707,11 @@
659 707
 #define Z_CLEARANCE_DEPLOY_PROBE   0 // Z Clearance for Deploy/Stow
660 708
 #define Z_CLEARANCE_BETWEEN_PROBES 2 // Z Clearance between probe points
661 709
 
662
-//
663
-// For M851 give a range for adjusting the Z probe offset
664
-//
710
+/* For M851 give a range for adjusting the Z probe offset */
665 711
 #define Z_PROBE_OFFSET_RANGE_MIN -2
666 712
 #define Z_PROBE_OFFSET_RANGE_MAX  0
667 713
 
714
+
668 715
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
669 716
 // :{ 0:'Low', 1:'High' }
670 717
 #define X_ENABLE_ON 0

+ 140
- 94
Marlin/example_configurations/K8200/Configuration.h Vedi File

@@ -559,122 +559,170 @@
559 559
 #define DEFAULT_EJERK                  5.0
560 560
 
561 561
 
562
-//===========================================================================
563
-//============================= Z Probe Options =============================
564
-//===========================================================================
565
-// @section probes
566
-
567
-//
568
-// Probe Type
569
-// Probes are sensors/switches that are activated / deactivated before/after use.
570
-//
571
-// Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
572
-// You must activate one of these to use Auto Bed Leveling below.
573
-//
574
-// Use M851 to set the Z probe vertical offset from the nozzle. Store with M500.
575
-//
562
+/**
563
+ * ===========================================================================
564
+ * ============================= Z Probe Options =============================
565
+ * ===========================================================================
566
+ *    @section probes
567
+ *
568
+ *
569
+ *   Probe Type
570
+ *   Probes are sensors/switches that are activated / deactivated before/after use.
571
+ *
572
+ *   Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
573
+ *   You must activate one of these to use Auto Bed Leveling below.
574
+ *
575
+ *   Use M851 to set the Z probe vertical offset from the nozzle. Store with M500.
576
+ */
576 577
 
577
-// The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe.
578
-// Use G29 repeatedly, adjusting the Z height at each point with movement commands
579
-// or (with LCD_BED_LEVELING) the LCD controller.
578
+/**
579
+ *   The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe.
580
+ *   Use G29 repeatedly, adjusting the Z height at each point with movement commands
581
+ *   or (with LCD_BED_LEVELING) the LCD controller.
582
+ */
580 583
 //#define PROBE_MANUALLY
581 584
 
582
-// A Fix-Mounted Probe either doesn't deploy or needs manual deployment.
583
-// For example an inductive probe, or a setup that uses the nozzle to probe.
584
-// An inductive probe must be deactivated to go below
585
-// its trigger-point if hardware endstops are active.
585
+/**
586
+ *   A Fix-Mounted Probe either doesn't deploy or needs manual deployment.
587
+ *   For example an inductive probe, or a setup that uses the nozzle to probe.
588
+ *   An inductive probe must be deactivated to go below
589
+ *   its trigger-point if hardware endstops are active.
590
+ */
586 591
 //#define FIX_MOUNTED_PROBE
587 592
 
588
-// The BLTouch probe emulates a servo probe.
589
-// The default connector is SERVO 0. Set Z_ENDSTOP_SERVO_NR below to override.
593
+/**
594
+ *   Z Servo Probe, such as an endstop switch on a rotating arm.
595
+ *   NUM_SERVOS also needs to be set.  This is found later in this file.  Set it to
596
+ *   1 + the number of other servos in your system.
597
+ */
598
+//#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
599
+//#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
600
+
601
+ /**
602
+ *   The BLTouch probe emulates a servo probe.
603
+ *   If using a BLTouch then NUM_SERVOS, Z_ENDSTOP_SERVO_NR and Z_SERVO_ANGLES
604
+ *   are setup for you in the background and you shouldn't need to set/modify/enable them
605
+ *   with the possible exception of Z_ENDSTOP_SERVO_NR.
606
+ */
590 607
 //#define BLTOUCH
591 608
 //#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
592 609
 
593
-// Z Servo Probe, such as an endstop switch on a rotating arm.
594
-//#define Z_ENDSTOP_SERVO_NR 0
595
-//#define Z_SERVO_ANGLES {70,0} // Z Servo Deploy and Stow angles
610
+/**
611
+ *   BLTouch WARNING  -  ONLY APPLIES TO VERSIONS OF MARLIN BEFORE 15 FEB 2017
612
+ *   Unless using interrupt endstops, there is a MINIMUM feedrate for Marlin to reliably
613
+ *   sense the BLTouch.  If the feedrate is too slow then G28 & G29 can sometimes result
614
+ *   in the print head being driven into the bed until manual intervention.
615
+ *   The minimum feedrate calculation is:
616
+ *
617
+ *     feedrate minimum =  24000 / DEFAULT_AXIS_STEPS_PER_UNIT
618
+ *        where feedrate is in "mm/minute" or "inches/minute" depending on the units used
619
+ *        in DEFAULT_AXIS_STEPS_PER_UNIT
620
+ *
621
+ *   This applies to the HOMING_FEEDRATE_Z and Z_PROBE_SPEED_FAST.  If PROBE_DOUBLE_TOUCH
622
+ *   is enabled then it also applies to Z_PROBE_SPEED_SLOW.
623
+ */
596 624
 
597
-// Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.
625
+/*   Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.  */
598 626
 //#define Z_PROBE_SLED
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.
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.
600 628
 
601
-//
602
-// Allen Key Probe is defined in the Delta example configurations.
603
-//
604
-
605
-// Z Probe to nozzle (X,Y) offset, relative to (0, 0).
606
-// X and Y offsets must be integers.
607
-//
608
-// In the following example the X and Y offsets are both positive:
609
-// #define X_PROBE_OFFSET_FROM_EXTRUDER 10
610
-// #define Y_PROBE_OFFSET_FROM_EXTRUDER 10
611
-//
612
-//    +-- BACK ---+
613
-//    |           |
614
-//  L |    (+) P  | R <-- probe (20,20)
615
-//  E |           | I
616
-//  F | (-) N (+) | G <-- nozzle (10,10)
617
-//  T |           | H
618
-//    |    (-)    | T
619
-//    |           |
620
-//    O-- FRONT --+
621
-//  (0,0)
629
+/**
630
+ *   Z Probe to nozzle (X,Y) offset, relative to (0, 0).
631
+ *   X and Y offsets must be integers.
632
+ *
633
+ *   In the following example the X and Y offsets are both positive:
634
+ *   #define X_PROBE_OFFSET_FROM_EXTRUDER 10
635
+ *   #define Y_PROBE_OFFSET_FROM_EXTRUDER 10
636
+ *
637
+ *      +-- BACK ---+
638
+ *      |           |
639
+ *    L |    (+) P  | R <-- probe (20,20)
640
+ *    E |           | I
641
+ *    F | (-) N (+) | G <-- nozzle (10,10)
642
+ *    T |           | H
643
+ *      |    (-)    | T
644
+ *      |           |
645
+ *      O-- FRONT --+
646
+ *    (0,0)
647
+ */
622 648
 #define X_PROBE_OFFSET_FROM_EXTRUDER 10  // X offset: -left  +right  [of the nozzle]
623 649
 #define Y_PROBE_OFFSET_FROM_EXTRUDER 10  // Y offset: -front +behind [the nozzle]
624 650
 #define Z_PROBE_OFFSET_FROM_EXTRUDER 0   // Z offset: -below +above  [the nozzle]
625 651
 
626
-// X and Y axis travel speed (mm/m) between probes
652
+/*   X and Y axis travel speed (mm/m) between probes */
627 653
 #define XY_PROBE_SPEED 8000
628
-// Speed for the first approach when double-probing (with PROBE_DOUBLE_TOUCH)
654
+
655
+/*   Speed for the first approach when double-probing (with PROBE_DOUBLE_TOUCH) */
629 656
 #define Z_PROBE_SPEED_FAST HOMING_FEEDRATE_Z
630
-// Speed for the "accurate" probe of each point
657
+
658
+/*   Speed for the "accurate" probe of each point  */
631 659
 #define Z_PROBE_SPEED_SLOW (Z_PROBE_SPEED_FAST / 2)
632
-// Use double touch for probing
633
-//#define PROBE_DOUBLE_TOUCH
634 660
 
635
-// *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
636
-//
637
-// To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING.
638
-// Example: To park the head outside the bed area when homing with G28.
639
-//
640
-// To use a separate Z probe, your board must define a Z_MIN_PROBE_PIN.
641
-//
642
-// For a servo-based Z probe, just set Z_ENDSTOP_SERVO_NR and Z_SERVO_ANGLES above.
643
-//
644
-// - RAMPS 1.3/1.4 boards may be able to use the 5V, GND, and Aux4->D32 pin.
645
-// - Use 5V for powered (usu. inductive) sensors.
646
-// - Otherwise connect:
647
-//   - normally-closed switches to GND and D32.
648
-//   - normally-open switches to 5V and D32.
649
-//
650
-// Normally-closed switches are advised and are the default.
651
-//
661
+/*   Use double touch for probing  */
662
+//#define PROBE_DOUBLE_TOUCH
652 663
 
653
-//
654
-// The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.)
655
-// Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the
656
-// default pin for all RAMPS-based boards. Most boards use the X_MAX_PIN by default.
657
-// To use a different pin you can override it here.
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
-//#define Z_MIN_PROBE_PIN X_MAX_PIN
664
+/**
665
+ *   Allen Key Probe is defined in the Delta example configurations.
666
+ *
667
+ *
668
+ *   *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
669
+ *
670
+ *   - RAMPS 1.3/1.4 boards may be able to use the 5V, GND, and Aux4->D32 pin.
671
+ *   - Use 5V for powered (usu. inductive) sensors.
672
+ *   - Otherwise connect:
673
+ *     - normally-closed switches to GND and D32.
674
+ *     - normally-open switches to 5V and D32.
675
+ *
676
+ *   Normally-closed switches are advised and are the default.
677
+ *
678
+ *
679
+ *   PIN OPTIONS\SETUP FOR Z PROBES
680
+ *
681
+ *
682
+ *   WARNING:
683
+ *   Setting the wrong pin may have unexpected and potentially disastrous consequences.
684
+ *   Use with caution and do your homework.
685
+ *
686
+ *
687
+ *   All Z PROBE pin options are configured by defining (or not defining)
688
+ *   the following five items:
689
+ *       Z_MIN_PROBE_ENDSTOP – defined below
690
+ *       Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN – defined below
691
+ *       Z_MIN_PIN - defined in the pins_YOUR_BOARD.h file
692
+ *       Z_MIN_PROBE_PIN - defined in the pins_YOUR_BOARD.h file
693
+ *
694
+ *   If you're using a probe then you need to tell Marlin which pin to use as
695
+ *   the Z MIN ENDSTOP.  Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN determines if the
696
+ *   Z_MIN_PIN or if the Z_MIN_PROBE_PIN is used.
697
+ *
698
+ *   The pin selected for the probe is ONLY checked during probing operations.
699
+ *   If you want to use the Z_MIN_PIN as an endstop AND you want to have a Z PROBE
700
+ *   then you’ll need to use the Z_MIN_PROBE_PIN option.
701
+ *
702
+ *   Z_MIN_PROBE_ENDSTOP also needs to be enabled if you want to use Z_MIN_PROBE_PIN.
703
+ *
704
+ *   The settings needed to use the Z_MIN_PROBE_PIN are:
705
+ *       1. select the type of probe you're using
706
+ *       2. define Z_MIN_PROBE_PIN in your pins_YOUR_BOARD.h file
707
+ *       3. disable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
708
+ *       4. enable Z_MIN_PROBE_ENDSTOP
709
+ *   NOTE – if Z_MIN_PIN is defined then it’ll be checked during all moves in the
710
+ *          negative Z direction.
711
+ *
712
+ *   The settings needed to use the Z_MIN_PIN are:
713
+ *       1. select the type of probe you're using
714
+ *       2. enable Z_MIN _PIN in your pins_YOUR_BOARD.h file
715
+ *       3. enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
716
+ *       4. disable Z_MIN_PROBE_ENDSTOP
717
+ *   NOTES – if Z_MIN_PROBE_PIN is defined in the pins_YOUR_BOARD.h file then it’ll be
718
+ *          ignored by Marlin
719
+ */
664 720
 
665
-//
666
-// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
667
-// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
668
-//
669 721
 //#define Z_MIN_PROBE_ENDSTOP
670
-
671
-// Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE.
672
-// The Z_MIN_PIN will then be used for both Z-homing and probing.
673 722
 #define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
674 723
 
675
-// To use a probe you must enable one of the two options above!
676 724
 
677
-// Enable Z Probe Repeatability test to see how accurate your probe is
725
+/* Enable Z Probe Repeatability test to see how accurate your probe is  */
678 726
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
679 727
 
680 728
 /**
@@ -694,9 +742,7 @@
694 742
 #define Z_CLEARANCE_DEPLOY_PROBE   10 // Z Clearance for Deploy/Stow
695 743
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
696 744
 
697
-//
698
-// For M851 give a range for adjusting the Z probe offset
699
-//
745
+/* For M851 give a range for adjusting the Z probe offset */
700 746
 #define Z_PROBE_OFFSET_RANGE_MIN -20
701 747
 #define Z_PROBE_OFFSET_RANGE_MAX 20
702 748
 

+ 141
- 94
Marlin/example_configurations/K8400/Configuration.h Vedi File

@@ -530,122 +530,170 @@
530 530
 #define DEFAULT_EJERK                 20.0
531 531
 
532 532
 
533
-//===========================================================================
534
-//============================= Z Probe Options =============================
535
-//===========================================================================
536
-// @section probes
537
-
538
-//
539
-// Probe Type
540
-// Probes are sensors/switches that are activated / deactivated before/after use.
541
-//
542
-// Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
543
-// You must activate one of these to use Auto Bed Leveling below.
544
-//
545
-// Use M851 to set the Z probe vertical offset from the nozzle. Store with M500.
546
-//
533
+/**
534
+ * ===========================================================================
535
+ * ============================= Z Probe Options =============================
536
+ * ===========================================================================
537
+ *    @section probes
538
+ *
539
+ *
540
+ *   Probe Type
541
+ *   Probes are sensors/switches that are activated / deactivated before/after use.
542
+ *
543
+ *   Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
544
+ *   You must activate one of these to use Auto Bed Leveling below.
545
+ *
546
+ *   Use M851 to set the Z probe vertical offset from the nozzle. Store with M500.
547
+ */
547 548
 
548
-// The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe.
549
-// Use G29 repeatedly, adjusting the Z height at each point with movement commands
550
-// or (with LCD_BED_LEVELING) the LCD controller.
549
+/**
550
+ *   The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe.
551
+ *   Use G29 repeatedly, adjusting the Z height at each point with movement commands
552
+ *   or (with LCD_BED_LEVELING) the LCD controller.
553
+ */
551 554
 //#define PROBE_MANUALLY
552 555
 
553
-// A Fix-Mounted Probe either doesn't deploy or needs manual deployment.
554
-// For example an inductive probe, or a setup that uses the nozzle to probe.
555
-// An inductive probe must be deactivated to go below
556
-// its trigger-point if hardware endstops are active.
556
+/**
557
+ *   A Fix-Mounted Probe either doesn't deploy or needs manual deployment.
558
+ *   For example an inductive probe, or a setup that uses the nozzle to probe.
559
+ *   An inductive probe must be deactivated to go below
560
+ *   its trigger-point if hardware endstops are active.
561
+ */
557 562
 //#define FIX_MOUNTED_PROBE
558 563
 
559
-// The BLTouch probe emulates a servo probe.
560
-// The default connector is SERVO 0. Set Z_ENDSTOP_SERVO_NR below to override.
564
+/**
565
+ *   Z Servo Probe, such as an endstop switch on a rotating arm.
566
+ *   NUM_SERVOS also needs to be set.  This is found later in this file.  Set it to
567
+ *   1 + the number of other servos in your system.
568
+ */
569
+//#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
570
+//#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
571
+
572
+ /**
573
+ *   The BLTouch probe emulates a servo probe.
574
+ *   If using a BLTouch then NUM_SERVOS, Z_ENDSTOP_SERVO_NR and Z_SERVO_ANGLES
575
+ *   are setup for you in the background and you shouldn't need to set/modify/enable them
576
+ *   with the possible exception of Z_ENDSTOP_SERVO_NR.
577
+ */
561 578
 //#define BLTOUCH
562 579
 //#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
563 580
 
564
-// Z Servo Probe, such as an endstop switch on a rotating arm.
565
-//#define Z_ENDSTOP_SERVO_NR 0
566
-//#define Z_SERVO_ANGLES {70,0} // Z Servo Deploy and Stow angles
581
+/**
582
+ *   BLTouch WARNING  -  ONLY APPLIES TO VERSIONS OF MARLIN BEFORE 15 FEB 2017
583
+ *   Unless using interrupt endstops, there is a MINIMUM feedrate for Marlin to reliably
584
+ *   sense the BLTouch.  If the feedrate is too slow then G28 & G29 can sometimes result
585
+ *   in the print head being driven into the bed until manual intervention.
586
+ *   The minimum feedrate calculation is:
587
+ *
588
+ *     feedrate minimum =  24000 / DEFAULT_AXIS_STEPS_PER_UNIT
589
+ *        where feedrate is in "mm/minute" or "inches/minute" depending on the units used
590
+ *        in DEFAULT_AXIS_STEPS_PER_UNIT
591
+ *
592
+ *   This applies to the HOMING_FEEDRATE_Z and Z_PROBE_SPEED_FAST.  If PROBE_DOUBLE_TOUCH
593
+ *   is enabled then it also applies to Z_PROBE_SPEED_SLOW.
594
+ */
567 595
 
568
-// Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.
596
+/*   Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.  */
569 597
 //#define Z_PROBE_SLED
570
-//#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.
571
-
572
-//
573
-// Allen Key Probe is defined in the Delta example configurations.
574
-//
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.
575 599
 
576
-// Z Probe to nozzle (X,Y) offset, relative to (0, 0).
577
-// X and Y offsets must be integers.
578
-//
579
-// In the following example the X and Y offsets are both positive:
580
-// #define X_PROBE_OFFSET_FROM_EXTRUDER 10
581
-// #define Y_PROBE_OFFSET_FROM_EXTRUDER 10
582
-//
583
-//    +-- BACK ---+
584
-//    |           |
585
-//  L |    (+) P  | R <-- probe (20,20)
586
-//  E |           | I
587
-//  F | (-) N (+) | G <-- nozzle (10,10)
588
-//  T |           | H
589
-//    |    (-)    | T
590
-//    |           |
591
-//    O-- FRONT --+
592
-//  (0,0)
600
+/**
601
+ *   Z Probe to nozzle (X,Y) offset, relative to (0, 0).
602
+ *   X and Y offsets must be integers.
603
+ *
604
+ *   In the following example the X and Y offsets are both positive:
605
+ *   #define X_PROBE_OFFSET_FROM_EXTRUDER 10
606
+ *   #define Y_PROBE_OFFSET_FROM_EXTRUDER 10
607
+ *
608
+ *      +-- BACK ---+
609
+ *      |           |
610
+ *    L |    (+) P  | R <-- probe (20,20)
611
+ *    E |           | I
612
+ *    F | (-) N (+) | G <-- nozzle (10,10)
613
+ *    T |           | H
614
+ *      |    (-)    | T
615
+ *      |           |
616
+ *      O-- FRONT --+
617
+ *    (0,0)
618
+ */
593 619
 #define X_PROBE_OFFSET_FROM_EXTRUDER 10  // X offset: -left  +right  [of the nozzle]
594 620
 #define Y_PROBE_OFFSET_FROM_EXTRUDER 10  // Y offset: -front +behind [the nozzle]
595 621
 #define Z_PROBE_OFFSET_FROM_EXTRUDER 0   // Z offset: -below +above  [the nozzle]
596 622
 
597
-// X and Y axis travel speed (mm/m) between probes
623
+/*   X and Y axis travel speed (mm/m) between probes */
598 624
 #define XY_PROBE_SPEED 8000
599
-// Speed for the first approach when double-probing (with PROBE_DOUBLE_TOUCH)
625
+
626
+/*   Speed for the first approach when double-probing (with PROBE_DOUBLE_TOUCH) */
600 627
 #define Z_PROBE_SPEED_FAST HOMING_FEEDRATE_Z
601
-// Speed for the "accurate" probe of each point
628
+
629
+/*   Speed for the "accurate" probe of each point  */
602 630
 #define Z_PROBE_SPEED_SLOW (Z_PROBE_SPEED_FAST / 2)
603
-// Use double touch for probing
604
-//#define PROBE_DOUBLE_TOUCH
605 631
 
606
-// *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
607
-//
608
-// To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING.
609
-// Example: To park the head outside the bed area when homing with G28.
610
-//
611
-// To use a separate Z probe, your board must define a Z_MIN_PROBE_PIN.
612
-//
613
-// For a servo-based Z probe, just set Z_ENDSTOP_SERVO_NR and Z_SERVO_ANGLES above.
614
-//
615
-// - RAMPS 1.3/1.4 boards may be able to use the 5V, GND, and Aux4->D32 pin.
616
-// - Use 5V for powered (usu. inductive) sensors.
617
-// - Otherwise connect:
618
-//   - normally-closed switches to GND and D32.
619
-//   - normally-open switches to 5V and D32.
620
-//
621
-// Normally-closed switches are advised and are the default.
622
-//
632
+/*   Use double touch for probing  */
633
+//#define PROBE_DOUBLE_TOUCH
623 634
 
624
-//
625
-// The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.)
626
-// Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the
627
-// default pin for all RAMPS-based boards. Most boards use the X_MAX_PIN by default.
628
-// To use a different pin you can override it here.
629
-//
630
-// WARNING:
631
-// Setting the wrong pin may have unexpected and potentially disastrous consequences.
632
-// Use with caution and do your homework.
633
-//
634
-//#define Z_MIN_PROBE_PIN X_MAX_PIN
635
+/**
636
+ *   Allen Key Probe is defined in the Delta example configurations.
637
+ *
638
+ *
639
+ *   *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
640
+ *
641
+ *   - RAMPS 1.3/1.4 boards may be able to use the 5V, GND, and Aux4->D32 pin.
642
+ *   - Use 5V for powered (usu. inductive) sensors.
643
+ *   - Otherwise connect:
644
+ *     - normally-closed switches to GND and D32.
645
+ *     - normally-open switches to 5V and D32.
646
+ *
647
+ *   Normally-closed switches are advised and are the default.
648
+ *
649
+ *
650
+ *   PIN OPTIONS\SETUP FOR Z PROBES
651
+ *
652
+ *
653
+ *   WARNING:
654
+ *   Setting the wrong pin may have unexpected and potentially disastrous consequences.
655
+ *   Use with caution and do your homework.
656
+ *
657
+ *
658
+ *   All Z PROBE pin options are configured by defining (or not defining)
659
+ *   the following five items:
660
+ *       Z_MIN_PROBE_ENDSTOP – defined below
661
+ *       Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN – defined below
662
+ *       Z_MIN_PIN - defined in the pins_YOUR_BOARD.h file
663
+ *       Z_MIN_PROBE_PIN - defined in the pins_YOUR_BOARD.h file
664
+ *
665
+ *   If you're using a probe then you need to tell Marlin which pin to use as
666
+ *   the Z MIN ENDSTOP.  Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN determines if the
667
+ *   Z_MIN_PIN or if the Z_MIN_PROBE_PIN is used.
668
+ *
669
+ *   The pin selected for the probe is ONLY checked during probing operations.
670
+ *   If you want to use the Z_MIN_PIN as an endstop AND you want to have a Z PROBE
671
+ *   then you’ll need to use the Z_MIN_PROBE_PIN option.
672
+ *
673
+ *   Z_MIN_PROBE_ENDSTOP also needs to be enabled if you want to use Z_MIN_PROBE_PIN.
674
+ *
675
+ *   The settings needed to use the Z_MIN_PROBE_PIN are:
676
+ *       1. select the type of probe you're using
677
+ *       2. define Z_MIN_PROBE_PIN in your pins_YOUR_BOARD.h file
678
+ *       3. disable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
679
+ *       4. enable Z_MIN_PROBE_ENDSTOP
680
+ *   NOTE – if Z_MIN_PIN is defined then it’ll be checked during all moves in the
681
+ *          negative Z direction.
682
+ *
683
+ *   The settings needed to use the Z_MIN_PIN are:
684
+ *       1. select the type of probe you're using
685
+ *       2. enable Z_MIN _PIN in your pins_YOUR_BOARD.h file
686
+ *       3. enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
687
+ *       4. disable Z_MIN_PROBE_ENDSTOP
688
+ *   NOTES – if Z_MIN_PROBE_PIN is defined in the pins_YOUR_BOARD.h file then it’ll be
689
+ *          ignored by Marlin
690
+ */
635 691
 
636
-//
637
-// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
638
-// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
639
-//
640 692
 //#define Z_MIN_PROBE_ENDSTOP
641
-
642
-// Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE.
643
-// The Z_MIN_PIN will then be used for both Z-homing and probing.
644 693
 #define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
645 694
 
646
-// To use a probe you must enable one of the two options above!
647 695
 
648
-// Enable Z Probe Repeatability test to see how accurate your probe is
696
+/* Enable Z Probe Repeatability test to see how accurate your probe is  */
649 697
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
650 698
 
651 699
 /**
@@ -665,12 +713,11 @@
665 713
 #define Z_CLEARANCE_DEPLOY_PROBE   15 // Z Clearance for Deploy/Stow
666 714
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
667 715
 
668
-//
669
-// For M851 give a range for adjusting the Z probe offset
670
-//
716
+/* For M851 give a range for adjusting the Z probe offset */
671 717
 #define Z_PROBE_OFFSET_RANGE_MIN -20
672 718
 #define Z_PROBE_OFFSET_RANGE_MAX 20
673 719
 
720
+
674 721
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
675 722
 // :{ 0:'Low', 1:'High' }
676 723
 #define X_ENABLE_ON 0

+ 141
- 94
Marlin/example_configurations/K8400/Dual-head/Configuration.h Vedi File

@@ -530,122 +530,170 @@
530 530
 #define DEFAULT_EJERK                 20.0
531 531
 
532 532
 
533
-//===========================================================================
534
-//============================= Z Probe Options =============================
535
-//===========================================================================
536
-// @section probes
537
-
538
-//
539
-// Probe Type
540
-// Probes are sensors/switches that are activated / deactivated before/after use.
541
-//
542
-// Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
543
-// You must activate one of these to use Auto Bed Leveling below.
544
-//
545
-// Use M851 to set the Z probe vertical offset from the nozzle. Store with M500.
546
-//
533
+/**
534
+ * ===========================================================================
535
+ * ============================= Z Probe Options =============================
536
+ * ===========================================================================
537
+ *    @section probes
538
+ *
539
+ *
540
+ *   Probe Type
541
+ *   Probes are sensors/switches that are activated / deactivated before/after use.
542
+ *
543
+ *   Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
544
+ *   You must activate one of these to use Auto Bed Leveling below.
545
+ *
546
+ *   Use M851 to set the Z probe vertical offset from the nozzle. Store with M500.
547
+ */
547 548
 
548
-// The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe.
549
-// Use G29 repeatedly, adjusting the Z height at each point with movement commands
550
-// or (with LCD_BED_LEVELING) the LCD controller.
549
+/**
550
+ *   The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe.
551
+ *   Use G29 repeatedly, adjusting the Z height at each point with movement commands
552
+ *   or (with LCD_BED_LEVELING) the LCD controller.
553
+ */
551 554
 //#define PROBE_MANUALLY
552 555
 
553
-// A Fix-Mounted Probe either doesn't deploy or needs manual deployment.
554
-// For example an inductive probe, or a setup that uses the nozzle to probe.
555
-// An inductive probe must be deactivated to go below
556
-// its trigger-point if hardware endstops are active.
556
+/**
557
+ *   A Fix-Mounted Probe either doesn't deploy or needs manual deployment.
558
+ *   For example an inductive probe, or a setup that uses the nozzle to probe.
559
+ *   An inductive probe must be deactivated to go below
560
+ *   its trigger-point if hardware endstops are active.
561
+ */
557 562
 //#define FIX_MOUNTED_PROBE
558 563
 
559
-// The BLTouch probe emulates a servo probe.
560
-// The default connector is SERVO 0. Set Z_ENDSTOP_SERVO_NR below to override.
564
+/**
565
+ *   Z Servo Probe, such as an endstop switch on a rotating arm.
566
+ *   NUM_SERVOS also needs to be set.  This is found later in this file.  Set it to
567
+ *   1 + the number of other servos in your system.
568
+ */
569
+//#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
570
+//#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
571
+
572
+ /**
573
+ *   The BLTouch probe emulates a servo probe.
574
+ *   If using a BLTouch then NUM_SERVOS, Z_ENDSTOP_SERVO_NR and Z_SERVO_ANGLES
575
+ *   are setup for you in the background and you shouldn't need to set/modify/enable them
576
+ *   with the possible exception of Z_ENDSTOP_SERVO_NR.
577
+ */
561 578
 //#define BLTOUCH
562 579
 //#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
563 580
 
564
-// Z Servo Probe, such as an endstop switch on a rotating arm.
565
-//#define Z_ENDSTOP_SERVO_NR 0
566
-//#define Z_SERVO_ANGLES {70,0} // Z Servo Deploy and Stow angles
581
+/**
582
+ *   BLTouch WARNING  -  ONLY APPLIES TO VERSIONS OF MARLIN BEFORE 15 FEB 2017
583
+ *   Unless using interrupt endstops, there is a MINIMUM feedrate for Marlin to reliably
584
+ *   sense the BLTouch.  If the feedrate is too slow then G28 & G29 can sometimes result
585
+ *   in the print head being driven into the bed until manual intervention.
586
+ *   The minimum feedrate calculation is:
587
+ *
588
+ *     feedrate minimum =  24000 / DEFAULT_AXIS_STEPS_PER_UNIT
589
+ *        where feedrate is in "mm/minute" or "inches/minute" depending on the units used
590
+ *        in DEFAULT_AXIS_STEPS_PER_UNIT
591
+ *
592
+ *   This applies to the HOMING_FEEDRATE_Z and Z_PROBE_SPEED_FAST.  If PROBE_DOUBLE_TOUCH
593
+ *   is enabled then it also applies to Z_PROBE_SPEED_SLOW.
594
+ */
567 595
 
568
-// Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.
596
+/*   Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.  */
569 597
 //#define Z_PROBE_SLED
570
-//#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.
571
-
572
-//
573
-// Allen Key Probe is defined in the Delta example configurations.
574
-//
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.
575 599
 
576
-// Z Probe to nozzle (X,Y) offset, relative to (0, 0).
577
-// X and Y offsets must be integers.
578
-//
579
-// In the following example the X and Y offsets are both positive:
580
-// #define X_PROBE_OFFSET_FROM_EXTRUDER 10
581
-// #define Y_PROBE_OFFSET_FROM_EXTRUDER 10
582
-//
583
-//    +-- BACK ---+
584
-//    |           |
585
-//  L |    (+) P  | R <-- probe (20,20)
586
-//  E |           | I
587
-//  F | (-) N (+) | G <-- nozzle (10,10)
588
-//  T |           | H
589
-//    |    (-)    | T
590
-//    |           |
591
-//    O-- FRONT --+
592
-//  (0,0)
600
+/**
601
+ *   Z Probe to nozzle (X,Y) offset, relative to (0, 0).
602
+ *   X and Y offsets must be integers.
603
+ *
604
+ *   In the following example the X and Y offsets are both positive:
605
+ *   #define X_PROBE_OFFSET_FROM_EXTRUDER 10
606
+ *   #define Y_PROBE_OFFSET_FROM_EXTRUDER 10
607
+ *
608
+ *      +-- BACK ---+
609
+ *      |           |
610
+ *    L |    (+) P  | R <-- probe (20,20)
611
+ *    E |           | I
612
+ *    F | (-) N (+) | G <-- nozzle (10,10)
613
+ *    T |           | H
614
+ *      |    (-)    | T
615
+ *      |           |
616
+ *      O-- FRONT --+
617
+ *    (0,0)
618
+ */
593 619
 #define X_PROBE_OFFSET_FROM_EXTRUDER 10  // X offset: -left  +right  [of the nozzle]
594 620
 #define Y_PROBE_OFFSET_FROM_EXTRUDER 10  // Y offset: -front +behind [the nozzle]
595 621
 #define Z_PROBE_OFFSET_FROM_EXTRUDER 0   // Z offset: -below +above  [the nozzle]
596 622
 
597
-// X and Y axis travel speed (mm/m) between probes
623
+/*   X and Y axis travel speed (mm/m) between probes */
598 624
 #define XY_PROBE_SPEED 8000
599
-// Speed for the first approach when double-probing (with PROBE_DOUBLE_TOUCH)
625
+
626
+/*   Speed for the first approach when double-probing (with PROBE_DOUBLE_TOUCH) */
600 627
 #define Z_PROBE_SPEED_FAST HOMING_FEEDRATE_Z
601
-// Speed for the "accurate" probe of each point
628
+
629
+/*   Speed for the "accurate" probe of each point  */
602 630
 #define Z_PROBE_SPEED_SLOW (Z_PROBE_SPEED_FAST / 2)
603
-// Use double touch for probing
604
-//#define PROBE_DOUBLE_TOUCH
605 631
 
606
-// *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
607
-//
608
-// To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING.
609
-// Example: To park the head outside the bed area when homing with G28.
610
-//
611
-// To use a separate Z probe, your board must define a Z_MIN_PROBE_PIN.
612
-//
613
-// For a servo-based Z probe, just set Z_ENDSTOP_SERVO_NR and Z_SERVO_ANGLES above.
614
-//
615
-// - RAMPS 1.3/1.4 boards may be able to use the 5V, GND, and Aux4->D32 pin.
616
-// - Use 5V for powered (usu. inductive) sensors.
617
-// - Otherwise connect:
618
-//   - normally-closed switches to GND and D32.
619
-//   - normally-open switches to 5V and D32.
620
-//
621
-// Normally-closed switches are advised and are the default.
622
-//
632
+/*   Use double touch for probing  */
633
+//#define PROBE_DOUBLE_TOUCH
623 634
 
624
-//
625
-// The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.)
626
-// Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the
627
-// default pin for all RAMPS-based boards. Most boards use the X_MAX_PIN by default.
628
-// To use a different pin you can override it here.
629
-//
630
-// WARNING:
631
-// Setting the wrong pin may have unexpected and potentially disastrous consequences.
632
-// Use with caution and do your homework.
633
-//
634
-//#define Z_MIN_PROBE_PIN X_MAX_PIN
635
+/**
636
+ *   Allen Key Probe is defined in the Delta example configurations.
637
+ *
638
+ *
639
+ *   *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
640
+ *
641
+ *   - RAMPS 1.3/1.4 boards may be able to use the 5V, GND, and Aux4->D32 pin.
642
+ *   - Use 5V for powered (usu. inductive) sensors.
643
+ *   - Otherwise connect:
644
+ *     - normally-closed switches to GND and D32.
645
+ *     - normally-open switches to 5V and D32.
646
+ *
647
+ *   Normally-closed switches are advised and are the default.
648
+ *
649
+ *
650
+ *   PIN OPTIONS\SETUP FOR Z PROBES
651
+ *
652
+ *
653
+ *   WARNING:
654
+ *   Setting the wrong pin may have unexpected and potentially disastrous consequences.
655
+ *   Use with caution and do your homework.
656
+ *
657
+ *
658
+ *   All Z PROBE pin options are configured by defining (or not defining)
659
+ *   the following five items:
660
+ *       Z_MIN_PROBE_ENDSTOP – defined below
661
+ *       Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN – defined below
662
+ *       Z_MIN_PIN - defined in the pins_YOUR_BOARD.h file
663
+ *       Z_MIN_PROBE_PIN - defined in the pins_YOUR_BOARD.h file
664
+ *
665
+ *   If you're using a probe then you need to tell Marlin which pin to use as
666
+ *   the Z MIN ENDSTOP.  Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN determines if the
667
+ *   Z_MIN_PIN or if the Z_MIN_PROBE_PIN is used.
668
+ *
669
+ *   The pin selected for the probe is ONLY checked during probing operations.
670
+ *   If you want to use the Z_MIN_PIN as an endstop AND you want to have a Z PROBE
671
+ *   then you’ll need to use the Z_MIN_PROBE_PIN option.
672
+ *
673
+ *   Z_MIN_PROBE_ENDSTOP also needs to be enabled if you want to use Z_MIN_PROBE_PIN.
674
+ *
675
+ *   The settings needed to use the Z_MIN_PROBE_PIN are:
676
+ *       1. select the type of probe you're using
677
+ *       2. define Z_MIN_PROBE_PIN in your pins_YOUR_BOARD.h file
678
+ *       3. disable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
679
+ *       4. enable Z_MIN_PROBE_ENDSTOP
680
+ *   NOTE – if Z_MIN_PIN is defined then it’ll be checked during all moves in the
681
+ *          negative Z direction.
682
+ *
683
+ *   The settings needed to use the Z_MIN_PIN are:
684
+ *       1. select the type of probe you're using
685
+ *       2. enable Z_MIN _PIN in your pins_YOUR_BOARD.h file
686
+ *       3. enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
687
+ *       4. disable Z_MIN_PROBE_ENDSTOP
688
+ *   NOTES – if Z_MIN_PROBE_PIN is defined in the pins_YOUR_BOARD.h file then it’ll be
689
+ *          ignored by Marlin
690
+ */
635 691
 
636
-//
637
-// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
638
-// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
639
-//
640 692
 //#define Z_MIN_PROBE_ENDSTOP
641
-
642
-// Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE.
643
-// The Z_MIN_PIN will then be used for both Z-homing and probing.
644 693
 #define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
645 694
 
646
-// To use a probe you must enable one of the two options above!
647 695
 
648
-// Enable Z Probe Repeatability test to see how accurate your probe is
696
+/* Enable Z Probe Repeatability test to see how accurate your probe is  */
649 697
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
650 698
 
651 699
 /**
@@ -665,12 +713,11 @@
665 713
 #define Z_CLEARANCE_DEPLOY_PROBE   15 // Z Clearance for Deploy/Stow
666 714
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
667 715
 
668
-//
669
-// For M851 give a range for adjusting the Z probe offset
670
-//
716
+/* For M851 give a range for adjusting the Z probe offset */
671 717
 #define Z_PROBE_OFFSET_RANGE_MIN -20
672 718
 #define Z_PROBE_OFFSET_RANGE_MAX 20
673 719
 
720
+
674 721
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
675 722
 // :{ 0:'Low', 1:'High' }
676 723
 #define X_ENABLE_ON 0

+ 141
- 94
Marlin/example_configurations/RepRapWorld/Megatronics/Configuration.h Vedi File

@@ -530,122 +530,170 @@
530 530
 #define DEFAULT_EJERK                  5.0
531 531
 
532 532
 
533
-//===========================================================================
534
-//============================= Z Probe Options =============================
535
-//===========================================================================
536
-// @section probes
537
-
538
-//
539
-// Probe Type
540
-// Probes are sensors/switches that are activated / deactivated before/after use.
541
-//
542
-// Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
543
-// You must activate one of these to use Auto Bed Leveling below.
544
-//
545
-// Use M851 to set the Z probe vertical offset from the nozzle. Store with M500.
546
-//
533
+/**
534
+ * ===========================================================================
535
+ * ============================= Z Probe Options =============================
536
+ * ===========================================================================
537
+ *    @section probes
538
+ *
539
+ *
540
+ *   Probe Type
541
+ *   Probes are sensors/switches that are activated / deactivated before/after use.
542
+ *
543
+ *   Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
544
+ *   You must activate one of these to use Auto Bed Leveling below.
545
+ *
546
+ *   Use M851 to set the Z probe vertical offset from the nozzle. Store with M500.
547
+ */
547 548
 
548
-// The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe.
549
-// Use G29 repeatedly, adjusting the Z height at each point with movement commands
550
-// or (with LCD_BED_LEVELING) the LCD controller.
549
+/**
550
+ *   The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe.
551
+ *   Use G29 repeatedly, adjusting the Z height at each point with movement commands
552
+ *   or (with LCD_BED_LEVELING) the LCD controller.
553
+ */
551 554
 //#define PROBE_MANUALLY
552 555
 
553
-// A Fix-Mounted Probe either doesn't deploy or needs manual deployment.
554
-// For example an inductive probe, or a setup that uses the nozzle to probe.
555
-// An inductive probe must be deactivated to go below
556
-// its trigger-point if hardware endstops are active.
556
+/**
557
+ *   A Fix-Mounted Probe either doesn't deploy or needs manual deployment.
558
+ *   For example an inductive probe, or a setup that uses the nozzle to probe.
559
+ *   An inductive probe must be deactivated to go below
560
+ *   its trigger-point if hardware endstops are active.
561
+ */
557 562
 //#define FIX_MOUNTED_PROBE
558 563
 
559
-// The BLTouch probe emulates a servo probe.
560
-// The default connector is SERVO 0. Set Z_ENDSTOP_SERVO_NR below to override.
564
+/**
565
+ *   Z Servo Probe, such as an endstop switch on a rotating arm.
566
+ *   NUM_SERVOS also needs to be set.  This is found later in this file.  Set it to
567
+ *   1 + the number of other servos in your system.
568
+ */
569
+//#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
570
+//#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
571
+
572
+ /**
573
+ *   The BLTouch probe emulates a servo probe.
574
+ *   If using a BLTouch then NUM_SERVOS, Z_ENDSTOP_SERVO_NR and Z_SERVO_ANGLES
575
+ *   are setup for you in the background and you shouldn't need to set/modify/enable them
576
+ *   with the possible exception of Z_ENDSTOP_SERVO_NR.
577
+ */
561 578
 //#define BLTOUCH
562 579
 //#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
563 580
 
564
-// Z Servo Probe, such as an endstop switch on a rotating arm.
565
-//#define Z_ENDSTOP_SERVO_NR 0
566
-//#define Z_SERVO_ANGLES {70,0} // Z Servo Deploy and Stow angles
581
+/**
582
+ *   BLTouch WARNING  -  ONLY APPLIES TO VERSIONS OF MARLIN BEFORE 15 FEB 2017
583
+ *   Unless using interrupt endstops, there is a MINIMUM feedrate for Marlin to reliably
584
+ *   sense the BLTouch.  If the feedrate is too slow then G28 & G29 can sometimes result
585
+ *   in the print head being driven into the bed until manual intervention.
586
+ *   The minimum feedrate calculation is:
587
+ *
588
+ *     feedrate minimum =  24000 / DEFAULT_AXIS_STEPS_PER_UNIT
589
+ *        where feedrate is in "mm/minute" or "inches/minute" depending on the units used
590
+ *        in DEFAULT_AXIS_STEPS_PER_UNIT
591
+ *
592
+ *   This applies to the HOMING_FEEDRATE_Z and Z_PROBE_SPEED_FAST.  If PROBE_DOUBLE_TOUCH
593
+ *   is enabled then it also applies to Z_PROBE_SPEED_SLOW.
594
+ */
567 595
 
568
-// Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.
596
+/*   Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.  */
569 597
 //#define Z_PROBE_SLED
570
-//#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.
571
-
572
-//
573
-// Allen Key Probe is defined in the Delta example configurations.
574
-//
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.
575 599
 
576
-// Z Probe to nozzle (X,Y) offset, relative to (0, 0).
577
-// X and Y offsets must be integers.
578
-//
579
-// In the following example the X and Y offsets are both positive:
580
-// #define X_PROBE_OFFSET_FROM_EXTRUDER 10
581
-// #define Y_PROBE_OFFSET_FROM_EXTRUDER 10
582
-//
583
-//    +-- BACK ---+
584
-//    |           |
585
-//  L |    (+) P  | R <-- probe (20,20)
586
-//  E |           | I
587
-//  F | (-) N (+) | G <-- nozzle (10,10)
588
-//  T |           | H
589
-//    |    (-)    | T
590
-//    |           |
591
-//    O-- FRONT --+
592
-//  (0,0)
600
+/**
601
+ *   Z Probe to nozzle (X,Y) offset, relative to (0, 0).
602
+ *   X and Y offsets must be integers.
603
+ *
604
+ *   In the following example the X and Y offsets are both positive:
605
+ *   #define X_PROBE_OFFSET_FROM_EXTRUDER 10
606
+ *   #define Y_PROBE_OFFSET_FROM_EXTRUDER 10
607
+ *
608
+ *      +-- BACK ---+
609
+ *      |           |
610
+ *    L |    (+) P  | R <-- probe (20,20)
611
+ *    E |           | I
612
+ *    F | (-) N (+) | G <-- nozzle (10,10)
613
+ *    T |           | H
614
+ *      |    (-)    | T
615
+ *      |           |
616
+ *      O-- FRONT --+
617
+ *    (0,0)
618
+ */
593 619
 #define X_PROBE_OFFSET_FROM_EXTRUDER -25     // X offset: -left  +right  [of the nozzle]
594 620
 #define Y_PROBE_OFFSET_FROM_EXTRUDER -29     // Y offset: -front +behind [the nozzle]
595 621
 #define Z_PROBE_OFFSET_FROM_EXTRUDER -12.35  // Z offset: -below +above  [the nozzle]
596 622
 
597
-// X and Y axis travel speed (mm/m) between probes
623
+/*   X and Y axis travel speed (mm/m) between probes */
598 624
 #define XY_PROBE_SPEED 8000
599
-// Speed for the first approach when double-probing (with PROBE_DOUBLE_TOUCH)
625
+
626
+/*   Speed for the first approach when double-probing (with PROBE_DOUBLE_TOUCH) */
600 627
 #define Z_PROBE_SPEED_FAST HOMING_FEEDRATE_Z
601
-// Speed for the "accurate" probe of each point
628
+
629
+/*   Speed for the "accurate" probe of each point  */
602 630
 #define Z_PROBE_SPEED_SLOW (Z_PROBE_SPEED_FAST / 2)
603
-// Use double touch for probing
604
-//#define PROBE_DOUBLE_TOUCH
605 631
 
606
-// *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
607
-//
608
-// To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING.
609
-// Example: To park the head outside the bed area when homing with G28.
610
-//
611
-// To use a separate Z probe, your board must define a Z_MIN_PROBE_PIN.
612
-//
613
-// For a servo-based Z probe, just set Z_ENDSTOP_SERVO_NR and Z_SERVO_ANGLES above.
614
-//
615
-// - RAMPS 1.3/1.4 boards may be able to use the 5V, GND, and Aux4->D32 pin.
616
-// - Use 5V for powered (usu. inductive) sensors.
617
-// - Otherwise connect:
618
-//   - normally-closed switches to GND and D32.
619
-//   - normally-open switches to 5V and D32.
620
-//
621
-// Normally-closed switches are advised and are the default.
622
-//
632
+/*   Use double touch for probing  */
633
+//#define PROBE_DOUBLE_TOUCH
623 634
 
624
-//
625
-// The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.)
626
-// Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the
627
-// default pin for all RAMPS-based boards. Most boards use the X_MAX_PIN by default.
628
-// To use a different pin you can override it here.
629
-//
630
-// WARNING:
631
-// Setting the wrong pin may have unexpected and potentially disastrous consequences.
632
-// Use with caution and do your homework.
633
-//
634
-//#define Z_MIN_PROBE_PIN X_MAX_PIN
635
+/**
636
+ *   Allen Key Probe is defined in the Delta example configurations.
637
+ *
638
+ *
639
+ *   *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
640
+ *
641
+ *   - RAMPS 1.3/1.4 boards may be able to use the 5V, GND, and Aux4->D32 pin.
642
+ *   - Use 5V for powered (usu. inductive) sensors.
643
+ *   - Otherwise connect:
644
+ *     - normally-closed switches to GND and D32.
645
+ *     - normally-open switches to 5V and D32.
646
+ *
647
+ *   Normally-closed switches are advised and are the default.
648
+ *
649
+ *
650
+ *   PIN OPTIONS\SETUP FOR Z PROBES
651
+ *
652
+ *
653
+ *   WARNING:
654
+ *   Setting the wrong pin may have unexpected and potentially disastrous consequences.
655
+ *   Use with caution and do your homework.
656
+ *
657
+ *
658
+ *   All Z PROBE pin options are configured by defining (or not defining)
659
+ *   the following five items:
660
+ *       Z_MIN_PROBE_ENDSTOP – defined below
661
+ *       Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN – defined below
662
+ *       Z_MIN_PIN - defined in the pins_YOUR_BOARD.h file
663
+ *       Z_MIN_PROBE_PIN - defined in the pins_YOUR_BOARD.h file
664
+ *
665
+ *   If you're using a probe then you need to tell Marlin which pin to use as
666
+ *   the Z MIN ENDSTOP.  Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN determines if the
667
+ *   Z_MIN_PIN or if the Z_MIN_PROBE_PIN is used.
668
+ *
669
+ *   The pin selected for the probe is ONLY checked during probing operations.
670
+ *   If you want to use the Z_MIN_PIN as an endstop AND you want to have a Z PROBE
671
+ *   then you’ll need to use the Z_MIN_PROBE_PIN option.
672
+ *
673
+ *   Z_MIN_PROBE_ENDSTOP also needs to be enabled if you want to use Z_MIN_PROBE_PIN.
674
+ *
675
+ *   The settings needed to use the Z_MIN_PROBE_PIN are:
676
+ *       1. select the type of probe you're using
677
+ *       2. define Z_MIN_PROBE_PIN in your pins_YOUR_BOARD.h file
678
+ *       3. disable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
679
+ *       4. enable Z_MIN_PROBE_ENDSTOP
680
+ *   NOTE – if Z_MIN_PIN is defined then it’ll be checked during all moves in the
681
+ *          negative Z direction.
682
+ *
683
+ *   The settings needed to use the Z_MIN_PIN are:
684
+ *       1. select the type of probe you're using
685
+ *       2. enable Z_MIN _PIN in your pins_YOUR_BOARD.h file
686
+ *       3. enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
687
+ *       4. disable Z_MIN_PROBE_ENDSTOP
688
+ *   NOTES – if Z_MIN_PROBE_PIN is defined in the pins_YOUR_BOARD.h file then it’ll be
689
+ *          ignored by Marlin
690
+ */
635 691
 
636
-//
637
-// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
638
-// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
639
-//
640 692
 //#define Z_MIN_PROBE_ENDSTOP
641
-
642
-// Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE.
643
-// The Z_MIN_PIN will then be used for both Z-homing and probing.
644 693
 #define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
645 694
 
646
-// To use a probe you must enable one of the two options above!
647 695
 
648
-// Enable Z Probe Repeatability test to see how accurate your probe is
696
+/* Enable Z Probe Repeatability test to see how accurate your probe is  */
649 697
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
650 698
 
651 699
 /**
@@ -665,12 +713,11 @@
665 713
 #define Z_CLEARANCE_DEPLOY_PROBE   15 // Z Clearance for Deploy/Stow
666 714
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
667 715
 
668
-//
669
-// For M851 give a range for adjusting the Z probe offset
670
-//
716
+/* For M851 give a range for adjusting the Z probe offset */
671 717
 #define Z_PROBE_OFFSET_RANGE_MIN -20
672 718
 #define Z_PROBE_OFFSET_RANGE_MAX 20
673 719
 
720
+
674 721
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
675 722
 // :{ 0:'Low', 1:'High' }
676 723
 #define X_ENABLE_ON 0

+ 141
- 94
Marlin/example_configurations/RigidBot/Configuration.h Vedi File

@@ -529,122 +529,170 @@
529 529
 #define DEFAULT_EJERK                 5.0
530 530
 
531 531
 
532
-//===========================================================================
533
-//============================= Z Probe Options =============================
534
-//===========================================================================
535
-// @section probes
536
-
537
-//
538
-// Probe Type
539
-// Probes are sensors/switches that are activated / deactivated before/after use.
540
-//
541
-// Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
542
-// You must activate one of these to use Auto Bed Leveling below.
543
-//
544
-// Use M851 to set the Z probe vertical offset from the nozzle. Store with M500.
545
-//
532
+/**
533
+ * ===========================================================================
534
+ * ============================= Z Probe Options =============================
535
+ * ===========================================================================
536
+ *    @section probes
537
+ *
538
+ *
539
+ *   Probe Type
540
+ *   Probes are sensors/switches that are activated / deactivated before/after use.
541
+ *
542
+ *   Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
543
+ *   You must activate one of these to use Auto Bed Leveling below.
544
+ *
545
+ *   Use M851 to set the Z probe vertical offset from the nozzle. Store with M500.
546
+ */
546 547
 
547
-// The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe.
548
-// Use G29 repeatedly, adjusting the Z height at each point with movement commands
549
-// or (with LCD_BED_LEVELING) the LCD controller.
548
+/**
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.
552
+ */
550 553
 //#define PROBE_MANUALLY
551 554
 
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.
555
+/**
556
+ *   A Fix-Mounted Probe either doesn't deploy or needs manual deployment.
557
+ *   For example an inductive probe, or a setup that uses the nozzle to probe.
558
+ *   An inductive probe must be deactivated to go below
559
+ *   its trigger-point if hardware endstops are active.
560
+ */
556 561
 //#define FIX_MOUNTED_PROBE
557 562
 
558
-// The BLTouch probe emulates a servo probe.
559
-// The default connector is SERVO 0. Set Z_ENDSTOP_SERVO_NR below to override.
563
+/**
564
+ *   Z Servo Probe, such as an endstop switch on a rotating arm.
565
+ *   NUM_SERVOS also needs to be set.  This is found later in this file.  Set it to
566
+ *   1 + the number of other servos in your system.
567
+ */
568
+//#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
569
+//#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
570
+
571
+ /**
572
+ *   The BLTouch probe emulates a servo probe.
573
+ *   If using a BLTouch then NUM_SERVOS, Z_ENDSTOP_SERVO_NR and Z_SERVO_ANGLES
574
+ *   are setup for you in the background and you shouldn't need to set/modify/enable them
575
+ *   with the possible exception of Z_ENDSTOP_SERVO_NR.
576
+ */
560 577
 //#define BLTOUCH
561 578
 //#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
562 579
 
563
-// Z Servo Probe, such as an endstop switch on a rotating arm.
564
-//#define Z_ENDSTOP_SERVO_NR 0
565
-//#define Z_SERVO_ANGLES {70,0} // Z Servo Deploy and Stow angles
580
+/**
581
+ *   BLTouch WARNING  -  ONLY APPLIES TO VERSIONS OF MARLIN BEFORE 15 FEB 2017
582
+ *   Unless using interrupt endstops, there is a MINIMUM feedrate for Marlin to reliably
583
+ *   sense the BLTouch.  If the feedrate is too slow then G28 & G29 can sometimes result
584
+ *   in the print head being driven into the bed until manual intervention.
585
+ *   The minimum feedrate calculation is:
586
+ *
587
+ *     feedrate minimum =  24000 / DEFAULT_AXIS_STEPS_PER_UNIT
588
+ *        where feedrate is in "mm/minute" or "inches/minute" depending on the units used
589
+ *        in DEFAULT_AXIS_STEPS_PER_UNIT
590
+ *
591
+ *   This applies to the HOMING_FEEDRATE_Z and Z_PROBE_SPEED_FAST.  If PROBE_DOUBLE_TOUCH
592
+ *   is enabled then it also applies to Z_PROBE_SPEED_SLOW.
593
+ */
566 594
 
567
-// Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.
595
+/*   Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.  */
568 596
 //#define Z_PROBE_SLED
569
-//#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.
570
-
571
-//
572
-// Allen Key Probe is defined in the Delta example configurations.
573
-//
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.
574 598
 
575
-// Z Probe to nozzle (X,Y) offset, relative to (0, 0).
576
-// X and Y offsets must be integers.
577
-//
578
-// In the following example the X and Y offsets are both positive:
579
-// #define X_PROBE_OFFSET_FROM_EXTRUDER 10
580
-// #define Y_PROBE_OFFSET_FROM_EXTRUDER 10
581
-//
582
-//    +-- BACK ---+
583
-//    |           |
584
-//  L |    (+) P  | R <-- probe (20,20)
585
-//  E |           | I
586
-//  F | (-) N (+) | G <-- nozzle (10,10)
587
-//  T |           | H
588
-//    |    (-)    | T
589
-//    |           |
590
-//    O-- FRONT --+
591
-//  (0,0)
599
+/**
600
+ *   Z Probe to nozzle (X,Y) offset, relative to (0, 0).
601
+ *   X and Y offsets must be integers.
602
+ *
603
+ *   In the following example the X and Y offsets are both positive:
604
+ *   #define X_PROBE_OFFSET_FROM_EXTRUDER 10
605
+ *   #define Y_PROBE_OFFSET_FROM_EXTRUDER 10
606
+ *
607
+ *      +-- BACK ---+
608
+ *      |           |
609
+ *    L |    (+) P  | R <-- probe (20,20)
610
+ *    E |           | I
611
+ *    F | (-) N (+) | G <-- nozzle (10,10)
612
+ *    T |           | H
613
+ *      |    (-)    | T
614
+ *      |           |
615
+ *      O-- FRONT --+
616
+ *    (0,0)
617
+ */
592 618
 #define X_PROBE_OFFSET_FROM_EXTRUDER -25     // X offset: -left  +right  [of the nozzle]
593 619
 #define Y_PROBE_OFFSET_FROM_EXTRUDER -29     // Y offset: -front +behind [the nozzle]
594 620
 #define Z_PROBE_OFFSET_FROM_EXTRUDER -12.35  // Z offset: -below +above  [the nozzle]
595 621
 
596
-// X and Y axis travel speed (mm/m) between probes
622
+/*   X and Y axis travel speed (mm/m) between probes */
597 623
 #define XY_PROBE_SPEED 8000
598
-// Speed for the first approach when double-probing (with PROBE_DOUBLE_TOUCH)
624
+
625
+/*   Speed for the first approach when double-probing (with PROBE_DOUBLE_TOUCH) */
599 626
 #define Z_PROBE_SPEED_FAST HOMING_FEEDRATE_Z
600
-// Speed for the "accurate" probe of each point
627
+
628
+/*   Speed for the "accurate" probe of each point  */
601 629
 #define Z_PROBE_SPEED_SLOW (Z_PROBE_SPEED_FAST / 2)
602
-// Use double touch for probing
603
-//#define PROBE_DOUBLE_TOUCH
604 630
 
605
-// *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
606
-//
607
-// To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING.
608
-// Example: To park the head outside the bed area when homing with G28.
609
-//
610
-// To use a separate Z probe, your board must define a Z_MIN_PROBE_PIN.
611
-//
612
-// For a servo-based Z probe, just set Z_ENDSTOP_SERVO_NR and Z_SERVO_ANGLES above.
613
-//
614
-// - RAMPS 1.3/1.4 boards may be able to use the 5V, GND, and Aux4->D32 pin.
615
-// - Use 5V for powered (usu. inductive) sensors.
616
-// - Otherwise connect:
617
-//   - normally-closed switches to GND and D32.
618
-//   - normally-open switches to 5V and D32.
619
-//
620
-// Normally-closed switches are advised and are the default.
621
-//
631
+/*   Use double touch for probing  */
632
+//#define PROBE_DOUBLE_TOUCH
622 633
 
623
-//
624
-// The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.)
625
-// Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the
626
-// default pin for all RAMPS-based boards. Most boards use the X_MAX_PIN by default.
627
-// To use a different pin you can override it here.
628
-//
629
-// WARNING:
630
-// Setting the wrong pin may have unexpected and potentially disastrous consequences.
631
-// Use with caution and do your homework.
632
-//
633
-//#define Z_MIN_PROBE_PIN X_MAX_PIN
634
+/**
635
+ *   Allen Key Probe is defined in the Delta example configurations.
636
+ *
637
+ *
638
+ *   *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
639
+ *
640
+ *   - RAMPS 1.3/1.4 boards may be able to use the 5V, GND, and Aux4->D32 pin.
641
+ *   - Use 5V for powered (usu. inductive) sensors.
642
+ *   - Otherwise connect:
643
+ *     - normally-closed switches to GND and D32.
644
+ *     - normally-open switches to 5V and D32.
645
+ *
646
+ *   Normally-closed switches are advised and are the default.
647
+ *
648
+ *
649
+ *   PIN OPTIONS\SETUP FOR Z PROBES
650
+ *
651
+ *
652
+ *   WARNING:
653
+ *   Setting the wrong pin may have unexpected and potentially disastrous consequences.
654
+ *   Use with caution and do your homework.
655
+ *
656
+ *
657
+ *   All Z PROBE pin options are configured by defining (or not defining)
658
+ *   the following five items:
659
+ *       Z_MIN_PROBE_ENDSTOP – defined below
660
+ *       Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN – defined below
661
+ *       Z_MIN_PIN - defined in the pins_YOUR_BOARD.h file
662
+ *       Z_MIN_PROBE_PIN - defined in the pins_YOUR_BOARD.h file
663
+ *
664
+ *   If you're using a probe then you need to tell Marlin which pin to use as
665
+ *   the Z MIN ENDSTOP.  Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN determines if the
666
+ *   Z_MIN_PIN or if the Z_MIN_PROBE_PIN is used.
667
+ *
668
+ *   The pin selected for the probe is ONLY checked during probing operations.
669
+ *   If you want to use the Z_MIN_PIN as an endstop AND you want to have a Z PROBE
670
+ *   then you’ll need to use the Z_MIN_PROBE_PIN option.
671
+ *
672
+ *   Z_MIN_PROBE_ENDSTOP also needs to be enabled if you want to use Z_MIN_PROBE_PIN.
673
+ *
674
+ *   The settings needed to use the Z_MIN_PROBE_PIN are:
675
+ *       1. select the type of probe you're using
676
+ *       2. define Z_MIN_PROBE_PIN in your pins_YOUR_BOARD.h file
677
+ *       3. disable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
678
+ *       4. enable Z_MIN_PROBE_ENDSTOP
679
+ *   NOTE – if Z_MIN_PIN is defined then it’ll be checked during all moves in the
680
+ *          negative Z direction.
681
+ *
682
+ *   The settings needed to use the Z_MIN_PIN are:
683
+ *       1. select the type of probe you're using
684
+ *       2. enable Z_MIN _PIN in your pins_YOUR_BOARD.h file
685
+ *       3. enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
686
+ *       4. disable Z_MIN_PROBE_ENDSTOP
687
+ *   NOTES – if Z_MIN_PROBE_PIN is defined in the pins_YOUR_BOARD.h file then it’ll be
688
+ *          ignored by Marlin
689
+ */
634 690
 
635
-//
636
-// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
637
-// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
638
-//
639 691
 //#define Z_MIN_PROBE_ENDSTOP
640
-
641
-// Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE.
642
-// The Z_MIN_PIN will then be used for both Z-homing and probing.
643 692
 #define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
644 693
 
645
-// To use a probe you must enable one of the two options above!
646 694
 
647
-// Enable Z Probe Repeatability test to see how accurate your probe is
695
+/* Enable Z Probe Repeatability test to see how accurate your probe is  */
648 696
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
649 697
 
650 698
 /**
@@ -664,12 +712,11 @@
664 712
 #define Z_CLEARANCE_DEPLOY_PROBE   15 // Z Clearance for Deploy/Stow
665 713
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
666 714
 
667
-//
668
-// For M851 give a range for adjusting the Z probe offset
669
-//
715
+/* For M851 give a range for adjusting the Z probe offset */
670 716
 #define Z_PROBE_OFFSET_RANGE_MIN -20
671 717
 #define Z_PROBE_OFFSET_RANGE_MAX 20
672 718
 
719
+
673 720
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
674 721
 // :{ 0:'Low', 1:'High' }
675 722
 #define X_ENABLE_ON 0

+ 141
- 94
Marlin/example_configurations/SCARA/Configuration.h Vedi File

@@ -545,122 +545,170 @@
545 545
 #define DEFAULT_EJERK                 3.0
546 546
 
547 547
 
548
-//===========================================================================
549
-//============================= Z Probe Options =============================
550
-//===========================================================================
551
-// @section probes
552
-
553
-//
554
-// Probe Type
555
-// Probes are sensors/switches that are activated / deactivated before/after use.
556
-//
557
-// Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
558
-// You must activate one of these to use Auto Bed Leveling below.
559
-//
560
-// Use M851 to set the Z probe vertical offset from the nozzle. Store with M500.
561
-//
548
+/**
549
+ * ===========================================================================
550
+ * ============================= Z Probe Options =============================
551
+ * ===========================================================================
552
+ *    @section probes
553
+ *
554
+ *
555
+ *   Probe Type
556
+ *   Probes are sensors/switches that are activated / deactivated before/after use.
557
+ *
558
+ *   Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
559
+ *   You must activate one of these to use Auto Bed Leveling below.
560
+ *
561
+ *   Use M851 to set the Z probe vertical offset from the nozzle. Store with M500.
562
+ */
562 563
 
563
-// The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe.
564
-// Use G29 repeatedly, adjusting the Z height at each point with movement commands
565
-// or (with LCD_BED_LEVELING) the LCD controller.
564
+/**
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.
568
+ */
566 569
 //#define PROBE_MANUALLY
567 570
 
568
-// A Fix-Mounted Probe either doesn't deploy or needs manual deployment.
569
-// For example an inductive probe, or a setup that uses the nozzle to probe.
570
-// An inductive probe must be deactivated to go below
571
-// its trigger-point if hardware endstops are active.
571
+/**
572
+ *   A Fix-Mounted Probe either doesn't deploy or needs manual deployment.
573
+ *   For example an inductive probe, or a setup that uses the nozzle to probe.
574
+ *   An inductive probe must be deactivated to go below
575
+ *   its trigger-point if hardware endstops are active.
576
+ */
572 577
 //#define FIX_MOUNTED_PROBE
573 578
 
574
-// The BLTouch probe emulates a servo probe.
575
-// The default connector is SERVO 0. Set Z_ENDSTOP_SERVO_NR below to override.
579
+/**
580
+ *   Z Servo Probe, such as an endstop switch on a rotating arm.
581
+ *   NUM_SERVOS also needs to be set.  This is found later in this file.  Set it to
582
+ *   1 + the number of other servos in your system.
583
+ */
584
+//#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
585
+//#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
586
+
587
+ /**
588
+ *   The BLTouch probe emulates a servo probe.
589
+ *   If using a BLTouch then NUM_SERVOS, Z_ENDSTOP_SERVO_NR and Z_SERVO_ANGLES
590
+ *   are setup for you in the background and you shouldn't need to set/modify/enable them
591
+ *   with the possible exception of Z_ENDSTOP_SERVO_NR.
592
+ */
576 593
 //#define BLTOUCH
577 594
 //#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
578 595
 
579
-// Z Servo Probe, such as an endstop switch on a rotating arm.
580
-//#define Z_ENDSTOP_SERVO_NR 0
581
-//#define Z_SERVO_ANGLES {70,0} // Z Servo Deploy and Stow angles
596
+/**
597
+ *   BLTouch WARNING  -  ONLY APPLIES TO VERSIONS OF MARLIN BEFORE 15 FEB 2017
598
+ *   Unless using interrupt endstops, there is a MINIMUM feedrate for Marlin to reliably
599
+ *   sense the BLTouch.  If the feedrate is too slow then G28 & G29 can sometimes result
600
+ *   in the print head being driven into the bed until manual intervention.
601
+ *   The minimum feedrate calculation is:
602
+ *
603
+ *     feedrate minimum =  24000 / DEFAULT_AXIS_STEPS_PER_UNIT
604
+ *        where feedrate is in "mm/minute" or "inches/minute" depending on the units used
605
+ *        in DEFAULT_AXIS_STEPS_PER_UNIT
606
+ *
607
+ *   This applies to the HOMING_FEEDRATE_Z and Z_PROBE_SPEED_FAST.  If PROBE_DOUBLE_TOUCH
608
+ *   is enabled then it also applies to Z_PROBE_SPEED_SLOW.
609
+ */
582 610
 
583
-// Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.
611
+/*   Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.  */
584 612
 //#define Z_PROBE_SLED
585
-//#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.
586
-
587
-//
588
-// Allen Key Probe is defined in the Delta example configurations.
589
-//
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.
590 614
 
591
-// Z Probe to nozzle (X,Y) offset, relative to (0, 0).
592
-// X and Y offsets must be integers.
593
-//
594
-// In the following example the X and Y offsets are both positive:
595
-// #define X_PROBE_OFFSET_FROM_EXTRUDER 10
596
-// #define Y_PROBE_OFFSET_FROM_EXTRUDER 10
597
-//
598
-//    +-- BACK ---+
599
-//    |           |
600
-//  L |    (+) P  | R <-- probe (20,20)
601
-//  E |           | I
602
-//  F | (-) N (+) | G <-- nozzle (10,10)
603
-//  T |           | H
604
-//    |    (-)    | T
605
-//    |           |
606
-//    O-- FRONT --+
607
-//  (0,0)
615
+/**
616
+ *   Z Probe to nozzle (X,Y) offset, relative to (0, 0).
617
+ *   X and Y offsets must be integers.
618
+ *
619
+ *   In the following example the X and Y offsets are both positive:
620
+ *   #define X_PROBE_OFFSET_FROM_EXTRUDER 10
621
+ *   #define Y_PROBE_OFFSET_FROM_EXTRUDER 10
622
+ *
623
+ *      +-- BACK ---+
624
+ *      |           |
625
+ *    L |    (+) P  | R <-- probe (20,20)
626
+ *    E |           | I
627
+ *    F | (-) N (+) | G <-- nozzle (10,10)
628
+ *    T |           | H
629
+ *      |    (-)    | T
630
+ *      |           |
631
+ *      O-- FRONT --+
632
+ *    (0,0)
633
+ */
608 634
 #define X_PROBE_OFFSET_FROM_EXTRUDER -25     // X offset: -left  +right  [of the nozzle]
609 635
 #define Y_PROBE_OFFSET_FROM_EXTRUDER -29     // Y offset: -front +behind [the nozzle]
610 636
 #define Z_PROBE_OFFSET_FROM_EXTRUDER -12.35  // Z offset: -below +above  [the nozzle]
611 637
 
612
-// X and Y axis travel speed (mm/m) between probes
638
+/*   X and Y axis travel speed (mm/m) between probes */
613 639
 #define XY_PROBE_SPEED 8000
614
-// Speed for the first approach when double-probing (with PROBE_DOUBLE_TOUCH)
640
+
641
+/*   Speed for the first approach when double-probing (with PROBE_DOUBLE_TOUCH) */
615 642
 #define Z_PROBE_SPEED_FAST HOMING_FEEDRATE_Z
616
-// Speed for the "accurate" probe of each point
643
+
644
+/*   Speed for the "accurate" probe of each point  */
617 645
 #define Z_PROBE_SPEED_SLOW (Z_PROBE_SPEED_FAST / 2)
618
-// Use double touch for probing
619
-//#define PROBE_DOUBLE_TOUCH
620 646
 
621
-// *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
622
-//
623
-// To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING.
624
-// Example: To park the head outside the bed area when homing with G28.
625
-//
626
-// To use a separate Z probe, your board must define a Z_MIN_PROBE_PIN.
627
-//
628
-// For a servo-based Z probe, just set Z_ENDSTOP_SERVO_NR and Z_SERVO_ANGLES above.
629
-//
630
-// - RAMPS 1.3/1.4 boards may be able to use the 5V, GND, and Aux4->D32 pin.
631
-// - Use 5V for powered (usu. inductive) sensors.
632
-// - Otherwise connect:
633
-//   - normally-closed switches to GND and D32.
634
-//   - normally-open switches to 5V and D32.
635
-//
636
-// Normally-closed switches are advised and are the default.
637
-//
647
+/*   Use double touch for probing  */
648
+//#define PROBE_DOUBLE_TOUCH
638 649
 
639
-//
640
-// The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.)
641
-// Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the
642
-// default pin for all RAMPS-based boards. Most boards use the X_MAX_PIN by default.
643
-// To use a different pin you can override it here.
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
-//#define Z_MIN_PROBE_PIN X_MAX_PIN
650
+/**
651
+ *   Allen Key Probe is defined in the Delta example configurations.
652
+ *
653
+ *
654
+ *   *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
655
+ *
656
+ *   - RAMPS 1.3/1.4 boards may be able to use the 5V, GND, and Aux4->D32 pin.
657
+ *   - Use 5V for powered (usu. inductive) sensors.
658
+ *   - Otherwise connect:
659
+ *     - normally-closed switches to GND and D32.
660
+ *     - normally-open switches to 5V and D32.
661
+ *
662
+ *   Normally-closed switches are advised and are the default.
663
+ *
664
+ *
665
+ *   PIN OPTIONS\SETUP FOR Z PROBES
666
+ *
667
+ *
668
+ *   WARNING:
669
+ *   Setting the wrong pin may have unexpected and potentially disastrous consequences.
670
+ *   Use with caution and do your homework.
671
+ *
672
+ *
673
+ *   All Z PROBE pin options are configured by defining (or not defining)
674
+ *   the following five items:
675
+ *       Z_MIN_PROBE_ENDSTOP – defined below
676
+ *       Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN – defined below
677
+ *       Z_MIN_PIN - defined in the pins_YOUR_BOARD.h file
678
+ *       Z_MIN_PROBE_PIN - defined in the pins_YOUR_BOARD.h file
679
+ *
680
+ *   If you're using a probe then you need to tell Marlin which pin to use as
681
+ *   the Z MIN ENDSTOP.  Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN determines if the
682
+ *   Z_MIN_PIN or if the Z_MIN_PROBE_PIN is used.
683
+ *
684
+ *   The pin selected for the probe is ONLY checked during probing operations.
685
+ *   If you want to use the Z_MIN_PIN as an endstop AND you want to have a Z PROBE
686
+ *   then you’ll need to use the Z_MIN_PROBE_PIN option.
687
+ *
688
+ *   Z_MIN_PROBE_ENDSTOP also needs to be enabled if you want to use Z_MIN_PROBE_PIN.
689
+ *
690
+ *   The settings needed to use the Z_MIN_PROBE_PIN are:
691
+ *       1. select the type of probe you're using
692
+ *       2. define Z_MIN_PROBE_PIN in your pins_YOUR_BOARD.h file
693
+ *       3. disable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
694
+ *       4. enable Z_MIN_PROBE_ENDSTOP
695
+ *   NOTE – if Z_MIN_PIN is defined then it’ll be checked during all moves in the
696
+ *          negative Z direction.
697
+ *
698
+ *   The settings needed to use the Z_MIN_PIN are:
699
+ *       1. select the type of probe you're using
700
+ *       2. enable Z_MIN _PIN in your pins_YOUR_BOARD.h file
701
+ *       3. enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
702
+ *       4. disable Z_MIN_PROBE_ENDSTOP
703
+ *   NOTES – if Z_MIN_PROBE_PIN is defined in the pins_YOUR_BOARD.h file then it’ll be
704
+ *          ignored by Marlin
705
+ */
650 706
 
651
-//
652
-// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
653
-// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
654
-//
655 707
 //#define Z_MIN_PROBE_ENDSTOP
656
-
657
-// Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE.
658
-// The Z_MIN_PIN will then be used for both Z-homing and probing.
659 708
 #define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
660 709
 
661
-// To use a probe you must enable one of the two options above!
662 710
 
663
-// Enable Z Probe Repeatability test to see how accurate your probe is
711
+/* Enable Z Probe Repeatability test to see how accurate your probe is  */
664 712
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
665 713
 
666 714
 /**
@@ -680,12 +728,11 @@
680 728
 #define Z_CLEARANCE_DEPLOY_PROBE   15 // Z Clearance for Deploy/Stow
681 729
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
682 730
 
683
-//
684
-// For M851 give a range for adjusting the Z probe offset
685
-//
731
+/* For M851 give a range for adjusting the Z probe offset */
686 732
 #define Z_PROBE_OFFSET_RANGE_MIN -20
687 733
 #define Z_PROBE_OFFSET_RANGE_MAX 20
688 734
 
735
+
689 736
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
690 737
 // :{ 0:'Low', 1:'High' }
691 738
 #define X_ENABLE_ON 0

+ 142
- 95
Marlin/example_configurations/TAZ4/Configuration.h Vedi File

@@ -551,122 +551,170 @@
551 551
 #define DEFAULT_EJERK                 10.0
552 552
 
553 553
 
554
-//===========================================================================
555
-//============================= Z Probe Options =============================
556
-//===========================================================================
557
-// @section probes
558
-
559
-//
560
-// Probe Type
561
-// Probes are sensors/switches that are activated / deactivated before/after use.
562
-//
563
-// Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
564
-// You must activate one of these to use Auto Bed Leveling below.
565
-//
566
-// Use M851 to set the Z probe vertical offset from the nozzle. Store with M500.
567
-//
554
+/**
555
+ * ===========================================================================
556
+ * ============================= Z Probe Options =============================
557
+ * ===========================================================================
558
+ *    @section probes
559
+ *
560
+ *
561
+ *   Probe Type
562
+ *   Probes are sensors/switches that are activated / deactivated before/after use.
563
+ *
564
+ *   Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
565
+ *   You must activate one of these to use Auto Bed Leveling below.
566
+ *
567
+ *   Use M851 to set the Z probe vertical offset from the nozzle. Store with M500.
568
+ */
568 569
 
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.
570
+/**
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.
574
+ */
572 575
 //#define PROBE_MANUALLY
573 576
 
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.
578
-//#define FIX_MOUNTED_PROBE
577
+/**
578
+ *   A Fix-Mounted Probe either doesn't deploy or needs manual deployment.
579
+ *   For example an inductive probe, or a setup that uses the nozzle to probe.
580
+ *   An inductive probe must be deactivated to go below
581
+ *   its trigger-point if hardware endstops are active.
582
+ */
583
+#define FIX_MOUNTED_PROBE
579 584
 
580
-// The BLTouch probe emulates a servo probe.
581
-// The default connector is SERVO 0. Set Z_ENDSTOP_SERVO_NR below to override.
585
+/**
586
+ *   Z Servo Probe, such as an endstop switch on a rotating arm.
587
+ *   NUM_SERVOS also needs to be set.  This is found later in this file.  Set it to
588
+ *   1 + the number of other servos in your system.
589
+ */
590
+//#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
591
+//#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
592
+
593
+ /**
594
+ *   The BLTouch probe emulates a servo probe.
595
+ *   If using a BLTouch then NUM_SERVOS, Z_ENDSTOP_SERVO_NR and Z_SERVO_ANGLES
596
+ *   are setup for you in the background and you shouldn't need to set/modify/enable them
597
+ *   with the possible exception of Z_ENDSTOP_SERVO_NR.
598
+ */
582 599
 //#define BLTOUCH
583 600
 //#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
584 601
 
585
-// Z Servo Probe, such as an endstop switch on a rotating arm.
586
-//#define Z_ENDSTOP_SERVO_NR 0
587
-//#define Z_SERVO_ANGLES {70,0} // Z Servo Deploy and Stow angles
602
+/**
603
+ *   BLTouch WARNING  -  ONLY APPLIES TO VERSIONS OF MARLIN BEFORE 15 FEB 2017
604
+ *   Unless using interrupt endstops, there is a MINIMUM feedrate for Marlin to reliably
605
+ *   sense the BLTouch.  If the feedrate is too slow then G28 & G29 can sometimes result
606
+ *   in the print head being driven into the bed until manual intervention.
607
+ *   The minimum feedrate calculation is:
608
+ *
609
+ *     feedrate minimum =  24000 / DEFAULT_AXIS_STEPS_PER_UNIT
610
+ *        where feedrate is in "mm/minute" or "inches/minute" depending on the units used
611
+ *        in DEFAULT_AXIS_STEPS_PER_UNIT
612
+ *
613
+ *   This applies to the HOMING_FEEDRATE_Z and Z_PROBE_SPEED_FAST.  If PROBE_DOUBLE_TOUCH
614
+ *   is enabled then it also applies to Z_PROBE_SPEED_SLOW.
615
+ */
588 616
 
589
-// Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.
617
+/*   Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.  */
590 618
 //#define Z_PROBE_SLED
591
-//#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.
592
-
593
-//
594
-// Allen Key Probe is defined in the Delta example configurations.
595
-//
619
+//#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 620
 
597
-// Z Probe to nozzle (X,Y) offset, relative to (0, 0).
598
-// X and Y offsets must be integers.
599
-//
600
-// In the following example the X and Y offsets are both positive:
601
-// #define X_PROBE_OFFSET_FROM_EXTRUDER 10
602
-// #define Y_PROBE_OFFSET_FROM_EXTRUDER 10
603
-//
604
-//    +-- BACK ---+
605
-//    |           |
606
-//  L |    (+) P  | R <-- probe (20,20)
607
-//  E |           | I
608
-//  F | (-) N (+) | G <-- nozzle (10,10)
609
-//  T |           | H
610
-//    |    (-)    | T
611
-//    |           |
612
-//    O-- FRONT --+
613
-//  (0,0)
621
+/**
622
+ *   Z Probe to nozzle (X,Y) offset, relative to (0, 0).
623
+ *   X and Y offsets must be integers.
624
+ *
625
+ *   In the following example the X and Y offsets are both positive:
626
+ *   #define X_PROBE_OFFSET_FROM_EXTRUDER 10
627
+ *   #define Y_PROBE_OFFSET_FROM_EXTRUDER 10
628
+ *
629
+ *      +-- BACK ---+
630
+ *      |           |
631
+ *    L |    (+) P  | R <-- probe (20,20)
632
+ *    E |           | I
633
+ *    F | (-) N (+) | G <-- nozzle (10,10)
634
+ *    T |           | H
635
+ *      |    (-)    | T
636
+ *      |           |
637
+ *      O-- FRONT --+
638
+ *    (0,0)
639
+ */
614 640
 #define X_PROBE_OFFSET_FROM_EXTRUDER -25     // X offset: -left  +right  [of the nozzle]
615 641
 #define Y_PROBE_OFFSET_FROM_EXTRUDER -29     // Y offset: -front +behind [the nozzle]
616 642
 #define Z_PROBE_OFFSET_FROM_EXTRUDER -12.35  // Z offset: -below +above  [the nozzle]
617 643
 
618
-// X and Y axis travel speed (mm/m) between probes
644
+/*   X and Y axis travel speed (mm/m) between probes */
619 645
 #define XY_PROBE_SPEED 8000
620
-// Speed for the first approach when double-probing (with PROBE_DOUBLE_TOUCH)
646
+
647
+/*   Speed for the first approach when double-probing (with PROBE_DOUBLE_TOUCH) */
621 648
 #define Z_PROBE_SPEED_FAST HOMING_FEEDRATE_Z
622
-// Speed for the "accurate" probe of each point
649
+
650
+/*   Speed for the "accurate" probe of each point  */
623 651
 #define Z_PROBE_SPEED_SLOW (Z_PROBE_SPEED_FAST / 2)
624
-// Use double touch for probing
625
-//#define PROBE_DOUBLE_TOUCH
626 652
 
627
-// *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
628
-//
629
-// To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING.
630
-// Example: To park the head outside the bed area when homing with G28.
631
-//
632
-// To use a separate Z probe, your board must define a Z_MIN_PROBE_PIN.
633
-//
634
-// For a servo-based Z probe, just set Z_ENDSTOP_SERVO_NR and Z_SERVO_ANGLES above.
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
-//
653
+/*   Use double touch for probing  */
654
+//#define PROBE_DOUBLE_TOUCH
644 655
 
645
-//
646
-// The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.)
647
-// Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the
648
-// default pin for all RAMPS-based boards. Most boards use the X_MAX_PIN by default.
649
-// To use a different pin you can override it here.
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
-//#define Z_MIN_PROBE_PIN X_MAX_PIN
656
+/**
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
+ */
656 712
 
657
-//
658
-// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
659
-// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
660
-//
661 713
 //#define Z_MIN_PROBE_ENDSTOP
662
-
663
-// Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE.
664
-// The Z_MIN_PIN will then be used for both Z-homing and probing.
665 714
 #define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
666 715
 
667
-// To use a probe you must enable one of the two options above!
668 716
 
669
-// Enable Z Probe Repeatability test to see how accurate your probe is
717
+/* Enable Z Probe Repeatability test to see how accurate your probe is  */
670 718
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
671 719
 
672 720
 /**
@@ -686,12 +734,11 @@
686 734
 #define Z_CLEARANCE_DEPLOY_PROBE   15 // Z Clearance for Deploy/Stow
687 735
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
688 736
 
689
-//
690
-// For M851 give a range for adjusting the Z probe offset
691
-//
737
+/* For M851 give a range for adjusting the Z probe offset */
692 738
 #define Z_PROBE_OFFSET_RANGE_MIN -20
693 739
 #define Z_PROBE_OFFSET_RANGE_MAX 20
694 740
 
741
+
695 742
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
696 743
 // :{ 0:'Low', 1:'High' }
697 744
 #define X_ENABLE_ON 0

+ 143
- 92
Marlin/example_configurations/TinyBoy2/Configuration.h Vedi File

@@ -581,117 +581,170 @@
581 581
 #define DEFAULT_EJERK                  5.0
582 582
 
583 583
 
584
-//===========================================================================
585
-//============================= Z Probe Options =============================
586
-//===========================================================================
587
-// @section probes
584
+/**
585
+ * ===========================================================================
586
+ * ============================= Z Probe Options =============================
587
+ * ===========================================================================
588
+ *    @section probes
589
+ *
590
+ *
591
+ *   Probe Type
592
+ *   Probes are sensors/switches that are activated / deactivated before/after use.
593
+ *
594
+ *   Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
595
+ *   You must activate one of these to use Auto Bed Leveling below.
596
+ *
597
+ *   Use M851 to set the Z probe vertical offset from the nozzle. Store with M500.
598
+ */
588 599
 
589
-//
590
-// Probe Type
591
-// Probes are sensors/switches that are activated / deactivated before/after use.
592
-//
593
-// Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
594
-// You must activate one of these to use Auto Bed Leveling below.
595
-//
596
-// Use M851 to set the Z probe vertical offset from the nozzle. Store with M500.
597
-//
600
+/**
601
+ *   The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe.
602
+ *   Use G29 repeatedly, adjusting the Z height at each point with movement commands
603
+ *   or (with LCD_BED_LEVELING) the LCD controller.
604
+ */
605
+//#define PROBE_MANUALLY
598 606
 
599
-// A Fix-Mounted Probe either doesn't deploy or needs manual deployment.
600
-// For example an inductive probe, or a setup that uses the nozzle to probe.
601
-// An inductive probe must be deactivated to go below
602
-// its trigger-point if hardware endstops are active.
607
+/**
608
+ *   A Fix-Mounted Probe either doesn't deploy or needs manual deployment.
609
+ *   For example an inductive probe, or a setup that uses the nozzle to probe.
610
+ *   An inductive probe must be deactivated to go below
611
+ *   its trigger-point if hardware endstops are active.
612
+ */
603 613
 //#define FIX_MOUNTED_PROBE
604 614
 
605
-// The BLTouch probe emulates a servo probe.
606
-// The default connector is SERVO 0. Set Z_ENDSTOP_SERVO_NR below to override.
615
+/**
616
+ *   Z Servo Probe, such as an endstop switch on a rotating arm.
617
+ *   NUM_SERVOS also needs to be set.  This is found later in this file.  Set it to
618
+ *   1 + the number of other servos in your system.
619
+ */
620
+//#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
621
+//#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
622
+
623
+ /**
624
+ *   The BLTouch probe emulates a servo probe.
625
+ *   If using a BLTouch then NUM_SERVOS, Z_ENDSTOP_SERVO_NR and Z_SERVO_ANGLES
626
+ *   are setup for you in the background and you shouldn't need to set/modify/enable them
627
+ *   with the possible exception of Z_ENDSTOP_SERVO_NR.
628
+ */
607 629
 //#define BLTOUCH
608 630
 //#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
609 631
 
610
-// Z Servo Probe, such as an endstop switch on a rotating arm.
611
-//#define Z_ENDSTOP_SERVO_NR 0
612
-//#define Z_SERVO_ANGLES {70,0} // Z Servo Deploy and Stow angles
632
+/**
633
+ *   BLTouch WARNING  -  ONLY APPLIES TO VERSIONS OF MARLIN BEFORE 15 FEB 2017
634
+ *   Unless using interrupt endstops, there is a MINIMUM feedrate for Marlin to reliably
635
+ *   sense the BLTouch.  If the feedrate is too slow then G28 & G29 can sometimes result
636
+ *   in the print head being driven into the bed until manual intervention.
637
+ *   The minimum feedrate calculation is:
638
+ *
639
+ *     feedrate minimum =  24000 / DEFAULT_AXIS_STEPS_PER_UNIT
640
+ *        where feedrate is in "mm/minute" or "inches/minute" depending on the units used
641
+ *        in DEFAULT_AXIS_STEPS_PER_UNIT
642
+ *
643
+ *   This applies to the HOMING_FEEDRATE_Z and Z_PROBE_SPEED_FAST.  If PROBE_DOUBLE_TOUCH
644
+ *   is enabled then it also applies to Z_PROBE_SPEED_SLOW.
645
+ */
613 646
 
614
-// Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.
647
+/*   Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.  */
615 648
 //#define Z_PROBE_SLED
616
-//#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.
617
-
618
-//
619
-// Allen Key Probe is defined in the Delta example configurations.
620
-//
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.
621 650
 
622
-// Z Probe to nozzle (X,Y) offset, relative to (0, 0).
623
-// X and Y offsets must be integers.
624
-//
625
-// In the following example the X and Y offsets are both positive:
626
-// #define X_PROBE_OFFSET_FROM_EXTRUDER 10
627
-// #define Y_PROBE_OFFSET_FROM_EXTRUDER 10
628
-//
629
-//    +-- BACK ---+
630
-//    |           |
631
-//  L |    (+) P  | R <-- probe (20,20)
632
-//  E |           | I
633
-//  F | (-) N (+) | G <-- nozzle (10,10)
634
-//  T |           | H
635
-//    |    (-)    | T
636
-//    |           |
637
-//    O-- FRONT --+
638
-//  (0,0)
639
-#define X_PROBE_OFFSET_FROM_EXTRUDER 10  // X offset: -left  +right  [of the nozzle]
640
-#define Y_PROBE_OFFSET_FROM_EXTRUDER 10  // Y offset: -front +behind [the nozzle]
651
+/**
652
+ *   Z Probe to nozzle (X,Y) offset, relative to (0, 0).
653
+ *   X and Y offsets must be integers.
654
+ *
655
+ *   In the following example the X and Y offsets are both positive:
656
+ *   #define X_PROBE_OFFSET_FROM_EXTRUDER 10
657
+ *   #define Y_PROBE_OFFSET_FROM_EXTRUDER 10
658
+ *
659
+ *      +-- BACK ---+
660
+ *      |           |
661
+ *    L |    (+) P  | R <-- probe (20,20)
662
+ *    E |           | I
663
+ *    F | (-) N (+) | G <-- nozzle (10,10)
664
+ *    T |           | H
665
+ *      |    (-)    | T
666
+ *      |           |
667
+ *      O-- FRONT --+
668
+ *    (0,0)
669
+ */
670
+#define X_PROBE_OFFSET_FROM_EXTRUDER 34  // X offset: -left  +right  [of the nozzle]
671
+#define Y_PROBE_OFFSET_FROM_EXTRUDER 15  // Y offset: -front +behind [the nozzle]
641 672
 #define Z_PROBE_OFFSET_FROM_EXTRUDER 0   // Z offset: -below +above  [the nozzle]
642 673
 
643
-// X and Y axis travel speed (mm/m) between probes
674
+/*   X and Y axis travel speed (mm/m) between probes */
644 675
 #define XY_PROBE_SPEED 8000
645
-// Speed for the first approach when double-probing (with PROBE_DOUBLE_TOUCH)
676
+
677
+/*   Speed for the first approach when double-probing (with PROBE_DOUBLE_TOUCH) */
646 678
 #define Z_PROBE_SPEED_FAST HOMING_FEEDRATE_Z
647
-// Speed for the "accurate" probe of each point
679
+
680
+/*   Speed for the "accurate" probe of each point  */
648 681
 #define Z_PROBE_SPEED_SLOW (Z_PROBE_SPEED_FAST / 2)
649
-// Use double touch for probing
650
-//#define PROBE_DOUBLE_TOUCH
651 682
 
652
-// *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
653
-//
654
-// To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING.
655
-// Example: To park the head outside the bed area when homing with G28.
656
-//
657
-// To use a separate Z probe, your board must define a Z_MIN_PROBE_PIN.
658
-//
659
-// For a servo-based Z probe, just set Z_ENDSTOP_SERVO_NR and Z_SERVO_ANGLES above.
660
-//
661
-// - RAMPS 1.3/1.4 boards may be able to use the 5V, GND, and Aux4->D32 pin.
662
-// - Use 5V for powered (usu. inductive) sensors.
663
-// - Otherwise connect:
664
-//   - normally-closed switches to GND and D32.
665
-//   - normally-open switches to 5V and D32.
666
-//
667
-// Normally-closed switches are advised and are the default.
668
-//
683
+/*   Use double touch for probing  */
684
+//#define PROBE_DOUBLE_TOUCH
669 685
 
670
-//
671
-// The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.)
672
-// Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the
673
-// default pin for all RAMPS-based boards. Most boards use the X_MAX_PIN by default.
674
-// To use a different pin you can override it here.
675
-//
676
-// WARNING:
677
-// Setting the wrong pin may have unexpected and potentially disastrous consequences.
678
-// Use with caution and do your homework.
679
-//
680
-//#define Z_MIN_PROBE_PIN X_MAX_PIN
686
+/**
687
+ *   Allen Key Probe is defined in the Delta example configurations.
688
+ *
689
+ *
690
+ *   *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
691
+ *
692
+ *   - RAMPS 1.3/1.4 boards may be able to use the 5V, GND, and Aux4->D32 pin.
693
+ *   - Use 5V for powered (usu. inductive) sensors.
694
+ *   - Otherwise connect:
695
+ *     - normally-closed switches to GND and D32.
696
+ *     - normally-open switches to 5V and D32.
697
+ *
698
+ *   Normally-closed switches are advised and are the default.
699
+ *
700
+ *
701
+ *   PIN OPTIONS\SETUP FOR Z PROBES
702
+ *
703
+ *
704
+ *   WARNING:
705
+ *   Setting the wrong pin may have unexpected and potentially disastrous consequences.
706
+ *   Use with caution and do your homework.
707
+ *
708
+ *
709
+ *   All Z PROBE pin options are configured by defining (or not defining)
710
+ *   the following five items:
711
+ *       Z_MIN_PROBE_ENDSTOP – defined below
712
+ *       Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN – defined below
713
+ *       Z_MIN_PIN - defined in the pins_YOUR_BOARD.h file
714
+ *       Z_MIN_PROBE_PIN - defined in the pins_YOUR_BOARD.h file
715
+ *
716
+ *   If you're using a probe then you need to tell Marlin which pin to use as
717
+ *   the Z MIN ENDSTOP.  Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN determines if the
718
+ *   Z_MIN_PIN or if the Z_MIN_PROBE_PIN is used.
719
+ *
720
+ *   The pin selected for the probe is ONLY checked during probing operations.
721
+ *   If you want to use the Z_MIN_PIN as an endstop AND you want to have a Z PROBE
722
+ *   then you’ll need to use the Z_MIN_PROBE_PIN option.
723
+ *
724
+ *   Z_MIN_PROBE_ENDSTOP also needs to be enabled if you want to use Z_MIN_PROBE_PIN.
725
+ *
726
+ *   The settings needed to use the Z_MIN_PROBE_PIN are:
727
+ *       1. select the type of probe you're using
728
+ *       2. define Z_MIN_PROBE_PIN in your pins_YOUR_BOARD.h file
729
+ *       3. disable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
730
+ *       4. enable Z_MIN_PROBE_ENDSTOP
731
+ *   NOTE – if Z_MIN_PIN is defined then it’ll be checked during all moves in the
732
+ *          negative Z direction.
733
+ *
734
+ *   The settings needed to use the Z_MIN_PIN are:
735
+ *       1. select the type of probe you're using
736
+ *       2. enable Z_MIN _PIN in your pins_YOUR_BOARD.h file
737
+ *       3. enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
738
+ *       4. disable Z_MIN_PROBE_ENDSTOP
739
+ *   NOTES – if Z_MIN_PROBE_PIN is defined in the pins_YOUR_BOARD.h file then it’ll be
740
+ *          ignored by Marlin
741
+ */
681 742
 
682
-//
683
-// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
684
-// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
685
-//
686 743
 //#define Z_MIN_PROBE_ENDSTOP
687
-
688
-// Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE.
689
-// The Z_MIN_PIN will then be used for both Z-homing and probing.
690 744
 #define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
691 745
 
692
-// To use a probe you must enable one of the two options above!
693 746
 
694
-// Enable Z Probe Repeatability test to see how accurate your probe is
747
+/* Enable Z Probe Repeatability test to see how accurate your probe is  */
695 748
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
696 749
 
697 750
 /**
@@ -711,9 +764,7 @@
711 764
 #define Z_CLEARANCE_DEPLOY_PROBE   10 // Z Clearance for Deploy/Stow
712 765
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
713 766
 
714
-//
715
-// For M851 give a range for adjusting the Z probe offset
716
-//
767
+/* For M851 give a range for adjusting the Z probe offset */
717 768
 #define Z_PROBE_OFFSET_RANGE_MIN -20
718 769
 #define Z_PROBE_OFFSET_RANGE_MAX 20
719 770
 

+ 141
- 94
Marlin/example_configurations/WITBOX/Configuration.h Vedi File

@@ -522,122 +522,170 @@
522 522
 #define DEFAULT_EJERK                  5.0
523 523
 
524 524
 
525
-//===========================================================================
526
-//============================= Z Probe Options =============================
527
-//===========================================================================
528
-// @section probes
529
-
530
-//
531
-// Probe Type
532
-// Probes are sensors/switches that are activated / deactivated before/after use.
533
-//
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.
536
-//
537
-// Use M851 to set the Z probe vertical offset from the nozzle. Store with M500.
538
-//
525
+/**
526
+ * ===========================================================================
527
+ * ============================= Z Probe Options =============================
528
+ * ===========================================================================
529
+ *    @section probes
530
+ *
531
+ *
532
+ *   Probe Type
533
+ *   Probes are sensors/switches that are activated / deactivated before/after use.
534
+ *
535
+ *   Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
536
+ *   You must activate one of these to use Auto Bed Leveling below.
537
+ *
538
+ *   Use M851 to set the Z probe vertical offset from the nozzle. Store with M500.
539
+ */
539 540
 
540
-// The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe.
541
-// Use G29 repeatedly, adjusting the Z height at each point with movement commands
542
-// or (with LCD_BED_LEVELING) the LCD controller.
541
+/**
542
+ *   The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe.
543
+ *   Use G29 repeatedly, adjusting the Z height at each point with movement commands
544
+ *   or (with LCD_BED_LEVELING) the LCD controller.
545
+ */
543 546
 //#define PROBE_MANUALLY
544 547
 
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.
548
+/**
549
+ *   A Fix-Mounted Probe either doesn't deploy or needs manual deployment.
550
+ *   For example an inductive probe, or a setup that uses the nozzle to probe.
551
+ *   An inductive probe must be deactivated to go below
552
+ *   its trigger-point if hardware endstops are active.
553
+ */
549 554
 //#define FIX_MOUNTED_PROBE
550 555
 
551
-// The BLTouch probe emulates a servo probe.
552
-// The default connector is SERVO 0. Set Z_ENDSTOP_SERVO_NR below to override.
556
+/**
557
+ *   Z Servo Probe, such as an endstop switch on a rotating arm.
558
+ *   NUM_SERVOS also needs to be set.  This is found later in this file.  Set it to
559
+ *   1 + the number of other servos in your system.
560
+ */
561
+//#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
562
+//#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
563
+
564
+ /**
565
+ *   The BLTouch probe emulates a servo probe.
566
+ *   If using a BLTouch then NUM_SERVOS, Z_ENDSTOP_SERVO_NR and Z_SERVO_ANGLES
567
+ *   are setup for you in the background and you shouldn't need to set/modify/enable them
568
+ *   with the possible exception of Z_ENDSTOP_SERVO_NR.
569
+ */
553 570
 //#define BLTOUCH
554 571
 //#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
555 572
 
556
-// Z Servo Probe, such as an endstop switch on a rotating arm.
557
-//#define Z_ENDSTOP_SERVO_NR 0
558
-//#define Z_SERVO_ANGLES {70,0} // Z Servo Deploy and Stow angles
573
+/**
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.
586
+ */
559 587
 
560
-// Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.
588
+/*   Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.  */
561 589
 //#define Z_PROBE_SLED
562
-//#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.
563
-
564
-//
565
-// Allen Key Probe is defined in the Delta example configurations.
566
-//
590
+//#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.
567 591
 
568
-// Z Probe to nozzle (X,Y) offset, relative to (0, 0).
569
-// X and Y offsets must be integers.
570
-//
571
-// In the following example the X and Y offsets are both positive:
572
-// #define X_PROBE_OFFSET_FROM_EXTRUDER 10
573
-// #define Y_PROBE_OFFSET_FROM_EXTRUDER 10
574
-//
575
-//    +-- BACK ---+
576
-//    |           |
577
-//  L |    (+) P  | R <-- probe (20,20)
578
-//  E |           | I
579
-//  F | (-) N (+) | G <-- nozzle (10,10)
580
-//  T |           | H
581
-//    |    (-)    | T
582
-//    |           |
583
-//    O-- FRONT --+
584
-//  (0,0)
592
+/**
593
+ *   Z Probe to nozzle (X,Y) offset, relative to (0, 0).
594
+ *   X and Y offsets must be integers.
595
+ *
596
+ *   In the following example the X and Y offsets are both positive:
597
+ *   #define X_PROBE_OFFSET_FROM_EXTRUDER 10
598
+ *   #define Y_PROBE_OFFSET_FROM_EXTRUDER 10
599
+ *
600
+ *      +-- BACK ---+
601
+ *      |           |
602
+ *    L |    (+) P  | R <-- probe (20,20)
603
+ *    E |           | I
604
+ *    F | (-) N (+) | G <-- nozzle (10,10)
605
+ *    T |           | H
606
+ *      |    (-)    | T
607
+ *      |           |
608
+ *      O-- FRONT --+
609
+ *    (0,0)
610
+ */
585 611
 #define X_PROBE_OFFSET_FROM_EXTRUDER -25     // X offset: -left  +right  [of the nozzle]
586 612
 #define Y_PROBE_OFFSET_FROM_EXTRUDER -29     // Y offset: -front +behind [the nozzle]
587 613
 #define Z_PROBE_OFFSET_FROM_EXTRUDER -12.35  // Z offset: -below +above  [the nozzle]
588 614
 
589
-// X and Y axis travel speed (mm/m) between probes
615
+/*   X and Y axis travel speed (mm/m) between probes */
590 616
 #define XY_PROBE_SPEED 8000
591
-// Speed for the first approach when double-probing (with PROBE_DOUBLE_TOUCH)
617
+
618
+/*   Speed for the first approach when double-probing (with PROBE_DOUBLE_TOUCH) */
592 619
 #define Z_PROBE_SPEED_FAST HOMING_FEEDRATE_Z
593
-// Speed for the "accurate" probe of each point
620
+
621
+/*   Speed for the "accurate" probe of each point  */
594 622
 #define Z_PROBE_SPEED_SLOW (Z_PROBE_SPEED_FAST / 2)
595
-// Use double touch for probing
596
-//#define PROBE_DOUBLE_TOUCH
597 623
 
598
-// *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
599
-//
600
-// To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING.
601
-// Example: To park the head outside the bed area when homing with G28.
602
-//
603
-// To use a separate Z probe, your board must define a Z_MIN_PROBE_PIN.
604
-//
605
-// For a servo-based Z probe, just set Z_ENDSTOP_SERVO_NR and Z_SERVO_ANGLES above.
606
-//
607
-// - RAMPS 1.3/1.4 boards may be able to use the 5V, GND, and Aux4->D32 pin.
608
-// - Use 5V for powered (usu. inductive) sensors.
609
-// - Otherwise connect:
610
-//   - normally-closed switches to GND and D32.
611
-//   - normally-open switches to 5V and D32.
612
-//
613
-// Normally-closed switches are advised and are the default.
614
-//
624
+/*   Use double touch for probing  */
625
+//#define PROBE_DOUBLE_TOUCH
615 626
 
616
-//
617
-// The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.)
618
-// Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the
619
-// default pin for all RAMPS-based boards. Most boards use the X_MAX_PIN by default.
620
-// To use a different pin you can override it here.
621
-//
622
-// WARNING:
623
-// Setting the wrong pin may have unexpected and potentially disastrous consequences.
624
-// Use with caution and do your homework.
625
-//
626
-//#define Z_MIN_PROBE_PIN X_MAX_PIN
627
+/**
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
+ */
627 683
 
628
-//
629
-// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
630
-// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
631
-//
632 684
 //#define Z_MIN_PROBE_ENDSTOP
633
-
634
-// Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE.
635
-// The Z_MIN_PIN will then be used for both Z-homing and probing.
636 685
 #define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
637 686
 
638
-// To use a probe you must enable one of the two options above!
639 687
 
640
-// Enable Z Probe Repeatability test to see how accurate your probe is
688
+/* Enable Z Probe Repeatability test to see how accurate your probe is  */
641 689
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
642 690
 
643 691
 /**
@@ -657,12 +705,11 @@
657 705
 #define Z_CLEARANCE_DEPLOY_PROBE   15 // Z Clearance for Deploy/Stow
658 706
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
659 707
 
660
-//
661
-// For M851 give a range for adjusting the Z probe offset
662
-//
708
+/* For M851 give a range for adjusting the Z probe offset */
663 709
 #define Z_PROBE_OFFSET_RANGE_MIN -20
664 710
 #define Z_PROBE_OFFSET_RANGE_MAX 20
665 711
 
712
+
666 713
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
667 714
 // :{ 0:'Low', 1:'High' }
668 715
 #define X_ENABLE_ON 0

+ 142
- 95
Marlin/example_configurations/adafruit/ST7565/Configuration.h Vedi File

@@ -530,122 +530,170 @@
530 530
 #define DEFAULT_EJERK                  5.0
531 531
 
532 532
 
533
-//===========================================================================
534
-//============================= Z Probe Options =============================
535
-//===========================================================================
536
-// @section probes
537
-
538
-//
539
-// Probe Type
540
-// Probes are sensors/switches that are activated / deactivated before/after use.
541
-//
542
-// Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
543
-// You must activate one of these to use Auto Bed Leveling below.
544
-//
545
-// Use M851 to set the Z probe vertical offset from the nozzle. Store with M500.
546
-//
533
+/**
534
+ * ===========================================================================
535
+ * ============================= Z Probe Options =============================
536
+ * ===========================================================================
537
+ *    @section probes
538
+ *
539
+ *
540
+ *   Probe Type
541
+ *   Probes are sensors/switches that are activated / deactivated before/after use.
542
+ *
543
+ *   Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
544
+ *   You must activate one of these to use Auto Bed Leveling below.
545
+ *
546
+ *   Use M851 to set the Z probe vertical offset from the nozzle. Store with M500.
547
+ */
547 548
 
548
-// The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe.
549
-// Use G29 repeatedly, adjusting the Z height at each point with movement commands
550
-// or (with LCD_BED_LEVELING) the LCD controller.
549
+/**
550
+ *   The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe.
551
+ *   Use G29 repeatedly, adjusting the Z height at each point with movement commands
552
+ *   or (with LCD_BED_LEVELING) the LCD controller.
553
+ */
551 554
 //#define PROBE_MANUALLY
552 555
 
553
-// A Fix-Mounted Probe either doesn't deploy or needs manual deployment.
554
-// For example an inductive probe, or a setup that uses the nozzle to probe.
555
-// An inductive probe must be deactivated to go below
556
-// its trigger-point if hardware endstops are active.
557
-//#define FIX_MOUNTED_PROBE
556
+/**
557
+ *   A Fix-Mounted Probe either doesn't deploy or needs manual deployment.
558
+ *   For example an inductive probe, or a setup that uses the nozzle to probe.
559
+ *   An inductive probe must be deactivated to go below
560
+ *   its trigger-point if hardware endstops are active.
561
+ */
562
+ //#define FIX_MOUNTED_PROBE
558 563
 
559
-// The BLTouch probe emulates a servo probe.
560
-// The default connector is SERVO 0. Set Z_ENDSTOP_SERVO_NR below to override.
564
+/**
565
+ *   Z Servo Probe, such as an endstop switch on a rotating arm.
566
+ *   NUM_SERVOS also needs to be set.  This is found later in this file.  Set it to
567
+ *   1 + the number of other servos in your system.
568
+ */
569
+//#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
570
+//#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
571
+
572
+ /**
573
+ *   The BLTouch probe emulates a servo probe.
574
+ *   If using a BLTouch then NUM_SERVOS, Z_ENDSTOP_SERVO_NR and Z_SERVO_ANGLES
575
+ *   are setup for you in the background and you shouldn't need to set/modify/enable them
576
+ *   with the possible exception of Z_ENDSTOP_SERVO_NR.
577
+ */
561 578
 //#define BLTOUCH
562 579
 //#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
563 580
 
564
-// Z Servo Probe, such as an endstop switch on a rotating arm.
565
-//#define Z_ENDSTOP_SERVO_NR 0
566
-//#define Z_SERVO_ANGLES {70,0} // Z Servo Deploy and Stow angles
581
+/**
582
+ *   BLTouch WARNING  -  ONLY APPLIES TO VERSIONS OF MARLIN BEFORE 15 FEB 2017
583
+ *   Unless using interrupt endstops, there is a MINIMUM feedrate for Marlin to reliably
584
+ *   sense the BLTouch.  If the feedrate is too slow then G28 & G29 can sometimes result
585
+ *   in the print head being driven into the bed until manual intervention.
586
+ *   The minimum feedrate calculation is:
587
+ *
588
+ *     feedrate minimum =  24000 / DEFAULT_AXIS_STEPS_PER_UNIT
589
+ *        where feedrate is in "mm/minute" or "inches/minute" depending on the units used
590
+ *        in DEFAULT_AXIS_STEPS_PER_UNIT
591
+ *
592
+ *   This applies to the HOMING_FEEDRATE_Z and Z_PROBE_SPEED_FAST.  If PROBE_DOUBLE_TOUCH
593
+ *   is enabled then it also applies to Z_PROBE_SPEED_SLOW.
594
+ */
567 595
 
568
-// Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.
596
+/*   Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.  */
569 597
 //#define Z_PROBE_SLED
570
-//#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.
571
-
572
-//
573
-// Allen Key Probe is defined in the Delta example configurations.
574
-//
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.
575 599
 
576
-// Z Probe to nozzle (X,Y) offset, relative to (0, 0).
577
-// X and Y offsets must be integers.
578
-//
579
-// In the following example the X and Y offsets are both positive:
580
-// #define X_PROBE_OFFSET_FROM_EXTRUDER 10
581
-// #define Y_PROBE_OFFSET_FROM_EXTRUDER 10
582
-//
583
-//    +-- BACK ---+
584
-//    |           |
585
-//  L |    (+) P  | R <-- probe (20,20)
586
-//  E |           | I
587
-//  F | (-) N (+) | G <-- nozzle (10,10)
588
-//  T |           | H
589
-//    |    (-)    | T
590
-//    |           |
591
-//    O-- FRONT --+
592
-//  (0,0)
600
+/**
601
+ *   Z Probe to nozzle (X,Y) offset, relative to (0, 0).
602
+ *   X and Y offsets must be integers.
603
+ *
604
+ *   In the following example the X and Y offsets are both positive:
605
+ *   #define X_PROBE_OFFSET_FROM_EXTRUDER 10
606
+ *   #define Y_PROBE_OFFSET_FROM_EXTRUDER 10
607
+ *
608
+ *      +-- BACK ---+
609
+ *      |           |
610
+ *    L |    (+) P  | R <-- probe (20,20)
611
+ *    E |           | I
612
+ *    F | (-) N (+) | G <-- nozzle (10,10)
613
+ *    T |           | H
614
+ *      |    (-)    | T
615
+ *      |           |
616
+ *      O-- FRONT --+
617
+ *    (0,0)
618
+ */
593 619
 #define X_PROBE_OFFSET_FROM_EXTRUDER -25     // X offset: -left  +right  [of the nozzle]
594 620
 #define Y_PROBE_OFFSET_FROM_EXTRUDER -29     // Y offset: -front +behind [the nozzle]
595 621
 #define Z_PROBE_OFFSET_FROM_EXTRUDER -12.35  // Z offset: -below +above  [the nozzle]
596 622
 
597
-// X and Y axis travel speed (mm/m) between probes
623
+/*   X and Y axis travel speed (mm/m) between probes */
598 624
 #define XY_PROBE_SPEED 8000
599
-// Speed for the first approach when double-probing (with PROBE_DOUBLE_TOUCH)
625
+
626
+/*   Speed for the first approach when double-probing (with PROBE_DOUBLE_TOUCH) */
600 627
 #define Z_PROBE_SPEED_FAST HOMING_FEEDRATE_Z
601
-// Speed for the "accurate" probe of each point
628
+
629
+/*   Speed for the "accurate" probe of each point  */
602 630
 #define Z_PROBE_SPEED_SLOW (Z_PROBE_SPEED_FAST / 2)
603
-// Use double touch for probing
604
-//#define PROBE_DOUBLE_TOUCH
605 631
 
606
-// *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
607
-//
608
-// To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING.
609
-// Example: To park the head outside the bed area when homing with G28.
610
-//
611
-// To use a separate Z probe, your board must define a Z_MIN_PROBE_PIN.
612
-//
613
-// For a servo-based Z probe, just set Z_ENDSTOP_SERVO_NR and Z_SERVO_ANGLES above.
614
-//
615
-// - RAMPS 1.3/1.4 boards may be able to use the 5V, GND, and Aux4->D32 pin.
616
-// - Use 5V for powered (usu. inductive) sensors.
617
-// - Otherwise connect:
618
-//   - normally-closed switches to GND and D32.
619
-//   - normally-open switches to 5V and D32.
620
-//
621
-// Normally-closed switches are advised and are the default.
622
-//
632
+/*   Use double touch for probing  */
633
+//#define PROBE_DOUBLE_TOUCH
623 634
 
624
-//
625
-// The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.)
626
-// Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the
627
-// default pin for all RAMPS-based boards. Most boards use the X_MAX_PIN by default.
628
-// To use a different pin you can override it here.
629
-//
630
-// WARNING:
631
-// Setting the wrong pin may have unexpected and potentially disastrous consequences.
632
-// Use with caution and do your homework.
633
-//
634
-//#define Z_MIN_PROBE_PIN X_MAX_PIN
635
+/**
636
+ *   Allen Key Probe is defined in the Delta example configurations.
637
+ *
638
+ *
639
+ *   *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
640
+ *
641
+ *   - RAMPS 1.3/1.4 boards may be able to use the 5V, GND, and Aux4->D32 pin.
642
+ *   - Use 5V for powered (usu. inductive) sensors.
643
+ *   - Otherwise connect:
644
+ *     - normally-closed switches to GND and D32.
645
+ *     - normally-open switches to 5V and D32.
646
+ *
647
+ *   Normally-closed switches are advised and are the default.
648
+ *
649
+ *
650
+ *   PIN OPTIONS\SETUP FOR Z PROBES
651
+ *
652
+ *
653
+ *   WARNING:
654
+ *   Setting the wrong pin may have unexpected and potentially disastrous consequences.
655
+ *   Use with caution and do your homework.
656
+ *
657
+ *
658
+ *   All Z PROBE pin options are configured by defining (or not defining)
659
+ *   the following five items:
660
+ *       Z_MIN_PROBE_ENDSTOP – defined below
661
+ *       Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN – defined below
662
+ *       Z_MIN_PIN - defined in the pins_YOUR_BOARD.h file
663
+ *       Z_MIN_PROBE_PIN - defined in the pins_YOUR_BOARD.h file
664
+ *
665
+ *   If you're using a probe then you need to tell Marlin which pin to use as
666
+ *   the Z MIN ENDSTOP.  Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN determines if the
667
+ *   Z_MIN_PIN or if the Z_MIN_PROBE_PIN is used.
668
+ *
669
+ *   The pin selected for the probe is ONLY checked during probing operations.
670
+ *   If you want to use the Z_MIN_PIN as an endstop AND you want to have a Z PROBE
671
+ *   then you’ll need to use the Z_MIN_PROBE_PIN option.
672
+ *
673
+ *   Z_MIN_PROBE_ENDSTOP also needs to be enabled if you want to use Z_MIN_PROBE_PIN.
674
+ *
675
+ *   The settings needed to use the Z_MIN_PROBE_PIN are:
676
+ *       1. select the type of probe you're using
677
+ *       2. define Z_MIN_PROBE_PIN in your pins_YOUR_BOARD.h file
678
+ *       3. disable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
679
+ *       4. enable Z_MIN_PROBE_ENDSTOP
680
+ *   NOTE – if Z_MIN_PIN is defined then it’ll be checked during all moves in the
681
+ *          negative Z direction.
682
+ *
683
+ *   The settings needed to use the Z_MIN_PIN are:
684
+ *       1. select the type of probe you're using
685
+ *       2. enable Z_MIN _PIN in your pins_YOUR_BOARD.h file
686
+ *       3. enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
687
+ *       4. disable Z_MIN_PROBE_ENDSTOP
688
+ *   NOTES – if Z_MIN_PROBE_PIN is defined in the pins_YOUR_BOARD.h file then it’ll be
689
+ *          ignored by Marlin
690
+ */
635 691
 
636
-//
637
-// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
638
-// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
639
-//
640 692
 //#define Z_MIN_PROBE_ENDSTOP
641
-
642
-// Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE.
643
-// The Z_MIN_PIN will then be used for both Z-homing and probing.
644 693
 #define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
645 694
 
646
-// To use a probe you must enable one of the two options above!
647 695
 
648
-// Enable Z Probe Repeatability test to see how accurate your probe is
696
+/* Enable Z Probe Repeatability test to see how accurate your probe is  */
649 697
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
650 698
 
651 699
 /**
@@ -665,12 +713,11 @@
665 713
 #define Z_CLEARANCE_DEPLOY_PROBE   15 // Z Clearance for Deploy/Stow
666 714
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
667 715
 
668
-//
669
-// For M851 give a range for adjusting the Z probe offset
670
-//
716
+/* For M851 give a range for adjusting the Z probe offset */
671 717
 #define Z_PROBE_OFFSET_RANGE_MIN -20
672 718
 #define Z_PROBE_OFFSET_RANGE_MAX 20
673 719
 
720
+
674 721
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
675 722
 // :{ 0:'Low', 1:'High' }
676 723
 #define X_ENABLE_ON 0

+ 143
- 95
Marlin/example_configurations/delta/flsun_kossel_mini/Configuration.h Vedi File

@@ -588,81 +588,112 @@
588 588
 #define DEFAULT_EJERK                  5.0
589 589
 
590 590
 
591
-//===========================================================================
592
-//============================= Z Probe Options =============================
593
-//===========================================================================
594
-// @section probes
595
-
596
-//
597
-// Probe Type
598
-// Probes are sensors/switches that are activated / deactivated before/after use.
599
-//
600
-// Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
601
-// You must activate one of these to use Auto Bed Leveling below.
602
-//
603
-// Use M851 to set the Z probe vertical offset from the nozzle. Store with M500.
604
-//
591
+/**
592
+ * ===========================================================================
593
+ * ============================= Z Probe Options =============================
594
+ * ===========================================================================
595
+ *    @section probes
596
+ *
597
+ *
598
+ *   Probe Type
599
+ *   Probes are sensors/switches that are activated / deactivated before/after use.
600
+ *
601
+ *   Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
602
+ *   You must activate one of these to use Auto Bed Leveling below.
603
+ *
604
+ *   Use M851 to set the Z probe vertical offset from the nozzle. Store with M500.
605
+ */
605 606
 
606
-// The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe.
607
-// Use G29 repeatedly, adjusting the Z height at each point with movement commands
608
-// or (with LCD_BED_LEVELING) the LCD controller.
607
+/**
608
+ *   The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe.
609
+ *   Use G29 repeatedly, adjusting the Z height at each point with movement commands
610
+ *   or (with LCD_BED_LEVELING) the LCD controller.
611
+ */
609 612
 //#define PROBE_MANUALLY
610 613
 
611
-// A Fix-Mounted Probe either doesn't deploy or needs manual deployment.
612
-// For example an inductive probe, or a setup that uses the nozzle to probe.
613
-// An inductive probe must be deactivated to go below
614
-// its trigger-point if hardware endstops are active.
614
+/**
615
+ *   A Fix-Mounted Probe either doesn't deploy or needs manual deployment.
616
+ *   For example an inductive probe, or a setup that uses the nozzle to probe.
617
+ *   An inductive probe must be deactivated to go below
618
+ *   its trigger-point if hardware endstops are active.
619
+ */
615 620
 #define FIX_MOUNTED_PROBE
616 621
 
617
-// The BLTouch probe emulates a servo probe.
618
-// The default connector is SERVO 0. Set Z_ENDSTOP_SERVO_NR below to override.
622
+/**
623
+ *   Z Servo Probe, such as an endstop switch on a rotating arm.
624
+ *   NUM_SERVOS also needs to be set.  This is found later in this file.  Set it to
625
+ *   1 + the number of other servos in your system.
626
+ */
627
+//#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
628
+//#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
629
+
630
+ /**
631
+ *   The BLTouch probe emulates a servo probe.
632
+ *   If using a BLTouch then NUM_SERVOS, Z_ENDSTOP_SERVO_NR and Z_SERVO_ANGLES
633
+ *   are setup for you in the background and you shouldn't need to set/modify/enable them
634
+ *   with the possible exception of Z_ENDSTOP_SERVO_NR.
635
+ */
619 636
 //#define BLTOUCH
620 637
 //#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
621 638
 
622
-// Z Servo Probe, such as an endstop switch on a rotating arm.
623
-//#define Z_ENDSTOP_SERVO_NR 0
624
-//#define Z_SERVO_ANGLES {70,0} // Z Servo Deploy and Stow angles
639
+/**
640
+ *   BLTouch WARNING  -  ONLY APPLIES TO VERSIONS OF MARLIN BEFORE 15 FEB 2017
641
+ *   Unless using interrupt endstops, there is a MINIMUM feedrate for Marlin to reliably
642
+ *   sense the BLTouch.  If the feedrate is too slow then G28 & G29 can sometimes result
643
+ *   in the print head being driven into the bed until manual intervention.
644
+ *   The minimum feedrate calculation is:
645
+ *
646
+ *     feedrate minimum =  24000 / DEFAULT_AXIS_STEPS_PER_UNIT
647
+ *        where feedrate is in "mm/minute" or "inches/minute" depending on the units used
648
+ *        in DEFAULT_AXIS_STEPS_PER_UNIT
649
+ *
650
+ *   This applies to the HOMING_FEEDRATE_Z and Z_PROBE_SPEED_FAST.  If PROBE_DOUBLE_TOUCH
651
+ *   is enabled then it also applies to Z_PROBE_SPEED_SLOW.
652
+ */
625 653
 
626
-// Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.
654
+/*   Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.  */
627 655
 //#define Z_PROBE_SLED
628
-//#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.
629
-
630
-//
631
-// Allen Key Probe is defined in the Delta example configurations.
632
-//
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.
633 657
 
634
-// Z Probe to nozzle (X,Y) offset, relative to (0, 0).
635
-// X and Y offsets must be integers.
636
-//
637
-// In the following example the X and Y offsets are both positive:
638
-// #define X_PROBE_OFFSET_FROM_EXTRUDER 10
639
-// #define Y_PROBE_OFFSET_FROM_EXTRUDER 10
640
-//
641
-//    +-- BACK ---+
642
-//    |           |
643
-//  L |    (+) P  | R <-- probe (20,20)
644
-//  E |           | I
645
-//  F | (-) N (+) | G <-- nozzle (10,10)
646
-//  T |           | H
647
-//    |    (-)    | T
648
-//    |           |
649
-//    O-- FRONT --+
650
-//  (0,0)
658
+/**
659
+ *   Z Probe to nozzle (X,Y) offset, relative to (0, 0).
660
+ *   X and Y offsets must be integers.
661
+ *
662
+ *   In the following example the X and Y offsets are both positive:
663
+ *   #define X_PROBE_OFFSET_FROM_EXTRUDER 10
664
+ *   #define Y_PROBE_OFFSET_FROM_EXTRUDER 10
665
+ *
666
+ *      +-- BACK ---+
667
+ *      |           |
668
+ *    L |    (+) P  | R <-- probe (20,20)
669
+ *    E |           | I
670
+ *    F | (-) N (+) | G <-- nozzle (10,10)
671
+ *    T |           | H
672
+ *      |    (-)    | T
673
+ *      |           |
674
+ *      O-- FRONT --+
675
+ *    (0,0)
676
+ */
651 677
 #define X_PROBE_OFFSET_FROM_EXTRUDER 0     // X offset: -left  +right  [of the nozzle]
652 678
 #define Y_PROBE_OFFSET_FROM_EXTRUDER 0   // Y offset: -front +behind [the nozzle]
653 679
 #define Z_PROBE_OFFSET_FROM_EXTRUDER 0.25  // Z offset: -below +above  [the nozzle]
654 680
 
655
-// X and Y axis travel speed (mm/m) between probes
681
+/*   X and Y axis travel speed (mm/m) between probes */
656 682
 #define XY_PROBE_SPEED 2000
657
-// Speed for the first approach when double-probing (with PROBE_DOUBLE_TOUCH)
683
+
684
+/*   Speed for the first approach when double-probing (with PROBE_DOUBLE_TOUCH) */
658 685
 #define Z_PROBE_SPEED_FAST HOMING_FEEDRATE_Z
659
-// Speed for the "accurate" probe of each point
686
+
687
+/*   Speed for the "accurate" probe of each point  */
660 688
 #define Z_PROBE_SPEED_SLOW (Z_PROBE_SPEED_FAST / 2)
661
-// Use double touch for probing
689
+
690
+/*   Use double touch for probing  */
662 691
 #define PROBE_DOUBLE_TOUCH
663 692
 
664
-// Allen key retractable z-probe as seen on many Kossel delta printers - http://reprap.org/wiki/Kossel#Automatic_bed_leveling_probe
665
-// Deploys by touching z-axis belt. Retracts by pushing the probe down. Uses Z_MIN_PIN.
693
+/**
694
+ * Allen key retractable z-probe as seen on many Kossel delta printers - http://reprap.org/wiki/Kossel#Automatic_bed_leveling_probe
695
+ * Deploys by touching z-axis belt. Retracts by pushing the probe down. Uses Z_MIN_PIN.
696
+ */
666 697
 //#define Z_PROBE_ALLEN_KEY
667 698
 
668 699
 #if ENABLED(Z_PROBE_ALLEN_KEY)
@@ -709,49 +740,67 @@
709 740
 
710 741
 #endif // Z_PROBE_ALLEN_KEY
711 742
 
712
-// *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
713
-//
714
-// To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING.
715
-// Example: To park the head outside the bed area when homing with G28.
716
-//
717
-// To use a separate Z probe, your board must define a Z_MIN_PROBE_PIN.
718
-//
719
-// For a servo-based Z probe, just set Z_ENDSTOP_SERVO_NR and Z_SERVO_ANGLES above.
720
-//
721
-// - RAMPS 1.3/1.4 boards may be able to use the 5V, GND, and Aux4->D32 pin.
722
-// - Use 5V for powered (usu. inductive) sensors.
723
-// - Otherwise connect:
724
-//   - normally-closed switches to GND and D32.
725
-//   - normally-open switches to 5V and D32.
726
-//
727
-// Normally-closed switches are advised and are the default.
728
-//
729 743
 
730
-//
731
-// The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.)
732
-// Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the
733
-// default pin for all RAMPS-based boards. Most boards use the X_MAX_PIN by default.
734
-// To use a different pin you can override it here.
735
-//
736
-// WARNING:
737
-// Setting the wrong pin may have unexpected and potentially disastrous consequences.
738
-// Use with caution and do your homework.
739
-//
740
-#define Z_MIN_PROBE_PIN Z_MIN_PIN
744
+/**
745
+ *
746
+ *   *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
747
+ *
748
+ *   - RAMPS 1.3/1.4 boards may be able to use the 5V, GND, and Aux4->D32 pin.
749
+ *   - Use 5V for powered (usu. inductive) sensors.
750
+ *   - Otherwise connect:
751
+ *     - normally-closed switches to GND and D32.
752
+ *     - normally-open switches to 5V and D32.
753
+ *
754
+ *   Normally-closed switches are advised and are the default.
755
+ *
756
+ *
757
+ *   PIN OPTIONS\SETUP FOR Z PROBES
758
+ *
759
+ *
760
+ *   WARNING:
761
+ *   Setting the wrong pin may have unexpected and potentially disastrous consequences.
762
+ *   Use with caution and do your homework.
763
+ *
764
+ *
765
+ *   All Z PROBE pin options are configured by defining (or not defining)
766
+ *   the following five items:
767
+ *       Z_MIN_PROBE_ENDSTOP – defined below
768
+ *       Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN – defined below
769
+ *       Z_MIN_PIN - defined in the pins_YOUR_BOARD.h file
770
+ *       Z_MIN_PROBE_PIN - defined in the pins_YOUR_BOARD.h file
771
+ *
772
+ *   If you're using a probe then you need to tell Marlin which pin to use as
773
+ *   the Z MIN ENDSTOP.  Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN determines if the
774
+ *   Z_MIN_PIN or if the Z_MIN_PROBE_PIN is used.
775
+ *
776
+ *   The pin selected for the probe is ONLY checked during probing operations.
777
+ *   If you want to use the Z_MIN_PIN as an endstop AND you want to have a Z PROBE
778
+ *   then you’ll need to use the Z_MIN_PROBE_PIN option.
779
+ *
780
+ *   Z_MIN_PROBE_ENDSTOP also needs to be enabled if you want to use Z_MIN_PROBE_PIN.
781
+ *
782
+ *   The settings needed to use the Z_MIN_PROBE_PIN are:
783
+ *       1. select the type of probe you're using
784
+ *       2. define Z_MIN_PROBE_PIN in your pins_YOUR_BOARD.h file
785
+ *       3. disable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
786
+ *       4. enable Z_MIN_PROBE_ENDSTOP
787
+ *   NOTE – if Z_MIN_PIN is defined then it’ll be checked during all moves in the
788
+ *          negative Z direction.
789
+ *
790
+ *   The settings needed to use the Z_MIN_PIN are:
791
+ *       1. select the type of probe you're using
792
+ *       2. enable Z_MIN _PIN in your pins_YOUR_BOARD.h file
793
+ *       3. enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
794
+ *       4. disable Z_MIN_PROBE_ENDSTOP
795
+ *   NOTES – if Z_MIN_PROBE_PIN is defined in the pins_YOUR_BOARD.h file then it’ll be
796
+ *          ignored by Marlin
797
+ */
741 798
 
742
-//
743
-// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
744
-// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
745
-//
746 799
 //#define Z_MIN_PROBE_ENDSTOP // A3K leave disable!
747
-
748
-// Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE.
749
-// The Z_MIN_PIN will then be used for both Z-homing and probing.
750 800
 #define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
751 801
 
752
-// To use a probe you must enable one of the two options above!
753 802
 
754
-// Enable Z Probe Repeatability test to see how accurate your probe is
803
+/* Enable Z Probe Repeatability test to see how accurate your probe is  */
755 804
 #define Z_MIN_PROBE_REPEATABILITY_TEST
756 805
 
757 806
 /**
@@ -771,12 +820,11 @@
771 820
 #define Z_CLEARANCE_DEPLOY_PROBE   50 // Z Clearance for Deploy/Stow
772 821
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
773 822
 
774
-//
775
-// For M851 give a range for adjusting the Z probe offset
776
-//
823
+/* For M851 give a range for adjusting the Z probe offset */
777 824
 #define Z_PROBE_OFFSET_RANGE_MIN -20
778 825
 #define Z_PROBE_OFFSET_RANGE_MAX 20
779 826
 
827
+
780 828
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
781 829
 // :{ 0:'Low', 1:'High' }
782 830
 #define X_ENABLE_ON 0

+ 144
- 96
Marlin/example_configurations/delta/generic/Configuration.h Vedi File

@@ -575,81 +575,113 @@
575 575
 #define DEFAULT_EJERK                  5.0
576 576
 
577 577
 
578
-//===========================================================================
579
-//============================= Z Probe Options =============================
580
-//===========================================================================
581
-// @section probes
582
-
583
-//
584
-// Probe Type
585
-// Probes are sensors/switches that are activated / deactivated before/after use.
586
-//
587
-// Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
588
-// You must activate one of these to use Auto Bed Leveling below.
589
-//
590
-// Use M851 to set the Z probe vertical offset from the nozzle. Store with M500.
591
-//
578
+/**
579
+ * ===========================================================================
580
+ * ============================= Z Probe Options =============================
581
+ * ===========================================================================
582
+ *    @section probes
583
+ *
584
+ *
585
+ *   Probe Type
586
+ *   Probes are sensors/switches that are activated / deactivated before/after use.
587
+ *
588
+ *   Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
589
+ *   You must activate one of these to use Auto Bed Leveling below.
590
+ *
591
+ *   Use M851 to set the Z probe vertical offset from the nozzle. Store with M500.
592
+ */
592 593
 
593
-// The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe.
594
-// Use G29 repeatedly, adjusting the Z height at each point with movement commands
595
-// or (with LCD_BED_LEVELING) the LCD controller.
594
+/**
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.
598
+ */
596 599
 //#define PROBE_MANUALLY
597 600
 
598
-// A Fix-Mounted Probe either doesn't deploy or needs manual deployment.
599
-// For example an inductive probe, or a setup that uses the nozzle to probe.
600
-// An inductive probe must be deactivated to go below
601
-// its trigger-point if hardware endstops are active.
601
+/**
602
+ *   A Fix-Mounted Probe either doesn't deploy or needs manual deployment.
603
+ *   For example an inductive probe, or a setup that uses the nozzle to probe.
604
+ *   An inductive probe must be deactivated to go below
605
+ *   its trigger-point if hardware endstops are active.
606
+ */
602 607
 //#define FIX_MOUNTED_PROBE
603 608
 
604
-// The BLTouch probe emulates a servo probe.
605
-// The default connector is SERVO 0. Set Z_ENDSTOP_SERVO_NR below to override.
609
+/**
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.
613
+ */
614
+//#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
615
+//#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
616
+
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
+ */
606 623
 //#define BLTOUCH
607 624
 //#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
608 625
 
609
-// Z Servo Probe, such as an endstop switch on a rotating arm.
610
-//#define Z_ENDSTOP_SERVO_NR 0
611
-//#define Z_SERVO_ANGLES {70,0} // Z Servo Deploy and Stow angles
626
+/**
627
+ *   BLTouch WARNING  -  ONLY APPLIES TO VERSIONS OF MARLIN BEFORE 15 FEB 2017
628
+ *   Unless using interrupt endstops, there is a MINIMUM feedrate for Marlin to reliably
629
+ *   sense the BLTouch.  If the feedrate is too slow then G28 & G29 can sometimes result
630
+ *   in the print head being driven into the bed until manual intervention.
631
+ *   The minimum feedrate calculation is:
632
+ *
633
+ *     feedrate minimum =  24000 / DEFAULT_AXIS_STEPS_PER_UNIT
634
+ *        where feedrate is in "mm/minute" or "inches/minute" depending on the units used
635
+ *        in DEFAULT_AXIS_STEPS_PER_UNIT
636
+ *
637
+ *   This applies to the HOMING_FEEDRATE_Z and Z_PROBE_SPEED_FAST.  If PROBE_DOUBLE_TOUCH
638
+ *   is enabled then it also applies to Z_PROBE_SPEED_SLOW.
639
+ */
612 640
 
613
-// Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.
641
+/*   Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.  */
614 642
 //#define Z_PROBE_SLED
615
-//#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.
616
-
617
-//
618
-// Allen Key Probe is defined in the Delta example configurations.
619
-//
643
+//#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 644
 
621
-// Z Probe to nozzle (X,Y) offset, relative to (0, 0).
622
-// X and Y offsets must be integers.
623
-//
624
-// In the following example the X and Y offsets are both positive:
625
-// #define X_PROBE_OFFSET_FROM_EXTRUDER 10
626
-// #define Y_PROBE_OFFSET_FROM_EXTRUDER 10
627
-//
628
-//    +-- BACK ---+
629
-//    |           |
630
-//  L |    (+) P  | R <-- probe (20,20)
631
-//  E |           | I
632
-//  F | (-) N (+) | G <-- nozzle (10,10)
633
-//  T |           | H
634
-//    |    (-)    | T
635
-//    |           |
636
-//    O-- FRONT --+
637
-//  (0,0)
645
+/**
646
+ *   Z Probe to nozzle (X,Y) offset, relative to (0, 0).
647
+ *   X and Y offsets must be integers.
648
+ *
649
+ *   In the following example the X and Y offsets are both positive:
650
+ *   #define X_PROBE_OFFSET_FROM_EXTRUDER 10
651
+ *   #define Y_PROBE_OFFSET_FROM_EXTRUDER 10
652
+ *
653
+ *      +-- BACK ---+
654
+ *      |           |
655
+ *    L |    (+) P  | R <-- probe (20,20)
656
+ *    E |           | I
657
+ *    F | (-) N (+) | G <-- nozzle (10,10)
658
+ *    T |           | H
659
+ *      |    (-)    | T
660
+ *      |           |
661
+ *      O-- FRONT --+
662
+ *    (0,0)
663
+ */
638 664
 #define X_PROBE_OFFSET_FROM_EXTRUDER 0     // X offset: -left  +right  [of the nozzle]
639 665
 #define Y_PROBE_OFFSET_FROM_EXTRUDER -10   // Y offset: -front +behind [the nozzle]
640 666
 #define Z_PROBE_OFFSET_FROM_EXTRUDER -3.5  // Z offset: -below +above  [the nozzle]
641 667
 
642
-// X and Y axis travel speed (mm/m) between probes
668
+/*   X and Y axis travel speed (mm/m) between probes */
643 669
 #define XY_PROBE_SPEED 4000
644
-// Speed for the first approach when double-probing (with PROBE_DOUBLE_TOUCH)
670
+
671
+/*   Speed for the first approach when double-probing (with PROBE_DOUBLE_TOUCH) */
645 672
 #define Z_PROBE_SPEED_FAST HOMING_FEEDRATE_Z
646
-// Speed for the "accurate" probe of each point
673
+
674
+/*   Speed for the "accurate" probe of each point  */
647 675
 #define Z_PROBE_SPEED_SLOW (Z_PROBE_SPEED_FAST / 2)
648
-// Use double touch for probing
676
+
677
+/*   Use double touch for probing  */
649 678
 //#define PROBE_DOUBLE_TOUCH
650 679
 
651
-// Allen key retractable z-probe as seen on many Kossel delta printers - http://reprap.org/wiki/Kossel#Automatic_bed_leveling_probe
652
-// Deploys by touching z-axis belt. Retracts by pushing the probe down. Uses Z_MIN_PIN.
680
+
681
+/**
682
+ * Allen key retractable z-probe as seen on many Kossel delta printers - http://reprap.org/wiki/Kossel#Automatic_bed_leveling_probe
683
+ * Deploys by touching z-axis belt. Retracts by pushing the probe down. Uses Z_MIN_PIN.
684
+ */
653 685
 //#define Z_PROBE_ALLEN_KEY
654 686
 
655 687
 #if ENABLED(Z_PROBE_ALLEN_KEY)
@@ -693,49 +725,66 @@
693 725
 
694 726
 #endif // Z_PROBE_ALLEN_KEY
695 727
 
696
-// *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
697
-//
698
-// To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING.
699
-// Example: To park the head outside the bed area when homing with G28.
700
-//
701
-// To use a separate Z probe, your board must define a Z_MIN_PROBE_PIN.
702
-//
703
-// For a servo-based Z probe, just set Z_ENDSTOP_SERVO_NR and Z_SERVO_ANGLES above.
704
-//
705
-// - RAMPS 1.3/1.4 boards may be able to use the 5V, GND, and Aux4->D32 pin.
706
-// - Use 5V for powered (usu. inductive) sensors.
707
-// - Otherwise connect:
708
-//   - normally-closed switches to GND and D32.
709
-//   - normally-open switches to 5V and D32.
710
-//
711
-// Normally-closed switches are advised and are the default.
712
-//
713
-
714
-//
715
-// The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.)
716
-// Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the
717
-// default pin for all RAMPS-based boards. Most boards use the X_MAX_PIN by default.
718
-// To use a different pin you can override it here.
719
-//
720
-// WARNING:
721
-// Setting the wrong pin may have unexpected and potentially disastrous consequences.
722
-// Use with caution and do your homework.
723
-//
724
-//#define Z_MIN_PROBE_PIN X_MAX_PIN
728
+/**
729
+ *
730
+ *   *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
731
+ *
732
+ *   - RAMPS 1.3/1.4 boards may be able to use the 5V, GND, and Aux4->D32 pin.
733
+ *   - Use 5V for powered (usu. inductive) sensors.
734
+ *   - Otherwise connect:
735
+ *     - normally-closed switches to GND and D32.
736
+ *     - normally-open switches to 5V and D32.
737
+ *
738
+ *   Normally-closed switches are advised and are the default.
739
+ *
740
+ *
741
+ *   PIN OPTIONS\SETUP FOR Z PROBES
742
+ *
743
+ *
744
+ *   WARNING:
745
+ *   Setting the wrong pin may have unexpected and potentially disastrous consequences.
746
+ *   Use with caution and do your homework.
747
+ *
748
+ *
749
+ *   All Z PROBE pin options are configured by defining (or not defining)
750
+ *   the following five items:
751
+ *       Z_MIN_PROBE_ENDSTOP – defined below
752
+ *       Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN – defined below
753
+ *       Z_MIN_PIN - defined in the pins_YOUR_BOARD.h file
754
+ *       Z_MIN_PROBE_PIN - defined in the pins_YOUR_BOARD.h file
755
+ *
756
+ *   If you're using a probe then you need to tell Marlin which pin to use as
757
+ *   the Z MIN ENDSTOP.  Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN determines if the
758
+ *   Z_MIN_PIN or if the Z_MIN_PROBE_PIN is used.
759
+ *
760
+ *   The pin selected for the probe is ONLY checked during probing operations.
761
+ *   If you want to use the Z_MIN_PIN as an endstop AND you want to have a Z PROBE
762
+ *   then you’ll need to use the Z_MIN_PROBE_PIN option.
763
+ *
764
+ *   Z_MIN_PROBE_ENDSTOP also needs to be enabled if you want to use Z_MIN_PROBE_PIN.
765
+ *
766
+ *   The settings needed to use the Z_MIN_PROBE_PIN are:
767
+ *       1. select the type of probe you're using
768
+ *       2. define Z_MIN_PROBE_PIN in your pins_YOUR_BOARD.h file
769
+ *       3. disable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
770
+ *       4. enable Z_MIN_PROBE_ENDSTOP
771
+ *   NOTE – if Z_MIN_PIN is defined then it’ll be checked during all moves in the
772
+ *          negative Z direction.
773
+ *
774
+ *   The settings needed to use the Z_MIN_PIN are:
775
+ *       1. select the type of probe you're using
776
+ *       2. enable Z_MIN _PIN in your pins_YOUR_BOARD.h file
777
+ *       3. enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
778
+ *       4. disable Z_MIN_PROBE_ENDSTOP
779
+ *   NOTES – if Z_MIN_PROBE_PIN is defined in the pins_YOUR_BOARD.h file then it’ll be
780
+ *          ignored by Marlin
781
+ */
725 782
 
726
-//
727
-// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
728
-// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
729
-//
730 783
 #define Z_MIN_PROBE_ENDSTOP
731
-
732
-// Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE.
733
-// The Z_MIN_PIN will then be used for both Z-homing and probing.
734 784
 //#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
735 785
 
736
-// To use a probe you must enable one of the two options above!
737 786
 
738
-// Enable Z Probe Repeatability test to see how accurate your probe is
787
+/* Enable Z Probe Repeatability test to see how accurate your probe is  */
739 788
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
740 789
 
741 790
 /**
@@ -755,12 +804,11 @@
755 804
 #define Z_CLEARANCE_DEPLOY_PROBE   15 // Z Clearance for Deploy/Stow
756 805
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
757 806
 
758
-//
759
-// For M851 give a range for adjusting the Z probe offset
760
-//
807
+/* For M851 give a range for adjusting the Z probe offset */
761 808
 #define Z_PROBE_OFFSET_RANGE_MIN -20
762 809
 #define Z_PROBE_OFFSET_RANGE_MAX 20
763 810
 
811
+
764 812
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
765 813
 // :{ 0:'Low', 1:'High' }
766 814
 #define X_ENABLE_ON 0

+ 137
- 97
Marlin/example_configurations/delta/kossel_mini/Configuration.h Vedi File

@@ -575,81 +575,105 @@
575 575
 #define DEFAULT_EJERK                  5.0
576 576
 
577 577
 
578
-//===========================================================================
579
-//============================= Z Probe Options =============================
580
-//===========================================================================
581
-// @section probes
578
+/**
579
+ * ===========================================================================
580
+ * ============================= Z Probe Options =============================
581
+ * ===========================================================================
582
+ *    @section probes
583
+ *
584
+ *
585
+ *   Probe Type
586
+ *   Probes are sensors/switches that are activated / deactivated before/after use.
587
+ *
588
+ *   Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
589
+ *   You must activate one of these to use Auto Bed Leveling below.
590
+ *
591
+ *   Use M851 to set the Z probe vertical offset from the nozzle. Store with M500.
592
+ */
582 593
 
583
-//
584
-// Probe Type
585
-// Probes are sensors/switches that are activated / deactivated before/after use.
586
-//
587
-// Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
588
-// You must activate one of these to use Auto Bed Leveling below.
589
-//
590
-// Use M851 to set the Z probe vertical offset from the nozzle. Store with M500.
591
-//
592 594
 
593
-// The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe.
594
-// Use G29 repeatedly, adjusting the Z height at each point with movement commands
595
-// or (with LCD_BED_LEVELING) the LCD controller.
595
+/**
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.
599
+ */
596 600
 //#define PROBE_MANUALLY
597 601
 
598
-// A Fix-Mounted Probe either doesn't deploy or needs manual deployment.
599
-// For example an inductive probe, or a setup that uses the nozzle to probe.
600
-// An inductive probe must be deactivated to go below
601
-// its trigger-point if hardware endstops are active.
602
-//#define FIX_MOUNTED_PROBE
603
-
604
-// The BLTouch probe emulates a servo probe.
605
-// The default connector is SERVO 0. Set Z_ENDSTOP_SERVO_NR below to override.
602
+/**
603
+ *   Z Servo Probe, such as an endstop switch on a rotating arm.
604
+ *   NUM_SERVOS also needs to be set.  This is found later in this file.  Set it to
605
+ *   1 + the number of other servos in your system.
606
+ */
607
+//#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
608
+//#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
609
+
610
+ /**
611
+ *   The BLTouch probe emulates a servo probe.
612
+ *   If using a BLTouch then NUM_SERVOS, Z_ENDSTOP_SERVO_NR and Z_SERVO_ANGLES
613
+ *   are setup for you in the background and you shouldn't need to set/modify/enable them
614
+ *   with the possible exception of Z_ENDSTOP_SERVO_NR.
615
+ */
606 616
 //#define BLTOUCH
607 617
 //#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
608 618
 
609
-// Z Servo Probe, such as an endstop switch on a rotating arm.
610
-//#define Z_ENDSTOP_SERVO_NR 0
611
-//#define Z_SERVO_ANGLES {70,0} // Z Servo Deploy and Stow angles
619
+/**
620
+ *   BLTouch WARNING  -  ONLY APPLIES TO VERSIONS OF MARLIN BEFORE 15 FEB 2017
621
+ *   Unless using interrupt endstops, there is a MINIMUM feedrate for Marlin to reliably
622
+ *   sense the BLTouch.  If the feedrate is too slow then G28 & G29 can sometimes result
623
+ *   in the print head being driven into the bed until manual intervention.
624
+ *   The minimum feedrate calculation is:
625
+ *
626
+ *     feedrate minimum =  24000 / DEFAULT_AXIS_STEPS_PER_UNIT
627
+ *        where feedrate is in "mm/minute" or "inches/minute" depending on the units used
628
+ *        in DEFAULT_AXIS_STEPS_PER_UNIT
629
+ *
630
+ *   This applies to the HOMING_FEEDRATE_Z and Z_PROBE_SPEED_FAST.  If PROBE_DOUBLE_TOUCH
631
+ *   is enabled then it also applies to Z_PROBE_SPEED_SLOW.
632
+ */
612 633
 
613
-// Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.
634
+/*   Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.  */
614 635
 //#define Z_PROBE_SLED
615
-//#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.
636
+//#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.
616 637
 
617
-//
618
-// Allen Key Probe is defined in the Delta example configurations.
619
-//
620
-
621
-// Z Probe to nozzle (X,Y) offset, relative to (0, 0).
622
-// X and Y offsets must be integers.
623
-//
624
-// In the following example the X and Y offsets are both positive:
625
-// #define X_PROBE_OFFSET_FROM_EXTRUDER 10
626
-// #define Y_PROBE_OFFSET_FROM_EXTRUDER 10
627
-//
628
-//    +-- BACK ---+
629
-//    |           |
630
-//  L |    (+) P  | R <-- probe (20,20)
631
-//  E |           | I
632
-//  F | (-) N (+) | G <-- nozzle (10,10)
633
-//  T |           | H
634
-//    |    (-)    | T
635
-//    |           |
636
-//    O-- FRONT --+
637
-//  (0,0)
638
+/**
639
+ *   Z Probe to nozzle (X,Y) offset, relative to (0, 0).
640
+ *   X and Y offsets must be integers.
641
+ *
642
+ *   In the following example the X and Y offsets are both positive:
643
+ *   #define X_PROBE_OFFSET_FROM_EXTRUDER 10
644
+ *   #define Y_PROBE_OFFSET_FROM_EXTRUDER 10
645
+ *
646
+ *      +-- BACK ---+
647
+ *      |           |
648
+ *    L |    (+) P  | R <-- probe (20,20)
649
+ *    E |           | I
650
+ *    F | (-) N (+) | G <-- nozzle (10,10)
651
+ *    T |           | H
652
+ *      |    (-)    | T
653
+ *      |           |
654
+ *      O-- FRONT --+
655
+ *    (0,0)
656
+ */
638 657
 #define X_PROBE_OFFSET_FROM_EXTRUDER 0     // X offset: -left  +right  [of the nozzle]
639 658
 #define Y_PROBE_OFFSET_FROM_EXTRUDER -10   // Y offset: -front +behind [the nozzle]
640 659
 #define Z_PROBE_OFFSET_FROM_EXTRUDER -3.5  // Z offset: -below +above  [the nozzle]
641 660
 
642
-// X and Y axis travel speed (mm/m) between probes
661
+/*   X and Y axis travel speed (mm/m) between probes */
643 662
 #define XY_PROBE_SPEED 4000
644
-// Speed for the first approach when double-probing (with PROBE_DOUBLE_TOUCH)
663
+
664
+/*   Speed for the first approach when double-probing (with PROBE_DOUBLE_TOUCH) */
645 665
 #define Z_PROBE_SPEED_FAST HOMING_FEEDRATE_Z
646
-// Speed for the "accurate" probe of each point
666
+
667
+/*   Speed for the "accurate" probe of each point  */
647 668
 #define Z_PROBE_SPEED_SLOW (Z_PROBE_SPEED_FAST / 2)
648
-// Use double touch for probing
669
+
670
+/*   Use double touch for probing  */
649 671
 //#define PROBE_DOUBLE_TOUCH
650 672
 
651
-// Allen key retractable z-probe as seen on many Kossel delta printers - http://reprap.org/wiki/Kossel#Automatic_bed_leveling_probe
652
-// Deploys by touching z-axis belt. Retracts by pushing the probe down. Uses Z_MIN_PIN.
673
+/**
674
+ * Allen key retractable z-probe as seen on many Kossel delta printers - http://reprap.org/wiki/Kossel#Automatic_bed_leveling_probe
675
+ * Deploys by touching z-axis belt. Retracts by pushing the probe down. Uses Z_MIN_PIN.
676
+ */
653 677
 #define Z_PROBE_ALLEN_KEY
654 678
 
655 679
 #if ENABLED(Z_PROBE_ALLEN_KEY)
@@ -696,49 +720,66 @@
696 720
 
697 721
 #endif // Z_PROBE_ALLEN_KEY
698 722
 
699
-// *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
700
-//
701
-// To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING.
702
-// Example: To park the head outside the bed area when homing with G28.
703
-//
704
-// To use a separate Z probe, your board must define a Z_MIN_PROBE_PIN.
705
-//
706
-// For a servo-based Z probe, just set Z_ENDSTOP_SERVO_NR and Z_SERVO_ANGLES above.
707
-//
708
-// - RAMPS 1.3/1.4 boards may be able to use the 5V, GND, and Aux4->D32 pin.
709
-// - Use 5V for powered (usu. inductive) sensors.
710
-// - Otherwise connect:
711
-//   - normally-closed switches to GND and D32.
712
-//   - normally-open switches to 5V and D32.
713
-//
714
-// Normally-closed switches are advised and are the default.
715
-//
716
-
717
-//
718
-// The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.)
719
-// Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the
720
-// default pin for all RAMPS-based boards. Most boards use the X_MAX_PIN by default.
721
-// To use a different pin you can override it here.
722
-//
723
-// WARNING:
724
-// Setting the wrong pin may have unexpected and potentially disastrous consequences.
725
-// Use with caution and do your homework.
726
-//
727
-//#define Z_MIN_PROBE_PIN X_MAX_PIN
723
+/**
724
+ *
725
+ *   *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
726
+ *
727
+ *   - RAMPS 1.3/1.4 boards may be able to use the 5V, GND, and Aux4->D32 pin.
728
+ *   - Use 5V for powered (usu. inductive) sensors.
729
+ *   - Otherwise connect:
730
+ *     - normally-closed switches to GND and D32.
731
+ *     - normally-open switches to 5V and D32.
732
+ *
733
+ *   Normally-closed switches are advised and are the default.
734
+ *
735
+ *
736
+ *   PIN OPTIONS\SETUP FOR Z PROBES
737
+ *
738
+ *
739
+ *   WARNING:
740
+ *   Setting the wrong pin may have unexpected and potentially disastrous consequences.
741
+ *   Use with caution and do your homework.
742
+ *
743
+ *
744
+ *   All Z PROBE pin options are configured by defining (or not defining)
745
+ *   the following five items:
746
+ *       Z_MIN_PROBE_ENDSTOP – defined below
747
+ *       Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN – defined below
748
+ *       Z_MIN_PIN - defined in the pins_YOUR_BOARD.h file
749
+ *       Z_MIN_PROBE_PIN - defined in the pins_YOUR_BOARD.h file
750
+ *
751
+ *   If you're using a probe then you need to tell Marlin which pin to use as
752
+ *   the Z MIN ENDSTOP.  Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN determines if the
753
+ *   Z_MIN_PIN or if the Z_MIN_PROBE_PIN is used.
754
+ *
755
+ *   The pin selected for the probe is ONLY checked during probing operations.
756
+ *   If you want to use the Z_MIN_PIN as an endstop AND you want to have a Z PROBE
757
+ *   then you’ll need to use the Z_MIN_PROBE_PIN option.
758
+ *
759
+ *   Z_MIN_PROBE_ENDSTOP also needs to be enabled if you want to use Z_MIN_PROBE_PIN.
760
+ *
761
+ *   The settings needed to use the Z_MIN_PROBE_PIN are:
762
+ *       1. select the type of probe you're using
763
+ *       2. define Z_MIN_PROBE_PIN in your pins_YOUR_BOARD.h file
764
+ *       3. disable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
765
+ *       4. enable Z_MIN_PROBE_ENDSTOP
766
+ *   NOTE – if Z_MIN_PIN is defined then it’ll be checked during all moves in the
767
+ *          negative Z direction.
768
+ *
769
+ *   The settings needed to use the Z_MIN_PIN are:
770
+ *       1. select the type of probe you're using
771
+ *       2. enable Z_MIN _PIN in your pins_YOUR_BOARD.h file
772
+ *       3. enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
773
+ *       4. disable Z_MIN_PROBE_ENDSTOP
774
+ *   NOTES – if Z_MIN_PROBE_PIN is defined in the pins_YOUR_BOARD.h file then it’ll be
775
+ *          ignored by Marlin
776
+ */
728 777
 
729
-//
730
-// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
731
-// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
732
-//
733 778
 //#define Z_MIN_PROBE_ENDSTOP
734
-
735
-// Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE.
736
-// The Z_MIN_PIN will then be used for both Z-homing and probing.
737 779
 #define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
738 780
 
739
-// To use a probe you must enable one of the two options above!
740 781
 
741
-// Enable Z Probe Repeatability test to see how accurate your probe is
782
+/* Enable Z Probe Repeatability test to see how accurate your probe is  */
742 783
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
743 784
 
744 785
 /**
@@ -758,12 +799,11 @@
758 799
 #define Z_CLEARANCE_DEPLOY_PROBE   50 // Z Clearance for Deploy/Stow
759 800
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
760 801
 
761
-//
762
-// For M851 give a range for adjusting the Z probe offset
763
-//
802
+/* For M851 give a range for adjusting the Z probe offset */
764 803
 #define Z_PROBE_OFFSET_RANGE_MIN -20
765 804
 #define Z_PROBE_OFFSET_RANGE_MAX 20
766 805
 
806
+
767 807
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
768 808
 // :{ 0:'Low', 1:'High' }
769 809
 #define X_ENABLE_ON 0

+ 147
- 99
Marlin/example_configurations/delta/kossel_pro/Configuration.h Vedi File

@@ -569,83 +569,115 @@
569 569
 #define DEFAULT_EJERK                  5.0
570 570
 
571 571
 
572
-//===========================================================================
573
-//============================= Z Probe Options =============================
574
-//===========================================================================
575
-// @section probes
576
-
577
-//
578
-// Probe Type
579
-// Probes are sensors/switches that are activated / deactivated before/after use.
580
-//
581
-// Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
582
-// You must activate one of these to use Auto Bed Leveling below.
583
-//
584
-// Use M851 to set the Z probe vertical offset from the nozzle. Store with M500.
585
-//
572
+/**
573
+ * ===========================================================================
574
+ * ============================= Z Probe Options =============================
575
+ * ===========================================================================
576
+ *    @section probes
577
+ *
578
+ *
579
+ *   Probe Type
580
+ *   Probes are sensors/switches that are activated / deactivated before/after use.
581
+ *
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.
584
+ *
585
+ *   Use M851 to set the Z probe vertical offset from the nozzle. Store with M500.
586
+ */
586 587
 
587
-// The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe.
588
-// Use G29 repeatedly, adjusting the Z height at each point with movement commands
589
-// or (with LCD_BED_LEVELING) the LCD controller.
588
+/**
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.
592
+ */
590 593
 //#define PROBE_MANUALLY
591 594
 
592
-// A Fix-Mounted Probe either doesn't deploy or needs manual deployment.
593
-// For example an inductive probe, or a setup that uses the nozzle to probe.
594
-// An inductive probe must be deactivated to go below
595
-// its trigger-point if hardware endstops are active.
595
+/**
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.
600
+ */
596 601
 //#define FIX_MOUNTED_PROBE
597 602
 
598
-// The BLTouch probe emulates a servo probe.
599
-// The default connector is SERVO 0. Set Z_ENDSTOP_SERVO_NR below to override.
603
+/**
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.
607
+ */
608
+//#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
609
+//#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
610
+
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
+ */
600 617
 //#define BLTOUCH
601 618
 //#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
602 619
 
603
-// Z Servo Probe, such as an endstop switch on a rotating arm.
604
-//#define Z_ENDSTOP_SERVO_NR 0
605
-//#define Z_SERVO_ANGLES {70,0} // Z Servo Deploy and Stow angles
620
+/**
621
+ *   BLTouch WARNING  -  ONLY APPLIES TO VERSIONS OF MARLIN BEFORE 15 FEB 2017
622
+ *   Unless using interrupt endstops, there is a MINIMUM feedrate for Marlin to reliably
623
+ *   sense the BLTouch.  If the feedrate is too slow then G28 & G29 can sometimes result
624
+ *   in the print head being driven into the bed until manual intervention.
625
+ *   The minimum feedrate calculation is:
626
+ *
627
+ *     feedrate minimum =  24000 / DEFAULT_AXIS_STEPS_PER_UNIT
628
+ *        where feedrate is in "mm/minute" or "inches/minute" depending on the units used
629
+ *        in DEFAULT_AXIS_STEPS_PER_UNIT
630
+ *
631
+ *   This applies to the HOMING_FEEDRATE_Z and Z_PROBE_SPEED_FAST.  If PROBE_DOUBLE_TOUCH
632
+ *   is enabled then it also applies to Z_PROBE_SPEED_SLOW.
633
+ */
606 634
 
607
-// Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.
635
+/*   Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.  */
608 636
 //#define Z_PROBE_SLED
609
-//#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.
610
-
611
-//
612
-// Allen Key Probe is defined in the Delta example configurations.
613
-//
637
+//#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.
614 638
 
615
-// Z Probe to nozzle (X,Y) offset, relative to (0, 0).
616
-// X and Y offsets must be integers.
617
-//
618
-// In the following example the X and Y offsets are both positive:
619
-// #define X_PROBE_OFFSET_FROM_EXTRUDER 10
620
-// #define Y_PROBE_OFFSET_FROM_EXTRUDER 10
621
-//
622
-//    +-- BACK ---+
623
-//    |           |
624
-//  L |    (+) P  | R <-- probe (20,20)
625
-//  E |           | I
626
-//  F | (-) N (+) | G <-- nozzle (10,10)
627
-//  T |           | H
628
-//    |    (-)    | T
629
-//    |           |
630
-//    O-- FRONT --+
631
-//  (0,0)
639
+/**
640
+ *   Z Probe to nozzle (X,Y) offset, relative to (0, 0).
641
+ *   X and Y offsets must be integers.
642
+ *
643
+ *   In the following example the X and Y offsets are both positive:
644
+ *   #define X_PROBE_OFFSET_FROM_EXTRUDER 10
645
+ *   #define Y_PROBE_OFFSET_FROM_EXTRUDER 10
646
+ *
647
+ *      +-- BACK ---+
648
+ *      |           |
649
+ *    L |    (+) P  | R <-- probe (20,20)
650
+ *    E |           | I
651
+ *    F | (-) N (+) | G <-- nozzle (10,10)
652
+ *    T |           | H
653
+ *      |    (-)    | T
654
+ *      |           |
655
+ *      O-- FRONT --+
656
+ *    (0,0)
657
+ */
632 658
 #define X_PROBE_OFFSET_FROM_EXTRUDER -23 // KosselPro actual: -22.919
633 659
 #define Y_PROBE_OFFSET_FROM_EXTRUDER -6  // KosselPro actual: -6.304
634
-// Kossel Pro note: The correct value is likely -17.45 but I'd rather err on the side of
635
-// not giving someone a head crash. Use something like G29 Z-0.2 to adjust as needed.
660
+/**
661
+ * Kossel Pro note: The correct value is likely -17.45 but I'd rather err on the side of
662
+ * not giving someone a head crash. Use something like G29 Z-0.2 to adjust as needed.
663
+ */
636 664
 #define Z_PROBE_OFFSET_FROM_EXTRUDER -17.25  // Increase this if the first layer is too thin (remember: it's a negative number so increase means closer to zero).
637
-
638
-// X and Y axis travel speed (mm/m) between probes
665
+/*   X and Y axis travel speed (mm/m) between probes */
639 666
 #define XY_PROBE_SPEED 8000
640
-// Speed for the first approach when double-probing (with PROBE_DOUBLE_TOUCH)
667
+
668
+/*   Speed for the first approach when double-probing (with PROBE_DOUBLE_TOUCH) */
641 669
 #define Z_PROBE_SPEED_FAST HOMING_FEEDRATE_Z
642
-// Speed for the "accurate" probe of each point
670
+
671
+/*   Speed for the "accurate" probe of each point  */
643 672
 #define Z_PROBE_SPEED_SLOW (Z_PROBE_SPEED_FAST / 2)
644
-// Use double touch for probing
673
+
674
+/*   Use double touch for probing  */
645 675
 //#define PROBE_DOUBLE_TOUCH
646 676
 
647
-// Allen key retractable z-probe as seen on many Kossel delta printers - http://reprap.org/wiki/Kossel#Automatic_bed_leveling_probe
648
-// Deploys by touching z-axis belt. Retracts by pushing the probe down. Uses Z_MIN_PIN.
677
+/**
678
+ * Allen key retractable z-probe as seen on many Kossel delta printers - http://reprap.org/wiki/Kossel#Automatic_bed_leveling_probe
679
+ * Deploys by touching z-axis belt. Retracts by pushing the probe down. Uses Z_MIN_PIN.
680
+ */
649 681
 #define Z_PROBE_ALLEN_KEY
650 682
 
651 683
 #if ENABLED(Z_PROBE_ALLEN_KEY)
@@ -695,49 +727,66 @@
695 727
 
696 728
 #endif // Z_PROBE_ALLEN_KEY
697 729
 
698
-// *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
699
-//
700
-// To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING.
701
-// Example: To park the head outside the bed area when homing with G28.
702
-//
703
-// To use a separate Z probe, your board must define a Z_MIN_PROBE_PIN.
704
-//
705
-// For a servo-based Z probe, just set Z_ENDSTOP_SERVO_NR and Z_SERVO_ANGLES above.
706
-//
707
-// - RAMPS 1.3/1.4 boards may be able to use the 5V, GND, and Aux4->D32 pin.
708
-// - Use 5V for powered (usu. inductive) sensors.
709
-// - Otherwise connect:
710
-//   - normally-closed switches to GND and D32.
711
-//   - normally-open switches to 5V and D32.
712
-//
713
-// Normally-closed switches are advised and are the default.
714
-//
715
-
716
-//
717
-// The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.)
718
-// Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the
719
-// default pin for all RAMPS-based boards. Most boards use the X_MAX_PIN by default.
720
-// To use a different pin you can override it here.
721
-//
722
-// WARNING:
723
-// Setting the wrong pin may have unexpected and potentially disastrous consequences.
724
-// Use with caution and do your homework.
725
-//
726
-//#define Z_MIN_PROBE_PIN X_MAX_PIN
730
+/**
731
+ *
732
+ *   *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
733
+ *
734
+ *   - RAMPS 1.3/1.4 boards may be able to use the 5V, GND, and Aux4->D32 pin.
735
+ *   - Use 5V for powered (usu. inductive) sensors.
736
+ *   - Otherwise connect:
737
+ *     - normally-closed switches to GND and D32.
738
+ *     - normally-open switches to 5V and D32.
739
+ *
740
+ *   Normally-closed switches are advised and are the default.
741
+ *
742
+ *
743
+ *   PIN OPTIONS\SETUP FOR Z PROBES
744
+ *
745
+ *
746
+ *   WARNING:
747
+ *   Setting the wrong pin may have unexpected and potentially disastrous consequences.
748
+ *   Use with caution and do your homework.
749
+ *
750
+ *
751
+ *   All Z PROBE pin options are configured by defining (or not defining)
752
+ *   the following five items:
753
+ *       Z_MIN_PROBE_ENDSTOP – defined below
754
+ *       Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN – defined below
755
+ *       Z_MIN_PIN - defined in the pins_YOUR_BOARD.h file
756
+ *       Z_MIN_PROBE_PIN - defined in the pins_YOUR_BOARD.h file
757
+ *
758
+ *   If you're using a probe then you need to tell Marlin which pin to use as
759
+ *   the Z MIN ENDSTOP.  Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN determines if the
760
+ *   Z_MIN_PIN or if the Z_MIN_PROBE_PIN is used.
761
+ *
762
+ *   The pin selected for the probe is ONLY checked during probing operations.
763
+ *   If you want to use the Z_MIN_PIN as an endstop AND you want to have a Z PROBE
764
+ *   then you’ll need to use the Z_MIN_PROBE_PIN option.
765
+ *
766
+ *   Z_MIN_PROBE_ENDSTOP also needs to be enabled if you want to use Z_MIN_PROBE_PIN.
767
+ *
768
+ *   The settings needed to use the Z_MIN_PROBE_PIN are:
769
+ *       1. select the type of probe you're using
770
+ *       2. define Z_MIN_PROBE_PIN in your pins_YOUR_BOARD.h file
771
+ *       3. disable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
772
+ *       4. enable Z_MIN_PROBE_ENDSTOP
773
+ *   NOTE – if Z_MIN_PIN is defined then it’ll be checked during all moves in the
774
+ *          negative Z direction.
775
+ *
776
+ *   The settings needed to use the Z_MIN_PIN are:
777
+ *       1. select the type of probe you're using
778
+ *       2. enable Z_MIN _PIN in your pins_YOUR_BOARD.h file
779
+ *       3. enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
780
+ *       4. disable Z_MIN_PROBE_ENDSTOP
781
+ *   NOTES – if Z_MIN_PROBE_PIN is defined in the pins_YOUR_BOARD.h file then it’ll be
782
+ *          ignored by Marlin
783
+ */
727 784
 
728
-//
729
-// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
730
-// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
731
-//
732 785
 //#define Z_MIN_PROBE_ENDSTOP
733
-
734
-// Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE.
735
-// The Z_MIN_PIN will then be used for both Z-homing and probing.
736 786
 #define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
737 787
 
738
-// To use a probe you must enable one of the two options above!
739 788
 
740
-// Enable Z Probe Repeatability test to see how accurate your probe is
789
+/* Enable Z Probe Repeatability test to see how accurate your probe is  */
741 790
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
742 791
 
743 792
 /**
@@ -756,10 +805,9 @@
756 805
  */
757 806
 #define Z_CLEARANCE_DEPLOY_PROBE   100 // Z Clearance for Deploy/Stow
758 807
 #define Z_CLEARANCE_BETWEEN_PROBES   5 // Z Clearance between probe points
808
+ 
809
+/* For M851 give a range for adjusting the Z probe offset */
759 810
 
760
-//
761
-// For M851 give a range for adjusting the Z probe offset
762
-//
763 811
 #define Z_PROBE_OFFSET_RANGE_MIN -15
764 812
 #define Z_PROBE_OFFSET_RANGE_MAX   5
765 813
 

+ 142
- 96
Marlin/example_configurations/delta/kossel_xl/Configuration.h Vedi File

@@ -588,81 +588,112 @@
588 588
 #define DEFAULT_EJERK                 20.0
589 589
 
590 590
 
591
-//===========================================================================
592
-//============================= Z Probe Options =============================
593
-//===========================================================================
594
-// @section probes
595
-
596
-//
597
-// Probe Type
598
-// Probes are sensors/switches that are activated / deactivated before/after use.
599
-//
600
-// Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
601
-// You must activate one of these to use Auto Bed Leveling below.
602
-//
603
-// Use M851 to set the Z probe vertical offset from the nozzle. Store with M500.
604
-//
591
+/**
592
+ * ===========================================================================
593
+ * ============================= Z Probe Options =============================
594
+ * ===========================================================================
595
+ *    @section probes
596
+ *
597
+ *
598
+ *   Probe Type
599
+ *   Probes are sensors/switches that are activated / deactivated before/after use.
600
+ *
601
+ *   Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
602
+ *   You must activate one of these to use Auto Bed Leveling below.
603
+ *
604
+ *   Use M851 to set the Z probe vertical offset from the nozzle. Store with M500.
605
+ */
605 606
 
606
-// The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe.
607
-// Use G29 repeatedly, adjusting the Z height at each point with movement commands
608
-// or (with LCD_BED_LEVELING) the LCD controller.
607
+/**
608
+ *   The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe.
609
+ *   Use G29 repeatedly, adjusting the Z height at each point with movement commands
610
+ *   or (with LCD_BED_LEVELING) the LCD controller.
611
+ */
609 612
 //#define PROBE_MANUALLY
610 613
 
611
-// A Fix-Mounted Probe either doesn't deploy or needs manual deployment.
612
-// For example an inductive probe, or a setup that uses the nozzle to probe.
613
-// An inductive probe must be deactivated to go below
614
-// its trigger-point if hardware endstops are active.
614
+/**
615
+ *   A Fix-Mounted Probe either doesn't deploy or needs manual deployment.
616
+ *   For example an inductive probe, or a setup that uses the nozzle to probe.
617
+ *   An inductive probe must be deactivated to go below
618
+ *   its trigger-point if hardware endstops are active.
619
+ */
615 620
 #define FIX_MOUNTED_PROBE
616 621
 
617
-// The BLTouch probe emulates a servo probe.
618
-// The default connector is SERVO 0. Set Z_ENDSTOP_SERVO_NR below to override.
622
+/**
623
+ *   Z Servo Probe, such as an endstop switch on a rotating arm.
624
+ *   NUM_SERVOS also needs to be set.  This is found later in this file.  Set it to
625
+ *   1 + the number of other servos in your system.
626
+ */
627
+//#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
628
+//#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
629
+
630
+ /**
631
+ *   The BLTouch probe emulates a servo probe.
632
+ *   If using a BLTouch then NUM_SERVOS, Z_ENDSTOP_SERVO_NR and Z_SERVO_ANGLES
633
+ *   are setup for you in the background and you shouldn't need to set/modify/enable them
634
+ *   with the possible exception of Z_ENDSTOP_SERVO_NR.
635
+ */
619 636
 //#define BLTOUCH
620 637
 //#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
621 638
 
622
-// Z Servo Probe, such as an endstop switch on a rotating arm.
623
-//#define Z_ENDSTOP_SERVO_NR 0
624
-//#define Z_SERVO_ANGLES {70,0} // Z Servo Deploy and Stow angles
639
+/**
640
+ *   BLTouch WARNING  -  ONLY APPLIES TO VERSIONS OF MARLIN BEFORE 15 FEB 2017
641
+ *   Unless using interrupt endstops, there is a MINIMUM feedrate for Marlin to reliably
642
+ *   sense the BLTouch.  If the feedrate is too slow then G28 & G29 can sometimes result
643
+ *   in the print head being driven into the bed until manual intervention.
644
+ *   The minimum feedrate calculation is:
645
+ *
646
+ *     feedrate minimum =  24000 / DEFAULT_AXIS_STEPS_PER_UNIT
647
+ *        where feedrate is in "mm/minute" or "inches/minute" depending on the units used
648
+ *        in DEFAULT_AXIS_STEPS_PER_UNIT
649
+ *
650
+ *   This applies to the HOMING_FEEDRATE_Z and Z_PROBE_SPEED_FAST.  If PROBE_DOUBLE_TOUCH
651
+ *   is enabled then it also applies to Z_PROBE_SPEED_SLOW.
652
+ */
625 653
 
626
-// Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.
654
+/*   Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.  */
627 655
 //#define Z_PROBE_SLED
628
-//#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.
629
-
630
-//
631
-// Allen Key Probe is defined in the Delta example configurations.
632
-//
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.
633 657
 
634
-// Z Probe to nozzle (X,Y) offset, relative to (0, 0).
635
-// X and Y offsets must be integers.
636
-//
637
-// In the following example the X and Y offsets are both positive:
638
-// #define X_PROBE_OFFSET_FROM_EXTRUDER 10
639
-// #define Y_PROBE_OFFSET_FROM_EXTRUDER 10
640
-//
641
-//    +-- BACK ---+
642
-//    |           |
643
-//  L |    (+) P  | R <-- probe (20,20)
644
-//  E |           | I
645
-//  F | (-) N (+) | G <-- nozzle (10,10)
646
-//  T |           | H
647
-//    |    (-)    | T
648
-//    |           |
649
-//    O-- FRONT --+
650
-//  (0,0)
658
+/**
659
+ *   Z Probe to nozzle (X,Y) offset, relative to (0, 0).
660
+ *   X and Y offsets must be integers.
661
+ *
662
+ *   In the following example the X and Y offsets are both positive:
663
+ *   #define X_PROBE_OFFSET_FROM_EXTRUDER 10
664
+ *   #define Y_PROBE_OFFSET_FROM_EXTRUDER 10
665
+ *
666
+ *      +-- BACK ---+
667
+ *      |           |
668
+ *    L |    (+) P  | R <-- probe (20,20)
669
+ *    E |           | I
670
+ *    F | (-) N (+) | G <-- nozzle (10,10)
671
+ *    T |           | H
672
+ *      |    (-)    | T
673
+ *      |           |
674
+ *      O-- FRONT --+
675
+ *    (0,0)
676
+ */
651 677
 #define X_PROBE_OFFSET_FROM_EXTRUDER 0.0     // Z probe to nozzle X offset: -left  +right
652 678
 #define Y_PROBE_OFFSET_FROM_EXTRUDER 0.0     // Z probe to nozzle Y offset: -front +behind
653 679
 #define Z_PROBE_OFFSET_FROM_EXTRUDER 0.3     // Z probe to nozzle Z offset: -below (always!)
654 680
 
655
-// X and Y axis travel speed (mm/m) between probes
681
+/*   X and Y axis travel speed (mm/m) between probes */
656 682
 #define XY_PROBE_SPEED 8000
657
-// Speed for the first approach when double-probing (with PROBE_DOUBLE_TOUCH)
683
+
684
+/*   Speed for the first approach when double-probing (with PROBE_DOUBLE_TOUCH) */
658 685
 #define Z_PROBE_SPEED_FAST HOMING_FEEDRATE_Z
659
-// Speed for the "accurate" probe of each point
686
+
687
+/*   Speed for the "accurate" probe of each point  */
660 688
 #define Z_PROBE_SPEED_SLOW (Z_PROBE_SPEED_FAST / 2)
661
-// Use double touch for probing
689
+
690
+/*   Use double touch for probing  */
662 691
 //#define PROBE_DOUBLE_TOUCH
663 692
 
664
-// Allen key retractable z-probe as seen on many Kossel delta printers - http://reprap.org/wiki/Kossel#Automatic_bed_leveling_probe
665
-// Deploys by touching z-axis belt. Retracts by pushing the probe down. Uses Z_MIN_PIN.
693
+/**
694
+ * Allen key retractable z-probe as seen on many Kossel delta printers - http://reprap.org/wiki/Kossel#Automatic_bed_leveling_probe
695
+ * Deploys by touching z-axis belt. Retracts by pushing the probe down. Uses Z_MIN_PIN.
696
+ */
666 697
 //#define Z_PROBE_ALLEN_KEY
667 698
 
668 699
 #if ENABLED(Z_PROBE_ALLEN_KEY)
@@ -706,49 +737,65 @@
706 737
 
707 738
 #endif // Z_PROBE_ALLEN_KEY
708 739
 
709
-// *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
710
-//
711
-// To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING.
712
-// Example: To park the head outside the bed area when homing with G28.
713
-//
714
-// To use a separate Z probe, your board must define a Z_MIN_PROBE_PIN.
715
-//
716
-// For a servo-based Z probe, just set Z_ENDSTOP_SERVO_NR and Z_SERVO_ANGLES above.
717
-//
718
-// - RAMPS 1.3/1.4 boards may be able to use the 5V, GND, and Aux4->D32 pin.
719
-// - Use 5V for powered (usu. inductive) sensors.
720
-// - Otherwise connect:
721
-//   - normally-closed switches to GND and D32.
722
-//   - normally-open switches to 5V and D32.
723
-//
724
-// Normally-closed switches are advised and are the default.
725
-//
726
-
727
-//
728
-// The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.)
729
-// Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the
730
-// default pin for all RAMPS-based boards. Most boards use the X_MAX_PIN by default.
731
-// To use a different pin you can override it here.
732
-//
733
-// WARNING:
734
-// Setting the wrong pin may have unexpected and potentially disastrous consequences.
735
-// Use with caution and do your homework.
736
-//
737
-//#define Z_MIN_PROBE_PIN X_MAX_PIN
740
+/**
741
+ *   *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
742
+ *
743
+ *   - RAMPS 1.3/1.4 boards may be able to use the 5V, GND, and Aux4->D32 pin.
744
+ *   - Use 5V for powered (usu. inductive) sensors.
745
+ *   - Otherwise connect:
746
+ *     - normally-closed switches to GND and D32.
747
+ *     - normally-open switches to 5V and D32.
748
+ *
749
+ *   Normally-closed switches are advised and are the default.
750
+ *
751
+ *
752
+ *   PIN OPTIONS\SETUP FOR Z PROBES
753
+ *
754
+ *
755
+ *   WARNING:
756
+ *   Setting the wrong pin may have unexpected and potentially disastrous consequences.
757
+ *   Use with caution and do your homework.
758
+ *
759
+ *
760
+ *   All Z PROBE pin options are configured by defining (or not defining)
761
+ *   the following five items:
762
+ *       Z_MIN_PROBE_ENDSTOP – defined below
763
+ *       Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN – defined below
764
+ *       Z_MIN_PIN - defined in the pins_YOUR_BOARD.h file
765
+ *       Z_MIN_PROBE_PIN - defined in the pins_YOUR_BOARD.h file
766
+ *
767
+ *   If you're using a probe then you need to tell Marlin which pin to use as
768
+ *   the Z MIN ENDSTOP.  Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN determines if the
769
+ *   Z_MIN_PIN or if the Z_MIN_PROBE_PIN is used.
770
+ *
771
+ *   The pin selected for the probe is ONLY checked during probing operations.
772
+ *   If you want to use the Z_MIN_PIN as an endstop AND you want to have a Z PROBE
773
+ *   then you’ll need to use the Z_MIN_PROBE_PIN option.
774
+ *
775
+ *   Z_MIN_PROBE_ENDSTOP also needs to be enabled if you want to use Z_MIN_PROBE_PIN.
776
+ *
777
+ *   The settings needed to use the Z_MIN_PROBE_PIN are:
778
+ *       1. select the type of probe you're using
779
+ *       2. define Z_MIN_PROBE_PIN in your pins_YOUR_BOARD.h file
780
+ *       3. disable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
781
+ *       4. enable Z_MIN_PROBE_ENDSTOP
782
+ *   NOTE – if Z_MIN_PIN is defined then it’ll be checked during all moves in the
783
+ *          negative Z direction.
784
+ *
785
+ *   The settings needed to use the Z_MIN_PIN are:
786
+ *       1. select the type of probe you're using
787
+ *       2. enable Z_MIN _PIN in your pins_YOUR_BOARD.h file
788
+ *       3. enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
789
+ *       4. disable Z_MIN_PROBE_ENDSTOP
790
+ *   NOTES – if Z_MIN_PROBE_PIN is defined in the pins_YOUR_BOARD.h file then it’ll be
791
+ *          ignored by Marlin
792
+ */
738 793
 
739
-//
740
-// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
741
-// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
742
-//
743 794
 #define Z_MIN_PROBE_ENDSTOP
744
-
745
-// Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE.
746
-// The Z_MIN_PIN will then be used for both Z-homing and probing.
747 795
 //#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
748 796
 
749
-// To use a probe you must enable one of the two options above!
750 797
 
751
-// Enable Z Probe Repeatability test to see how accurate your probe is
798
+/* Enable Z Probe Repeatability test to see how accurate your probe is  */
752 799
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
753 800
 
754 801
 /**
@@ -768,12 +815,11 @@
768 815
 #define Z_CLEARANCE_DEPLOY_PROBE   20 // Z Clearance for Deploy/Stow
769 816
 #define Z_CLEARANCE_BETWEEN_PROBES 10 // Z Clearance between probe points
770 817
 
771
-//
772
-// For M851 give a range for adjusting the Z probe offset
773
-//
818
+/* For M851 give a range for adjusting the Z probe offset */
774 819
 #define Z_PROBE_OFFSET_RANGE_MIN -20
775 820
 #define Z_PROBE_OFFSET_RANGE_MAX 20
776 821
 
822
+
777 823
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
778 824
 // :{ 0:'Low', 1:'High' }
779 825
 #define X_ENABLE_ON 0

+ 141
- 94
Marlin/example_configurations/makibox/Configuration.h Vedi File

@@ -533,122 +533,170 @@
533 533
 #define DEFAULT_EJERK                  5.0
534 534
 
535 535
 
536
-//===========================================================================
537
-//============================= Z Probe Options =============================
538
-//===========================================================================
539
-// @section probes
540
-
541
-//
542
-// Probe Type
543
-// Probes are sensors/switches that are activated / deactivated before/after use.
544
-//
545
-// Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
546
-// You must activate one of these to use Auto Bed Leveling below.
547
-//
548
-// Use M851 to set the Z probe vertical offset from the nozzle. Store with M500.
549
-//
536
+/**
537
+ * ===========================================================================
538
+ * ============================= Z Probe Options =============================
539
+ * ===========================================================================
540
+ *    @section probes
541
+ *
542
+ *
543
+ *   Probe Type
544
+ *   Probes are sensors/switches that are activated / deactivated before/after use.
545
+ *
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.
548
+ *
549
+ *   Use M851 to set the Z probe vertical offset from the nozzle. Store with M500.
550
+ */
550 551
 
551
-// The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe.
552
-// Use G29 repeatedly, adjusting the Z height at each point with movement commands
553
-// or (with LCD_BED_LEVELING) the LCD controller.
552
+/**
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.
556
+ */
554 557
 //#define PROBE_MANUALLY
555 558
 
556
-// A Fix-Mounted Probe either doesn't deploy or needs manual deployment.
557
-// For example an inductive probe, or a setup that uses the nozzle to probe.
558
-// An inductive probe must be deactivated to go below
559
-// its trigger-point if hardware endstops are active.
559
+/**
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.
564
+ */
560 565
 //#define FIX_MOUNTED_PROBE
561 566
 
562
-// The BLTouch probe emulates a servo probe.
563
-// The default connector is SERVO 0. Set Z_ENDSTOP_SERVO_NR below to override.
567
+/**
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.
571
+ */
572
+//#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
573
+//#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
574
+
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
+ */
564 581
 //#define BLTOUCH
565 582
 //#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
566 583
 
567
-// Z Servo Probe, such as an endstop switch on a rotating arm.
568
-//#define Z_ENDSTOP_SERVO_NR 0
569
-//#define Z_SERVO_ANGLES {70,0} // Z Servo Deploy and Stow angles
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
+ */
570 598
 
571
-// Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.
599
+/*   Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.  */
572 600
 //#define Z_PROBE_SLED
573
-//#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
-
575
-//
576
-// Allen Key Probe is defined in the Delta example configurations.
577
-//
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.
578 602
 
579
-// Z Probe to nozzle (X,Y) offset, relative to (0, 0).
580
-// X and Y offsets must be integers.
581
-//
582
-// In the following example the X and Y offsets are both positive:
583
-// #define X_PROBE_OFFSET_FROM_EXTRUDER 10
584
-// #define Y_PROBE_OFFSET_FROM_EXTRUDER 10
585
-//
586
-//    +-- BACK ---+
587
-//    |           |
588
-//  L |    (+) P  | R <-- probe (20,20)
589
-//  E |           | I
590
-//  F | (-) N (+) | G <-- nozzle (10,10)
591
-//  T |           | H
592
-//    |    (-)    | T
593
-//    |           |
594
-//    O-- FRONT --+
595
-//  (0,0)
603
+/**
604
+ *   Z Probe to nozzle (X,Y) offset, relative to (0, 0).
605
+ *   X and Y offsets must be integers.
606
+ *
607
+ *   In the following example the X and Y offsets are both positive:
608
+ *   #define X_PROBE_OFFSET_FROM_EXTRUDER 10
609
+ *   #define Y_PROBE_OFFSET_FROM_EXTRUDER 10
610
+ *
611
+ *      +-- BACK ---+
612
+ *      |           |
613
+ *    L |    (+) P  | R <-- probe (20,20)
614
+ *    E |           | I
615
+ *    F | (-) N (+) | G <-- nozzle (10,10)
616
+ *    T |           | H
617
+ *      |    (-)    | T
618
+ *      |           |
619
+ *      O-- FRONT --+
620
+ *    (0,0)
621
+ */
596 622
 #define X_PROBE_OFFSET_FROM_EXTRUDER -25     // X offset: -left  +right  [of the nozzle]
597 623
 #define Y_PROBE_OFFSET_FROM_EXTRUDER -29     // Y offset: -front +behind [the nozzle]
598 624
 #define Z_PROBE_OFFSET_FROM_EXTRUDER -12.35  // Z offset: -below +above  [the nozzle]
599 625
 
600
-// X and Y axis travel speed (mm/m) between probes
626
+/*   X and Y axis travel speed (mm/m) between probes */
601 627
 #define XY_PROBE_SPEED 8000
602
-// Speed for the first approach when double-probing (with PROBE_DOUBLE_TOUCH)
628
+
629
+/*   Speed for the first approach when double-probing (with PROBE_DOUBLE_TOUCH) */
603 630
 #define Z_PROBE_SPEED_FAST HOMING_FEEDRATE_Z
604
-// Speed for the "accurate" probe of each point
631
+
632
+/*   Speed for the "accurate" probe of each point  */
605 633
 #define Z_PROBE_SPEED_SLOW (Z_PROBE_SPEED_FAST / 2)
606
-// Use double touch for probing
607
-//#define PROBE_DOUBLE_TOUCH
608 634
 
609
-// *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
610
-//
611
-// To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING.
612
-// Example: To park the head outside the bed area when homing with G28.
613
-//
614
-// To use a separate Z probe, your board must define a Z_MIN_PROBE_PIN.
615
-//
616
-// For a servo-based Z probe, just set Z_ENDSTOP_SERVO_NR and Z_SERVO_ANGLES above.
617
-//
618
-// - RAMPS 1.3/1.4 boards may be able to use the 5V, GND, and Aux4->D32 pin.
619
-// - Use 5V for powered (usu. inductive) sensors.
620
-// - Otherwise connect:
621
-//   - normally-closed switches to GND and D32.
622
-//   - normally-open switches to 5V and D32.
623
-//
624
-// Normally-closed switches are advised and are the default.
625
-//
635
+/*   Use double touch for probing  */
636
+//#define PROBE_DOUBLE_TOUCH
626 637
 
627
-//
628
-// The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.)
629
-// Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the
630
-// default pin for all RAMPS-based boards. Most boards use the X_MAX_PIN by default.
631
-// To use a different pin you can override it here.
632
-//
633
-// WARNING:
634
-// Setting the wrong pin may have unexpected and potentially disastrous consequences.
635
-// Use with caution and do your homework.
636
-//
637
-//#define Z_MIN_PROBE_PIN X_MAX_PIN
638
+/**
639
+ *   Allen Key Probe is defined in the Delta example configurations.
640
+ *
641
+ *
642
+ *   *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
643
+ *
644
+ *   - RAMPS 1.3/1.4 boards may be able to use the 5V, GND, and Aux4->D32 pin.
645
+ *   - Use 5V for powered (usu. inductive) sensors.
646
+ *   - Otherwise connect:
647
+ *     - normally-closed switches to GND and D32.
648
+ *     - normally-open switches to 5V and D32.
649
+ *
650
+ *   Normally-closed switches are advised and are the default.
651
+ *
652
+ *
653
+ *   PIN OPTIONS\SETUP FOR Z PROBES
654
+ *
655
+ *
656
+ *   WARNING:
657
+ *   Setting the wrong pin may have unexpected and potentially disastrous consequences.
658
+ *   Use with caution and do your homework.
659
+ *
660
+ *
661
+ *   All Z PROBE pin options are configured by defining (or not defining)
662
+ *   the following five items:
663
+ *       Z_MIN_PROBE_ENDSTOP – defined below
664
+ *       Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN – defined below
665
+ *       Z_MIN_PIN - defined in the pins_YOUR_BOARD.h file
666
+ *       Z_MIN_PROBE_PIN - defined in the pins_YOUR_BOARD.h file
667
+ *
668
+ *   If you're using a probe then you need to tell Marlin which pin to use as
669
+ *   the Z MIN ENDSTOP.  Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN determines if the
670
+ *   Z_MIN_PIN or if the Z_MIN_PROBE_PIN is used.
671
+ *
672
+ *   The pin selected for the probe is ONLY checked during probing operations.
673
+ *   If you want to use the Z_MIN_PIN as an endstop AND you want to have a Z PROBE
674
+ *   then you’ll need to use the Z_MIN_PROBE_PIN option.
675
+ *
676
+ *   Z_MIN_PROBE_ENDSTOP also needs to be enabled if you want to use Z_MIN_PROBE_PIN.
677
+ *
678
+ *   The settings needed to use the Z_MIN_PROBE_PIN are:
679
+ *       1. select the type of probe you're using
680
+ *       2. define Z_MIN_PROBE_PIN in your pins_YOUR_BOARD.h file
681
+ *       3. disable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
682
+ *       4. enable Z_MIN_PROBE_ENDSTOP
683
+ *   NOTE – if Z_MIN_PIN is defined then it’ll be checked during all moves in the
684
+ *          negative Z direction.
685
+ *
686
+ *   The settings needed to use the Z_MIN_PIN are:
687
+ *       1. select the type of probe you're using
688
+ *       2. enable Z_MIN _PIN in your pins_YOUR_BOARD.h file
689
+ *       3. enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
690
+ *       4. disable Z_MIN_PROBE_ENDSTOP
691
+ *   NOTES – if Z_MIN_PROBE_PIN is defined in the pins_YOUR_BOARD.h file then it’ll be
692
+ *          ignored by Marlin
693
+ */
638 694
 
639
-//
640
-// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
641
-// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
642
-//
643 695
 //#define Z_MIN_PROBE_ENDSTOP
644
-
645
-// Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE.
646
-// The Z_MIN_PIN will then be used for both Z-homing and probing.
647 696
 #define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
648 697
 
649
-// To use a probe you must enable one of the two options above!
650 698
 
651
-// Enable Z Probe Repeatability test to see how accurate your probe is
699
+/* Enable Z Probe Repeatability test to see how accurate your probe is  */
652 700
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
653 701
 
654 702
 /**
@@ -668,12 +716,11 @@
668 716
 #define Z_CLEARANCE_DEPLOY_PROBE   15 // Z Clearance for Deploy/Stow
669 717
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
670 718
 
671
-//
672
-// For M851 give a range for adjusting the Z probe offset
673
-//
719
+/* For M851 give a range for adjusting the Z probe offset */
674 720
 #define Z_PROBE_OFFSET_RANGE_MIN -20
675 721
 #define Z_PROBE_OFFSET_RANGE_MAX 20
676 722
 
723
+
677 724
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
678 725
 // :{ 0:'Low', 1:'High' }
679 726
 #define X_ENABLE_ON 0

+ 141
- 94
Marlin/example_configurations/tvrrug/Round2/Configuration.h Vedi File

@@ -526,122 +526,170 @@
526 526
 #define DEFAULT_EJERK                  5.0
527 527
 
528 528
 
529
-//===========================================================================
530
-//============================= Z Probe Options =============================
531
-//===========================================================================
532
-// @section probes
533
-
534
-//
535
-// Probe Type
536
-// Probes are sensors/switches that are activated / deactivated before/after use.
537
-//
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.
540
-//
541
-// Use M851 to set the Z probe vertical offset from the nozzle. Store with M500.
542
-//
529
+/**
530
+ * ===========================================================================
531
+ * ============================= Z Probe Options =============================
532
+ * ===========================================================================
533
+ *    @section probes
534
+ *
535
+ *
536
+ *   Probe Type
537
+ *   Probes are sensors/switches that are activated / deactivated before/after use.
538
+ *
539
+ *   Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
540
+ *   You must activate one of these to use Auto Bed Leveling below.
541
+ *
542
+ *   Use M851 to set the Z probe vertical offset from the nozzle. Store with M500.
543
+ */
543 544
 
544
-// The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe.
545
-// Use G29 repeatedly, adjusting the Z height at each point with movement commands
546
-// or (with LCD_BED_LEVELING) the LCD controller.
545
+/**
546
+ *   The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe.
547
+ *   Use G29 repeatedly, adjusting the Z height at each point with movement commands
548
+ *   or (with LCD_BED_LEVELING) the LCD controller.
549
+ */
547 550
 //#define PROBE_MANUALLY
548 551
 
549
-// A Fix-Mounted Probe either doesn't deploy or needs manual deployment.
550
-// For example an inductive probe, or a setup that uses the nozzle to probe.
551
-// An inductive probe must be deactivated to go below
552
-// its trigger-point if hardware endstops are active.
552
+/**
553
+ *   A Fix-Mounted Probe either doesn't deploy or needs manual deployment.
554
+ *   For example an inductive probe, or a setup that uses the nozzle to probe.
555
+ *   An inductive probe must be deactivated to go below
556
+ *   its trigger-point if hardware endstops are active.
557
+ */
553 558
 //#define FIX_MOUNTED_PROBE
554 559
 
555
-// The BLTouch probe emulates a servo probe.
556
-// The default connector is SERVO 0. Set Z_ENDSTOP_SERVO_NR below to override.
560
+/**
561
+ *   Z Servo Probe, such as an endstop switch on a rotating arm.
562
+ *   NUM_SERVOS also needs to be set.  This is found later in this file.  Set it to
563
+ *   1 + the number of other servos in your system.
564
+ */
565
+//#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
566
+//#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
567
+
568
+ /**
569
+ *   The BLTouch probe emulates a servo probe.
570
+ *   If using a BLTouch then NUM_SERVOS, Z_ENDSTOP_SERVO_NR and Z_SERVO_ANGLES
571
+ *   are setup for you in the background and you shouldn't need to set/modify/enable them
572
+ *   with the possible exception of Z_ENDSTOP_SERVO_NR.
573
+ */
557 574
 //#define BLTOUCH
558 575
 //#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
559 576
 
560
-// Z Servo Probe, such as an endstop switch on a rotating arm.
561
-//#define Z_ENDSTOP_SERVO_NR 0
562
-//#define Z_SERVO_ANGLES {70,0} // Z Servo Deploy and Stow angles
577
+/**
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.
590
+ */
563 591
 
564
-// Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.
592
+/*   Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.  */
565 593
 //#define Z_PROBE_SLED
566
-//#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.
567
-
568
-//
569
-// Allen Key Probe is defined in the Delta example configurations.
570
-//
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.
571 595
 
572
-// Z Probe to nozzle (X,Y) offset, relative to (0, 0).
573
-// X and Y offsets must be integers.
574
-//
575
-// In the following example the X and Y offsets are both positive:
576
-// #define X_PROBE_OFFSET_FROM_EXTRUDER 10
577
-// #define Y_PROBE_OFFSET_FROM_EXTRUDER 10
578
-//
579
-//    +-- BACK ---+
580
-//    |           |
581
-//  L |    (+) P  | R <-- probe (20,20)
582
-//  E |           | I
583
-//  F | (-) N (+) | G <-- nozzle (10,10)
584
-//  T |           | H
585
-//    |    (-)    | T
586
-//    |           |
587
-//    O-- FRONT --+
588
-//  (0,0)
596
+/**
597
+ *   Z Probe to nozzle (X,Y) offset, relative to (0, 0).
598
+ *   X and Y offsets must be integers.
599
+ *
600
+ *   In the following example the X and Y offsets are both positive:
601
+ *   #define X_PROBE_OFFSET_FROM_EXTRUDER 10
602
+ *   #define Y_PROBE_OFFSET_FROM_EXTRUDER 10
603
+ *
604
+ *      +-- BACK ---+
605
+ *      |           |
606
+ *    L |    (+) P  | R <-- probe (20,20)
607
+ *    E |           | I
608
+ *    F | (-) N (+) | G <-- nozzle (10,10)
609
+ *    T |           | H
610
+ *      |    (-)    | T
611
+ *      |           |
612
+ *      O-- FRONT --+
613
+ *    (0,0)
614
+ */
589 615
 #define X_PROBE_OFFSET_FROM_EXTRUDER -25     // X offset: -left  +right  [of the nozzle]
590 616
 #define Y_PROBE_OFFSET_FROM_EXTRUDER -29     // Y offset: -front +behind [the nozzle]
591 617
 #define Z_PROBE_OFFSET_FROM_EXTRUDER -12.35  // Z offset: -below +above  [the nozzle]
592 618
 
593
-// X and Y axis travel speed (mm/m) between probes
619
+/*   X and Y axis travel speed (mm/m) between probes */
594 620
 #define XY_PROBE_SPEED 8000
595
-// Speed for the first approach when double-probing (with PROBE_DOUBLE_TOUCH)
621
+
622
+/*   Speed for the first approach when double-probing (with PROBE_DOUBLE_TOUCH) */
596 623
 #define Z_PROBE_SPEED_FAST HOMING_FEEDRATE_Z
597
-// Speed for the "accurate" probe of each point
624
+
625
+/*   Speed for the "accurate" probe of each point  */
598 626
 #define Z_PROBE_SPEED_SLOW (Z_PROBE_SPEED_FAST / 2)
599
-// Use double touch for probing
600
-//#define PROBE_DOUBLE_TOUCH
601 627
 
602
-// *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
603
-//
604
-// To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING.
605
-// Example: To park the head outside the bed area when homing with G28.
606
-//
607
-// To use a separate Z probe, your board must define a Z_MIN_PROBE_PIN.
608
-//
609
-// For a servo-based Z probe, just set Z_ENDSTOP_SERVO_NR and Z_SERVO_ANGLES above.
610
-//
611
-// - RAMPS 1.3/1.4 boards may be able to use the 5V, GND, and Aux4->D32 pin.
612
-// - Use 5V for powered (usu. inductive) sensors.
613
-// - Otherwise connect:
614
-//   - normally-closed switches to GND and D32.
615
-//   - normally-open switches to 5V and D32.
616
-//
617
-// Normally-closed switches are advised and are the default.
618
-//
628
+/*   Use double touch for probing  */
629
+//#define PROBE_DOUBLE_TOUCH
619 630
 
620
-//
621
-// The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.)
622
-// Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the
623
-// default pin for all RAMPS-based boards. Most boards use the X_MAX_PIN by default.
624
-// To use a different pin you can override it here.
625
-//
626
-// WARNING:
627
-// Setting the wrong pin may have unexpected and potentially disastrous consequences.
628
-// Use with caution and do your homework.
629
-//
630
-//#define Z_MIN_PROBE_PIN X_MAX_PIN
631
+/**
632
+ *   Allen Key Probe is defined in the Delta example configurations.
633
+ *
634
+ *
635
+ *   *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
636
+ *
637
+ *   - RAMPS 1.3/1.4 boards may be able to use the 5V, GND, and Aux4->D32 pin.
638
+ *   - Use 5V for powered (usu. inductive) sensors.
639
+ *   - Otherwise connect:
640
+ *     - normally-closed switches to GND and D32.
641
+ *     - normally-open switches to 5V and D32.
642
+ *
643
+ *   Normally-closed switches are advised and are the default.
644
+ *
645
+ *
646
+ *   PIN OPTIONS\SETUP FOR Z PROBES
647
+ *
648
+ *
649
+ *   WARNING:
650
+ *   Setting the wrong pin may have unexpected and potentially disastrous consequences.
651
+ *   Use with caution and do your homework.
652
+ *
653
+ *
654
+ *   All Z PROBE pin options are configured by defining (or not defining)
655
+ *   the following five items:
656
+ *       Z_MIN_PROBE_ENDSTOP – defined below
657
+ *       Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN – defined below
658
+ *       Z_MIN_PIN - defined in the pins_YOUR_BOARD.h file
659
+ *       Z_MIN_PROBE_PIN - defined in the pins_YOUR_BOARD.h file
660
+ *
661
+ *   If you're using a probe then you need to tell Marlin which pin to use as
662
+ *   the Z MIN ENDSTOP.  Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN determines if the
663
+ *   Z_MIN_PIN or if the Z_MIN_PROBE_PIN is used.
664
+ *
665
+ *   The pin selected for the probe is ONLY checked during probing operations.
666
+ *   If you want to use the Z_MIN_PIN as an endstop AND you want to have a Z PROBE
667
+ *   then you’ll need to use the Z_MIN_PROBE_PIN option.
668
+ *
669
+ *   Z_MIN_PROBE_ENDSTOP also needs to be enabled if you want to use Z_MIN_PROBE_PIN.
670
+ *
671
+ *   The settings needed to use the Z_MIN_PROBE_PIN are:
672
+ *       1. select the type of probe you're using
673
+ *       2. define Z_MIN_PROBE_PIN in your pins_YOUR_BOARD.h file
674
+ *       3. disable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
675
+ *       4. enable Z_MIN_PROBE_ENDSTOP
676
+ *   NOTE – if Z_MIN_PIN is defined then it’ll be checked during all moves in the
677
+ *          negative Z direction.
678
+ *
679
+ *   The settings needed to use the Z_MIN_PIN are:
680
+ *       1. select the type of probe you're using
681
+ *       2. enable Z_MIN _PIN in your pins_YOUR_BOARD.h file
682
+ *       3. enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
683
+ *       4. disable Z_MIN_PROBE_ENDSTOP
684
+ *   NOTES – if Z_MIN_PROBE_PIN is defined in the pins_YOUR_BOARD.h file then it’ll be
685
+ *          ignored by Marlin
686
+ */
631 687
 
632
-//
633
-// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
634
-// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
635
-//
636 688
 //#define Z_MIN_PROBE_ENDSTOP
637
-
638
-// Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE.
639
-// The Z_MIN_PIN will then be used for both Z-homing and probing.
640 689
 #define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
641 690
 
642
-// To use a probe you must enable one of the two options above!
643 691
 
644
-// Enable Z Probe Repeatability test to see how accurate your probe is
692
+/* Enable Z Probe Repeatability test to see how accurate your probe is  */
645 693
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
646 694
 
647 695
 /**
@@ -661,12 +709,11 @@
661 709
 #define Z_CLEARANCE_DEPLOY_PROBE   15 // Z Clearance for Deploy/Stow
662 710
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
663 711
 
664
-//
665
-// For M851 give a range for adjusting the Z probe offset
666
-//
712
+/* For M851 give a range for adjusting the Z probe offset */
667 713
 #define Z_PROBE_OFFSET_RANGE_MIN -20
668 714
 #define Z_PROBE_OFFSET_RANGE_MAX 20
669 715
 
716
+
670 717
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
671 718
 // :{ 0:'Low', 1:'High' }
672 719
 #define X_ENABLE_ON 1

Loading…
Annulla
Salva