Browse Source

Merge pull request #4093 from thinkyhead/rc_probe_without_abl

Make Z Probe options independent of ABL
Scott Lahteine 9 years ago
parent
commit
f215b30932

+ 6
- 2
.travis.yml View File

90
   - opt_enable PIDTEMPBED
90
   - opt_enable PIDTEMPBED
91
   - build_marlin
91
   - build_marlin
92
   #
92
   #
93
-  # Test AUTO_BED_LEVELING_FEATURE & DEBUG_LEVELING_FEATURE with a Servo Probe
93
+  # Test a Servo Probe without leveling
94
   #
94
   #
95
   - restore_configs
95
   - restore_configs
96
-  - opt_enable AUTO_BED_LEVELING_FEATURE DEBUG_LEVELING_FEATURE
97
   - opt_enable NUM_SERVOS Z_ENDSTOP_SERVO_NR Z_SERVO_ANGLES DEACTIVATE_SERVOS_AFTER_MOVE
96
   - opt_enable NUM_SERVOS Z_ENDSTOP_SERVO_NR Z_SERVO_ANGLES DEACTIVATE_SERVOS_AFTER_MOVE
98
   - build_marlin
97
   - build_marlin
99
   #
98
   #
99
+  # Test AUTO_BED_LEVELING_FEATURE & DEBUG_LEVELING_FEATURE with a Servo Probe
100
+  #
101
+  - opt_enable AUTO_BED_LEVELING_FEATURE DEBUG_LEVELING_FEATURE
102
+  - build_marlin
103
+  #
100
   # Test MESH_BED_LEVELING feature, with LCD
104
   # Test MESH_BED_LEVELING feature, with LCD
101
   #
105
   #
102
   - restore_configs
106
   - restore_configs

+ 10
- 1
Marlin/Conditionals.h View File

371
     #define MAX_PROBE_X (min(X_MAX_POS, X_MAX_POS + X_PROBE_OFFSET_FROM_EXTRUDER))
371
     #define MAX_PROBE_X (min(X_MAX_POS, X_MAX_POS + X_PROBE_OFFSET_FROM_EXTRUDER))
372
     #define MIN_PROBE_Y (max(Y_MIN_POS, Y_MIN_POS + Y_PROBE_OFFSET_FROM_EXTRUDER))
372
     #define MIN_PROBE_Y (max(Y_MIN_POS, Y_MIN_POS + Y_PROBE_OFFSET_FROM_EXTRUDER))
373
     #define MAX_PROBE_Y (min(Y_MAX_POS, Y_MAX_POS + Y_PROBE_OFFSET_FROM_EXTRUDER))
373
     #define MAX_PROBE_Y (min(Y_MAX_POS, Y_MAX_POS + Y_PROBE_OFFSET_FROM_EXTRUDER))
374
+
375
+    #ifndef XY_TRAVEL_SPEED
376
+      #ifdef HOMING_FEEDRATE_XYZ
377
+        #define XY_TRAVEL_SPEED HOMING_FEEDRATE_XYZ
378
+      #else
379
+        #define XY_TRAVEL_SPEED 4000
380
+      #endif
381
+    #endif
382
+
374
   #endif
383
   #endif
375
 
384
 
376
   #define HAS_Z_SERVO_ENDSTOP (defined(Z_ENDSTOP_SERVO_NR) && Z_ENDSTOP_SERVO_NR >= 0)
385
   #define HAS_Z_SERVO_ENDSTOP (defined(Z_ENDSTOP_SERVO_NR) && Z_ENDSTOP_SERVO_NR >= 0)
758
   #define HAS_BED_PROBE (PROBE_SELECTED && PROBE_PIN_CONFIGURED)
767
   #define HAS_BED_PROBE (PROBE_SELECTED && PROBE_PIN_CONFIGURED)
759
 
768
 
760
   /**
769
   /**
761
-   * Probe dependencies
770
+   * Bed Probe dependencies
762
    */
771
    */
763
   #if HAS_BED_PROBE
772
   #if HAS_BED_PROBE
764
     #ifndef X_PROBE_OFFSET_FROM_EXTRUDER
773
     #ifndef X_PROBE_OFFSET_FROM_EXTRUDER

+ 59
- 49
Marlin/Configuration.h View File

409
 //============================= Z Probe Options =============================
409
 //============================= Z Probe Options =============================
410
 //===========================================================================
410
 //===========================================================================
411
 
411
 
412
+//
413
+// Probe Type
414
+// Probes are sensors/switches that are activated / deactivated before/after use.
415
+//
416
+// Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
417
+// You must activate one of these to use AUTO_BED_LEVELING_FEATURE below.
418
+//
419
+// Use M851 to set the Z probe vertical offset from the nozzle. Store with M500.
420
+//
421
+
422
+// A fix mounted probe, like the normal inductive probe, must be deactivated to go
423
+// below Z_PROBE_OFFSET_FROM_EXTRUDER when the hardware endstops are active.
424
+//#define FIX_MOUNTED_PROBE
425
+
426
+// Z Servo Probe, such as an endstop switch on a rotating arm.
427
+//#define Z_ENDSTOP_SERVO_NR 0
428
+//#define Z_SERVO_ANGLES {70,0} // Z Servo Deploy and Stow angles
429
+
430
+// Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.
431
+//#define Z_PROBE_SLED
432
+//#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.
433
+
434
+// A Mechanical Probe is any probe that either doesn't deploy or needs manual deployment
435
+// For example any setup that uses the nozzle itself as a probe.
436
+//#define MECHANICAL_PROBE
437
+
438
+// Z Probe to nozzle (X,Y) offset, relative to (0, 0).
439
+// X and Y offsets must be integers.
440
+//
441
+// In the following example the X and Y offsets are both positive:
442
+// #define X_PROBE_OFFSET_FROM_EXTRUDER 10
443
+// #define Y_PROBE_OFFSET_FROM_EXTRUDER 10
444
+//
445
+//    +-- BACK ---+
446
+//    |           |
447
+//  L |    (+) P  | R <-- probe (20,20)
448
+//  E |           | I
449
+//  F | (-) N (+) | G <-- nozzle (10,10)
450
+//  T |           | H
451
+//    |    (-)    | T
452
+//    |           |
453
+//    O-- FRONT --+
454
+//  (0,0)
455
+#define X_PROBE_OFFSET_FROM_EXTRUDER 10  // X offset: -left  +right  [of the nozzle]
456
+#define Y_PROBE_OFFSET_FROM_EXTRUDER 10  // Y offset: -front +behind [the nozzle]
457
+#define Z_PROBE_OFFSET_FROM_EXTRUDER 0   // Z offset: -below +above  [the nozzle]
458
+
459
+//
460
+// Allen Key Probe is defined in the Delta example configurations.
461
+//
462
+
412
 // Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
463
 // Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
413
 // With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
464
 // With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
414
 //
465
 //
453
 // If you're using the Z MIN endstop connector for your Z probe, this has no effect.
504
 // If you're using the Z MIN endstop connector for your Z probe, this has no effect.
454
 //#define DISABLE_Z_MIN_PROBE_ENDSTOP
505
 //#define DISABLE_Z_MIN_PROBE_ENDSTOP
455
 
506
 
507
+//
456
 // Probe Raise options provide clearance for the probe to deploy and stow.
508
 // Probe Raise options provide clearance for the probe to deploy and stow.
509
+//
457
 // For G28 these apply when the probe deploys and stows.
510
 // For G28 these apply when the probe deploys and stows.
458
 // For G29 these apply before and after the full procedure.
511
 // For G29 these apply before and after the full procedure.
459
 #define Z_RAISE_BEFORE_PROBING 15   // Raise before probe deploy (e.g., the first probe).
512
 #define Z_RAISE_BEFORE_PROBING 15   // Raise before probe deploy (e.g., the first probe).
460
 #define Z_RAISE_AFTER_PROBING 15    // Raise before probe stow (e.g., the last probe).
513
 #define Z_RAISE_AFTER_PROBING 15    // Raise before probe stow (e.g., the last probe).
461
 
514
 
515
+//
516
+// For M851 give a range for adjusting the Z probe offset
517
+//
518
+#define Z_PROBE_OFFSET_RANGE_MIN -20
519
+#define Z_PROBE_OFFSET_RANGE_MAX 20
520
+
462
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
521
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
463
 // :{0:'Low',1:'High'}
522
 // :{0:'Low',1:'High'}
464
 #define X_ENABLE_ON 0
523
 #define X_ENABLE_ON 0
606
 
665
 
607
   #endif // !AUTO_BED_LEVELING_GRID
666
   #endif // !AUTO_BED_LEVELING_GRID
608
 
667
 
609
-  // Z Probe to nozzle (X,Y) offset, relative to (0, 0).
610
-  // X and Y offsets must be integers.
611
-  //
612
-  // In the following example the X and Y offsets are both positive:
613
-  // #define X_PROBE_OFFSET_FROM_EXTRUDER 10
614
-  // #define Y_PROBE_OFFSET_FROM_EXTRUDER 10
615
-  //
616
-  //    +-- BACK ---+
617
-  //    |           |
618
-  //  L |    (+) P  | R <-- probe (20,20)
619
-  //  E |           | I
620
-  //  F | (-) N (+) | G <-- nozzle (10,10)
621
-  //  T |           | H
622
-  //    |    (-)    | T
623
-  //    |           |
624
-  //    O-- FRONT --+
625
-  //  (0,0)
626
-  #define X_PROBE_OFFSET_FROM_EXTRUDER 10  // X offset: -left  +right  [of the nozzle]
627
-  #define Y_PROBE_OFFSET_FROM_EXTRUDER 10  // Y offset: -front +behind [the nozzle]
628
-  #define Z_PROBE_OFFSET_FROM_EXTRUDER 0   // Z offset: -below +above  [the nozzle]
629
-
630
   #define XY_TRAVEL_SPEED 8000         // X and Y axis travel speed between probes, in mm/min.
668
   #define XY_TRAVEL_SPEED 8000         // X and Y axis travel speed between probes, in mm/min.
631
 
669
 
632
   #define Z_RAISE_BETWEEN_PROBINGS 5  // How much the Z axis will be raised when traveling from between next probing points.
670
   #define Z_RAISE_BETWEEN_PROBINGS 5  // How much the Z axis will be raised when traveling from between next probing points.
634
   //#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10" // These commands will be executed in the end of G29 routine.
672
   //#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10" // These commands will be executed in the end of G29 routine.
635
                                                                              // Useful to retract a deployable Z probe.
673
                                                                              // Useful to retract a deployable Z probe.
636
 
674
 
637
-  // Probes are sensors/switches that need to be activated before they can be used
638
-  // and deactivated after their use.
639
-  // Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, ... . You have to activate one of these for the AUTO_BED_LEVELING_FEATURE
640
-
641
-  // A fix mounted probe, like the normal inductive probe, must be deactivated to go below Z_PROBE_OFFSET_FROM_EXTRUDER
642
-  // when the hardware endstops are active.
643
-  //#define FIX_MOUNTED_PROBE
644
-
645
-  // A Servo Probe can be defined in the servo section below.
646
-
647
-  // An Allen Key Probe is currently predefined only in the delta example configurations.
648
-
649
-  // Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.
650
-  //#define Z_PROBE_SLED
651
-  //#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.
652
-
653
-  // A Mechanical Probe is any probe that either doesn't deploy or needs manual deployment
654
-  // For example any setup that uses the nozzle itself as a probe.
655
-  //#define MECHANICAL_PROBE
656
-
657
   // If you've enabled AUTO_BED_LEVELING_FEATURE and are using the Z Probe for Z Homing,
675
   // If you've enabled AUTO_BED_LEVELING_FEATURE and are using the Z Probe for Z Homing,
658
   // it is highly recommended you also enable Z_SAFE_HOMING below!
676
   // it is highly recommended you also enable Z_SAFE_HOMING below!
659
 
677
 
1151
 //
1169
 //
1152
 //#define NUM_SERVOS 3 // Servo index starts with 0 for M280 command
1170
 //#define NUM_SERVOS 3 // Servo index starts with 0 for M280 command
1153
 
1171
 
1154
-// Servo Endstops
1155
-//
1156
-// This allows for servo actuated endstops, primary usage is for the Z Axis to eliminate calibration or bed height changes.
1157
-// Use M851 to set the Z probe vertical offset from the nozzle. Store that setting with M500.
1158
-//
1159
-//#define Z_ENDSTOP_SERVO_NR 0
1160
-//#define Z_SERVO_ANGLES {70,0} // Z Servo Extend and Retract angles
1161
-
1162
 // Servo deactivation
1172
 // Servo deactivation
1163
 //
1173
 //
1164
 // With this option servos are powered only during movement, then turned off to prevent jitter.
1174
 // With this option servos are powered only during movement, then turned off to prevent jitter.

+ 85
- 69
Marlin/Marlin_main.cpp View File

1581
   endstops.enable();
1581
   endstops.enable();
1582
 }
1582
 }
1583
 
1583
 
1584
-#if ENABLED(AUTO_BED_LEVELING_FEATURE)
1584
+#if HAS_BED_PROBE
1585
 
1585
 
1586
   #if ENABLED(DELTA)
1586
   #if ENABLED(DELTA)
1587
     /**
1587
     /**
1598
     }
1598
     }
1599
   #endif
1599
   #endif
1600
 
1600
 
1601
+  /**
1602
+   *  Plan a move to (X, Y, Z) and set the current_position
1603
+   *  The final current_position may not be the one that was requested
1604
+   */
1605
+  static void do_blocking_move_to(float x, float y, float z) {
1606
+    float old_feedrate = feedrate;
1607
+
1608
+    #if ENABLED(DEBUG_LEVELING_FEATURE)
1609
+      if (DEBUGGING(LEVELING)) print_xyz("do_blocking_move_to", x, y, z);
1610
+    #endif
1611
+
1612
+    #if ENABLED(DELTA)
1613
+
1614
+      feedrate =
1615
+        #if ENABLED(AUTO_BED_LEVELING_FEATURE)
1616
+          xy_travel_speed
1617
+        #else
1618
+          min(planner.max_feedrate[X_AXIS], planner.max_feedrate[Y_AXIS]) * 60
1619
+        #endif
1620
+      ;
1621
+
1622
+      destination[X_AXIS] = x;
1623
+      destination[Y_AXIS] = y;
1624
+      destination[Z_AXIS] = z;
1625
+
1626
+      if (x == current_position[X_AXIS] && y == current_position[Y_AXIS])
1627
+        prepare_move_to_destination_raw(); // this will also set_current_to_destination
1628
+      else
1629
+        prepare_move_to_destination();     // this will also set_current_to_destination
1630
+
1631
+    #else
1632
+
1633
+      feedrate = homing_feedrate[Z_AXIS];
1634
+
1635
+      current_position[Z_AXIS] = z;
1636
+      line_to_current_position();
1637
+      stepper.synchronize();
1638
+
1639
+      feedrate =
1640
+        #if ENABLED(AUTO_BED_LEVELING_FEATURE)
1641
+          xy_travel_speed
1642
+        #else
1643
+          min(planner.max_feedrate[X_AXIS], planner.max_feedrate[Y_AXIS]) * 60
1644
+        #endif
1645
+      ;
1646
+
1647
+      current_position[X_AXIS] = x;
1648
+      current_position[Y_AXIS] = y;
1649
+      line_to_current_position();
1650
+
1651
+    #endif
1652
+
1653
+    stepper.synchronize();
1654
+
1655
+    feedrate = old_feedrate;
1656
+  }
1657
+
1658
+  inline void do_blocking_move_to_z(float z) {
1659
+    do_blocking_move_to(current_position[X_AXIS], current_position[Y_AXIS], z);
1660
+  }
1661
+
1662
+#endif //HAS_BED_PROBE
1663
+
1664
+#if ENABLED(AUTO_BED_LEVELING_FEATURE)
1665
+
1601
   #if ENABLED(AUTO_BED_LEVELING_GRID)
1666
   #if ENABLED(AUTO_BED_LEVELING_GRID)
1602
 
1667
 
1603
     #if DISABLED(DELTA)
1668
     #if DISABLED(DELTA)
1757
     feedrate = old_feedrate;
1822
     feedrate = old_feedrate;
1758
   }
1823
   }
1759
 
1824
 
1760
-  /**
1761
-   *  Plan a move to (X, Y, Z) and set the current_position
1762
-   *  The final current_position may not be the one that was requested
1763
-   */
1764
-  static void do_blocking_move_to(float x, float y, float z) {
1765
-    float old_feedrate = feedrate;
1766
-
1767
-    #if ENABLED(DEBUG_LEVELING_FEATURE)
1768
-      if (DEBUGGING(LEVELING)) print_xyz("do_blocking_move_to", x, y, z);
1769
-    #endif
1770
-
1771
-    #if ENABLED(DELTA)
1772
-
1773
-      feedrate = xy_travel_speed;
1774
-
1775
-      destination[X_AXIS] = x;
1776
-      destination[Y_AXIS] = y;
1777
-      destination[Z_AXIS] = z;
1778
-
1779
-      if (x == current_position[X_AXIS] && y == current_position[Y_AXIS])
1780
-        prepare_move_to_destination_raw(); // this will also set_current_to_destination
1781
-      else
1782
-        prepare_move_to_destination();     // this will also set_current_to_destination
1783
-
1784
-    #else
1785
-
1786
-      feedrate = homing_feedrate[Z_AXIS];
1787
-
1788
-      current_position[Z_AXIS] = z;
1789
-      line_to_current_position();
1790
-      stepper.synchronize();
1791
-
1792
-      feedrate = xy_travel_speed;
1793
-
1794
-      current_position[X_AXIS] = x;
1795
-      current_position[Y_AXIS] = y;
1796
-      line_to_current_position();
1797
-
1798
-    #endif
1799
-
1800
-    stepper.synchronize();
1801
-
1802
-    feedrate = old_feedrate;
1803
-  }
1804
-
1805
   inline void do_blocking_move_to_xy(float x, float y) {
1825
   inline void do_blocking_move_to_xy(float x, float y) {
1806
     do_blocking_move_to(x, y, current_position[Z_AXIS]);
1826
     do_blocking_move_to(x, y, current_position[Z_AXIS]);
1807
   }
1827
   }
1810
     do_blocking_move_to(x, current_position[Y_AXIS], current_position[Z_AXIS]);
1830
     do_blocking_move_to(x, current_position[Y_AXIS], current_position[Z_AXIS]);
1811
   }
1831
   }
1812
 
1832
 
1813
-  inline void do_blocking_move_to_z(float z) {
1814
-    do_blocking_move_to(current_position[X_AXIS], current_position[Y_AXIS], z);
1815
-  }
1816
-
1817
   inline void raise_z_after_probing() {
1833
   inline void raise_z_after_probing() {
1818
     #if Z_RAISE_AFTER_PROBING > 0
1834
     #if Z_RAISE_AFTER_PROBING > 0
1819
       #if ENABLED(DEBUG_LEVELING_FEATURE)
1835
       #if ENABLED(DEBUG_LEVELING_FEATURE)
2177
 
2193
 
2178
   #endif // DELTA
2194
   #endif // DELTA
2179
 
2195
 
2180
-  #if HAS_Z_SERVO_ENDSTOP
2196
+#endif // AUTO_BED_LEVELING_FEATURE
2181
 
2197
 
2182
-    /**
2183
-     * Raise Z to a minimum height to make room for a servo to move
2184
-     *
2185
-     * zprobe_zoffset: Negative of the Z height where the probe engages
2186
-     *         z_dest: The before / after probing raise distance
2187
-     *
2188
-     * The zprobe_zoffset is negative for a switch below the nozzle, so
2189
-     * multiply by Z_HOME_DIR (-1) to move enough away from the bed.
2190
-     */
2191
-    void raise_z_for_servo(float z_dest) {
2192
-      z_dest += home_offset[Z_AXIS];
2198
+#if HAS_Z_SERVO_ENDSTOP
2193
 
2199
 
2194
-      if ((Z_HOME_DIR) < 0 && zprobe_zoffset < 0)
2195
-        z_dest -= zprobe_zoffset;
2200
+  /**
2201
+   * Raise Z to a minimum height to make room for a servo to move
2202
+   *
2203
+   * zprobe_zoffset: Negative of the Z height where the probe engages
2204
+   *         z_dest: The before / after probing raise distance
2205
+   *
2206
+   * The zprobe_zoffset is negative for a switch below the nozzle, so
2207
+   * multiply by Z_HOME_DIR (-1) to move enough away from the bed.
2208
+   */
2209
+  void raise_z_for_servo(float z_dest) {
2210
+    z_dest += home_offset[Z_AXIS];
2196
 
2211
 
2197
-      if (z_dest > current_position[Z_AXIS])
2198
-        do_blocking_move_to_z(z_dest); // also updates current_position
2199
-    }
2212
+    if ((Z_HOME_DIR) < 0 && zprobe_zoffset < 0)
2213
+      z_dest -= zprobe_zoffset;
2200
 
2214
 
2201
-  #endif
2215
+    if (z_dest > current_position[Z_AXIS])
2216
+      do_blocking_move_to_z(z_dest); // also updates current_position
2217
+  }
2202
 
2218
 
2203
-#endif // AUTO_BED_LEVELING_FEATURE
2219
+#endif
2204
 
2220
 
2205
 #if ENABLED(Z_PROBE_SLED) || ENABLED(Z_SAFE_HOMING) || ENABLED(AUTO_BED_LEVELING_FEATURE)
2221
 #if ENABLED(Z_PROBE_SLED) || ENABLED(Z_SAFE_HOMING) || ENABLED(AUTO_BED_LEVELING_FEATURE)
2206
   static void axis_unhomed_error(bool xyz=false) {
2222
   static void axis_unhomed_error(bool xyz=false) {

+ 7
- 3
Marlin/SanityCheck.h View File

431
 #endif
431
 #endif
432
 
432
 
433
 /**
433
 /**
434
- * Allen Key Z probe requires Auto Bed Leveling grid and Delta
434
+ * Allen Key Z probe requires Delta and Auto Bed Leveling grid
435
  */
435
  */
436
-#if ENABLED(Z_PROBE_ALLEN_KEY) && !(ENABLED(AUTO_BED_LEVELING_GRID) && ENABLED(DELTA))
437
-  #error "Invalid use of Z_PROBE_ALLEN_KEY."
436
+#if ENABLED(Z_PROBE_ALLEN_KEY)
437
+  #if !ENABLED(DELTA)
438
+    #error "Z_PROBE_ALLEN_KEY is only usable with DELTA."
439
+  #elif ENABLED(MESH_BED_LEVELING) || (ENABLED(AUTO_BED_LEVELING_FEATURE) && !ENABLED(AUTO_BED_LEVELING_GRID))
440
+    #error "Z_PROBE_ALLEN_KEY can only use AUTO_BED_LEVELING_GRID leveling."
441
+  #endif
438
 #endif
442
 #endif
439
 
443
 
440
 /**
444
 /**

+ 59
- 49
Marlin/example_configurations/Cartesio/Configuration.h View File

408
 //============================= Z Probe Options =============================
408
 //============================= Z Probe Options =============================
409
 //===========================================================================
409
 //===========================================================================
410
 
410
 
411
+//
412
+// Probe Type
413
+// Probes are sensors/switches that are activated / deactivated before/after use.
414
+//
415
+// Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
416
+// You must activate one of these to use AUTO_BED_LEVELING_FEATURE below.
417
+//
418
+// Use M851 to set the Z probe vertical offset from the nozzle. Store with M500.
419
+//
420
+
421
+// A fix mounted probe, like the normal inductive probe, must be deactivated to go
422
+// below Z_PROBE_OFFSET_FROM_EXTRUDER when the hardware endstops are active.
423
+//#define FIX_MOUNTED_PROBE
424
+
425
+// Z Servo Probe, such as an endstop switch on a rotating arm.
426
+//#define Z_ENDSTOP_SERVO_NR 0
427
+//#define Z_SERVO_ANGLES {70,0} // Z Servo Deploy and Stow angles
428
+
429
+// Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.
430
+//#define Z_PROBE_SLED
431
+//#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.
432
+
433
+// A Mechanical Probe is any probe that either doesn't deploy or needs manual deployment
434
+// For example any setup that uses the nozzle itself as a probe.
435
+//#define MECHANICAL_PROBE
436
+
437
+// Z Probe to nozzle (X,Y) offset, relative to (0, 0).
438
+// X and Y offsets must be integers.
439
+//
440
+// In the following example the X and Y offsets are both positive:
441
+// #define X_PROBE_OFFSET_FROM_EXTRUDER 10
442
+// #define Y_PROBE_OFFSET_FROM_EXTRUDER 10
443
+//
444
+//    +-- BACK ---+
445
+//    |           |
446
+//  L |    (+) P  | R <-- probe (20,20)
447
+//  E |           | I
448
+//  F | (-) N (+) | G <-- nozzle (10,10)
449
+//  T |           | H
450
+//    |    (-)    | T
451
+//    |           |
452
+//    O-- FRONT --+
453
+//  (0,0)
454
+#define X_PROBE_OFFSET_FROM_EXTRUDER 10  // X offset: -left  +right  [of the nozzle]
455
+#define Y_PROBE_OFFSET_FROM_EXTRUDER 10  // Y offset: -front +behind [the nozzle]
456
+#define Z_PROBE_OFFSET_FROM_EXTRUDER 0   // Z offset: -below +above  [the nozzle]
457
+
458
+//
459
+// Allen Key Probe is defined in the Delta example configurations.
460
+//
461
+
411
 // Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
462
 // Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
412
 // With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
463
 // With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
413
 //
464
 //
452
 // If you're using the Z MIN endstop connector for your Z probe, this has no effect.
503
 // If you're using the Z MIN endstop connector for your Z probe, this has no effect.
453
 //#define DISABLE_Z_MIN_PROBE_ENDSTOP
504
 //#define DISABLE_Z_MIN_PROBE_ENDSTOP
454
 
505
 
506
+//
455
 // Probe Raise options provide clearance for the probe to deploy and stow.
507
 // Probe Raise options provide clearance for the probe to deploy and stow.
508
+//
456
 // For G28 these apply when the probe deploys and stows.
509
 // For G28 these apply when the probe deploys and stows.
457
 // For G29 these apply before and after the full procedure.
510
 // For G29 these apply before and after the full procedure.
458
 #define Z_RAISE_BEFORE_PROBING 15   // Raise before probe deploy (e.g., the first probe).
511
 #define Z_RAISE_BEFORE_PROBING 15   // Raise before probe deploy (e.g., the first probe).
459
 #define Z_RAISE_AFTER_PROBING 15    // Raise before probe stow (e.g., the last probe).
512
 #define Z_RAISE_AFTER_PROBING 15    // Raise before probe stow (e.g., the last probe).
460
 
513
 
514
+//
515
+// For M851 give a range for adjusting the Z probe offset
516
+//
517
+#define Z_PROBE_OFFSET_RANGE_MIN -20
518
+#define Z_PROBE_OFFSET_RANGE_MAX 20
519
+
461
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
520
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
462
 // :{0:'Low',1:'High'}
521
 // :{0:'Low',1:'High'}
463
 #define X_ENABLE_ON 1
522
 #define X_ENABLE_ON 1
605
 
664
 
606
   #endif // !AUTO_BED_LEVELING_GRID
665
   #endif // !AUTO_BED_LEVELING_GRID
607
 
666
 
608
-  // Z Probe to nozzle (X,Y) offset, relative to (0, 0).
609
-  // X and Y offsets must be integers.
610
-  //
611
-  // In the following example the X and Y offsets are both positive:
612
-  // #define X_PROBE_OFFSET_FROM_EXTRUDER 10
613
-  // #define Y_PROBE_OFFSET_FROM_EXTRUDER 10
614
-  //
615
-  //    +-- BACK ---+
616
-  //    |           |
617
-  //  L |    (+) P  | R <-- probe (20,20)
618
-  //  E |           | I
619
-  //  F | (-) N (+) | G <-- nozzle (10,10)
620
-  //  T |           | H
621
-  //    |    (-)    | T
622
-  //    |           |
623
-  //    O-- FRONT --+
624
-  //  (0,0)
625
-  #define X_PROBE_OFFSET_FROM_EXTRUDER 10  // X offset: -left  +right  [of the nozzle]
626
-  #define Y_PROBE_OFFSET_FROM_EXTRUDER 10  // Y offset: -front +behind [the nozzle]
627
-  #define Z_PROBE_OFFSET_FROM_EXTRUDER 0   // Z offset: -below +above  [the nozzle]
628
-
629
   #define XY_TRAVEL_SPEED 8000         // X and Y axis travel speed between probes, in mm/min.
667
   #define XY_TRAVEL_SPEED 8000         // X and Y axis travel speed between probes, in mm/min.
630
 
668
 
631
   #define Z_RAISE_BETWEEN_PROBINGS 5  // How much the Z axis will be raised when traveling from between next probing points.
669
   #define Z_RAISE_BETWEEN_PROBINGS 5  // How much the Z axis will be raised when traveling from between next probing points.
633
   //#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10" // These commands will be executed in the end of G29 routine.
671
   //#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10" // These commands will be executed in the end of G29 routine.
634
                                                                              // Useful to retract a deployable Z probe.
672
                                                                              // Useful to retract a deployable Z probe.
635
 
673
 
636
-  // Probes are sensors/switches that need to be activated before they can be used
637
-  // and deactivated after their use.
638
-  // Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, ... . You have to activate one of these for the AUTO_BED_LEVELING_FEATURE
639
-
640
-  // A fix mounted probe, like the normal inductive probe, must be deactivated to go below Z_PROBE_OFFSET_FROM_EXTRUDER
641
-  // when the hardware endstops are active.
642
-  //#define FIX_MOUNTED_PROBE
643
-
644
-  // A Servo Probe can be defined in the servo section below.
645
-
646
-  // An Allen Key Probe is currently predefined only in the delta example configurations.
647
-
648
-  // Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.
649
-  //#define Z_PROBE_SLED
650
-  //#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.
651
-
652
-  // A Mechanical Probe is any probe that either doesn't deploy or needs manual deployment
653
-  // For example any setup that uses the nozzle itself as a probe.
654
-  //#define MECHANICAL_PROBE
655
-
656
   // If you've enabled AUTO_BED_LEVELING_FEATURE and are using the Z Probe for Z Homing,
674
   // If you've enabled AUTO_BED_LEVELING_FEATURE and are using the Z Probe for Z Homing,
657
   // it is highly recommended you also enable Z_SAFE_HOMING below!
675
   // it is highly recommended you also enable Z_SAFE_HOMING below!
658
 
676
 
1150
 //
1168
 //
1151
 //#define NUM_SERVOS 3 // Servo index starts with 0 for M280 command
1169
 //#define NUM_SERVOS 3 // Servo index starts with 0 for M280 command
1152
 
1170
 
1153
-// Servo Endstops
1154
-//
1155
-// This allows for servo actuated endstops, primary usage is for the Z Axis to eliminate calibration or bed height changes.
1156
-// Use M851 to set the Z probe vertical offset from the nozzle. Store that setting with M500.
1157
-//
1158
-//#define Z_ENDSTOP_SERVO_NR 0
1159
-//#define Z_SERVO_ANGLES {70,0} // Z Servo Extend and Retract angles
1160
-
1161
 // Servo deactivation
1171
 // Servo deactivation
1162
 //
1172
 //
1163
 // With this option servos are powered only during movement, then turned off to prevent jitter.
1173
 // With this option servos are powered only during movement, then turned off to prevent jitter.

+ 59
- 48
Marlin/example_configurations/Felix/Configuration.h View File

435
 // If you're using the Z MIN endstop connector for your Z probe, this has no effect.
435
 // If you're using the Z MIN endstop connector for your Z probe, this has no effect.
436
 //#define DISABLE_Z_MIN_PROBE_ENDSTOP
436
 //#define DISABLE_Z_MIN_PROBE_ENDSTOP
437
 
437
 
438
+//
439
+// Probe Type
440
+// Probes are sensors/switches that are activated / deactivated before/after use.
441
+//
442
+// Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
443
+// You must activate one of these to use AUTO_BED_LEVELING_FEATURE below.
444
+//
445
+// Use M851 to set the Z probe vertical offset from the nozzle. Store with M500.
446
+//
447
+
448
+// A fix mounted probe, like the normal inductive probe, must be deactivated to go
449
+// below Z_PROBE_OFFSET_FROM_EXTRUDER when the hardware endstops are active.
450
+//#define FIX_MOUNTED_PROBE
451
+
452
+// Z Servo Probe, such as an endstop switch on a rotating arm.
453
+//#define Z_ENDSTOP_SERVO_NR 0
454
+//#define Z_SERVO_ANGLES {70,0} // Z Servo Deploy and Stow angles
455
+
456
+// Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.
457
+//#define Z_PROBE_SLED
458
+//#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.
459
+
460
+// A Mechanical Probe is any probe that either doesn't deploy or needs manual deployment
461
+// For example any setup that uses the nozzle itself as a probe.
462
+//#define MECHANICAL_PROBE
463
+
464
+// Z Probe to nozzle (X,Y) offset, relative to (0, 0).
465
+// X and Y offsets must be integers.
466
+//
467
+// In the following example the X and Y offsets are both positive:
468
+// #define X_PROBE_OFFSET_FROM_EXTRUDER 10
469
+// #define Y_PROBE_OFFSET_FROM_EXTRUDER 10
470
+//
471
+//    +-- BACK ---+
472
+//    |           |
473
+//  L |    (+) P  | R <-- probe (20,20)
474
+//  E |           | I
475
+//  F | (-) N (+) | G <-- nozzle (10,10)
476
+//  T |           | H
477
+//    |    (-)    | T
478
+//    |           |
479
+//    O-- FRONT --+
480
+//  (0,0)
481
+#define X_PROBE_OFFSET_FROM_EXTRUDER -25     // X offset: -left  +right  [of the nozzle]
482
+#define Y_PROBE_OFFSET_FROM_EXTRUDER -29     // Y offset: -front +behind [the nozzle]
483
+#define Z_PROBE_OFFSET_FROM_EXTRUDER -12.35  // Z offset: -below +above  [the nozzle]
484
+
485
+//
486
+// Allen Key Probe is defined in the Delta example configurations.
487
+//
488
+
489
+//
438
 // Probe Raise options provide clearance for the probe to deploy and stow.
490
 // Probe Raise options provide clearance for the probe to deploy and stow.
491
+//
439
 // For G28 these apply when the probe deploys and stows.
492
 // For G28 these apply when the probe deploys and stows.
440
 // For G29 these apply before and after the full procedure.
493
 // For G29 these apply before and after the full procedure.
441
 #define Z_RAISE_BEFORE_PROBING 15   // Raise before probe deploy (e.g., the first probe).
494
 #define Z_RAISE_BEFORE_PROBING 15   // Raise before probe deploy (e.g., the first probe).
442
 #define Z_RAISE_AFTER_PROBING 15    // Raise before probe stow (e.g., the last probe).
495
 #define Z_RAISE_AFTER_PROBING 15    // Raise before probe stow (e.g., the last probe).
443
 
496
 
497
+//
498
+// For M851 give a range for adjusting the Z probe offset
499
+//
500
+#define Z_PROBE_OFFSET_RANGE_MIN -20
501
+#define Z_PROBE_OFFSET_RANGE_MAX 20
502
+
444
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
503
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
445
 // :{0:'Low',1:'High'}
504
 // :{0:'Low',1:'High'}
446
 #define X_ENABLE_ON 0
505
 #define X_ENABLE_ON 0
588
 
647
 
589
   #endif // !AUTO_BED_LEVELING_GRID
648
   #endif // !AUTO_BED_LEVELING_GRID
590
 
649
 
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)
608
-  #define X_PROBE_OFFSET_FROM_EXTRUDER -25     // X offset: -left  +right  [of the nozzle]
609
-  #define Y_PROBE_OFFSET_FROM_EXTRUDER -29     // Y offset: -front +behind [the nozzle]
610
-  #define Z_PROBE_OFFSET_FROM_EXTRUDER -12.35  // Z offset: -below +above  [the nozzle]
611
-
612
   #define XY_TRAVEL_SPEED 8000         // X and Y axis travel speed between probes, in mm/min.
650
   #define XY_TRAVEL_SPEED 8000         // X and Y axis travel speed between probes, in mm/min.
613
 
651
 
614
   #define Z_RAISE_BETWEEN_PROBINGS 5  // How much the Z axis will be raised when traveling from between next probing points.
652
   #define Z_RAISE_BETWEEN_PROBINGS 5  // How much the Z axis will be raised when traveling from between next probing points.
616
   //#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10" // These commands will be executed in the end of G29 routine.
654
   //#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10" // These commands will be executed in the end of G29 routine.
617
                                                                              // Useful to retract a deployable Z probe.
655
                                                                              // Useful to retract a deployable Z probe.
618
 
656
 
619
-  // Probes are sensors/switches that need to be activated before they can be used
620
-  // and deactivated after their use.
621
-  // Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, ... . You have to activate one of these for the AUTO_BED_LEVELING_FEATURE
622
-
623
-  // A fix mounted probe, like the normal inductive probe, must be deactivated to go below Z_PROBE_OFFSET_FROM_EXTRUDER
624
-  // when the hardware endstops are active.
625
-  //#define FIX_MOUNTED_PROBE
626
-
627
-  // A Servo Probe can be defined in the servo section below.
628
-
629
-  // An Allen Key Probe is currently predefined only in the delta example configurations.
630
-
631
-  // Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.
632
-  //#define Z_PROBE_SLED
633
-  //#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.
634
-
635
-  // A Mechanical Probe is any probe that either doesn't deploy or needs manual deployment
636
-  // For example any setup that uses the nozzle itself as a probe.
637
-  //#define MECHANICAL_PROBE
638
 
657
 
639
   // If you've enabled AUTO_BED_LEVELING_FEATURE and are using the Z Probe for Z Homing,
658
   // If you've enabled AUTO_BED_LEVELING_FEATURE and are using the Z Probe for Z Homing,
640
   // it is highly recommended you also enable Z_SAFE_HOMING below!
659
   // it is highly recommended you also enable Z_SAFE_HOMING below!
1134
 //
1153
 //
1135
 //#define NUM_SERVOS 3 // Servo index starts with 0 for M280 command
1154
 //#define NUM_SERVOS 3 // Servo index starts with 0 for M280 command
1136
 
1155
 
1137
-// Servo Endstops
1138
-//
1139
-// This allows for servo actuated endstops, primary usage is for the Z Axis to eliminate calibration or bed height changes.
1140
-// Use M851 to set the Z probe vertical offset from the nozzle. Store that setting with M500.
1141
-//
1142
-//#define Z_ENDSTOP_SERVO_NR 0
1143
-//#define Z_SERVO_ANGLES {70,0} // Z Servo Extend and Retract angles
1144
-
1145
 // Servo deactivation
1156
 // Servo deactivation
1146
 //
1157
 //
1147
 // With this option servos are powered only during movement, then turned off to prevent jitter.
1158
 // With this option servos are powered only during movement, then turned off to prevent jitter.

+ 59
- 48
Marlin/example_configurations/Felix/DUAL/Configuration.h View File

433
 // If you're using the Z MIN endstop connector for your Z probe, this has no effect.
433
 // If you're using the Z MIN endstop connector for your Z probe, this has no effect.
434
 //#define DISABLE_Z_MIN_PROBE_ENDSTOP
434
 //#define DISABLE_Z_MIN_PROBE_ENDSTOP
435
 
435
 
436
+//
437
+// Probe Type
438
+// Probes are sensors/switches that are activated / deactivated before/after use.
439
+//
440
+// Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
441
+// You must activate one of these to use AUTO_BED_LEVELING_FEATURE below.
442
+//
443
+// Use M851 to set the Z probe vertical offset from the nozzle. Store with M500.
444
+//
445
+
446
+// A fix mounted probe, like the normal inductive probe, must be deactivated to go
447
+// below Z_PROBE_OFFSET_FROM_EXTRUDER when the hardware endstops are active.
448
+//#define FIX_MOUNTED_PROBE
449
+
450
+// Z Servo Probe, such as an endstop switch on a rotating arm.
451
+//#define Z_ENDSTOP_SERVO_NR 0
452
+//#define Z_SERVO_ANGLES {70,0} // Z Servo Deploy and Stow angles
453
+
454
+// Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.
455
+//#define Z_PROBE_SLED
456
+//#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.
457
+
458
+// A Mechanical Probe is any probe that either doesn't deploy or needs manual deployment
459
+// For example any setup that uses the nozzle itself as a probe.
460
+//#define MECHANICAL_PROBE
461
+
462
+// Z Probe to nozzle (X,Y) offset, relative to (0, 0).
463
+// X and Y offsets must be integers.
464
+//
465
+// In the following example the X and Y offsets are both positive:
466
+// #define X_PROBE_OFFSET_FROM_EXTRUDER 10
467
+// #define Y_PROBE_OFFSET_FROM_EXTRUDER 10
468
+//
469
+//    +-- BACK ---+
470
+//    |           |
471
+//  L |    (+) P  | R <-- probe (20,20)
472
+//  E |           | I
473
+//  F | (-) N (+) | G <-- nozzle (10,10)
474
+//  T |           | H
475
+//    |    (-)    | T
476
+//    |           |
477
+//    O-- FRONT --+
478
+//  (0,0)
479
+#define X_PROBE_OFFSET_FROM_EXTRUDER -25     // X offset: -left  +right  [of the nozzle]
480
+#define Y_PROBE_OFFSET_FROM_EXTRUDER -29     // Y offset: -front +behind [the nozzle]
481
+#define Z_PROBE_OFFSET_FROM_EXTRUDER -12.35  // Z offset: -below +above  [the nozzle]
482
+
483
+//
484
+// Allen Key Probe is defined in the Delta example configurations.
485
+//
486
+
487
+//
436
 // Probe Raise options provide clearance for the probe to deploy and stow.
488
 // Probe Raise options provide clearance for the probe to deploy and stow.
489
+//
437
 // For G28 these apply when the probe deploys and stows.
490
 // For G28 these apply when the probe deploys and stows.
438
 // For G29 these apply before and after the full procedure.
491
 // For G29 these apply before and after the full procedure.
439
 #define Z_RAISE_BEFORE_PROBING 15   // Raise before probe deploy (e.g., the first probe).
492
 #define Z_RAISE_BEFORE_PROBING 15   // Raise before probe deploy (e.g., the first probe).
440
 #define Z_RAISE_AFTER_PROBING 15    // Raise before probe stow (e.g., the last probe).
493
 #define Z_RAISE_AFTER_PROBING 15    // Raise before probe stow (e.g., the last probe).
441
 
494
 
495
+//
496
+// For M851 give a range for adjusting the Z probe offset
497
+//
498
+#define Z_PROBE_OFFSET_RANGE_MIN -20
499
+#define Z_PROBE_OFFSET_RANGE_MAX 20
500
+
442
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
501
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
443
 // :{0:'Low',1:'High'}
502
 // :{0:'Low',1:'High'}
444
 #define X_ENABLE_ON 0
503
 #define X_ENABLE_ON 0
586
 
645
 
587
   #endif // !AUTO_BED_LEVELING_GRID
646
   #endif // !AUTO_BED_LEVELING_GRID
588
 
647
 
589
-  // Z Probe to nozzle (X,Y) offset, relative to (0, 0).
590
-  // X and Y offsets must be integers.
591
-  //
592
-  // In the following example the X and Y offsets are both positive:
593
-  // #define X_PROBE_OFFSET_FROM_EXTRUDER 10
594
-  // #define Y_PROBE_OFFSET_FROM_EXTRUDER 10
595
-  //
596
-  //    +-- BACK ---+
597
-  //    |           |
598
-  //  L |    (+) P  | R <-- probe (20,20)
599
-  //  E |           | I
600
-  //  F | (-) N (+) | G <-- nozzle (10,10)
601
-  //  T |           | H
602
-  //    |    (-)    | T
603
-  //    |           |
604
-  //    O-- FRONT --+
605
-  //  (0,0)
606
-  #define X_PROBE_OFFSET_FROM_EXTRUDER -25     // X offset: -left  +right  [of the nozzle]
607
-  #define Y_PROBE_OFFSET_FROM_EXTRUDER -29     // Y offset: -front +behind [the nozzle]
608
-  #define Z_PROBE_OFFSET_FROM_EXTRUDER -12.35  // Z offset: -below +above  [the nozzle]
609
-
610
   #define XY_TRAVEL_SPEED 8000         // X and Y axis travel speed between probes, in mm/min.
648
   #define XY_TRAVEL_SPEED 8000         // X and Y axis travel speed between probes, in mm/min.
611
 
649
 
612
   #define Z_RAISE_BETWEEN_PROBINGS 5  // How much the Z axis will be raised when traveling from between next probing points.
650
   #define Z_RAISE_BETWEEN_PROBINGS 5  // How much the Z axis will be raised when traveling from between next probing points.
614
   //#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10" // These commands will be executed in the end of G29 routine.
652
   //#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10" // These commands will be executed in the end of G29 routine.
615
                                                                              // Useful to retract a deployable Z probe.
653
                                                                              // Useful to retract a deployable Z probe.
616
 
654
 
617
-  // Probes are sensors/switches that need to be activated before they can be used
618
-  // and deactivated after their use.
619
-  // Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, ... . You have to activate one of these for the AUTO_BED_LEVELING_FEATURE
620
-
621
-  // A fix mounted probe, like the normal inductive probe, must be deactivated to go below Z_PROBE_OFFSET_FROM_EXTRUDER
622
-  // when the hardware endstops are active.
623
-  //#define FIX_MOUNTED_PROBE
624
-
625
-  // A Servo Probe can be defined in the servo section below.
626
-
627
-  // An Allen Key Probe is currently predefined only in the delta example configurations.
628
-
629
-  // Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.
630
-  //#define Z_PROBE_SLED
631
-  //#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.
632
-
633
-  // A Mechanical Probe is any probe that either doesn't deploy or needs manual deployment
634
-  // For example any setup that uses the nozzle itself as a probe.
635
-  //#define MECHANICAL_PROBE
636
 
655
 
637
   // If you've enabled AUTO_BED_LEVELING_FEATURE and are using the Z Probe for Z Homing,
656
   // If you've enabled AUTO_BED_LEVELING_FEATURE and are using the Z Probe for Z Homing,
638
   // it is highly recommended you also enable Z_SAFE_HOMING below!
657
   // it is highly recommended you also enable Z_SAFE_HOMING below!
1132
 //
1151
 //
1133
 //#define NUM_SERVOS 3 // Servo index starts with 0 for M280 command
1152
 //#define NUM_SERVOS 3 // Servo index starts with 0 for M280 command
1134
 
1153
 
1135
-// Servo Endstops
1136
-//
1137
-// This allows for servo actuated endstops, primary usage is for the Z Axis to eliminate calibration or bed height changes.
1138
-// Use M851 to set the Z probe vertical offset from the nozzle. Store that setting with M500.
1139
-//
1140
-//#define Z_ENDSTOP_SERVO_NR 0
1141
-//#define Z_SERVO_ANGLES {70,0} // Z Servo Extend and Retract angles
1142
-
1143
 // Servo deactivation
1154
 // Servo deactivation
1144
 //
1155
 //
1145
 // With this option servos are powered only during movement, then turned off to prevent jitter.
1156
 // With this option servos are powered only during movement, then turned off to prevent jitter.

+ 59
- 48
Marlin/example_configurations/Hephestos/Configuration.h View File

445
 // If you're using the Z MIN endstop connector for your Z probe, this has no effect.
445
 // If you're using the Z MIN endstop connector for your Z probe, this has no effect.
446
 //#define DISABLE_Z_MIN_PROBE_ENDSTOP
446
 //#define DISABLE_Z_MIN_PROBE_ENDSTOP
447
 
447
 
448
+//
449
+// Probe Type
450
+// Probes are sensors/switches that are activated / deactivated before/after use.
451
+//
452
+// Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
453
+// You must activate one of these to use AUTO_BED_LEVELING_FEATURE below.
454
+//
455
+// Use M851 to set the Z probe vertical offset from the nozzle. Store with M500.
456
+//
457
+
458
+// A fix mounted probe, like the normal inductive probe, must be deactivated to go
459
+// below Z_PROBE_OFFSET_FROM_EXTRUDER when the hardware endstops are active.
460
+//#define FIX_MOUNTED_PROBE
461
+
462
+// Z Servo Probe, such as an endstop switch on a rotating arm.
463
+//#define Z_ENDSTOP_SERVO_NR 0
464
+//#define Z_SERVO_ANGLES {70,0} // Z Servo Deploy and Stow angles
465
+
466
+// Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.
467
+//#define Z_PROBE_SLED
468
+//#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.
469
+
470
+// A Mechanical Probe is any probe that either doesn't deploy or needs manual deployment
471
+// For example any setup that uses the nozzle itself as a probe.
472
+//#define MECHANICAL_PROBE
473
+
474
+// Z Probe to nozzle (X,Y) offset, relative to (0, 0).
475
+// X and Y offsets must be integers.
476
+//
477
+// In the following example the X and Y offsets are both positive:
478
+// #define X_PROBE_OFFSET_FROM_EXTRUDER 10
479
+// #define Y_PROBE_OFFSET_FROM_EXTRUDER 10
480
+//
481
+//    +-- BACK ---+
482
+//    |           |
483
+//  L |    (+) P  | R <-- probe (20,20)
484
+//  E |           | I
485
+//  F | (-) N (+) | G <-- nozzle (10,10)
486
+//  T |           | H
487
+//    |    (-)    | T
488
+//    |           |
489
+//    O-- FRONT --+
490
+//  (0,0)
491
+#define X_PROBE_OFFSET_FROM_EXTRUDER -25     // X offset: -left  +right  [of the nozzle]
492
+#define Y_PROBE_OFFSET_FROM_EXTRUDER -29     // Y offset: -front +behind [the nozzle]
493
+#define Z_PROBE_OFFSET_FROM_EXTRUDER -12.35  // Z offset: -below +above  [the nozzle]
494
+
495
+//
496
+// Allen Key Probe is defined in the Delta example configurations.
497
+//
498
+
499
+//
448
 // Probe Raise options provide clearance for the probe to deploy and stow.
500
 // Probe Raise options provide clearance for the probe to deploy and stow.
501
+//
449
 // For G28 these apply when the probe deploys and stows.
502
 // For G28 these apply when the probe deploys and stows.
450
 // For G29 these apply before and after the full procedure.
503
 // For G29 these apply before and after the full procedure.
451
 #define Z_RAISE_BEFORE_PROBING 15   // Raise before probe deploy (e.g., the first probe).
504
 #define Z_RAISE_BEFORE_PROBING 15   // Raise before probe deploy (e.g., the first probe).
452
 #define Z_RAISE_AFTER_PROBING 15    // Raise before probe stow (e.g., the last probe).
505
 #define Z_RAISE_AFTER_PROBING 15    // Raise before probe stow (e.g., the last probe).
453
 
506
 
507
+//
508
+// For M851 give a range for adjusting the Z probe offset
509
+//
510
+#define Z_PROBE_OFFSET_RANGE_MIN -20
511
+#define Z_PROBE_OFFSET_RANGE_MAX 20
512
+
454
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
513
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
455
 // :{0:'Low',1:'High'}
514
 // :{0:'Low',1:'High'}
456
 #define X_ENABLE_ON 0
515
 #define X_ENABLE_ON 0
598
 
657
 
599
   #endif // !AUTO_BED_LEVELING_GRID
658
   #endif // !AUTO_BED_LEVELING_GRID
600
 
659
 
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
-  #define X_PROBE_OFFSET_FROM_EXTRUDER -25     // X offset: -left  +right  [of the nozzle]
619
-  #define Y_PROBE_OFFSET_FROM_EXTRUDER -29     // Y offset: -front +behind [the nozzle]
620
-  #define Z_PROBE_OFFSET_FROM_EXTRUDER -12.35  // Z offset: -below +above  [the nozzle]
621
-
622
   #define XY_TRAVEL_SPEED 8000         // X and Y axis travel speed between probes, in mm/min.
660
   #define XY_TRAVEL_SPEED 8000         // X and Y axis travel speed between probes, in mm/min.
623
 
661
 
624
   #define Z_RAISE_BETWEEN_PROBINGS 5  // How much the Z axis will be raised when traveling from between next probing points.
662
   #define Z_RAISE_BETWEEN_PROBINGS 5  // How much the Z axis will be raised when traveling from between next probing points.
626
   //#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10" // These commands will be executed in the end of G29 routine.
664
   //#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10" // These commands will be executed in the end of G29 routine.
627
                                                                              // Useful to retract a deployable Z probe.
665
                                                                              // Useful to retract a deployable Z probe.
628
 
666
 
629
-  // Probes are sensors/switches that need to be activated before they can be used
630
-  // and deactivated after their use.
631
-  // Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, ... . You have to activate one of these for the AUTO_BED_LEVELING_FEATURE
632
-
633
-  // A fix mounted probe, like the normal inductive probe, must be deactivated to go below Z_PROBE_OFFSET_FROM_EXTRUDER
634
-  // when the hardware endstops are active.
635
-  //#define FIX_MOUNTED_PROBE
636
-
637
-  // A Servo Probe can be defined in the servo section below.
638
-
639
-  // An Allen Key Probe is currently predefined only in the delta example configurations.
640
-
641
-  // Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.
642
-  //#define Z_PROBE_SLED
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.
644
-
645
-  // A Mechanical Probe is any probe that either doesn't deploy or needs manual deployment
646
-  // For example any setup that uses the nozzle itself as a probe.
647
-  //#define MECHANICAL_PROBE
648
 
667
 
649
   // If you've enabled AUTO_BED_LEVELING_FEATURE and are using the Z Probe for Z Homing,
668
   // If you've enabled AUTO_BED_LEVELING_FEATURE and are using the Z Probe for Z Homing,
650
   // it is highly recommended you also enable Z_SAFE_HOMING below!
669
   // it is highly recommended you also enable Z_SAFE_HOMING below!
1143
 //
1162
 //
1144
 //#define NUM_SERVOS 3 // Servo index starts with 0 for M280 command
1163
 //#define NUM_SERVOS 3 // Servo index starts with 0 for M280 command
1145
 
1164
 
1146
-// Servo Endstops
1147
-//
1148
-// This allows for servo actuated endstops, primary usage is for the Z Axis to eliminate calibration or bed height changes.
1149
-// Use M851 to set the Z probe vertical offset from the nozzle. Store that setting with M500.
1150
-//
1151
-//#define Z_ENDSTOP_SERVO_NR 0
1152
-//#define Z_SERVO_ANGLES {70,0} // Z Servo Extend and Retract angles
1153
-
1154
 // Servo deactivation
1165
 // Servo deactivation
1155
 //
1166
 //
1156
 // With this option servos are powered only during movement, then turned off to prevent jitter.
1167
 // With this option servos are powered only during movement, then turned off to prevent jitter.

+ 59
- 49
Marlin/example_configurations/Hephestos_2/Configuration.h View File

447
 // If you're using the Z MIN endstop connector for your Z probe, this has no effect.
447
 // If you're using the Z MIN endstop connector for your Z probe, this has no effect.
448
 //#define DISABLE_Z_MIN_PROBE_ENDSTOP
448
 //#define DISABLE_Z_MIN_PROBE_ENDSTOP
449
 
449
 
450
+//
451
+// Probe Type
452
+// Probes are sensors/switches that are activated / deactivated before/after use.
453
+//
454
+// Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
455
+// You must activate one of these to use AUTO_BED_LEVELING_FEATURE below.
456
+//
457
+// Use M851 to set the Z probe vertical offset from the nozzle. Store with M500.
458
+//
459
+
460
+// A fix mounted probe, like the normal inductive probe, must be deactivated to go
461
+// below Z_PROBE_OFFSET_FROM_EXTRUDER when the hardware endstops are active.
462
+#define FIX_MOUNTED_PROBE
463
+
464
+// Z Servo Probe, such as an endstop switch on a rotating arm.
465
+//#define Z_ENDSTOP_SERVO_NR 0
466
+//#define Z_SERVO_ANGLES {70,0} // Z Servo Deploy and Stow angles
467
+
468
+// Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.
469
+//#define Z_PROBE_SLED
470
+//#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.
471
+
472
+// A Mechanical Probe is any probe that either doesn't deploy or needs manual deployment
473
+// For example any setup that uses the nozzle itself as a probe.
474
+//#define MECHANICAL_PROBE
475
+
476
+// Z Probe to nozzle (X,Y) offset, relative to (0, 0).
477
+// X and Y offsets must be integers.
478
+//
479
+// In the following example the X and Y offsets are both positive:
480
+// #define X_PROBE_OFFSET_FROM_EXTRUDER 10
481
+// #define Y_PROBE_OFFSET_FROM_EXTRUDER 10
482
+//
483
+//    +-- BACK ---+
484
+//    |           |
485
+//  L |    (+) P  | R <-- probe (20,20)
486
+//  E |           | I
487
+//  F | (-) N (+) | G <-- nozzle (10,10)
488
+//  T |           | H
489
+//    |    (-)    | T
490
+//    |           |
491
+//    O-- FRONT --+
492
+//  (0,0)
493
+#define X_PROBE_OFFSET_FROM_EXTRUDER 34  // X offset: -left  +right  [of the nozzle]
494
+#define Y_PROBE_OFFSET_FROM_EXTRUDER 15  // Y offset: -front +behind [the nozzle]
495
+#define Z_PROBE_OFFSET_FROM_EXTRUDER 0   // Z offset: -below +above  [the nozzle]
496
+
497
+//
498
+// Allen Key Probe is defined in the Delta example configurations.
499
+//
500
+
501
+//
450
 // Probe Raise options provide clearance for the probe to deploy and stow.
502
 // Probe Raise options provide clearance for the probe to deploy and stow.
503
+//
451
 // For G28 these apply when the probe deploys and stows.
504
 // For G28 these apply when the probe deploys and stows.
452
 // For G29 these apply before and after the full procedure.
505
 // For G29 these apply before and after the full procedure.
453
 #define Z_RAISE_BEFORE_PROBING 5    // Raise before probe deploy (e.g., the first probe).
506
 #define Z_RAISE_BEFORE_PROBING 5    // Raise before probe deploy (e.g., the first probe).
454
 #define Z_RAISE_AFTER_PROBING 5     // Raise before probe stow (e.g., the last probe).
507
 #define Z_RAISE_AFTER_PROBING 5     // Raise before probe stow (e.g., the last probe).
455
 
508
 
509
+//
510
+// For M851 give a range for adjusting the Z probe offset
511
+//
512
+#define Z_PROBE_OFFSET_RANGE_MIN -20
513
+#define Z_PROBE_OFFSET_RANGE_MAX 20
514
+
456
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
515
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
457
 // :{0:'Low',1:'High'}
516
 // :{0:'Low',1:'High'}
458
 #define X_ENABLE_ON 0
517
 #define X_ENABLE_ON 0
600
 
659
 
601
   #endif // !AUTO_BED_LEVELING_GRID
660
   #endif // !AUTO_BED_LEVELING_GRID
602
 
661
 
603
-  // Z Probe to nozzle (X,Y) offset, relative to (0, 0).
604
-  // X and Y offsets must be integers.
605
-  //
606
-  // In the following example the X and Y offsets are both positive:
607
-  // #define X_PROBE_OFFSET_FROM_EXTRUDER 10
608
-  // #define Y_PROBE_OFFSET_FROM_EXTRUDER 10
609
-  //
610
-  //    +-- BACK ---+
611
-  //    |           |
612
-  //  L |    (+) P  | R <-- probe (20,20)
613
-  //  E |           | I
614
-  //  F | (-) N (+) | G <-- nozzle (10,10)
615
-  //  T |           | H
616
-  //    |    (-)    | T
617
-  //    |           |
618
-  //    O-- FRONT --+
619
-  //  (0,0)
620
-  #define X_PROBE_OFFSET_FROM_EXTRUDER 34  // X offset: -left  +right  [of the nozzle]
621
-  #define Y_PROBE_OFFSET_FROM_EXTRUDER 15  // Y offset: -front +behind [the nozzle]
622
-  #define Z_PROBE_OFFSET_FROM_EXTRUDER 0   // Z offset: -below +above  [the nozzle]
623
-
624
   #define XY_TRAVEL_SPEED 8000         // X and Y axis travel speed between probes, in mm/min.
662
   #define XY_TRAVEL_SPEED 8000         // X and Y axis travel speed between probes, in mm/min.
625
 
663
 
626
   #define Z_RAISE_BETWEEN_PROBINGS 2  // How much the Z axis will be raised when traveling from between next probing points.
664
   #define Z_RAISE_BETWEEN_PROBINGS 2  // How much the Z axis will be raised when traveling from between next probing points.
628
   //#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10" // These commands will be executed in the end of G29 routine.
666
   //#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10" // These commands will be executed in the end of G29 routine.
629
                                                                              // Useful to retract a deployable Z probe.
667
                                                                              // Useful to retract a deployable Z probe.
630
 
668
 
631
-  // Probes are sensors/switches that need to be activated before they can be used
632
-  // and deactivated after their use.
633
-  // Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, ... . You have to activate one of these for the AUTO_BED_LEVELING_FEATURE
634
-
635
-  // A fix mounted probe, like the normal inductive probe, must be deactivated to go below Z_PROBE_OFFSET_FROM_EXTRUDER
636
-  // when the hardware endstops are active.
637
-  #define FIX_MOUNTED_PROBE
638
-
639
-  // A Servo Probe can be defined in the servo section below.
640
-
641
-  // An Allen Key Probe is currently predefined only in the delta example configurations.
642
-
643
-  // Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.
644
-  //#define Z_PROBE_SLED
645
-  //#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.
646
-
647
-  // A Mechanical Probe is any probe that either doesn't deploy or needs manual deployment
648
-  // For example any setup that uses the nozzle itself as a probe.
649
-  //#define MECHANICAL_PROBE
650
-
651
   // If you've enabled AUTO_BED_LEVELING_FEATURE and are using the Z Probe for Z Homing,
669
   // If you've enabled AUTO_BED_LEVELING_FEATURE and are using the Z Probe for Z Homing,
652
   // it is highly recommended you also enable Z_SAFE_HOMING below!
670
   // it is highly recommended you also enable Z_SAFE_HOMING below!
653
 
671
 
1150
 //
1168
 //
1151
 //#define NUM_SERVOS 3 // Servo index starts with 0 for M280 command
1169
 //#define NUM_SERVOS 3 // Servo index starts with 0 for M280 command
1152
 
1170
 
1153
-// Servo Endstops
1154
-//
1155
-// This allows for servo actuated endstops, primary usage is for the Z Axis to eliminate calibration or bed height changes.
1156
-// Use M851 to set the Z probe vertical offset from the nozzle. Store that setting with M500.
1157
-//
1158
-//#define Z_ENDSTOP_SERVO_NR 0
1159
-//#define Z_SERVO_ANGLES {70,0} // Z Servo Extend and Retract angles
1160
-
1161
 // Servo deactivation
1171
 // Servo deactivation
1162
 //
1172
 //
1163
 // With this option servos are powered only during movement, then turned off to prevent jitter.
1173
 // With this option servos are powered only during movement, then turned off to prevent jitter.

+ 59
- 48
Marlin/example_configurations/K8200/Configuration.h View File

470
 // If you're using the Z MIN endstop connector for your Z probe, this has no effect.
470
 // If you're using the Z MIN endstop connector for your Z probe, this has no effect.
471
 //#define DISABLE_Z_MIN_PROBE_ENDSTOP
471
 //#define DISABLE_Z_MIN_PROBE_ENDSTOP
472
 
472
 
473
+//
474
+// Probe Type
475
+// Probes are sensors/switches that are activated / deactivated before/after use.
476
+//
477
+// Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
478
+// You must activate one of these to use AUTO_BED_LEVELING_FEATURE below.
479
+//
480
+// Use M851 to set the Z probe vertical offset from the nozzle. Store with M500.
481
+//
482
+
483
+// A fix mounted probe, like the normal inductive probe, must be deactivated to go
484
+// below Z_PROBE_OFFSET_FROM_EXTRUDER when the hardware endstops are active.
485
+//#define FIX_MOUNTED_PROBE
486
+
487
+// Z Servo Probe, such as an endstop switch on a rotating arm.
488
+//#define Z_ENDSTOP_SERVO_NR 0
489
+//#define Z_SERVO_ANGLES {70,0} // Z Servo Deploy and Stow angles
490
+
491
+// Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.
492
+//#define Z_PROBE_SLED
493
+//#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.
494
+
495
+// A Mechanical Probe is any probe that either doesn't deploy or needs manual deployment
496
+// For example any setup that uses the nozzle itself as a probe.
497
+//#define MECHANICAL_PROBE
498
+
499
+// Z Probe to nozzle (X,Y) offset, relative to (0, 0).
500
+// X and Y offsets must be integers.
501
+//
502
+// In the following example the X and Y offsets are both positive:
503
+// #define X_PROBE_OFFSET_FROM_EXTRUDER 10
504
+// #define Y_PROBE_OFFSET_FROM_EXTRUDER 10
505
+//
506
+//    +-- BACK ---+
507
+//    |           |
508
+//  L |    (+) P  | R <-- probe (20,20)
509
+//  E |           | I
510
+//  F | (-) N (+) | G <-- nozzle (10,10)
511
+//  T |           | H
512
+//    |    (-)    | T
513
+//    |           |
514
+//    O-- FRONT --+
515
+//  (0,0)
516
+#define X_PROBE_OFFSET_FROM_EXTRUDER -25     // X offset: -left  +right  [of the nozzle]
517
+#define Y_PROBE_OFFSET_FROM_EXTRUDER -29     // Y offset: -front +behind [the nozzle]
518
+#define Z_PROBE_OFFSET_FROM_EXTRUDER -12.35  // Z offset: -below +above  [the nozzle]
519
+
520
+//
521
+// Allen Key Probe is defined in the Delta example configurations.
522
+//
523
+
524
+//
473
 // Probe Raise options provide clearance for the probe to deploy and stow.
525
 // Probe Raise options provide clearance for the probe to deploy and stow.
526
+//
474
 // For G28 these apply when the probe deploys and stows.
527
 // For G28 these apply when the probe deploys and stows.
475
 // For G29 these apply before and after the full procedure.
528
 // For G29 these apply before and after the full procedure.
476
 #define Z_RAISE_BEFORE_PROBING 15   // Raise before probe deploy (e.g., the first probe).
529
 #define Z_RAISE_BEFORE_PROBING 15   // Raise before probe deploy (e.g., the first probe).
477
 #define Z_RAISE_AFTER_PROBING 15    // Raise before probe stow (e.g., the last probe).
530
 #define Z_RAISE_AFTER_PROBING 15    // Raise before probe stow (e.g., the last probe).
478
 
531
 
532
+//
533
+// For M851 give a range for adjusting the Z probe offset
534
+//
535
+#define Z_PROBE_OFFSET_RANGE_MIN -20
536
+#define Z_PROBE_OFFSET_RANGE_MAX 20
537
+
479
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
538
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
480
 // :{0:'Low',1:'High'}
539
 // :{0:'Low',1:'High'}
481
 #define X_ENABLE_ON 0
540
 #define X_ENABLE_ON 0
623
 
682
 
624
   #endif // !AUTO_BED_LEVELING_GRID
683
   #endif // !AUTO_BED_LEVELING_GRID
625
 
684
 
626
-  // Z Probe to nozzle (X,Y) offset, relative to (0, 0).
627
-  // X and Y offsets must be integers.
628
-  //
629
-  // In the following example the X and Y offsets are both positive:
630
-  // #define X_PROBE_OFFSET_FROM_EXTRUDER 10
631
-  // #define Y_PROBE_OFFSET_FROM_EXTRUDER 10
632
-  //
633
-  //    +-- BACK ---+
634
-  //    |           |
635
-  //  L |    (+) P  | R <-- probe (20,20)
636
-  //  E |           | I
637
-  //  F | (-) N (+) | G <-- nozzle (10,10)
638
-  //  T |           | H
639
-  //    |    (-)    | T
640
-  //    |           |
641
-  //    O-- FRONT --+
642
-  //  (0,0)
643
-  #define X_PROBE_OFFSET_FROM_EXTRUDER -25     // X offset: -left  +right  [of the nozzle]
644
-  #define Y_PROBE_OFFSET_FROM_EXTRUDER -29     // Y offset: -front +behind [the nozzle]
645
-  #define Z_PROBE_OFFSET_FROM_EXTRUDER -12.35  // Z offset: -below +above  [the nozzle]
646
-
647
   #define XY_TRAVEL_SPEED 8000         // X and Y axis travel speed between probes, in mm/min.
685
   #define XY_TRAVEL_SPEED 8000         // X and Y axis travel speed between probes, in mm/min.
648
 
686
 
649
   #define Z_RAISE_BETWEEN_PROBINGS 5  // How much the Z axis will be raised when traveling from between next probing points.
687
   #define Z_RAISE_BETWEEN_PROBINGS 5  // How much the Z axis will be raised when traveling from between next probing points.
651
   //#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10" // These commands will be executed in the end of G29 routine.
689
   //#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10" // These commands will be executed in the end of G29 routine.
652
                                                                              // Useful to retract a deployable Z probe.
690
                                                                              // Useful to retract a deployable Z probe.
653
 
691
 
654
-  // Probes are sensors/switches that need to be activated before they can be used
655
-  // and deactivated after their use.
656
-  // Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, ... . You have to activate one of these for the AUTO_BED_LEVELING_FEATURE
657
-
658
-  // A fix mounted probe, like the normal inductive probe, must be deactivated to go below Z_PROBE_OFFSET_FROM_EXTRUDER
659
-  // when the hardware endstops are active.
660
-  //#define FIX_MOUNTED_PROBE
661
-
662
-  // A Servo Probe can be defined in the servo section below.
663
-
664
-  // An Allen Key Probe is currently predefined only in the delta example configurations.
665
-
666
-  // Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.
667
-  //#define Z_PROBE_SLED
668
-  //#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.
669
-
670
-  // A Mechanical Probe is any probe that either doesn't deploy or needs manual deployment
671
-  // For example any setup that uses the nozzle itself as a probe.
672
-  //#define MECHANICAL_PROBE
673
 
692
 
674
   // If you've enabled AUTO_BED_LEVELING_FEATURE and are using the Z Probe for Z Homing,
693
   // If you've enabled AUTO_BED_LEVELING_FEATURE and are using the Z Probe for Z Homing,
675
   // it is highly recommended you also enable Z_SAFE_HOMING below!
694
   // it is highly recommended you also enable Z_SAFE_HOMING below!
1168
 //
1187
 //
1169
 //#define NUM_SERVOS 3 // Servo index starts with 0 for M280 command
1188
 //#define NUM_SERVOS 3 // Servo index starts with 0 for M280 command
1170
 
1189
 
1171
-// Servo Endstops
1172
-//
1173
-// This allows for servo actuated endstops, primary usage is for the Z Axis to eliminate calibration or bed height changes.
1174
-// Use M851 to set the Z probe vertical offset from the nozzle. Store that setting with M500.
1175
-//
1176
-//#define Z_ENDSTOP_SERVO_NR 0
1177
-//#define Z_SERVO_ANGLES {70,0} // Z Servo Extend and Retract angles
1178
-
1179
 // Servo deactivation
1190
 // Servo deactivation
1180
 //
1191
 //
1181
 // With this option servos are powered only during movement, then turned off to prevent jitter.
1192
 // With this option servos are powered only during movement, then turned off to prevent jitter.

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

453
 // If you're using the Z MIN endstop connector for your Z probe, this has no effect.
453
 // If you're using the Z MIN endstop connector for your Z probe, this has no effect.
454
 //#define DISABLE_Z_MIN_PROBE_ENDSTOP
454
 //#define DISABLE_Z_MIN_PROBE_ENDSTOP
455
 
455
 
456
+//
457
+// Probe Type
458
+// Probes are sensors/switches that are activated / deactivated before/after use.
459
+//
460
+// Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
461
+// You must activate one of these to use AUTO_BED_LEVELING_FEATURE below.
462
+//
463
+// Use M851 to set the Z probe vertical offset from the nozzle. Store with M500.
464
+//
465
+
466
+// A fix mounted probe, like the normal inductive probe, must be deactivated to go
467
+// below Z_PROBE_OFFSET_FROM_EXTRUDER when the hardware endstops are active.
468
+//#define FIX_MOUNTED_PROBE
469
+
470
+// Z Servo Probe, such as an endstop switch on a rotating arm.
471
+//#define Z_ENDSTOP_SERVO_NR 0
472
+//#define Z_SERVO_ANGLES {70,0} // Z Servo Deploy and Stow angles
473
+
474
+// Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.
475
+//#define Z_PROBE_SLED
476
+//#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.
477
+
478
+// A Mechanical Probe is any probe that either doesn't deploy or needs manual deployment
479
+// For example any setup that uses the nozzle itself as a probe.
480
+//#define MECHANICAL_PROBE
481
+
482
+// Z Probe to nozzle (X,Y) offset, relative to (0, 0).
483
+// X and Y offsets must be integers.
484
+//
485
+// In the following example the X and Y offsets are both positive:
486
+// #define X_PROBE_OFFSET_FROM_EXTRUDER 10
487
+// #define Y_PROBE_OFFSET_FROM_EXTRUDER 10
488
+//
489
+//    +-- BACK ---+
490
+//    |           |
491
+//  L |    (+) P  | R <-- probe (20,20)
492
+//  E |           | I
493
+//  F | (-) N (+) | G <-- nozzle (10,10)
494
+//  T |           | H
495
+//    |    (-)    | T
496
+//    |           |
497
+//    O-- FRONT --+
498
+//  (0,0)
499
+#define X_PROBE_OFFSET_FROM_EXTRUDER -25     // X offset: -left  +right  [of the nozzle]
500
+#define Y_PROBE_OFFSET_FROM_EXTRUDER -29     // Y offset: -front +behind [the nozzle]
501
+#define Z_PROBE_OFFSET_FROM_EXTRUDER -12.35  // Z offset: -below +above  [the nozzle]
502
+
503
+//
504
+// Allen Key Probe is defined in the Delta example configurations.
505
+//
506
+
507
+//
456
 // Probe Raise options provide clearance for the probe to deploy and stow.
508
 // Probe Raise options provide clearance for the probe to deploy and stow.
509
+//
457
 // For G28 these apply when the probe deploys and stows.
510
 // For G28 these apply when the probe deploys and stows.
458
 // For G29 these apply before and after the full procedure.
511
 // For G29 these apply before and after the full procedure.
459
 #define Z_RAISE_BEFORE_PROBING 15   // Raise before probe deploy (e.g., the first probe).
512
 #define Z_RAISE_BEFORE_PROBING 15   // Raise before probe deploy (e.g., the first probe).
460
 #define Z_RAISE_AFTER_PROBING 15    // Raise before probe stow (e.g., the last probe).
513
 #define Z_RAISE_AFTER_PROBING 15    // Raise before probe stow (e.g., the last probe).
461
 
514
 
515
+//
516
+// For M851 give a range for adjusting the Z probe offset
517
+//
518
+#define Z_PROBE_OFFSET_RANGE_MIN -20
519
+#define Z_PROBE_OFFSET_RANGE_MAX 20
520
+
462
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
521
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
463
 // :{0:'Low',1:'High'}
522
 // :{0:'Low',1:'High'}
464
 #define X_ENABLE_ON 0
523
 #define X_ENABLE_ON 0
606
 
665
 
607
   #endif // !AUTO_BED_LEVELING_GRID
666
   #endif // !AUTO_BED_LEVELING_GRID
608
 
667
 
609
-  // Z Probe to nozzle (X,Y) offset, relative to (0, 0).
610
-  // X and Y offsets must be integers.
611
-  //
612
-  // In the following example the X and Y offsets are both positive:
613
-  // #define X_PROBE_OFFSET_FROM_EXTRUDER 10
614
-  // #define Y_PROBE_OFFSET_FROM_EXTRUDER 10
615
-  //
616
-  //    +-- BACK ---+
617
-  //    |           |
618
-  //  L |    (+) P  | R <-- probe (20,20)
619
-  //  E |           | I
620
-  //  F | (-) N (+) | G <-- nozzle (10,10)
621
-  //  T |           | H
622
-  //    |    (-)    | T
623
-  //    |           |
624
-  //    O-- FRONT --+
625
-  //  (0,0)
626
-  #define X_PROBE_OFFSET_FROM_EXTRUDER -25     // X offset: -left  +right  [of the nozzle]
627
-  #define Y_PROBE_OFFSET_FROM_EXTRUDER -29     // Y offset: -front +behind [the nozzle]
628
-  #define Z_PROBE_OFFSET_FROM_EXTRUDER -12.35  // Z offset: -below +above  [the nozzle]
629
-
630
   #define XY_TRAVEL_SPEED 8000         // X and Y axis travel speed between probes, in mm/min.
668
   #define XY_TRAVEL_SPEED 8000         // X and Y axis travel speed between probes, in mm/min.
631
 
669
 
632
   #define Z_RAISE_BETWEEN_PROBINGS 5  // How much the Z axis will be raised when traveling from between next probing points.
670
   #define Z_RAISE_BETWEEN_PROBINGS 5  // How much the Z axis will be raised when traveling from between next probing points.
634
   //#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10" // These commands will be executed in the end of G29 routine.
672
   //#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10" // These commands will be executed in the end of G29 routine.
635
                                                                              // Useful to retract a deployable Z probe.
673
                                                                              // Useful to retract a deployable Z probe.
636
 
674
 
637
-  // Probes are sensors/switches that need to be activated before they can be used
638
-  // and deactivated after their use.
639
-  // Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, ... . You have to activate one of these for the AUTO_BED_LEVELING_FEATURE
640
-
641
-  // A fix mounted probe, like the normal inductive probe, must be deactivated to go below Z_PROBE_OFFSET_FROM_EXTRUDER
642
-  // when the hardware endstops are active.
643
-  //#define FIX_MOUNTED_PROBE
644
-
645
-  // A Servo Probe can be defined in the servo section below.
646
-
647
-  // An Allen Key Probe is currently predefined only in the delta example configurations.
648
-
649
-  // Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.
650
-  //#define Z_PROBE_SLED
651
-  //#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.
652
-
653
-  // A Mechanical Probe is any probe that either doesn't deploy or needs manual deployment
654
-  // For example any setup that uses the nozzle itself as a probe.
655
-  //#define MECHANICAL_PROBE
656
 
675
 
657
   // If you've enabled AUTO_BED_LEVELING_FEATURE and are using the Z Probe for Z Homing,
676
   // If you've enabled AUTO_BED_LEVELING_FEATURE and are using the Z Probe for Z Homing,
658
   // it is highly recommended you also enable Z_SAFE_HOMING below!
677
   // it is highly recommended you also enable Z_SAFE_HOMING below!
1151
 //
1170
 //
1152
 //#define NUM_SERVOS 3 // Servo index starts with 0 for M280 command
1171
 //#define NUM_SERVOS 3 // Servo index starts with 0 for M280 command
1153
 
1172
 
1154
-// Servo Endstops
1155
-//
1156
-// This allows for servo actuated endstops, primary usage is for the Z Axis to eliminate calibration or bed height changes.
1157
-// Use M851 to set the Z probe vertical offset from the nozzle. Store that setting with M500.
1158
-//
1159
-//#define Z_ENDSTOP_SERVO_NR 0
1160
-//#define Z_SERVO_ANGLES {70,0} // Z Servo Extend and Retract angles
1161
-
1162
 // Servo deactivation
1173
 // Servo deactivation
1163
 //
1174
 //
1164
 // With this option servos are powered only during movement, then turned off to prevent jitter.
1175
 // With this option servos are powered only during movement, then turned off to prevent jitter.

+ 59
- 48
Marlin/example_configurations/RigidBot/Configuration.h View File

447
 // If you're using the Z MIN endstop connector for your Z probe, this has no effect.
447
 // If you're using the Z MIN endstop connector for your Z probe, this has no effect.
448
 //#define DISABLE_Z_MIN_PROBE_ENDSTOP
448
 //#define DISABLE_Z_MIN_PROBE_ENDSTOP
449
 
449
 
450
+//
451
+// Probe Type
452
+// Probes are sensors/switches that are activated / deactivated before/after use.
453
+//
454
+// Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
455
+// You must activate one of these to use AUTO_BED_LEVELING_FEATURE below.
456
+//
457
+// Use M851 to set the Z probe vertical offset from the nozzle. Store with M500.
458
+//
459
+
460
+// A fix mounted probe, like the normal inductive probe, must be deactivated to go
461
+// below Z_PROBE_OFFSET_FROM_EXTRUDER when the hardware endstops are active.
462
+//#define FIX_MOUNTED_PROBE
463
+
464
+// Z Servo Probe, such as an endstop switch on a rotating arm.
465
+//#define Z_ENDSTOP_SERVO_NR 0
466
+//#define Z_SERVO_ANGLES {70,0} // Z Servo Deploy and Stow angles
467
+
468
+// Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.
469
+//#define Z_PROBE_SLED
470
+//#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.
471
+
472
+// A Mechanical Probe is any probe that either doesn't deploy or needs manual deployment
473
+// For example any setup that uses the nozzle itself as a probe.
474
+//#define MECHANICAL_PROBE
475
+
476
+// Z Probe to nozzle (X,Y) offset, relative to (0, 0).
477
+// X and Y offsets must be integers.
478
+//
479
+// In the following example the X and Y offsets are both positive:
480
+// #define X_PROBE_OFFSET_FROM_EXTRUDER 10
481
+// #define Y_PROBE_OFFSET_FROM_EXTRUDER 10
482
+//
483
+//    +-- BACK ---+
484
+//    |           |
485
+//  L |    (+) P  | R <-- probe (20,20)
486
+//  E |           | I
487
+//  F | (-) N (+) | G <-- nozzle (10,10)
488
+//  T |           | H
489
+//    |    (-)    | T
490
+//    |           |
491
+//    O-- FRONT --+
492
+//  (0,0)
493
+#define X_PROBE_OFFSET_FROM_EXTRUDER -25     // X offset: -left  +right  [of the nozzle]
494
+#define Y_PROBE_OFFSET_FROM_EXTRUDER -29     // Y offset: -front +behind [the nozzle]
495
+#define Z_PROBE_OFFSET_FROM_EXTRUDER -12.35  // Z offset: -below +above  [the nozzle]
496
+
497
+//
498
+// Allen Key Probe is defined in the Delta example configurations.
499
+//
500
+
501
+//
450
 // Probe Raise options provide clearance for the probe to deploy and stow.
502
 // Probe Raise options provide clearance for the probe to deploy and stow.
503
+//
451
 // For G28 these apply when the probe deploys and stows.
504
 // For G28 these apply when the probe deploys and stows.
452
 // For G29 these apply before and after the full procedure.
505
 // For G29 these apply before and after the full procedure.
453
 #define Z_RAISE_BEFORE_PROBING 15   // Raise before probe deploy (e.g., the first probe).
506
 #define Z_RAISE_BEFORE_PROBING 15   // Raise before probe deploy (e.g., the first probe).
454
 #define Z_RAISE_AFTER_PROBING 15    // Raise before probe stow (e.g., the last probe).
507
 #define Z_RAISE_AFTER_PROBING 15    // Raise before probe stow (e.g., the last probe).
455
 
508
 
509
+//
510
+// For M851 give a range for adjusting the Z probe offset
511
+//
512
+#define Z_PROBE_OFFSET_RANGE_MIN -20
513
+#define Z_PROBE_OFFSET_RANGE_MAX 20
514
+
456
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
515
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
457
 // :{0:'Low',1:'High'}
516
 // :{0:'Low',1:'High'}
458
 #define X_ENABLE_ON 0
517
 #define X_ENABLE_ON 0
600
 
659
 
601
   #endif // !AUTO_BED_LEVELING_GRID
660
   #endif // !AUTO_BED_LEVELING_GRID
602
 
661
 
603
-  // Z Probe to nozzle (X,Y) offset, relative to (0, 0).
604
-  // X and Y offsets must be integers.
605
-  //
606
-  // In the following example the X and Y offsets are both positive:
607
-  // #define X_PROBE_OFFSET_FROM_EXTRUDER 10
608
-  // #define Y_PROBE_OFFSET_FROM_EXTRUDER 10
609
-  //
610
-  //    +-- BACK ---+
611
-  //    |           |
612
-  //  L |    (+) P  | R <-- probe (20,20)
613
-  //  E |           | I
614
-  //  F | (-) N (+) | G <-- nozzle (10,10)
615
-  //  T |           | H
616
-  //    |    (-)    | T
617
-  //    |           |
618
-  //    O-- FRONT --+
619
-  //  (0,0)
620
-  #define X_PROBE_OFFSET_FROM_EXTRUDER -25     // X offset: -left  +right  [of the nozzle]
621
-  #define Y_PROBE_OFFSET_FROM_EXTRUDER -29     // Y offset: -front +behind [the nozzle]
622
-  #define Z_PROBE_OFFSET_FROM_EXTRUDER -12.35  // Z offset: -below +above  [the nozzle]
623
-
624
   #define XY_TRAVEL_SPEED 8000         // X and Y axis travel speed between probes, in mm/min.
662
   #define XY_TRAVEL_SPEED 8000         // X and Y axis travel speed between probes, in mm/min.
625
 
663
 
626
   #define Z_RAISE_BETWEEN_PROBINGS 5  // How much the Z axis will be raised when traveling from between next probing points.
664
   #define Z_RAISE_BETWEEN_PROBINGS 5  // How much the Z axis will be raised when traveling from between next probing points.
628
   //#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10" // These commands will be executed in the end of G29 routine.
666
   //#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10" // These commands will be executed in the end of G29 routine.
629
                                                                              // Useful to retract a deployable Z probe.
667
                                                                              // Useful to retract a deployable Z probe.
630
 
668
 
631
-  // Probes are sensors/switches that need to be activated before they can be used
632
-  // and deactivated after their use.
633
-  // Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, ... . You have to activate one of these for the AUTO_BED_LEVELING_FEATURE
634
-
635
-  // A fix mounted probe, like the normal inductive probe, must be deactivated to go below Z_PROBE_OFFSET_FROM_EXTRUDER
636
-  // when the hardware endstops are active.
637
-  //#define FIX_MOUNTED_PROBE
638
-
639
-  // A Servo Probe can be defined in the servo section below.
640
-
641
-  // An Allen Key Probe is currently predefined only in the delta example configurations.
642
-
643
-  // Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.
644
-  //#define Z_PROBE_SLED
645
-  //#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.
646
-
647
-  // A Mechanical Probe is any probe that either doesn't deploy or needs manual deployment
648
-  // For example any setup that uses the nozzle itself as a probe.
649
-  //#define MECHANICAL_PROBE
650
 
669
 
651
   // If you've enabled AUTO_BED_LEVELING_FEATURE and are using the Z Probe for Z Homing,
670
   // If you've enabled AUTO_BED_LEVELING_FEATURE and are using the Z Probe for Z Homing,
652
   // it is highly recommended you also enable Z_SAFE_HOMING below!
671
   // it is highly recommended you also enable Z_SAFE_HOMING below!
1148
 //
1167
 //
1149
 #define NUM_SERVOS 0 // DGlass3D - Servo index starts with 0 for M280 command
1168
 #define NUM_SERVOS 0 // DGlass3D - Servo index starts with 0 for M280 command
1150
 
1169
 
1151
-// Servo Endstops
1152
-//
1153
-// This allows for servo actuated endstops, primary usage is for the Z Axis to eliminate calibration or bed height changes.
1154
-// Use M851 to set the Z probe vertical offset from the nozzle. Store that setting with M500.
1155
-//
1156
-//#define Z_ENDSTOP_SERVO_NR 0
1157
-//#define Z_SERVO_ANGLES {70,0} // Z Servo Extend and Retract angles
1158
-
1159
 // Servo deactivation
1170
 // Servo deactivation
1160
 //
1171
 //
1161
 // With this option servos are powered only during movement, then turned off to prevent jitter.
1172
 // With this option servos are powered only during movement, then turned off to prevent jitter.

+ 59
- 48
Marlin/example_configurations/SCARA/Configuration.h View File

461
 // If you're using the Z MIN endstop connector for your Z probe, this has no effect.
461
 // If you're using the Z MIN endstop connector for your Z probe, this has no effect.
462
 //#define DISABLE_Z_MIN_PROBE_ENDSTOP
462
 //#define DISABLE_Z_MIN_PROBE_ENDSTOP
463
 
463
 
464
+//
465
+// Probe Type
466
+// Probes are sensors/switches that are activated / deactivated before/after use.
467
+//
468
+// Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
469
+// You must activate one of these to use AUTO_BED_LEVELING_FEATURE below.
470
+//
471
+// Use M851 to set the Z probe vertical offset from the nozzle. Store with M500.
472
+//
473
+
474
+// A fix mounted probe, like the normal inductive probe, must be deactivated to go
475
+// below Z_PROBE_OFFSET_FROM_EXTRUDER when the hardware endstops are active.
476
+//#define FIX_MOUNTED_PROBE
477
+
478
+// Z Servo Probe, such as an endstop switch on a rotating arm.
479
+//#define Z_ENDSTOP_SERVO_NR 0
480
+//#define Z_SERVO_ANGLES {70,0} // Z Servo Deploy and Stow angles
481
+
482
+// Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.
483
+//#define Z_PROBE_SLED
484
+//#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.
485
+
486
+// A Mechanical Probe is any probe that either doesn't deploy or needs manual deployment
487
+// For example any setup that uses the nozzle itself as a probe.
488
+//#define MECHANICAL_PROBE
489
+
490
+// Z Probe to nozzle (X,Y) offset, relative to (0, 0).
491
+// X and Y offsets must be integers.
492
+//
493
+// In the following example the X and Y offsets are both positive:
494
+// #define X_PROBE_OFFSET_FROM_EXTRUDER 10
495
+// #define Y_PROBE_OFFSET_FROM_EXTRUDER 10
496
+//
497
+//    +-- BACK ---+
498
+//    |           |
499
+//  L |    (+) P  | R <-- probe (20,20)
500
+//  E |           | I
501
+//  F | (-) N (+) | G <-- nozzle (10,10)
502
+//  T |           | H
503
+//    |    (-)    | T
504
+//    |           |
505
+//    O-- FRONT --+
506
+//  (0,0)
507
+#define X_PROBE_OFFSET_FROM_EXTRUDER -25     // X offset: -left  +right  [of the nozzle]
508
+#define Y_PROBE_OFFSET_FROM_EXTRUDER -29     // Y offset: -front +behind [the nozzle]
509
+#define Z_PROBE_OFFSET_FROM_EXTRUDER -12.35  // Z offset: -below +above  [the nozzle]
510
+
511
+//
512
+// Allen Key Probe is defined in the Delta example configurations.
513
+//
514
+
515
+//
464
 // Probe Raise options provide clearance for the probe to deploy and stow.
516
 // Probe Raise options provide clearance for the probe to deploy and stow.
517
+//
465
 // For G28 these apply when the probe deploys and stows.
518
 // For G28 these apply when the probe deploys and stows.
466
 // For G29 these apply before and after the full procedure.
519
 // For G29 these apply before and after the full procedure.
467
 #define Z_RAISE_BEFORE_PROBING 15   // Raise before probe deploy (e.g., the first probe).
520
 #define Z_RAISE_BEFORE_PROBING 15   // Raise before probe deploy (e.g., the first probe).
468
 #define Z_RAISE_AFTER_PROBING 15    // Raise before probe stow (e.g., the last probe).
521
 #define Z_RAISE_AFTER_PROBING 15    // Raise before probe stow (e.g., the last probe).
469
 
522
 
523
+//
524
+// For M851 give a range for adjusting the Z probe offset
525
+//
526
+#define Z_PROBE_OFFSET_RANGE_MIN -20
527
+#define Z_PROBE_OFFSET_RANGE_MAX 20
528
+
470
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
529
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
471
 // :{0:'Low',1:'High'}
530
 // :{0:'Low',1:'High'}
472
 #define X_ENABLE_ON 0
531
 #define X_ENABLE_ON 0
614
 
673
 
615
   #endif // !AUTO_BED_LEVELING_GRID
674
   #endif // !AUTO_BED_LEVELING_GRID
616
 
675
 
617
-  // Z Probe to nozzle (X,Y) offset, relative to (0, 0).
618
-  // X and Y offsets must be integers.
619
-  //
620
-  // In the following example the X and Y offsets are both positive:
621
-  // #define X_PROBE_OFFSET_FROM_EXTRUDER 10
622
-  // #define Y_PROBE_OFFSET_FROM_EXTRUDER 10
623
-  //
624
-  //    +-- BACK ---+
625
-  //    |           |
626
-  //  L |    (+) P  | R <-- probe (20,20)
627
-  //  E |           | I
628
-  //  F | (-) N (+) | G <-- nozzle (10,10)
629
-  //  T |           | H
630
-  //    |    (-)    | T
631
-  //    |           |
632
-  //    O-- FRONT --+
633
-  //  (0,0)
634
-  #define X_PROBE_OFFSET_FROM_EXTRUDER -25     // X offset: -left  +right  [of the nozzle]
635
-  #define Y_PROBE_OFFSET_FROM_EXTRUDER -29     // Y offset: -front +behind [the nozzle]
636
-  #define Z_PROBE_OFFSET_FROM_EXTRUDER -12.35  // Z offset: -below +above  [the nozzle]
637
-
638
   #define XY_TRAVEL_SPEED 8000         // X and Y axis travel speed between probes, in mm/min.
676
   #define XY_TRAVEL_SPEED 8000         // X and Y axis travel speed between probes, in mm/min.
639
 
677
 
640
   #define Z_RAISE_BETWEEN_PROBINGS 5  // How much the Z axis will be raised when traveling from between next probing points.
678
   #define Z_RAISE_BETWEEN_PROBINGS 5  // How much the Z axis will be raised when traveling from between next probing points.
642
   //#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10" // These commands will be executed in the end of G29 routine.
680
   //#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10" // These commands will be executed in the end of G29 routine.
643
                                                                              // Useful to retract a deployable Z probe.
681
                                                                              // Useful to retract a deployable Z probe.
644
 
682
 
645
-  // Probes are sensors/switches that need to be activated before they can be used
646
-  // and deactivated after their use.
647
-  // Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, ... . You have to activate one of these for the AUTO_BED_LEVELING_FEATURE
648
-
649
-  // A fix mounted probe, like the normal inductive probe, must be deactivated to go below Z_PROBE_OFFSET_FROM_EXTRUDER
650
-  // when the hardware endstops are active.
651
-  //#define FIX_MOUNTED_PROBE
652
-
653
-  // A Servo Probe can be defined in the servo section below.
654
-
655
-  // An Allen Key Probe is currently predefined only in the delta example configurations.
656
-
657
-  // Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.
658
-  //#define Z_PROBE_SLED
659
-  //#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.
660
-
661
-  // A Mechanical Probe is any probe that either doesn't deploy or needs manual deployment
662
-  // For example any setup that uses the nozzle itself as a probe.
663
-  //#define MECHANICAL_PROBE
664
 
683
 
665
   // If you've enabled AUTO_BED_LEVELING_FEATURE and are using the Z Probe for Z Homing,
684
   // If you've enabled AUTO_BED_LEVELING_FEATURE and are using the Z Probe for Z Homing,
666
   // it is highly recommended you also enable Z_SAFE_HOMING below!
685
   // it is highly recommended you also enable Z_SAFE_HOMING below!
1159
 //
1178
 //
1160
 //#define NUM_SERVOS 3 // Servo index starts with 0 for M280 command
1179
 //#define NUM_SERVOS 3 // Servo index starts with 0 for M280 command
1161
 
1180
 
1162
-// Servo Endstops
1163
-//
1164
-// This allows for servo actuated endstops, primary usage is for the Z Axis to eliminate calibration or bed height changes.
1165
-// Use M851 to set the Z probe vertical offset from the nozzle. Store that setting with M500.
1166
-//
1167
-//#define Z_ENDSTOP_SERVO_NR 0
1168
-//#define Z_SERVO_ANGLES {70,0} // Z Servo Extend and Retract angles
1169
-
1170
 // Servo deactivation
1181
 // Servo deactivation
1171
 //
1182
 //
1172
 // With this option servos are powered only during movement, then turned off to prevent jitter.
1183
 // With this option servos are powered only during movement, then turned off to prevent jitter.

+ 59
- 48
Marlin/example_configurations/TAZ4/Configuration.h View File

474
 // If you're using the Z MIN endstop connector for your Z probe, this has no effect.
474
 // If you're using the Z MIN endstop connector for your Z probe, this has no effect.
475
 //#define DISABLE_Z_MIN_PROBE_ENDSTOP
475
 //#define DISABLE_Z_MIN_PROBE_ENDSTOP
476
 
476
 
477
+//
478
+// Probe Type
479
+// Probes are sensors/switches that are activated / deactivated before/after use.
480
+//
481
+// Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
482
+// You must activate one of these to use AUTO_BED_LEVELING_FEATURE below.
483
+//
484
+// Use M851 to set the Z probe vertical offset from the nozzle. Store with M500.
485
+//
486
+
487
+// A fix mounted probe, like the normal inductive probe, must be deactivated to go
488
+// below Z_PROBE_OFFSET_FROM_EXTRUDER when the hardware endstops are active.
489
+//#define FIX_MOUNTED_PROBE
490
+
491
+// Z Servo Probe, such as an endstop switch on a rotating arm.
492
+//#define Z_ENDSTOP_SERVO_NR 0
493
+//#define Z_SERVO_ANGLES {70,0} // Z Servo Deploy and Stow angles
494
+
495
+// Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.
496
+//#define Z_PROBE_SLED
497
+//#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.
498
+
499
+// A Mechanical Probe is any probe that either doesn't deploy or needs manual deployment
500
+// For example any setup that uses the nozzle itself as a probe.
501
+//#define MECHANICAL_PROBE
502
+
503
+// Z Probe to nozzle (X,Y) offset, relative to (0, 0).
504
+// X and Y offsets must be integers.
505
+//
506
+// In the following example the X and Y offsets are both positive:
507
+// #define X_PROBE_OFFSET_FROM_EXTRUDER 10
508
+// #define Y_PROBE_OFFSET_FROM_EXTRUDER 10
509
+//
510
+//    +-- BACK ---+
511
+//    |           |
512
+//  L |    (+) P  | R <-- probe (20,20)
513
+//  E |           | I
514
+//  F | (-) N (+) | G <-- nozzle (10,10)
515
+//  T |           | H
516
+//    |    (-)    | T
517
+//    |           |
518
+//    O-- FRONT --+
519
+//  (0,0)
520
+#define X_PROBE_OFFSET_FROM_EXTRUDER -25     // X offset: -left  +right  [of the nozzle]
521
+#define Y_PROBE_OFFSET_FROM_EXTRUDER -29     // Y offset: -front +behind [the nozzle]
522
+#define Z_PROBE_OFFSET_FROM_EXTRUDER -12.35  // Z offset: -below +above  [the nozzle]
523
+
524
+//
525
+// Allen Key Probe is defined in the Delta example configurations.
526
+//
527
+
528
+//
477
 // Probe Raise options provide clearance for the probe to deploy and stow.
529
 // Probe Raise options provide clearance for the probe to deploy and stow.
530
+//
478
 // For G28 these apply when the probe deploys and stows.
531
 // For G28 these apply when the probe deploys and stows.
479
 // For G29 these apply before and after the full procedure.
532
 // For G29 these apply before and after the full procedure.
480
 #define Z_RAISE_BEFORE_PROBING 15   // Raise before probe deploy (e.g., the first probe).
533
 #define Z_RAISE_BEFORE_PROBING 15   // Raise before probe deploy (e.g., the first probe).
481
 #define Z_RAISE_AFTER_PROBING 15    // Raise before probe stow (e.g., the last probe).
534
 #define Z_RAISE_AFTER_PROBING 15    // Raise before probe stow (e.g., the last probe).
482
 
535
 
536
+//
537
+// For M851 give a range for adjusting the Z probe offset
538
+//
539
+#define Z_PROBE_OFFSET_RANGE_MIN -20
540
+#define Z_PROBE_OFFSET_RANGE_MAX 20
541
+
483
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
542
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
484
 // :{0:'Low',1:'High'}
543
 // :{0:'Low',1:'High'}
485
 #define X_ENABLE_ON 0
544
 #define X_ENABLE_ON 0
627
 
686
 
628
   #endif // !AUTO_BED_LEVELING_GRID
687
   #endif // !AUTO_BED_LEVELING_GRID
629
 
688
 
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
-  #define X_PROBE_OFFSET_FROM_EXTRUDER -25     // X offset: -left  +right  [of the nozzle]
648
-  #define Y_PROBE_OFFSET_FROM_EXTRUDER -29     // Y offset: -front +behind [the nozzle]
649
-  #define Z_PROBE_OFFSET_FROM_EXTRUDER -12.35  // Z offset: -below +above  [the nozzle]
650
-
651
   #define XY_TRAVEL_SPEED 8000         // X and Y axis travel speed between probes, in mm/min.
689
   #define XY_TRAVEL_SPEED 8000         // X and Y axis travel speed between probes, in mm/min.
652
 
690
 
653
   #define Z_RAISE_BETWEEN_PROBINGS 5  // How much the Z axis will be raised when traveling from between next probing points.
691
   #define Z_RAISE_BETWEEN_PROBINGS 5  // How much the Z axis will be raised when traveling from between next probing points.
655
   //#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10" // These commands will be executed in the end of G29 routine.
693
   //#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10" // These commands will be executed in the end of G29 routine.
656
                                                                              // Useful to retract a deployable Z probe.
694
                                                                              // Useful to retract a deployable Z probe.
657
 
695
 
658
-  // Probes are sensors/switches that need to be activated before they can be used
659
-  // and deactivated after their use.
660
-  // Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, ... . You have to activate one of these for the AUTO_BED_LEVELING_FEATURE
661
-
662
-  // A fix mounted probe, like the normal inductive probe, must be deactivated to go below Z_PROBE_OFFSET_FROM_EXTRUDER
663
-  // when the hardware endstops are active.
664
-  //#define FIX_MOUNTED_PROBE
665
-
666
-  // A Servo Probe can be defined in the servo section below.
667
-
668
-  // An Allen Key Probe is currently predefined only in the delta example configurations.
669
-
670
-  // Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.
671
-  //#define Z_PROBE_SLED
672
-  //#define SLED_DOCKING_OFFSET 5 // The extra distance the X axis must travel to pickup the sled. 0 should be fine but you can push it further if you'd like.
673
-
674
-  // A Mechanical Probe is any probe that either doesn't deploy or needs manual deployment
675
-  // For example any setup that uses the nozzle itself as a probe.
676
-  //#define MECHANICAL_PROBE
677
 
696
 
678
   // If you've enabled AUTO_BED_LEVELING_FEATURE and are using the Z Probe for Z Homing,
697
   // If you've enabled AUTO_BED_LEVELING_FEATURE and are using the Z Probe for Z Homing,
679
   // it is highly recommended you also enable Z_SAFE_HOMING below!
698
   // it is highly recommended you also enable Z_SAFE_HOMING below!
1172
 //
1191
 //
1173
 //#define NUM_SERVOS 3 // Servo index starts with 0 for M280 command
1192
 //#define NUM_SERVOS 3 // Servo index starts with 0 for M280 command
1174
 
1193
 
1175
-// Servo Endstops
1176
-//
1177
-// This allows for servo actuated endstops, primary usage is for the Z Axis to eliminate calibration or bed height changes.
1178
-// Use M851 to set the Z probe vertical offset from the nozzle. Store that setting with M500.
1179
-//
1180
-//#define Z_ENDSTOP_SERVO_NR 0
1181
-//#define Z_SERVO_ANGLES {70,0} // Z Servo Extend and Retract angles
1182
-
1183
 // Servo deactivation
1194
 // Servo deactivation
1184
 //
1195
 //
1185
 // With this option servos are powered only during movement, then turned off to prevent jitter.
1196
 // With this option servos are powered only during movement, then turned off to prevent jitter.

+ 59
- 48
Marlin/example_configurations/WITBOX/Configuration.h View File

445
 // If you're using the Z MIN endstop connector for your Z probe, this has no effect.
445
 // If you're using the Z MIN endstop connector for your Z probe, this has no effect.
446
 //#define DISABLE_Z_MIN_PROBE_ENDSTOP
446
 //#define DISABLE_Z_MIN_PROBE_ENDSTOP
447
 
447
 
448
+//
449
+// Probe Type
450
+// Probes are sensors/switches that are activated / deactivated before/after use.
451
+//
452
+// Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
453
+// You must activate one of these to use AUTO_BED_LEVELING_FEATURE below.
454
+//
455
+// Use M851 to set the Z probe vertical offset from the nozzle. Store with M500.
456
+//
457
+
458
+// A fix mounted probe, like the normal inductive probe, must be deactivated to go
459
+// below Z_PROBE_OFFSET_FROM_EXTRUDER when the hardware endstops are active.
460
+//#define FIX_MOUNTED_PROBE
461
+
462
+// Z Servo Probe, such as an endstop switch on a rotating arm.
463
+//#define Z_ENDSTOP_SERVO_NR 0
464
+//#define Z_SERVO_ANGLES {70,0} // Z Servo Deploy and Stow angles
465
+
466
+// Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.
467
+//#define Z_PROBE_SLED
468
+//#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.
469
+
470
+// A Mechanical Probe is any probe that either doesn't deploy or needs manual deployment
471
+// For example any setup that uses the nozzle itself as a probe.
472
+//#define MECHANICAL_PROBE
473
+
474
+// Z Probe to nozzle (X,Y) offset, relative to (0, 0).
475
+// X and Y offsets must be integers.
476
+//
477
+// In the following example the X and Y offsets are both positive:
478
+// #define X_PROBE_OFFSET_FROM_EXTRUDER 10
479
+// #define Y_PROBE_OFFSET_FROM_EXTRUDER 10
480
+//
481
+//    +-- BACK ---+
482
+//    |           |
483
+//  L |    (+) P  | R <-- probe (20,20)
484
+//  E |           | I
485
+//  F | (-) N (+) | G <-- nozzle (10,10)
486
+//  T |           | H
487
+//    |    (-)    | T
488
+//    |           |
489
+//    O-- FRONT --+
490
+//  (0,0)
491
+#define X_PROBE_OFFSET_FROM_EXTRUDER -25     // X offset: -left  +right  [of the nozzle]
492
+#define Y_PROBE_OFFSET_FROM_EXTRUDER -29     // Y offset: -front +behind [the nozzle]
493
+#define Z_PROBE_OFFSET_FROM_EXTRUDER -12.35  // Z offset: -below +above  [the nozzle]
494
+
495
+//
496
+// Allen Key Probe is defined in the Delta example configurations.
497
+//
498
+
499
+//
448
 // Probe Raise options provide clearance for the probe to deploy and stow.
500
 // Probe Raise options provide clearance for the probe to deploy and stow.
501
+//
449
 // For G28 these apply when the probe deploys and stows.
502
 // For G28 these apply when the probe deploys and stows.
450
 // For G29 these apply before and after the full procedure.
503
 // For G29 these apply before and after the full procedure.
451
 #define Z_RAISE_BEFORE_PROBING 15   // Raise before probe deploy (e.g., the first probe).
504
 #define Z_RAISE_BEFORE_PROBING 15   // Raise before probe deploy (e.g., the first probe).
452
 #define Z_RAISE_AFTER_PROBING 15    // Raise before probe stow (e.g., the last probe).
505
 #define Z_RAISE_AFTER_PROBING 15    // Raise before probe stow (e.g., the last probe).
453
 
506
 
507
+//
508
+// For M851 give a range for adjusting the Z probe offset
509
+//
510
+#define Z_PROBE_OFFSET_RANGE_MIN -20
511
+#define Z_PROBE_OFFSET_RANGE_MAX 20
512
+
454
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
513
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
455
 // :{0:'Low',1:'High'}
514
 // :{0:'Low',1:'High'}
456
 #define X_ENABLE_ON 0
515
 #define X_ENABLE_ON 0
598
 
657
 
599
   #endif // !AUTO_BED_LEVELING_GRID
658
   #endif // !AUTO_BED_LEVELING_GRID
600
 
659
 
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
-  #define X_PROBE_OFFSET_FROM_EXTRUDER -25     // X offset: -left  +right  [of the nozzle]
619
-  #define Y_PROBE_OFFSET_FROM_EXTRUDER -29     // Y offset: -front +behind [the nozzle]
620
-  #define Z_PROBE_OFFSET_FROM_EXTRUDER -12.35  // Z offset: -below +above  [the nozzle]
621
-
622
   #define XY_TRAVEL_SPEED 8000         // X and Y axis travel speed between probes, in mm/min.
660
   #define XY_TRAVEL_SPEED 8000         // X and Y axis travel speed between probes, in mm/min.
623
 
661
 
624
   #define Z_RAISE_BETWEEN_PROBINGS 5  // How much the Z axis will be raised when traveling from between next probing points.
662
   #define Z_RAISE_BETWEEN_PROBINGS 5  // How much the Z axis will be raised when traveling from between next probing points.
626
   //#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10" // These commands will be executed in the end of G29 routine.
664
   //#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10" // These commands will be executed in the end of G29 routine.
627
                                                                              // Useful to retract a deployable Z probe.
665
                                                                              // Useful to retract a deployable Z probe.
628
 
666
 
629
-  // Probes are sensors/switches that need to be activated before they can be used
630
-  // and deactivated after their use.
631
-  // Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, ... . You have to activate one of these for the AUTO_BED_LEVELING_FEATURE
632
-
633
-  // A fix mounted probe, like the normal inductive probe, must be deactivated to go below Z_PROBE_OFFSET_FROM_EXTRUDER
634
-  // when the hardware endstops are active.
635
-  //#define FIX_MOUNTED_PROBE
636
-
637
-  // A Servo Probe can be defined in the servo section below.
638
-
639
-  // An Allen Key Probe is currently predefined only in the delta example configurations.
640
-
641
-  // Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.
642
-  //#define Z_PROBE_SLED
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.
644
-
645
-  // A Mechanical Probe is any probe that either doesn't deploy or needs manual deployment
646
-  // For example any setup that uses the nozzle itself as a probe.
647
-  //#define MECHANICAL_PROBE
648
 
667
 
649
   // If you've enabled AUTO_BED_LEVELING_FEATURE and are using the Z Probe for Z Homing,
668
   // If you've enabled AUTO_BED_LEVELING_FEATURE and are using the Z Probe for Z Homing,
650
   // it is highly recommended you also enable Z_SAFE_HOMING below!
669
   // it is highly recommended you also enable Z_SAFE_HOMING below!
1143
 //
1162
 //
1144
 //#define NUM_SERVOS 3 // Servo index starts with 0 for M280 command
1163
 //#define NUM_SERVOS 3 // Servo index starts with 0 for M280 command
1145
 
1164
 
1146
-// Servo Endstops
1147
-//
1148
-// This allows for servo actuated endstops, primary usage is for the Z Axis to eliminate calibration or bed height changes.
1149
-// Use M851 to set the Z probe vertical offset from the nozzle. Store that setting with M500.
1150
-//
1151
-//#define Z_ENDSTOP_SERVO_NR 0
1152
-//#define Z_SERVO_ANGLES {70,0} // Z Servo Extend and Retract angles
1153
-
1154
 // Servo deactivation
1165
 // Servo deactivation
1155
 //
1166
 //
1156
 // With this option servos are powered only during movement, then turned off to prevent jitter.
1167
 // With this option servos are powered only during movement, then turned off to prevent jitter.

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

453
 // If you're using the Z MIN endstop connector for your Z probe, this has no effect.
453
 // If you're using the Z MIN endstop connector for your Z probe, this has no effect.
454
 //#define DISABLE_Z_MIN_PROBE_ENDSTOP
454
 //#define DISABLE_Z_MIN_PROBE_ENDSTOP
455
 
455
 
456
+//
457
+// Probe Type
458
+// Probes are sensors/switches that are activated / deactivated before/after use.
459
+//
460
+// Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
461
+// You must activate one of these to use AUTO_BED_LEVELING_FEATURE below.
462
+//
463
+// Use M851 to set the Z probe vertical offset from the nozzle. Store with M500.
464
+//
465
+
466
+// A fix mounted probe, like the normal inductive probe, must be deactivated to go
467
+// below Z_PROBE_OFFSET_FROM_EXTRUDER when the hardware endstops are active.
468
+//#define FIX_MOUNTED_PROBE
469
+
470
+// Z Servo Probe, such as an endstop switch on a rotating arm.
471
+//#define Z_ENDSTOP_SERVO_NR 0
472
+//#define Z_SERVO_ANGLES {70,0} // Z Servo Deploy and Stow angles
473
+
474
+// Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.
475
+//#define Z_PROBE_SLED
476
+//#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.
477
+
478
+// A Mechanical Probe is any probe that either doesn't deploy or needs manual deployment
479
+// For example any setup that uses the nozzle itself as a probe.
480
+//#define MECHANICAL_PROBE
481
+
482
+// Z Probe to nozzle (X,Y) offset, relative to (0, 0).
483
+// X and Y offsets must be integers.
484
+//
485
+// In the following example the X and Y offsets are both positive:
486
+// #define X_PROBE_OFFSET_FROM_EXTRUDER 10
487
+// #define Y_PROBE_OFFSET_FROM_EXTRUDER 10
488
+//
489
+//    +-- BACK ---+
490
+//    |           |
491
+//  L |    (+) P  | R <-- probe (20,20)
492
+//  E |           | I
493
+//  F | (-) N (+) | G <-- nozzle (10,10)
494
+//  T |           | H
495
+//    |    (-)    | T
496
+//    |           |
497
+//    O-- FRONT --+
498
+//  (0,0)
499
+#define X_PROBE_OFFSET_FROM_EXTRUDER -25     // X offset: -left  +right  [of the nozzle]
500
+#define Y_PROBE_OFFSET_FROM_EXTRUDER -29     // Y offset: -front +behind [the nozzle]
501
+#define Z_PROBE_OFFSET_FROM_EXTRUDER -12.35  // Z offset: -below +above  [the nozzle]
502
+
503
+//
504
+// Allen Key Probe is defined in the Delta example configurations.
505
+//
506
+
507
+//
456
 // Probe Raise options provide clearance for the probe to deploy and stow.
508
 // Probe Raise options provide clearance for the probe to deploy and stow.
509
+//
457
 // For G28 these apply when the probe deploys and stows.
510
 // For G28 these apply when the probe deploys and stows.
458
 // For G29 these apply before and after the full procedure.
511
 // For G29 these apply before and after the full procedure.
459
 #define Z_RAISE_BEFORE_PROBING 15   // Raise before probe deploy (e.g., the first probe).
512
 #define Z_RAISE_BEFORE_PROBING 15   // Raise before probe deploy (e.g., the first probe).
460
 #define Z_RAISE_AFTER_PROBING 15    // Raise before probe stow (e.g., the last probe).
513
 #define Z_RAISE_AFTER_PROBING 15    // Raise before probe stow (e.g., the last probe).
461
 
514
 
515
+//
516
+// For M851 give a range for adjusting the Z probe offset
517
+//
518
+#define Z_PROBE_OFFSET_RANGE_MIN -20
519
+#define Z_PROBE_OFFSET_RANGE_MAX 20
520
+
462
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
521
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
463
 // :{0:'Low',1:'High'}
522
 // :{0:'Low',1:'High'}
464
 #define X_ENABLE_ON 0
523
 #define X_ENABLE_ON 0
606
 
665
 
607
   #endif // !AUTO_BED_LEVELING_GRID
666
   #endif // !AUTO_BED_LEVELING_GRID
608
 
667
 
609
-  // Z Probe to nozzle (X,Y) offset, relative to (0, 0).
610
-  // X and Y offsets must be integers.
611
-  //
612
-  // In the following example the X and Y offsets are both positive:
613
-  // #define X_PROBE_OFFSET_FROM_EXTRUDER 10
614
-  // #define Y_PROBE_OFFSET_FROM_EXTRUDER 10
615
-  //
616
-  //    +-- BACK ---+
617
-  //    |           |
618
-  //  L |    (+) P  | R <-- probe (20,20)
619
-  //  E |           | I
620
-  //  F | (-) N (+) | G <-- nozzle (10,10)
621
-  //  T |           | H
622
-  //    |    (-)    | T
623
-  //    |           |
624
-  //    O-- FRONT --+
625
-  //  (0,0)
626
-  #define X_PROBE_OFFSET_FROM_EXTRUDER -25     // X offset: -left  +right  [of the nozzle]
627
-  #define Y_PROBE_OFFSET_FROM_EXTRUDER -29     // Y offset: -front +behind [the nozzle]
628
-  #define Z_PROBE_OFFSET_FROM_EXTRUDER -12.35  // Z offset: -below +above  [the nozzle]
629
-
630
   #define XY_TRAVEL_SPEED 8000         // X and Y axis travel speed between probes, in mm/min.
668
   #define XY_TRAVEL_SPEED 8000         // X and Y axis travel speed between probes, in mm/min.
631
 
669
 
632
   #define Z_RAISE_BETWEEN_PROBINGS 5  // How much the Z axis will be raised when traveling from between next probing points.
670
   #define Z_RAISE_BETWEEN_PROBINGS 5  // How much the Z axis will be raised when traveling from between next probing points.
634
   //#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10" // These commands will be executed in the end of G29 routine.
672
   //#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10" // These commands will be executed in the end of G29 routine.
635
                                                                              // Useful to retract a deployable Z probe.
673
                                                                              // Useful to retract a deployable Z probe.
636
 
674
 
637
-  // Probes are sensors/switches that need to be activated before they can be used
638
-  // and deactivated after their use.
639
-  // Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, ... . You have to activate one of these for the AUTO_BED_LEVELING_FEATURE
640
-
641
-  // A fix mounted probe, like the normal inductive probe, must be deactivated to go below Z_PROBE_OFFSET_FROM_EXTRUDER
642
-  // when the hardware endstops are active.
643
-  //#define FIX_MOUNTED_PROBE
644
-
645
-  // A Servo Probe can be defined in the servo section below.
646
-
647
-  // An Allen Key Probe is currently predefined only in the delta example configurations.
648
-
649
-  // Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.
650
-  //#define Z_PROBE_SLED
651
-  //#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.
652
-
653
-  // A Mechanical Probe is any probe that either doesn't deploy or needs manual deployment
654
-  // For example any setup that uses the nozzle itself as a probe.
655
-  //#define MECHANICAL_PROBE
656
 
675
 
657
   // If you've enabled AUTO_BED_LEVELING_FEATURE and are using the Z Probe for Z Homing,
676
   // If you've enabled AUTO_BED_LEVELING_FEATURE and are using the Z Probe for Z Homing,
658
   // it is highly recommended you also enable Z_SAFE_HOMING below!
677
   // it is highly recommended you also enable Z_SAFE_HOMING below!
1151
 //
1170
 //
1152
 //#define NUM_SERVOS 3 // Servo index starts with 0 for M280 command
1171
 //#define NUM_SERVOS 3 // Servo index starts with 0 for M280 command
1153
 
1172
 
1154
-// Servo Endstops
1155
-//
1156
-// This allows for servo actuated endstops, primary usage is for the Z Axis to eliminate calibration or bed height changes.
1157
-// Use M851 to set the Z probe vertical offset from the nozzle. Store that setting with M500.
1158
-//
1159
-//#define Z_ENDSTOP_SERVO_NR 0
1160
-//#define Z_SERVO_ANGLES {70,0} // Z Servo Extend and Retract angles
1161
-
1162
 // Servo deactivation
1173
 // Servo deactivation
1163
 //
1174
 //
1164
 // With this option servos are powered only during movement, then turned off to prevent jitter.
1175
 // With this option servos are powered only during movement, then turned off to prevent jitter.

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

495
 // If you're using the Z MIN endstop connector for your Z probe, this has no effect.
495
 // If you're using the Z MIN endstop connector for your Z probe, this has no effect.
496
 //#define DISABLE_Z_MIN_PROBE_ENDSTOP
496
 //#define DISABLE_Z_MIN_PROBE_ENDSTOP
497
 
497
 
498
+//
499
+// Probe Type
500
+// Probes are sensors/switches that are activated / deactivated before/after use.
501
+//
502
+// Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
503
+// You must activate one of these to use AUTO_BED_LEVELING_FEATURE below.
504
+//
505
+// Use M851 to set the Z probe vertical offset from the nozzle. Store with M500.
506
+//
507
+
508
+// A fix mounted probe, like the normal inductive probe, must be deactivated to go
509
+// below Z_PROBE_OFFSET_FROM_EXTRUDER when the hardware endstops are active.
510
+//#define FIX_MOUNTED_PROBE
511
+
512
+// Z Servo Probe, such as an endstop switch on a rotating arm.
513
+//#define Z_ENDSTOP_SERVO_NR 0
514
+//#define Z_SERVO_ANGLES {70,0} // Z Servo Deploy and Stow angles
515
+
516
+// Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.
517
+//#define Z_PROBE_SLED
518
+//#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.
519
+
520
+// A Mechanical Probe is any probe that either doesn't deploy or needs manual deployment
521
+// For example any setup that uses the nozzle itself as a probe.
522
+//#define MECHANICAL_PROBE
523
+
524
+// Z Probe to nozzle (X,Y) offset, relative to (0, 0).
525
+// X and Y offsets must be integers.
526
+//
527
+// In the following example the X and Y offsets are both positive:
528
+// #define X_PROBE_OFFSET_FROM_EXTRUDER 10
529
+// #define Y_PROBE_OFFSET_FROM_EXTRUDER 10
530
+//
531
+//    +-- BACK ---+
532
+//    |           |
533
+//  L |    (+) P  | R <-- probe (20,20)
534
+//  E |           | I
535
+//  F | (-) N (+) | G <-- nozzle (10,10)
536
+//  T |           | H
537
+//    |    (-)    | T
538
+//    |           |
539
+//    O-- FRONT --+
540
+//  (0,0)
541
+#define X_PROBE_OFFSET_FROM_EXTRUDER 0     // X offset: -left  +right  [of the nozzle]
542
+#define Y_PROBE_OFFSET_FROM_EXTRUDER -10   // Y offset: -front +behind [the nozzle]
543
+#define Z_PROBE_OFFSET_FROM_EXTRUDER -3.5  // Z offset: -below +above  [the nozzle]
544
+
545
+// Allen key retractable z-probe as seen on many Kossel delta printers - http://reprap.org/wiki/Kossel#Automatic_bed_leveling_probe
546
+// Deploys by touching z-axis belt. Retracts by pushing the probe down. Uses Z_MIN_PIN.
547
+//#define Z_PROBE_ALLEN_KEY
548
+
549
+#if ENABLED(Z_PROBE_ALLEN_KEY)
550
+  // 2 or 3 sets of coordinates for deploying and retracting the spring loaded touch probe on G29,
551
+  // if servo actuated touch probe is not defined. Uncomment as appropriate for your printer/probe.
552
+
553
+  // Just like Kossel Pro
554
+  #define Z_PROBE_ALLEN_KEY_DEPLOY_1_X -105.00 // Move left but not quite so far that we'll bump the belt
555
+  #define Z_PROBE_ALLEN_KEY_DEPLOY_1_Y 0.00
556
+  #define Z_PROBE_ALLEN_KEY_DEPLOY_1_Z 100.0
557
+  #define Z_PROBE_ALLEN_KEY_DEPLOY_1_FEEDRATE XY_TRAVEL_SPEED
558
+
559
+  #define Z_PROBE_ALLEN_KEY_DEPLOY_2_X -110.00 // Move outward to position deploy pin to the left of the arm
560
+  #define Z_PROBE_ALLEN_KEY_DEPLOY_2_Y -125.00
561
+  #define Z_PROBE_ALLEN_KEY_DEPLOY_2_Z 100.0
562
+  #define Z_PROBE_ALLEN_KEY_DEPLOY_2_FEEDRATE XY_TRAVEL_SPEED
563
+
564
+  #define Z_PROBE_ALLEN_KEY_DEPLOY_3_X 45.00 // Move right to trigger deploy pin
565
+  #define Z_PROBE_ALLEN_KEY_DEPLOY_3_Y -125.00
566
+  #define Z_PROBE_ALLEN_KEY_DEPLOY_3_Z 100.0
567
+  #define Z_PROBE_ALLEN_KEY_DEPLOY_3_FEEDRATE (XY_TRAVEL_SPEED)/2
568
+
569
+  #define Z_PROBE_ALLEN_KEY_STOW_1_X 36.00 // Line up with bed retaining clip
570
+  #define Z_PROBE_ALLEN_KEY_STOW_1_Y -122.00
571
+  #define Z_PROBE_ALLEN_KEY_STOW_1_Z 75.0
572
+  #define Z_PROBE_ALLEN_KEY_STOW_1_FEEDRATE XY_TRAVEL_SPEED
573
+
574
+  #define Z_PROBE_ALLEN_KEY_STOW_2_X 36.00 // move down to retract probe
575
+  #define Z_PROBE_ALLEN_KEY_STOW_2_Y -122.00
576
+  #define Z_PROBE_ALLEN_KEY_STOW_2_Z 25.0
577
+  #define Z_PROBE_ALLEN_KEY_STOW_2_FEEDRATE (XY_TRAVEL_SPEED)/2
578
+
579
+  #define Z_PROBE_ALLEN_KEY_STOW_3_X 0.0  // return to 0,0,100
580
+  #define Z_PROBE_ALLEN_KEY_STOW_3_Y 0.0
581
+  #define Z_PROBE_ALLEN_KEY_STOW_3_Z 100.0
582
+  #define Z_PROBE_ALLEN_KEY_STOW_3_FEEDRATE XY_TRAVEL_SPEED
583
+
584
+#endif // Z_PROBE_ALLEN_KEY
585
+
586
+//
498
 // Probe Raise options provide clearance for the probe to deploy and stow.
587
 // Probe Raise options provide clearance for the probe to deploy and stow.
588
+//
499
 // For G28 these apply when the probe deploys and stows.
589
 // For G28 these apply when the probe deploys and stows.
500
 // For G29 these apply before and after the full procedure.
590
 // For G29 these apply before and after the full procedure.
501
 #define Z_RAISE_BEFORE_PROBING 15   // Raise before probe deploy (e.g., the first probe).
591
 #define Z_RAISE_BEFORE_PROBING 15   // Raise before probe deploy (e.g., the first probe).
502
 #define Z_RAISE_AFTER_PROBING 50    // Raise before probe stow (e.g., the last probe).
592
 #define Z_RAISE_AFTER_PROBING 50    // Raise before probe stow (e.g., the last probe).
503
 
593
 
594
+//
595
+// For M851 give a range for adjusting the Z probe offset
596
+//
597
+#define Z_PROBE_OFFSET_RANGE_MIN -20
598
+#define Z_PROBE_OFFSET_RANGE_MAX 20
599
+
504
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
600
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
505
 // :{0:'Low',1:'High'}
601
 // :{0:'Low',1:'High'}
506
 #define X_ENABLE_ON 0
602
 #define X_ENABLE_ON 0
652
 
748
 
653
   #endif // !AUTO_BED_LEVELING_GRID
749
   #endif // !AUTO_BED_LEVELING_GRID
654
 
750
 
655
-  // Z Probe to nozzle (X,Y) offset, relative to (0, 0).
656
-  // X and Y offsets must be integers.
657
-  //
658
-  // In the following example the X and Y offsets are both positive:
659
-  // #define X_PROBE_OFFSET_FROM_EXTRUDER 10
660
-  // #define Y_PROBE_OFFSET_FROM_EXTRUDER 10
661
-  //
662
-  //    +-- BACK ---+
663
-  //    |           |
664
-  //  L |    (+) P  | R <-- probe (20,20)
665
-  //  E |           | I
666
-  //  F | (-) N (+) | G <-- nozzle (10,10)
667
-  //  T |           | H
668
-  //    |    (-)    | T
669
-  //    |           |
670
-  //    O-- FRONT --+
671
-  //  (0,0)
672
-  #define X_PROBE_OFFSET_FROM_EXTRUDER 0     // X offset: -left  +right  [of the nozzle]
673
-  #define Y_PROBE_OFFSET_FROM_EXTRUDER -10   // Y offset: -front +behind [the nozzle]
674
-  #define Z_PROBE_OFFSET_FROM_EXTRUDER -3.5  // Z offset: -below +above  [the nozzle]
675
-
676
   #define XY_TRAVEL_SPEED 4000         // X and Y axis travel speed between probes, in mm/min.
751
   #define XY_TRAVEL_SPEED 4000         // X and Y axis travel speed between probes, in mm/min.
677
 
752
 
678
   #define Z_RAISE_BETWEEN_PROBINGS 5  // How much the Z axis will be raised when traveling from between next probing points.
753
   #define Z_RAISE_BETWEEN_PROBINGS 5  // How much the Z axis will be raised when traveling from between next probing points.
680
   //#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10" // These commands will be executed in the end of G29 routine.
755
   //#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10" // These commands will be executed in the end of G29 routine.
681
                                                                              // Useful to retract a deployable Z probe.
756
                                                                              // Useful to retract a deployable Z probe.
682
 
757
 
683
-  // Probes are sensors/switches that need to be activated before they can be used
684
-  // and deactivated after their use.
685
-  // Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, ... . You have to activate one of these for the AUTO_BED_LEVELING_FEATURE
686
-
687
-  // A fix mounted probe, like the normal inductive probe, must be deactivated to go below Z_PROBE_OFFSET_FROM_EXTRUDER
688
-  // when the hardware endstops are active.
689
-  //#define FIX_MOUNTED_PROBE
690
-
691
-  // A Servo Probe can be defined in the servo section below.
692
-
693
-  // An Allen Key Probe is currently predefined only in the delta example configurations.
694
-
695
-  // Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.
696
-  //#define Z_PROBE_SLED
697
-  //#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.
698
-
699
-  // A Mechanical Probe is any probe that either doesn't deploy or needs manual deployment
700
-  // For example any setup that uses the nozzle itself as a probe.
701
-  //#define MECHANICAL_PROBE
702
-
703
-  // Allen key retractable z-probe as seen on many Kossel delta printers - http://reprap.org/wiki/Kossel#Automatic_bed_leveling_probe
704
-  // Deploys by touching z-axis belt. Retracts by pushing the probe down. Uses Z_MIN_PIN.
705
-  //#define Z_PROBE_ALLEN_KEY
706
-
707
-  #if ENABLED(Z_PROBE_ALLEN_KEY)
708
-    // 2 or 3 sets of coordinates for deploying and retracting the spring loaded touch probe on G29,
709
-    // if servo actuated touch probe is not defined. Uncomment as appropriate for your printer/probe.
710
-
711
-    // Just like Kossel Pro
712
-    #define Z_PROBE_ALLEN_KEY_DEPLOY_1_X -105.00 // Move left but not quite so far that we'll bump the belt
713
-    #define Z_PROBE_ALLEN_KEY_DEPLOY_1_Y 0.00
714
-    #define Z_PROBE_ALLEN_KEY_DEPLOY_1_Z 100.0
715
-    #define Z_PROBE_ALLEN_KEY_DEPLOY_1_FEEDRATE HOMING_FEEDRATE_XYZ
716
-
717
-    #define Z_PROBE_ALLEN_KEY_DEPLOY_2_X -110.00 // Move outward to position deploy pin to the left of the arm
718
-    #define Z_PROBE_ALLEN_KEY_DEPLOY_2_Y -125.00
719
-    #define Z_PROBE_ALLEN_KEY_DEPLOY_2_Z 100.0
720
-    #define Z_PROBE_ALLEN_KEY_DEPLOY_2_FEEDRATE HOMING_FEEDRATE_XYZ
721
-
722
-    #define Z_PROBE_ALLEN_KEY_DEPLOY_3_X 45.00 // Move right to trigger deploy pin
723
-    #define Z_PROBE_ALLEN_KEY_DEPLOY_3_Y -125.00
724
-    #define Z_PROBE_ALLEN_KEY_DEPLOY_3_Z 100.0
725
-    #define Z_PROBE_ALLEN_KEY_DEPLOY_3_FEEDRATE (HOMING_FEEDRATE_XYZ)/2
726
-
727
-    #define Z_PROBE_ALLEN_KEY_STOW_1_X 36.00 // Line up with bed retaining clip
728
-    #define Z_PROBE_ALLEN_KEY_STOW_1_Y -122.00
729
-    #define Z_PROBE_ALLEN_KEY_STOW_1_Z 75.0
730
-    #define Z_PROBE_ALLEN_KEY_STOW_1_FEEDRATE HOMING_FEEDRATE_XYZ
731
-
732
-    #define Z_PROBE_ALLEN_KEY_STOW_2_X 36.00 // move down to retract probe
733
-    #define Z_PROBE_ALLEN_KEY_STOW_2_Y -122.00
734
-    #define Z_PROBE_ALLEN_KEY_STOW_2_Z 25.0
735
-    #define Z_PROBE_ALLEN_KEY_STOW_2_FEEDRATE (HOMING_FEEDRATE_XYZ)/2
736
-
737
-    #define Z_PROBE_ALLEN_KEY_STOW_3_X 0.0  // return to 0,0,100
738
-    #define Z_PROBE_ALLEN_KEY_STOW_3_Y 0.0
739
-    #define Z_PROBE_ALLEN_KEY_STOW_3_Z 100.0
740
-    #define Z_PROBE_ALLEN_KEY_STOW_3_FEEDRATE HOMING_FEEDRATE_XYZ
741
-
742
-  #endif // Z_PROBE_ALLEN_KEY
743
-
744
   // If you've enabled AUTO_BED_LEVELING_FEATURE and are using the Z Probe for Z Homing,
758
   // If you've enabled AUTO_BED_LEVELING_FEATURE and are using the Z Probe for Z Homing,
745
   // it is highly recommended you also enable Z_SAFE_HOMING below!
759
   // it is highly recommended you also enable Z_SAFE_HOMING below!
746
 
760
 
1240
 //
1254
 //
1241
 //#define NUM_SERVOS 3 // Servo index starts with 0 for M280 command
1255
 //#define NUM_SERVOS 3 // Servo index starts with 0 for M280 command
1242
 
1256
 
1243
-// Servo Endstops
1244
-//
1245
-// This allows for servo actuated endstops, primary usage is for the Z Axis to eliminate calibration or bed height changes.
1246
-// Use M851 to set the Z probe vertical offset from the nozzle. Store that setting with M500.
1247
-//
1248
-//#define Z_ENDSTOP_SERVO_NR 0
1249
-//#define Z_SERVO_ANGLES {70,0} // Z Servo Extend and Retract angles
1250
-
1251
 // Servo deactivation
1257
 // Servo deactivation
1252
 //
1258
 //
1253
 // With this option servos are powered only during movement, then turned off to prevent jitter.
1259
 // With this option servos are powered only during movement, then turned off to prevent jitter.

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

495
 // If you're using the Z MIN endstop connector for your Z probe, this has no effect.
495
 // If you're using the Z MIN endstop connector for your Z probe, this has no effect.
496
 //#define DISABLE_Z_MIN_PROBE_ENDSTOP
496
 //#define DISABLE_Z_MIN_PROBE_ENDSTOP
497
 
497
 
498
+//
499
+// Probe Type
500
+// Probes are sensors/switches that are activated / deactivated before/after use.
501
+//
502
+// Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
503
+// You must activate one of these to use AUTO_BED_LEVELING_FEATURE below.
504
+//
505
+// Use M851 to set the Z probe vertical offset from the nozzle. Store with M500.
506
+//
507
+
508
+// A fix mounted probe, like the normal inductive probe, must be deactivated to go
509
+// below Z_PROBE_OFFSET_FROM_EXTRUDER when the hardware endstops are active.
510
+//#define FIX_MOUNTED_PROBE
511
+
512
+// Z Servo Probe, such as an endstop switch on a rotating arm.
513
+//#define Z_ENDSTOP_SERVO_NR 0
514
+//#define Z_SERVO_ANGLES {70,0} // Z Servo Deploy and Stow angles
515
+
516
+// Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.
517
+//#define Z_PROBE_SLED
518
+//#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.
519
+
520
+// A Mechanical Probe is any probe that either doesn't deploy or needs manual deployment
521
+// For example any setup that uses the nozzle itself as a probe.
522
+//#define MECHANICAL_PROBE
523
+
524
+// Z Probe to nozzle (X,Y) offset, relative to (0, 0).
525
+// X and Y offsets must be integers.
526
+//
527
+// In the following example the X and Y offsets are both positive:
528
+// #define X_PROBE_OFFSET_FROM_EXTRUDER 10
529
+// #define Y_PROBE_OFFSET_FROM_EXTRUDER 10
530
+//
531
+//    +-- BACK ---+
532
+//    |           |
533
+//  L |    (+) P  | R <-- probe (20,20)
534
+//  E |           | I
535
+//  F | (-) N (+) | G <-- nozzle (10,10)
536
+//  T |           | H
537
+//    |    (-)    | T
538
+//    |           |
539
+//    O-- FRONT --+
540
+//  (0,0)
541
+#define X_PROBE_OFFSET_FROM_EXTRUDER 0     // X offset: -left  +right  [of the nozzle]
542
+#define Y_PROBE_OFFSET_FROM_EXTRUDER -10   // Y offset: -front +behind [the nozzle]
543
+#define Z_PROBE_OFFSET_FROM_EXTRUDER -3.5  // Z offset: -below +above  [the nozzle]
544
+
545
+// Allen key retractable z-probe as seen on many Kossel delta printers - http://reprap.org/wiki/Kossel#Automatic_bed_leveling_probe
546
+// Deploys by touching z-axis belt. Retracts by pushing the probe down. Uses Z_MIN_PIN.
547
+//#define Z_PROBE_ALLEN_KEY
548
+
549
+#if ENABLED(Z_PROBE_ALLEN_KEY)
550
+  // 2 or 3 sets of coordinates for deploying and retracting the spring loaded touch probe on G29,
551
+  // if servo actuated touch probe is not defined. Uncomment as appropriate for your printer/probe.
552
+
553
+  #define Z_PROBE_ALLEN_KEY_DEPLOY_1_X 30.0
554
+  #define Z_PROBE_ALLEN_KEY_DEPLOY_1_Y DELTA_PRINTABLE_RADIUS
555
+  #define Z_PROBE_ALLEN_KEY_DEPLOY_1_Z 100.0
556
+  #define Z_PROBE_ALLEN_KEY_DEPLOY_1_FEEDRATE XY_TRAVEL_SPEED
557
+
558
+  #define Z_PROBE_ALLEN_KEY_DEPLOY_2_X 0.0
559
+  #define Z_PROBE_ALLEN_KEY_DEPLOY_2_Y DELTA_PRINTABLE_RADIUS
560
+  #define Z_PROBE_ALLEN_KEY_DEPLOY_2_Z 100.0
561
+  #define Z_PROBE_ALLEN_KEY_DEPLOY_2_FEEDRATE (XY_TRAVEL_SPEED)/10
562
+
563
+  #define Z_PROBE_ALLEN_KEY_STOW_1_X -64.0 // Move the probe into position
564
+  #define Z_PROBE_ALLEN_KEY_STOW_1_Y 56.0
565
+  #define Z_PROBE_ALLEN_KEY_STOW_1_Z 23.0
566
+  #define Z_PROBE_ALLEN_KEY_STOW_1_FEEDRATE XY_TRAVEL_SPEED
567
+
568
+  #define Z_PROBE_ALLEN_KEY_STOW_2_X -64.0 // Push it down
569
+  #define Z_PROBE_ALLEN_KEY_STOW_2_Y 56.0
570
+  #define Z_PROBE_ALLEN_KEY_STOW_2_Z 3.0
571
+  #define Z_PROBE_ALLEN_KEY_STOW_2_FEEDRATE (XY_TRAVEL_SPEED)/10
572
+
573
+  #define Z_PROBE_ALLEN_KEY_STOW_3_X -64.0 // Move it up to clear
574
+  #define Z_PROBE_ALLEN_KEY_STOW_3_Y 56.0
575
+  #define Z_PROBE_ALLEN_KEY_STOW_3_Z 50.0
576
+  #define Z_PROBE_ALLEN_KEY_STOW_3_FEEDRATE XY_TRAVEL_SPEED
577
+
578
+#endif // Z_PROBE_ALLEN_KEY
579
+
580
+//
498
 // Probe Raise options provide clearance for the probe to deploy and stow.
581
 // Probe Raise options provide clearance for the probe to deploy and stow.
582
+//
499
 // For G28 these apply when the probe deploys and stows.
583
 // For G28 these apply when the probe deploys and stows.
500
 // For G29 these apply before and after the full procedure.
584
 // For G29 these apply before and after the full procedure.
501
 #define Z_RAISE_BEFORE_PROBING 15   // Raise before probe deploy (e.g., the first probe).
585
 #define Z_RAISE_BEFORE_PROBING 15   // Raise before probe deploy (e.g., the first probe).
502
 #define Z_RAISE_AFTER_PROBING 50    // Raise before probe stow (e.g., the last probe).
586
 #define Z_RAISE_AFTER_PROBING 50    // Raise before probe stow (e.g., the last probe).
503
 
587
 
588
+//
589
+// For M851 give a range for adjusting the Z probe offset
590
+//
591
+#define Z_PROBE_OFFSET_RANGE_MIN -20
592
+#define Z_PROBE_OFFSET_RANGE_MAX 20
593
+
504
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
594
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
505
 // :{0:'Low',1:'High'}
595
 // :{0:'Low',1:'High'}
506
 #define X_ENABLE_ON 0
596
 #define X_ENABLE_ON 0
652
 
742
 
653
   #endif // !AUTO_BED_LEVELING_GRID
743
   #endif // !AUTO_BED_LEVELING_GRID
654
 
744
 
655
-  // Z Probe to nozzle (X,Y) offset, relative to (0, 0).
656
-  // X and Y offsets must be integers.
657
-  //
658
-  // In the following example the X and Y offsets are both positive:
659
-  // #define X_PROBE_OFFSET_FROM_EXTRUDER 10
660
-  // #define Y_PROBE_OFFSET_FROM_EXTRUDER 10
661
-  //
662
-  //    +-- BACK ---+
663
-  //    |           |
664
-  //  L |    (+) P  | R <-- probe (20,20)
665
-  //  E |           | I
666
-  //  F | (-) N (+) | G <-- nozzle (10,10)
667
-  //  T |           | H
668
-  //    |    (-)    | T
669
-  //    |           |
670
-  //    O-- FRONT --+
671
-  //  (0,0)
672
-  #define X_PROBE_OFFSET_FROM_EXTRUDER 0     // X offset: -left  +right  [of the nozzle]
673
-  #define Y_PROBE_OFFSET_FROM_EXTRUDER -10   // Y offset: -front +behind [the nozzle]
674
-  #define Z_PROBE_OFFSET_FROM_EXTRUDER -3.5  // Z offset: -below +above  [the nozzle]
675
-
676
   #define XY_TRAVEL_SPEED 4000         // X and Y axis travel speed between probes, in mm/min.
745
   #define XY_TRAVEL_SPEED 4000         // X and Y axis travel speed between probes, in mm/min.
677
 
746
 
678
   #define Z_RAISE_BETWEEN_PROBINGS 5  // How much the Z axis will be raised when traveling from between next probing points
747
   #define Z_RAISE_BETWEEN_PROBINGS 5  // How much the Z axis will be raised when traveling from between next probing points
680
   //#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10" // These commands will be executed in the end of G29 routine.
749
   //#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10" // These commands will be executed in the end of G29 routine.
681
                                                                              // Useful to retract a deployable Z probe.
750
                                                                              // Useful to retract a deployable Z probe.
682
 
751
 
683
-  // Probes are sensors/switches that need to be activated before they can be used
684
-  // and deactivated after their use.
685
-  // Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, ... . You have to activate one of these for the AUTO_BED_LEVELING_FEATURE
686
-
687
-  // A fix mounted probe, like the normal inductive probe, must be deactivated to go below Z_PROBE_OFFSET_FROM_EXTRUDER
688
-  // when the hardware endstops are active.
689
-  //#define FIX_MOUNTED_PROBE
690
-
691
-  // A Servo Probe can be defined in the servo section below.
692
-
693
-  // An Allen Key Probe is currently predefined only in the delta example configurations.
694
-
695
-  // Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.
696
-  //#define Z_PROBE_SLED
697
-  //#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.
698
-
699
-  // A Mechanical Probe is any probe that either doesn't deploy or needs manual deployment
700
-  // For example any setup that uses the nozzle itself as a probe.
701
-  //#define MECHANICAL_PROBE
702
-
703
-  // Allen key retractable z-probe as seen on many Kossel delta printers - http://reprap.org/wiki/Kossel#Automatic_bed_leveling_probe
704
-  // Deploys by touching z-axis belt. Retracts by pushing the probe down. Uses Z_MIN_PIN.
705
-  //#define Z_PROBE_ALLEN_KEY
706
-
707
-  #if ENABLED(Z_PROBE_ALLEN_KEY)
708
-    // 2 or 3 sets of coordinates for deploying and retracting the spring loaded touch probe on G29,
709
-    // if servo actuated touch probe is not defined. Uncomment as appropriate for your printer/probe.
710
-
711
-    #define Z_PROBE_ALLEN_KEY_DEPLOY_1_X 30.0
712
-    #define Z_PROBE_ALLEN_KEY_DEPLOY_1_Y DELTA_PRINTABLE_RADIUS
713
-    #define Z_PROBE_ALLEN_KEY_DEPLOY_1_Z 100.0
714
-    #define Z_PROBE_ALLEN_KEY_DEPLOY_1_FEEDRATE HOMING_FEEDRATE_XYZ
715
-
716
-    #define Z_PROBE_ALLEN_KEY_DEPLOY_2_X 0.0
717
-    #define Z_PROBE_ALLEN_KEY_DEPLOY_2_Y DELTA_PRINTABLE_RADIUS
718
-    #define Z_PROBE_ALLEN_KEY_DEPLOY_2_Z 100.0
719
-    #define Z_PROBE_ALLEN_KEY_DEPLOY_2_FEEDRATE (HOMING_FEEDRATE_XYZ)/10
720
-
721
-    #define Z_PROBE_ALLEN_KEY_STOW_1_X -64.0 // Move the probe into position
722
-    #define Z_PROBE_ALLEN_KEY_STOW_1_Y 56.0
723
-    #define Z_PROBE_ALLEN_KEY_STOW_1_Z 23.0
724
-    #define Z_PROBE_ALLEN_KEY_STOW_1_FEEDRATE HOMING_FEEDRATE_XYZ
725
-
726
-    #define Z_PROBE_ALLEN_KEY_STOW_2_X -64.0 // Push it down
727
-    #define Z_PROBE_ALLEN_KEY_STOW_2_Y 56.0
728
-    #define Z_PROBE_ALLEN_KEY_STOW_2_Z 3.0
729
-    #define Z_PROBE_ALLEN_KEY_STOW_2_FEEDRATE (HOMING_FEEDRATE_XYZ)/10
730
-
731
-    #define Z_PROBE_ALLEN_KEY_STOW_3_X -64.0 // Move it up to clear
732
-    #define Z_PROBE_ALLEN_KEY_STOW_3_Y 56.0
733
-    #define Z_PROBE_ALLEN_KEY_STOW_3_Z 50.0
734
-    #define Z_PROBE_ALLEN_KEY_STOW_3_FEEDRATE HOMING_FEEDRATE_XYZ
735
-
736
-  #endif // Z_PROBE_ALLEN_KEY
737
-
738
   // If you've enabled AUTO_BED_LEVELING_FEATURE and are using the Z Probe for Z Homing,
752
   // If you've enabled AUTO_BED_LEVELING_FEATURE and are using the Z Probe for Z Homing,
739
   // it is highly recommended you also enable Z_SAFE_HOMING below!
753
   // it is highly recommended you also enable Z_SAFE_HOMING below!
740
 
754
 
1234
 //
1248
 //
1235
 //#define NUM_SERVOS 3 // Servo index starts with 0 for M280 command
1249
 //#define NUM_SERVOS 3 // Servo index starts with 0 for M280 command
1236
 
1250
 
1237
-// Servo Endstops
1238
-//
1239
-// This allows for servo actuated endstops, primary usage is for the Z Axis to eliminate calibration or bed height changes.
1240
-// Use M851 to set the Z probe vertical offset from the nozzle. Store that setting with M500.
1241
-//
1242
-//#define Z_ENDSTOP_SERVO_NR 0
1243
-//#define Z_SERVO_ANGLES {70,0} // Z Servo Extend and Retract angles
1244
-
1245
 // Servo deactivation
1251
 // Servo deactivation
1246
 //
1252
 //
1247
 // With this option servos are powered only during movement, then turned off to prevent jitter.
1253
 // With this option servos are powered only during movement, then turned off to prevent jitter.

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

419
 // extra connectors. Leave undefined any used for non-endstop and non-probe purposes.
419
 // extra connectors. Leave undefined any used for non-endstop and non-probe purposes.
420
 //#define USE_XMIN_PLUG
420
 //#define USE_XMIN_PLUG
421
 //#define USE_YMIN_PLUG
421
 //#define USE_YMIN_PLUG
422
-//#define USE_ZMIN_PLUG
422
+#define USE_ZMIN_PLUG
423
 #define USE_XMAX_PLUG
423
 #define USE_XMAX_PLUG
424
 #define USE_YMAX_PLUG
424
 #define USE_YMAX_PLUG
425
 #define USE_ZMAX_PLUG
425
 #define USE_ZMAX_PLUG
495
 // If you're using the Z MIN endstop connector for your Z probe, this has no effect.
495
 // If you're using the Z MIN endstop connector for your Z probe, this has no effect.
496
 //#define DISABLE_Z_MIN_PROBE_ENDSTOP
496
 //#define DISABLE_Z_MIN_PROBE_ENDSTOP
497
 
497
 
498
+//
499
+// Probe Type
500
+// Probes are sensors/switches that are activated / deactivated before/after use.
501
+//
502
+// Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
503
+// You must activate one of these to use AUTO_BED_LEVELING_FEATURE below.
504
+//
505
+// Use M851 to set the Z probe vertical offset from the nozzle. Store with M500.
506
+//
507
+
508
+// A fix mounted probe, like the normal inductive probe, must be deactivated to go
509
+// below Z_PROBE_OFFSET_FROM_EXTRUDER when the hardware endstops are active.
510
+//#define FIX_MOUNTED_PROBE
511
+
512
+// Z Servo Probe, such as an endstop switch on a rotating arm.
513
+//#define Z_ENDSTOP_SERVO_NR 0
514
+//#define Z_SERVO_ANGLES {70,0} // Z Servo Deploy and Stow angles
515
+
516
+// Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.
517
+//#define Z_PROBE_SLED
518
+//#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.
519
+
520
+// A Mechanical Probe is any probe that either doesn't deploy or needs manual deployment
521
+// For example any setup that uses the nozzle itself as a probe.
522
+//#define MECHANICAL_PROBE
523
+
524
+// Z Probe to nozzle (X,Y) offset, relative to (0, 0).
525
+// X and Y offsets must be integers.
526
+//
527
+// In the following example the X and Y offsets are both positive:
528
+// #define X_PROBE_OFFSET_FROM_EXTRUDER 10
529
+// #define Y_PROBE_OFFSET_FROM_EXTRUDER 10
530
+//
531
+//    +-- BACK ---+
532
+//    |           |
533
+//  L |    (+) P  | R <-- probe (20,20)
534
+//  E |           | I
535
+//  F | (-) N (+) | G <-- nozzle (10,10)
536
+//  T |           | H
537
+//    |    (-)    | T
538
+//    |           |
539
+//    O-- FRONT --+
540
+//  (0,0)
541
+#define X_PROBE_OFFSET_FROM_EXTRUDER 0     // X offset: -left  +right  [of the nozzle]
542
+#define Y_PROBE_OFFSET_FROM_EXTRUDER -10   // Y offset: -front +behind [the nozzle]
543
+#define Z_PROBE_OFFSET_FROM_EXTRUDER -3.5  // Z offset: -below +above  [the nozzle]
544
+
545
+// Allen key retractable z-probe as seen on many Kossel delta printers - http://reprap.org/wiki/Kossel#Automatic_bed_leveling_probe
546
+// Deploys by touching z-axis belt. Retracts by pushing the probe down. Uses Z_MIN_PIN.
547
+#define Z_PROBE_ALLEN_KEY
548
+
549
+#if ENABLED(Z_PROBE_ALLEN_KEY)
550
+  // 2 or 3 sets of coordinates for deploying and retracting the spring loaded touch probe on G29,
551
+  // if servo actuated touch probe is not defined. Uncomment as appropriate for your printer/probe.
552
+
553
+  // Kossel Mini
554
+  #define Z_PROBE_ALLEN_KEY_DEPLOY_1_X 30.0
555
+  #define Z_PROBE_ALLEN_KEY_DEPLOY_1_Y DELTA_PRINTABLE_RADIUS
556
+  #define Z_PROBE_ALLEN_KEY_DEPLOY_1_Z 100.0
557
+  #define Z_PROBE_ALLEN_KEY_DEPLOY_1_FEEDRATE XY_TRAVEL_SPEED
558
+
559
+  #define Z_PROBE_ALLEN_KEY_DEPLOY_2_X 0.0
560
+  #define Z_PROBE_ALLEN_KEY_DEPLOY_2_Y DELTA_PRINTABLE_RADIUS
561
+  #define Z_PROBE_ALLEN_KEY_DEPLOY_2_Z 100.0
562
+  #define Z_PROBE_ALLEN_KEY_DEPLOY_2_FEEDRATE (XY_TRAVEL_SPEED/10)
563
+
564
+  #define Z_PROBE_ALLEN_KEY_STOW_DEPTH 20
565
+  // Move the probe into position
566
+  #define Z_PROBE_ALLEN_KEY_STOW_1_X -64.0
567
+  #define Z_PROBE_ALLEN_KEY_STOW_1_Y 56.0
568
+  #define Z_PROBE_ALLEN_KEY_STOW_1_Z 23.0
569
+  #define Z_PROBE_ALLEN_KEY_STOW_1_FEEDRATE XY_TRAVEL_SPEED
570
+  // Move the nozzle down further to push the probe into retracted position.
571
+  #define Z_PROBE_ALLEN_KEY_STOW_2_X  Z_PROBE_ALLEN_KEY_STOW_1_X
572
+  #define Z_PROBE_ALLEN_KEY_STOW_2_Y  Z_PROBE_ALLEN_KEY_STOW_1_Y
573
+  #define Z_PROBE_ALLEN_KEY_STOW_2_Z  (Z_PROBE_ALLEN_KEY_STOW_1_Z-Z_PROBE_ALLEN_KEY_STOW_DEPTH)
574
+  #define Z_PROBE_ALLEN_KEY_STOW_2_FEEDRATE (XY_TRAVEL_SPEED/10)
575
+  // Raise things back up slightly so we don't bump into anything
576
+  #define Z_PROBE_ALLEN_KEY_STOW_3_X  Z_PROBE_ALLEN_KEY_STOW_2_X
577
+  #define Z_PROBE_ALLEN_KEY_STOW_3_Y  Z_PROBE_ALLEN_KEY_STOW_2_Y
578
+  #define Z_PROBE_ALLEN_KEY_STOW_3_Z  (Z_PROBE_ALLEN_KEY_STOW_1_Z+Z_PROBE_ALLEN_KEY_STOW_DEPTH)
579
+  #define Z_PROBE_ALLEN_KEY_STOW_3_FEEDRATE (XY_TRAVEL_SPEED/2)
580
+
581
+#endif // Z_PROBE_ALLEN_KEY
582
+
583
+//
498
 // Probe Raise options provide clearance for the probe to deploy and stow.
584
 // Probe Raise options provide clearance for the probe to deploy and stow.
585
+//
499
 // For G28 these apply when the probe deploys and stows.
586
 // For G28 these apply when the probe deploys and stows.
500
 // For G29 these apply before and after the full procedure.
587
 // For G29 these apply before and after the full procedure.
501
 #define Z_RAISE_BEFORE_PROBING 15   // Raise before probe deploy (e.g., the first probe).
588
 #define Z_RAISE_BEFORE_PROBING 15   // Raise before probe deploy (e.g., the first probe).
502
 #define Z_RAISE_AFTER_PROBING 50    // Raise before probe stow (e.g., the last probe).
589
 #define Z_RAISE_AFTER_PROBING 50    // Raise before probe stow (e.g., the last probe).
503
 
590
 
591
+//
592
+// For M851 give a range for adjusting the Z probe offset
593
+//
594
+#define Z_PROBE_OFFSET_RANGE_MIN -20
595
+#define Z_PROBE_OFFSET_RANGE_MAX 20
596
+
504
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
597
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
505
 // :{0:'Low',1:'High'}
598
 // :{0:'Low',1:'High'}
506
 #define X_ENABLE_ON 0
599
 #define X_ENABLE_ON 0
652
 
745
 
653
   #endif // !AUTO_BED_LEVELING_GRID
746
   #endif // !AUTO_BED_LEVELING_GRID
654
 
747
 
655
-  // Z Probe to nozzle (X,Y) offset, relative to (0, 0).
656
-  // X and Y offsets must be integers.
657
-  //
658
-  // In the following example the X and Y offsets are both positive:
659
-  // #define X_PROBE_OFFSET_FROM_EXTRUDER 10
660
-  // #define Y_PROBE_OFFSET_FROM_EXTRUDER 10
661
-  //
662
-  //    +-- BACK ---+
663
-  //    |           |
664
-  //  L |    (+) P  | R <-- probe (20,20)
665
-  //  E |           | I
666
-  //  F | (-) N (+) | G <-- nozzle (10,10)
667
-  //  T |           | H
668
-  //    |    (-)    | T
669
-  //    |           |
670
-  //    O-- FRONT --+
671
-  //  (0,0)
672
-  #define X_PROBE_OFFSET_FROM_EXTRUDER 0     // X offset: -left  +right  [of the nozzle]
673
-  #define Y_PROBE_OFFSET_FROM_EXTRUDER -10   // Y offset: -front +behind [the nozzle]
674
-  #define Z_PROBE_OFFSET_FROM_EXTRUDER -3.5  // Z offset: -below +above  [the nozzle]
675
-
676
   #define XY_TRAVEL_SPEED 4000         // X and Y axis travel speed between probes, in mm/min.
748
   #define XY_TRAVEL_SPEED 4000         // X and Y axis travel speed between probes, in mm/min.
677
 
749
 
678
   #define Z_RAISE_BETWEEN_PROBINGS 5  // How much the Z axis will be raised when traveling from between next probing points
750
   #define Z_RAISE_BETWEEN_PROBINGS 5  // How much the Z axis will be raised when traveling from between next probing points
680
   //#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10" // These commands will be executed in the end of G29 routine.
752
   //#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10" // These commands will be executed in the end of G29 routine.
681
                                                                              // Useful to retract a deployable Z probe.
753
                                                                              // Useful to retract a deployable Z probe.
682
 
754
 
683
-  // Probes are sensors/switches that need to be activated before they can be used
684
-  // and deactivated after their use.
685
-  // Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, ... . You have to activate one of these for the AUTO_BED_LEVELING_FEATURE
686
-
687
-  // A fix mounted probe, like the normal inductive probe, must be deactivated to go below Z_PROBE_OFFSET_FROM_EXTRUDER
688
-  // when the hardware endstops are active.
689
-  //#define FIX_MOUNTED_PROBE
690
-
691
-  // A Servo Probe can be defined in the servo section below.
692
-
693
-  // An Allen Key Probe is currently predefined only in the delta example configurations.
694
-
695
-  // Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.
696
-  //#define Z_PROBE_SLED
697
-  //#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.
698
-
699
-  // A Mechanical Probe is any probe that either doesn't deploy or needs manual deployment
700
-  // For example any setup that uses the nozzle itself as a probe.
701
-  //#define MECHANICAL_PROBE
702
-
703
-  // Allen key retractable z-probe as seen on many Kossel delta printers - http://reprap.org/wiki/Kossel#Automatic_bed_leveling_probe
704
-  // Deploys by touching z-axis belt. Retracts by pushing the probe down. Uses Z_MIN_PIN.
705
-  #define Z_PROBE_ALLEN_KEY
706
-
707
-  #if ENABLED(Z_PROBE_ALLEN_KEY)
708
-    // 2 or 3 sets of coordinates for deploying and retracting the spring loaded touch probe on G29,
709
-    // if servo actuated touch probe is not defined. Uncomment as appropriate for your printer/probe.
710
-
711
-    // Kossel Mini
712
-    #define Z_PROBE_ALLEN_KEY_DEPLOY_1_X 30.0
713
-    #define Z_PROBE_ALLEN_KEY_DEPLOY_1_Y DELTA_PRINTABLE_RADIUS
714
-    #define Z_PROBE_ALLEN_KEY_DEPLOY_1_Z 100.0
715
-    #define Z_PROBE_ALLEN_KEY_DEPLOY_1_FEEDRATE XY_TRAVEL_SPEED
716
-
717
-    #define Z_PROBE_ALLEN_KEY_DEPLOY_2_X 0.0
718
-    #define Z_PROBE_ALLEN_KEY_DEPLOY_2_Y DELTA_PRINTABLE_RADIUS
719
-    #define Z_PROBE_ALLEN_KEY_DEPLOY_2_Z 100.0
720
-    #define Z_PROBE_ALLEN_KEY_DEPLOY_2_FEEDRATE (XY_TRAVEL_SPEED/10)
721
-
722
-    #define Z_PROBE_ALLEN_KEY_STOW_DEPTH 20
723
-    // Move the probe into position
724
-    #define Z_PROBE_ALLEN_KEY_STOW_1_X -64.0
725
-    #define Z_PROBE_ALLEN_KEY_STOW_1_Y 56.0
726
-    #define Z_PROBE_ALLEN_KEY_STOW_1_Z 23.0
727
-    #define Z_PROBE_ALLEN_KEY_STOW_1_FEEDRATE XY_TRAVEL_SPEED
728
-    // Move the nozzle down further to push the probe into retracted position.
729
-    #define Z_PROBE_ALLEN_KEY_STOW_2_X  Z_PROBE_ALLEN_KEY_STOW_1_X
730
-    #define Z_PROBE_ALLEN_KEY_STOW_2_Y  Z_PROBE_ALLEN_KEY_STOW_1_Y
731
-    #define Z_PROBE_ALLEN_KEY_STOW_2_Z  (Z_PROBE_ALLEN_KEY_STOW_1_Z-Z_PROBE_ALLEN_KEY_STOW_DEPTH)
732
-    #define Z_PROBE_ALLEN_KEY_STOW_2_FEEDRATE (XY_TRAVEL_SPEED/10)
733
-    // Raise things back up slightly so we don't bump into anything
734
-    #define Z_PROBE_ALLEN_KEY_STOW_3_X  Z_PROBE_ALLEN_KEY_STOW_2_X
735
-    #define Z_PROBE_ALLEN_KEY_STOW_3_Y  Z_PROBE_ALLEN_KEY_STOW_2_Y
736
-    #define Z_PROBE_ALLEN_KEY_STOW_3_Z  (Z_PROBE_ALLEN_KEY_STOW_1_Z+Z_PROBE_ALLEN_KEY_STOW_DEPTH)
737
-    #define Z_PROBE_ALLEN_KEY_STOW_3_FEEDRATE (XY_TRAVEL_SPEED/2)
738
-
739
-  #endif // Z_PROBE_ALLEN_KEY
740
-
741
   // If you've enabled AUTO_BED_LEVELING_FEATURE and are using the Z Probe for Z Homing,
755
   // If you've enabled AUTO_BED_LEVELING_FEATURE and are using the Z Probe for Z Homing,
742
   // it is highly recommended you also enable Z_SAFE_HOMING below!
756
   // it is highly recommended you also enable Z_SAFE_HOMING below!
743
 
757
 
1237
 //
1251
 //
1238
 //#define NUM_SERVOS 3 // Servo index starts with 0 for M280 command
1252
 //#define NUM_SERVOS 3 // Servo index starts with 0 for M280 command
1239
 
1253
 
1240
-// Servo Endstops
1241
-//
1242
-// This allows for servo actuated endstops, primary usage is for the Z Axis to eliminate calibration or bed height changes.
1243
-// Use M851 to set the Z probe vertical offset from the nozzle. Store that setting with M500.
1244
-//
1245
-//#define Z_ENDSTOP_SERVO_NR 0
1246
-//#define Z_SERVO_ANGLES {70,0} // Z Servo Extend and Retract angles
1247
-
1248
 // Servo deactivation
1254
 // Servo deactivation
1249
 //
1255
 //
1250
 // With this option servos are powered only during movement, then turned off to prevent jitter.
1256
 // With this option servos are powered only during movement, then turned off to prevent jitter.

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

484
 // If you're using the Z MIN endstop connector for your Z probe, this has no effect.
484
 // If you're using the Z MIN endstop connector for your Z probe, this has no effect.
485
 //#define DISABLE_Z_MIN_PROBE_ENDSTOP
485
 //#define DISABLE_Z_MIN_PROBE_ENDSTOP
486
 
486
 
487
+//
488
+// Probe Type
489
+// Probes are sensors/switches that are activated / deactivated before/after use.
490
+//
491
+// Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
492
+// You must activate one of these to use AUTO_BED_LEVELING_FEATURE below.
493
+//
494
+// Use M851 to set the Z probe vertical offset from the nozzle. Store with M500.
495
+//
496
+
497
+// A fix mounted probe, like the normal inductive probe, must be deactivated to go
498
+// below Z_PROBE_OFFSET_FROM_EXTRUDER when the hardware endstops are active.
499
+//#define FIX_MOUNTED_PROBE
500
+
501
+// Z Servo Probe, such as an endstop switch on a rotating arm.
502
+//#define Z_ENDSTOP_SERVO_NR 0
503
+//#define Z_SERVO_ANGLES {70,0} // Z Servo Deploy and Stow angles
504
+
505
+// Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.
506
+//#define Z_PROBE_SLED
507
+//#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.
508
+
509
+// A Mechanical Probe is any probe that either doesn't deploy or needs manual deployment
510
+// For example any setup that uses the nozzle itself as a probe.
511
+//#define MECHANICAL_PROBE
512
+
513
+// Z Probe to nozzle (X,Y) offset, relative to (0, 0).
514
+// X and Y offsets must be integers.
515
+//
516
+// In the following example the X and Y offsets are both positive:
517
+// #define X_PROBE_OFFSET_FROM_EXTRUDER 10
518
+// #define Y_PROBE_OFFSET_FROM_EXTRUDER 10
519
+//
520
+//    +-- BACK ---+
521
+//    |           |
522
+//  L |    (+) P  | R <-- probe (20,20)
523
+//  E |           | I
524
+//  F | (-) N (+) | G <-- nozzle (10,10)
525
+//  T |           | H
526
+//    |    (-)    | T
527
+//    |           |
528
+//    O-- FRONT --+
529
+//  (0,0)
530
+#define X_PROBE_OFFSET_FROM_EXTRUDER -23 // KosselPro actual: -22.919
531
+#define Y_PROBE_OFFSET_FROM_EXTRUDER -6  // KosselPro actual: -6.304
532
+// Kossel Pro note: The correct value is likely -17.45 but I'd rather err on the side of
533
+// not giving someone a head crash. Use something like G29 Z-0.2 to adjust as needed.
534
+#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).
535
+
536
+// Allen key retractable z-probe as seen on many Kossel delta printers - http://reprap.org/wiki/Kossel#Automatic_bed_leveling_probe
537
+// Deploys by touching z-axis belt. Retracts by pushing the probe down. Uses Z_MIN_PIN.
538
+#define Z_PROBE_ALLEN_KEY
539
+
540
+#if ENABLED(Z_PROBE_ALLEN_KEY)
541
+  // 2 or 3 sets of coordinates for deploying and retracting the spring loaded touch probe on G29,
542
+  // if servo actuated touch probe is not defined. Uncomment as appropriate for your printer/probe.
543
+
544
+  // Kossel Pro
545
+  #define Z_PROBE_ALLEN_KEY_DEPLOY_1_X -105.00 // Move left but not quite so far that we'll bump the belt
546
+  #define Z_PROBE_ALLEN_KEY_DEPLOY_1_Y 0.00
547
+  #define Z_PROBE_ALLEN_KEY_DEPLOY_1_Z 100.0
548
+  #define Z_PROBE_ALLEN_KEY_DEPLOY_1_FEEDRATE XY_TRAVEL_SPEED
549
+
550
+  #define Z_PROBE_ALLEN_KEY_DEPLOY_2_X -110.00 // Move outward to position deploy pin to the left of the arm
551
+  #define Z_PROBE_ALLEN_KEY_DEPLOY_2_Y -125.00
552
+  #define Z_PROBE_ALLEN_KEY_DEPLOY_2_Z Z_PROBE_ALLEN_KEY_DEPLOY_1_Z
553
+  #define Z_PROBE_ALLEN_KEY_DEPLOY_2_FEEDRATE XY_TRAVEL_SPEED
554
+
555
+  #define Z_PROBE_ALLEN_KEY_DEPLOY_3_X 45.00 // Move right to trigger deploy pin
556
+  #define Z_PROBE_ALLEN_KEY_DEPLOY_3_Y -125.00
557
+  #define Z_PROBE_ALLEN_KEY_DEPLOY_3_Z Z_PROBE_ALLEN_KEY_DEPLOY_2_Z
558
+  #define Z_PROBE_ALLEN_KEY_DEPLOY_3_FEEDRATE (XY_TRAVEL_SPEED)/2
559
+
560
+  #define Z_PROBE_ALLEN_KEY_STOW_1_X 36.00 // Line up with bed retaining clip
561
+  #define Z_PROBE_ALLEN_KEY_STOW_1_Y -125.00
562
+  #define Z_PROBE_ALLEN_KEY_STOW_1_Z 75.0
563
+  #define Z_PROBE_ALLEN_KEY_STOW_1_FEEDRATE XY_TRAVEL_SPEED
564
+
565
+  #define Z_PROBE_ALLEN_KEY_STOW_2_X Z_PROBE_ALLEN_KEY_STOW_1_X // move down to retract probe
566
+  #define Z_PROBE_ALLEN_KEY_STOW_2_Y Z_PROBE_ALLEN_KEY_STOW_1_Y
567
+  #define Z_PROBE_ALLEN_KEY_STOW_2_Z 0.0
568
+  #define Z_PROBE_ALLEN_KEY_STOW_2_FEEDRATE (XY_TRAVEL_SPEED)/2
569
+
570
+  #define Z_PROBE_ALLEN_KEY_STOW_3_X 0.0  // return to 0,0,100
571
+  #define Z_PROBE_ALLEN_KEY_STOW_3_Y 0.0
572
+  #define Z_PROBE_ALLEN_KEY_STOW_3_Z 100.0
573
+  #define Z_PROBE_ALLEN_KEY_STOW_3_FEEDRATE XY_TRAVEL_SPEED
574
+
575
+#endif // Z_PROBE_ALLEN_KEY
576
+
577
+//
487
 // Probe Raise options provide clearance for the probe to deploy and stow.
578
 // Probe Raise options provide clearance for the probe to deploy and stow.
579
+//
488
 // For G28 these apply when the probe deploys and stows.
580
 // For G28 these apply when the probe deploys and stows.
489
 // For G29 these apply before and after the full procedure.
581
 // For G29 these apply before and after the full procedure.
490
 #define Z_RAISE_BEFORE_PROBING 100  // Raise before probe deploy (e.g., the first probe).
582
 #define Z_RAISE_BEFORE_PROBING 100  // Raise before probe deploy (e.g., the first probe).
491
 #define Z_RAISE_AFTER_PROBING 15    // Raise before probe stow (e.g., the last probe).
583
 #define Z_RAISE_AFTER_PROBING 15    // Raise before probe stow (e.g., the last probe).
492
 
584
 
585
+//
586
+// For M851 give a range for adjusting the Z probe offset
587
+//
588
+#define Z_PROBE_OFFSET_RANGE_MIN -20
589
+#define Z_PROBE_OFFSET_RANGE_MAX 20
590
+
493
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
591
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
494
 // :{0:'Low',1:'High'}
592
 // :{0:'Low',1:'High'}
495
 #define X_ENABLE_ON 0
593
 #define X_ENABLE_ON 0
641
 
739
 
642
   #endif // !AUTO_BED_LEVELING_GRID
740
   #endif // !AUTO_BED_LEVELING_GRID
643
 
741
 
644
-  // Z Probe to nozzle (X,Y) offset, relative to (0, 0).
645
-  // X and Y offsets must be integers.
646
-  //
647
-  // In the following example the X and Y offsets are both positive:
648
-  // #define X_PROBE_OFFSET_FROM_EXTRUDER 10
649
-  // #define Y_PROBE_OFFSET_FROM_EXTRUDER 10
650
-  //
651
-  //    +-- BACK ---+
652
-  //    |           |
653
-  //  L |    (+) P  | R <-- probe (20,20)
654
-  //  E |           | I
655
-  //  F | (-) N (+) | G <-- nozzle (10,10)
656
-  //  T |           | H
657
-  //    |    (-)    | T
658
-  //    |           |
659
-  //    O-- FRONT --+
660
-  //  (0,0)
661
-  #define X_PROBE_OFFSET_FROM_EXTRUDER -23 // KosselPro actual: -22.919
662
-  #define Y_PROBE_OFFSET_FROM_EXTRUDER -6  // KosselPro actual: -6.304
663
-  // Kossel Pro note: The correct value is likely -17.45 but I'd rather err on the side of
664
-  // not giving someone a head crash. Use something like G29 Z-0.2 to adjust as needed.
665
-  #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).
666
-
667
   #define XY_TRAVEL_SPEED 8000         // X and Y axis travel speed between probes, in mm/min.
742
   #define XY_TRAVEL_SPEED 8000         // X and Y axis travel speed between probes, in mm/min.
668
 
743
 
669
   #define Z_RAISE_BETWEEN_PROBINGS 5  // How much the Z axis will be raised when traveling from between next probing points.
744
   #define Z_RAISE_BETWEEN_PROBINGS 5  // How much the Z axis will be raised when traveling from between next probing points.
671
   //#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10" // These commands will be executed in the end of G29 routine.
746
   //#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10" // These commands will be executed in the end of G29 routine.
672
                                                                              // Useful to retract a deployable Z probe.
747
                                                                              // Useful to retract a deployable Z probe.
673
 
748
 
674
-  // Probes are sensors/switches that need to be activated before they can be used
675
-  // and deactivated after their use.
676
-  // Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, ... . You have to activate one of these for the AUTO_BED_LEVELING_FEATURE
677
-
678
-  // A fix mounted probe, like the normal inductive probe, must be deactivated to go below Z_PROBE_OFFSET_FROM_EXTRUDER
679
-  // when the hardware endstops are active.
680
-  //#define FIX_MOUNTED_PROBE
681
-
682
-  // A Servo Probe can be defined in the servo section below.
683
-
684
-  // An Allen Key Probe is currently predefined only in the delta example configurations.
685
-
686
-  // Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.
687
-  //#define Z_PROBE_SLED
688
-  //#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.
689
-
690
-  // A Mechanical Probe is any probe that either doesn't deploy or needs manual deployment
691
-  // For example any setup that uses the nozzle itself as a probe.
692
-  //#define MECHANICAL_PROBE
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
-  #define Z_PROBE_ALLEN_KEY
697
-
698
-  #if ENABLED(Z_PROBE_ALLEN_KEY)
699
-    // 2 or 3 sets of coordinates for deploying and retracting the spring loaded touch probe on G29,
700
-    // if servo actuated touch probe is not defined. Uncomment as appropriate for your printer/probe.
701
-
702
-    // Kossel Pro
703
-    #define Z_PROBE_ALLEN_KEY_DEPLOY_1_X -105.00 // Move left but not quite so far that we'll bump the belt
704
-    #define Z_PROBE_ALLEN_KEY_DEPLOY_1_Y 0.00
705
-    #define Z_PROBE_ALLEN_KEY_DEPLOY_1_Z 100.0
706
-    #define Z_PROBE_ALLEN_KEY_DEPLOY_1_FEEDRATE HOMING_FEEDRATE_XYZ
707
-
708
-    #define Z_PROBE_ALLEN_KEY_DEPLOY_2_X -110.00 // Move outward to position deploy pin to the left of the arm
709
-    #define Z_PROBE_ALLEN_KEY_DEPLOY_2_Y -125.00
710
-    #define Z_PROBE_ALLEN_KEY_DEPLOY_2_Z Z_PROBE_ALLEN_KEY_DEPLOY_1_Z
711
-    #define Z_PROBE_ALLEN_KEY_DEPLOY_2_FEEDRATE HOMING_FEEDRATE_XYZ
712
-
713
-    #define Z_PROBE_ALLEN_KEY_DEPLOY_3_X 45.00 // Move right to trigger deploy pin
714
-    #define Z_PROBE_ALLEN_KEY_DEPLOY_3_Y -125.00
715
-    #define Z_PROBE_ALLEN_KEY_DEPLOY_3_Z Z_PROBE_ALLEN_KEY_DEPLOY_2_Z
716
-    #define Z_PROBE_ALLEN_KEY_DEPLOY_3_FEEDRATE (HOMING_FEEDRATE_XYZ)/2
717
-
718
-    #define Z_PROBE_ALLEN_KEY_STOW_1_X 36.00 // Line up with bed retaining clip
719
-    #define Z_PROBE_ALLEN_KEY_STOW_1_Y -125.00
720
-    #define Z_PROBE_ALLEN_KEY_STOW_1_Z 75.0
721
-    #define Z_PROBE_ALLEN_KEY_STOW_1_FEEDRATE HOMING_FEEDRATE_XYZ
722
-
723
-    #define Z_PROBE_ALLEN_KEY_STOW_2_X Z_PROBE_ALLEN_KEY_STOW_1_X // move down to retract probe
724
-    #define Z_PROBE_ALLEN_KEY_STOW_2_Y Z_PROBE_ALLEN_KEY_STOW_1_Y
725
-    #define Z_PROBE_ALLEN_KEY_STOW_2_Z 0.0
726
-    #define Z_PROBE_ALLEN_KEY_STOW_2_FEEDRATE (HOMING_FEEDRATE_XYZ)/2
727
-
728
-    #define Z_PROBE_ALLEN_KEY_STOW_3_X 0.0  // return to 0,0,100
729
-    #define Z_PROBE_ALLEN_KEY_STOW_3_Y 0.0
730
-    #define Z_PROBE_ALLEN_KEY_STOW_3_Z 100.0
731
-    #define Z_PROBE_ALLEN_KEY_STOW_3_FEEDRATE HOMING_FEEDRATE_XYZ
732
-
733
-  #endif // Z_PROBE_ALLEN_KEY
734
-
735
   // If you've enabled AUTO_BED_LEVELING_FEATURE and are using the Z Probe for Z Homing,
749
   // If you've enabled AUTO_BED_LEVELING_FEATURE and are using the Z Probe for Z Homing,
736
   // it is highly recommended you also enable Z_SAFE_HOMING below!
750
   // it is highly recommended you also enable Z_SAFE_HOMING below!
737
 
751
 
1242
 //
1256
 //
1243
 //#define NUM_SERVOS 3 // Servo index starts with 0 for M280 command
1257
 //#define NUM_SERVOS 3 // Servo index starts with 0 for M280 command
1244
 
1258
 
1245
-// Servo Endstops
1246
-//
1247
-// This allows for servo actuated endstops, primary usage is for the Z Axis to eliminate calibration or bed height changes.
1248
-// Use M851 to set the Z probe vertical offset from the nozzle. Store that setting with M500.
1249
-//
1250
-//#define Z_ENDSTOP_SERVO_NR 0
1251
-//#define Z_SERVO_ANGLES {70,0} // Z Servo Extend and Retract angles
1252
-
1253
 // Servo deactivation
1259
 // Servo deactivation
1254
 //
1260
 //
1255
 // With this option servos are powered only during movement, then turned off to prevent jitter.
1261
 // With this option servos are powered only during movement, then turned off to prevent jitter.

+ 90
- 84
Marlin/example_configurations/delta/kossel_xl/Configuration.h View File

493
 // If you're using the Z MIN endstop connector for your Z probe, this has no effect.
493
 // If you're using the Z MIN endstop connector for your Z probe, this has no effect.
494
 //#define DISABLE_Z_MIN_PROBE_ENDSTOP
494
 //#define DISABLE_Z_MIN_PROBE_ENDSTOP
495
 
495
 
496
+//
497
+// Probe Type
498
+// Probes are sensors/switches that are activated / deactivated before/after use.
499
+//
500
+// Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
501
+// You must activate one of these to use AUTO_BED_LEVELING_FEATURE below.
502
+//
503
+// Use M851 to set the Z probe vertical offset from the nozzle. Store with M500.
504
+//
505
+
506
+// A fix mounted probe, like the normal inductive probe, must be deactivated to go
507
+// below Z_PROBE_OFFSET_FROM_EXTRUDER when the hardware endstops are active.
508
+#define FIX_MOUNTED_PROBE
509
+
510
+// Z Servo Probe, such as an endstop switch on a rotating arm.
511
+//#define Z_ENDSTOP_SERVO_NR 0
512
+//#define Z_SERVO_ANGLES {70,0} // Z Servo Deploy and Stow angles
513
+
514
+// Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.
515
+//#define Z_PROBE_SLED
516
+//#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.
517
+
518
+// A Mechanical Probe is any probe that either doesn't deploy or needs manual deployment
519
+// For example any setup that uses the nozzle itself as a probe.
520
+//#define MECHANICAL_PROBE
521
+
522
+// Z Probe to nozzle (X,Y) offset, relative to (0, 0).
523
+// X and Y offsets must be integers.
524
+//
525
+// In the following example the X and Y offsets are both positive:
526
+// #define X_PROBE_OFFSET_FROM_EXTRUDER 10
527
+// #define Y_PROBE_OFFSET_FROM_EXTRUDER 10
528
+//
529
+//    +-- BACK ---+
530
+//    |           |
531
+//  L |    (+) P  | R <-- probe (20,20)
532
+//  E |           | I
533
+//  F | (-) N (+) | G <-- nozzle (10,10)
534
+//  T |           | H
535
+//    |    (-)    | T
536
+//    |           |
537
+//    O-- FRONT --+
538
+//  (0,0)
539
+#define X_PROBE_OFFSET_FROM_EXTRUDER 0.0     // Z probe to nozzle X offset: -left  +right
540
+#define Y_PROBE_OFFSET_FROM_EXTRUDER 0.0     // Z probe to nozzle Y offset: -front +behind
541
+#define Z_PROBE_OFFSET_FROM_EXTRUDER 0.3     // Z probe to nozzle Z offset: -below (always!)
542
+
543
+// Allen key retractable z-probe as seen on many Kossel delta printers - http://reprap.org/wiki/Kossel#Automatic_bed_leveling_probe
544
+// Deploys by touching z-axis belt. Retracts by pushing the probe down. Uses Z_MIN_PIN.
545
+//#define Z_PROBE_ALLEN_KEY
546
+
547
+#if ENABLED(Z_PROBE_ALLEN_KEY)
548
+  // 2 or 3 sets of coordinates for deploying and retracting the spring loaded touch probe on G29,
549
+  // if servo actuated touch probe is not defined. Uncomment as appropriate for your printer/probe.
550
+
551
+  //#define Z_PROBE_ALLEN_KEY_DEPLOY_1_X 30.0
552
+  //#define Z_PROBE_ALLEN_KEY_DEPLOY_1_Y DELTA_PRINTABLE_RADIUS
553
+  //#define Z_PROBE_ALLEN_KEY_DEPLOY_1_Z 100.0
554
+  //#define Z_PROBE_ALLEN_KEY_DEPLOY_1_FEEDRATE XY_TRAVEL_SPEED
555
+
556
+  //#define Z_PROBE_ALLEN_KEY_DEPLOY_2_X 0.0
557
+  //#define Z_PROBE_ALLEN_KEY_DEPLOY_2_Y DELTA_PRINTABLE_RADIUS
558
+  //#define Z_PROBE_ALLEN_KEY_DEPLOY_2_Z 100.0
559
+  //#define Z_PROBE_ALLEN_KEY_DEPLOY_2_FEEDRATE (XY_TRAVEL_SPEED)/10
560
+
561
+  //#define Z_PROBE_ALLEN_KEY_STOW_1_X -64.0 // Move the probe into position
562
+  //#define Z_PROBE_ALLEN_KEY_STOW_1_Y 56.0
563
+  //#define Z_PROBE_ALLEN_KEY_STOW_1_Z 23.0
564
+  //#define Z_PROBE_ALLEN_KEY_STOW_1_FEEDRATE XY_TRAVEL_SPEED
565
+
566
+  //#define Z_PROBE_ALLEN_KEY_STOW_2_X -64.0 // Push it down
567
+  //#define Z_PROBE_ALLEN_KEY_STOW_2_Y 56.0
568
+  //#define Z_PROBE_ALLEN_KEY_STOW_2_Z 3.0
569
+  //#define Z_PROBE_ALLEN_KEY_STOW_2_FEEDRATE (XY_TRAVEL_SPEED)/10
570
+
571
+  //#define Z_PROBE_ALLEN_KEY_STOW_3_X -64.0 // Move it up to clear
572
+  //#define Z_PROBE_ALLEN_KEY_STOW_3_Y 56.0
573
+  //#define Z_PROBE_ALLEN_KEY_STOW_3_Z 50.0
574
+  //#define Z_PROBE_ALLEN_KEY_STOW_3_FEEDRATE XY_TRAVEL_SPEED
575
+
576
+#endif // Z_PROBE_ALLEN_KEY
577
+
578
+//
496
 // Probe Raise options provide clearance for the probe to deploy and stow.
579
 // Probe Raise options provide clearance for the probe to deploy and stow.
580
+//
497
 // For G28 these apply when the probe deploys and stows.
581
 // For G28 these apply when the probe deploys and stows.
498
 // For G29 these apply before and after the full procedure.
582
 // For G29 these apply before and after the full procedure.
499
 #define Z_RAISE_BEFORE_PROBING 20   // Raise before probe deploy (e.g., the first probe).
583
 #define Z_RAISE_BEFORE_PROBING 20   // Raise before probe deploy (e.g., the first probe).
500
 #define Z_RAISE_AFTER_PROBING 20    // Raise before probe stow (e.g., the last probe).
584
 #define Z_RAISE_AFTER_PROBING 20    // Raise before probe stow (e.g., the last probe).
501
 
585
 
586
+//
587
+// For M851 give a range for adjusting the Z probe offset
588
+//
589
+#define Z_PROBE_OFFSET_RANGE_MIN -20
590
+#define Z_PROBE_OFFSET_RANGE_MAX 20
591
+
502
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
592
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
503
 // :{0:'Low',1:'High'}
593
 // :{0:'Low',1:'High'}
504
 #define X_ENABLE_ON 0
594
 #define X_ENABLE_ON 0
650
 
740
 
651
   #endif // !AUTO_BED_LEVELING_GRID
741
   #endif // !AUTO_BED_LEVELING_GRID
652
 
742
 
653
-  // Z Probe to nozzle (X,Y) offset, relative to (0, 0).
654
-  // X and Y offsets must be integers.
655
-  //
656
-  // In the following example the X and Y offsets are both positive:
657
-  // #define X_PROBE_OFFSET_FROM_EXTRUDER 10
658
-  // #define Y_PROBE_OFFSET_FROM_EXTRUDER 10
659
-  //
660
-  //    +-- BACK ---+
661
-  //    |           |
662
-  //  L |    (+) P  | R <-- probe (20,20)
663
-  //  E |           | I
664
-  //  F | (-) N (+) | G <-- nozzle (10,10)
665
-  //  T |           | H
666
-  //    |    (-)    | T
667
-  //    |           |
668
-  //    O-- FRONT --+
669
-  //  (0,0)
670
-  #define X_PROBE_OFFSET_FROM_EXTRUDER 0.0     // Z probe to nozzle X offset: -left  +right
671
-  #define Y_PROBE_OFFSET_FROM_EXTRUDER 0.0     // Z probe to nozzle Y offset: -front +behind
672
-  #define Z_PROBE_OFFSET_FROM_EXTRUDER 0.3     // Z probe to nozzle Z offset: -below (always!)
673
-
674
   #define XY_TRAVEL_SPEED 8000         // X and Y axis travel speed between probes, in mm/min.
743
   #define XY_TRAVEL_SPEED 8000         // X and Y axis travel speed between probes, in mm/min.
675
 
744
 
676
   #define Z_RAISE_BETWEEN_PROBINGS 10 // How much the Z axis will be raised when traveling from between next probing points.
745
   #define Z_RAISE_BETWEEN_PROBINGS 10 // How much the Z axis will be raised when traveling from between next probing points.
678
   //#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10" // These commands will be executed in the end of G29 routine.
747
   //#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10" // These commands will be executed in the end of G29 routine.
679
                                                                              // Useful to retract a deployable Z probe.
748
                                                                              // Useful to retract a deployable Z probe.
680
 
749
 
681
-  // Probes are sensors/switches that need to be activated before they can be used
682
-  // and deactivated after their use.
683
-  // Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, ... . You have to activate one of these for the AUTO_BED_LEVELING_FEATURE
684
-
685
-  // A fix mounted probe, like the normal inductive probe, must be deactivated to go below Z_PROBE_OFFSET_FROM_EXTRUDER
686
-  // when the hardware endstops are active.
687
-  #define FIX_MOUNTED_PROBE
688
-
689
-  // A Servo Probe can be defined in the servo section below.
690
-
691
-  // An Allen Key Probe is currently predefined only in the delta example configurations.
692
-
693
-  // Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.
694
-  //#define Z_PROBE_SLED
695
-  //#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.
696
-
697
-  // A Mechanical Probe is any probe that either doesn't deploy or needs manual deployment
698
-  // For example any setup that uses the nozzle itself as a probe.
699
-  //#define MECHANICAL_PROBE
700
-
701
-  // Allen key retractable z-probe as seen on many Kossel delta printers - http://reprap.org/wiki/Kossel#Automatic_bed_leveling_probe
702
-  // Deploys by touching z-axis belt. Retracts by pushing the probe down. Uses Z_MIN_PIN.
703
-  //#define Z_PROBE_ALLEN_KEY
704
-
705
-  #if ENABLED(Z_PROBE_ALLEN_KEY)
706
-    // 2 or 3 sets of coordinates for deploying and retracting the spring loaded touch probe on G29,
707
-    // if servo actuated touch probe is not defined. Uncomment as appropriate for your printer/probe.
708
-
709
-    //#define Z_PROBE_ALLEN_KEY_DEPLOY_1_X 30.0
710
-    //#define Z_PROBE_ALLEN_KEY_DEPLOY_1_Y DELTA_PRINTABLE_RADIUS
711
-    //#define Z_PROBE_ALLEN_KEY_DEPLOY_1_Z 100.0
712
-    //#define Z_PROBE_ALLEN_KEY_DEPLOY_1_FEEDRATE HOMING_FEEDRATE_XYZ
713
-
714
-    //#define Z_PROBE_ALLEN_KEY_DEPLOY_2_X 0.0
715
-    //#define Z_PROBE_ALLEN_KEY_DEPLOY_2_Y DELTA_PRINTABLE_RADIUS
716
-    //#define Z_PROBE_ALLEN_KEY_DEPLOY_2_Z 100.0
717
-    //#define Z_PROBE_ALLEN_KEY_DEPLOY_2_FEEDRATE (HOMING_FEEDRATE_XYZ)/10
718
-
719
-    //#define Z_PROBE_ALLEN_KEY_STOW_1_X -64.0 // Move the probe into position
720
-    //#define Z_PROBE_ALLEN_KEY_STOW_1_Y 56.0
721
-    //#define Z_PROBE_ALLEN_KEY_STOW_1_Z 23.0
722
-    //#define Z_PROBE_ALLEN_KEY_STOW_1_FEEDRATE HOMING_FEEDRATE_XYZ
723
-
724
-    //#define Z_PROBE_ALLEN_KEY_STOW_2_X -64.0 // Push it down
725
-    //#define Z_PROBE_ALLEN_KEY_STOW_2_Y 56.0
726
-    //#define Z_PROBE_ALLEN_KEY_STOW_2_Z 3.0
727
-    //#define Z_PROBE_ALLEN_KEY_STOW_2_FEEDRATE (HOMING_FEEDRATE_XYZ)/10
728
-
729
-    //#define Z_PROBE_ALLEN_KEY_STOW_3_X -64.0 // Move it up to clear
730
-    //#define Z_PROBE_ALLEN_KEY_STOW_3_Y 56.0
731
-    //#define Z_PROBE_ALLEN_KEY_STOW_3_Z 50.0
732
-    //#define Z_PROBE_ALLEN_KEY_STOW_3_FEEDRATE HOMING_FEEDRATE_XYZ
733
-
734
-  #endif // Z_PROBE_ALLEN_KEY
735
-
736
   // If you've enabled AUTO_BED_LEVELING_FEATURE and are using the Z Probe for Z Homing,
750
   // If you've enabled AUTO_BED_LEVELING_FEATURE and are using the Z Probe for Z Homing,
737
   // it is highly recommended you also enable Z_SAFE_HOMING below!
751
   // it is highly recommended you also enable Z_SAFE_HOMING below!
738
 
752
 
1239
 //
1253
 //
1240
 //#define NUM_SERVOS 3 // Servo index starts with 0 for M280 command
1254
 //#define NUM_SERVOS 3 // Servo index starts with 0 for M280 command
1241
 
1255
 
1242
-// Servo Endstops
1243
-//
1244
-// This allows for servo actuated endstops, primary usage is for the Z Axis to eliminate calibration or bed height changes.
1245
-// Use M851 to set the Z probe vertical offset from the nozzle. Store that setting with M500.
1246
-//
1247
-//#define Z_ENDSTOP_SERVO_NR 0
1248
-//#define Z_SERVO_ANGLES {70,0} // Z Servo Extend and Retract angles
1249
-
1250
 // Servo deactivation
1256
 // Servo deactivation
1251
 //
1257
 //
1252
 // With this option servos are powered only during movement, then turned off to prevent jitter.
1258
 // With this option servos are powered only during movement, then turned off to prevent jitter.

+ 59
- 48
Marlin/example_configurations/makibox/Configuration.h View File

456
 // If you're using the Z MIN endstop connector for your Z probe, this has no effect.
456
 // If you're using the Z MIN endstop connector for your Z probe, this has no effect.
457
 //#define DISABLE_Z_MIN_PROBE_ENDSTOP
457
 //#define DISABLE_Z_MIN_PROBE_ENDSTOP
458
 
458
 
459
+//
460
+// Probe Type
461
+// Probes are sensors/switches that are activated / deactivated before/after use.
462
+//
463
+// Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
464
+// You must activate one of these to use AUTO_BED_LEVELING_FEATURE below.
465
+//
466
+// Use M851 to set the Z probe vertical offset from the nozzle. Store with M500.
467
+//
468
+
469
+// A fix mounted probe, like the normal inductive probe, must be deactivated to go
470
+// below Z_PROBE_OFFSET_FROM_EXTRUDER when the hardware endstops are active.
471
+//#define FIX_MOUNTED_PROBE
472
+
473
+// Z Servo Probe, such as an endstop switch on a rotating arm.
474
+//#define Z_ENDSTOP_SERVO_NR 0
475
+//#define Z_SERVO_ANGLES {70,0} // Z Servo Deploy and Stow angles
476
+
477
+// Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.
478
+//#define Z_PROBE_SLED
479
+//#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.
480
+
481
+// A Mechanical Probe is any probe that either doesn't deploy or needs manual deployment
482
+// For example any setup that uses the nozzle itself as a probe.
483
+//#define MECHANICAL_PROBE
484
+
485
+// Z Probe to nozzle (X,Y) offset, relative to (0, 0).
486
+// X and Y offsets must be integers.
487
+//
488
+// In the following example the X and Y offsets are both positive:
489
+// #define X_PROBE_OFFSET_FROM_EXTRUDER 10
490
+// #define Y_PROBE_OFFSET_FROM_EXTRUDER 10
491
+//
492
+//    +-- BACK ---+
493
+//    |           |
494
+//  L |    (+) P  | R <-- probe (20,20)
495
+//  E |           | I
496
+//  F | (-) N (+) | G <-- nozzle (10,10)
497
+//  T |           | H
498
+//    |    (-)    | T
499
+//    |           |
500
+//    O-- FRONT --+
501
+//  (0,0)
502
+#define X_PROBE_OFFSET_FROM_EXTRUDER -25     // X offset: -left  +right  [of the nozzle]
503
+#define Y_PROBE_OFFSET_FROM_EXTRUDER -29     // Y offset: -front +behind [the nozzle]
504
+#define Z_PROBE_OFFSET_FROM_EXTRUDER -12.35  // Z offset: -below +above  [the nozzle]
505
+
506
+//
507
+// Allen Key Probe is defined in the Delta example configurations.
508
+//
509
+
510
+//
459
 // Probe Raise options provide clearance for the probe to deploy and stow.
511
 // Probe Raise options provide clearance for the probe to deploy and stow.
512
+//
460
 // For G28 these apply when the probe deploys and stows.
513
 // For G28 these apply when the probe deploys and stows.
461
 // For G29 these apply before and after the full procedure.
514
 // For G29 these apply before and after the full procedure.
462
 #define Z_RAISE_BEFORE_PROBING 15   // Raise before probe deploy (e.g., the first probe).
515
 #define Z_RAISE_BEFORE_PROBING 15   // Raise before probe deploy (e.g., the first probe).
463
 #define Z_RAISE_AFTER_PROBING 15    // Raise before probe stow (e.g., the last probe).
516
 #define Z_RAISE_AFTER_PROBING 15    // Raise before probe stow (e.g., the last probe).
464
 
517
 
518
+//
519
+// For M851 give a range for adjusting the Z probe offset
520
+//
521
+#define Z_PROBE_OFFSET_RANGE_MIN -20
522
+#define Z_PROBE_OFFSET_RANGE_MAX 20
523
+
465
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
524
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
466
 // :{0:'Low',1:'High'}
525
 // :{0:'Low',1:'High'}
467
 #define X_ENABLE_ON 0
526
 #define X_ENABLE_ON 0
609
 
668
 
610
   #endif // !AUTO_BED_LEVELING_GRID
669
   #endif // !AUTO_BED_LEVELING_GRID
611
 
670
 
612
-  // Z Probe to nozzle (X,Y) offset, relative to (0, 0).
613
-  // X and Y offsets must be integers.
614
-  //
615
-  // In the following example the X and Y offsets are both positive:
616
-  // #define X_PROBE_OFFSET_FROM_EXTRUDER 10
617
-  // #define Y_PROBE_OFFSET_FROM_EXTRUDER 10
618
-  //
619
-  //    +-- BACK ---+
620
-  //    |           |
621
-  //  L |    (+) P  | R <-- probe (20,20)
622
-  //  E |           | I
623
-  //  F | (-) N (+) | G <-- nozzle (10,10)
624
-  //  T |           | H
625
-  //    |    (-)    | T
626
-  //    |           |
627
-  //    O-- FRONT --+
628
-  //  (0,0)
629
-  #define X_PROBE_OFFSET_FROM_EXTRUDER -25     // X offset: -left  +right  [of the nozzle]
630
-  #define Y_PROBE_OFFSET_FROM_EXTRUDER -29     // Y offset: -front +behind [the nozzle]
631
-  #define Z_PROBE_OFFSET_FROM_EXTRUDER -12.35  // Z offset: -below +above  [the nozzle]
632
-
633
   #define XY_TRAVEL_SPEED 8000         // X and Y axis travel speed between probes, in mm/min.
671
   #define XY_TRAVEL_SPEED 8000         // X and Y axis travel speed between probes, in mm/min.
634
 
672
 
635
   #define Z_RAISE_BETWEEN_PROBINGS 5  // How much the Z axis will be raised when traveling from between next probing points.
673
   #define Z_RAISE_BETWEEN_PROBINGS 5  // How much the Z axis will be raised when traveling from between next probing points.
637
   //#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10" // These commands will be executed in the end of G29 routine.
675
   //#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10" // These commands will be executed in the end of G29 routine.
638
                                                                              // Useful to retract a deployable Z probe.
676
                                                                              // Useful to retract a deployable Z probe.
639
 
677
 
640
-  // Probes are sensors/switches that need to be activated before they can be used
641
-  // and deactivated after their use.
642
-  // Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, ... . You have to activate one of these for the AUTO_BED_LEVELING_FEATURE
643
-
644
-  // A fix mounted probe, like the normal inductive probe, must be deactivated to go below Z_PROBE_OFFSET_FROM_EXTRUDER
645
-  // when the hardware endstops are active.
646
-  //#define FIX_MOUNTED_PROBE
647
-
648
-  // A Servo Probe can be defined in the servo section below.
649
-
650
-  // An Allen Key Probe is currently predefined only in the delta example configurations.
651
-
652
-  // Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.
653
-  //#define Z_PROBE_SLED
654
-  //#define SLED_DOCKING_OFFSET 5 // The extra distance the X axis must travel to pickup the sled. 0 should be fine but you can push it further if you'd like.
655
-
656
-  // A Mechanical Probe is any probe that either doesn't deploy or needs manual deployment
657
-  // For example any setup that uses the nozzle itself as a probe.
658
-  //#define MECHANICAL_PROBE
659
 
678
 
660
   // If you've enabled AUTO_BED_LEVELING_FEATURE and are using the Z Probe for Z Homing,
679
   // If you've enabled AUTO_BED_LEVELING_FEATURE and are using the Z Probe for Z Homing,
661
   // it is highly recommended you also enable Z_SAFE_HOMING below!
680
   // it is highly recommended you also enable Z_SAFE_HOMING below!
1154
 //
1173
 //
1155
 //#define NUM_SERVOS 3 // Servo index starts with 0 for M280 command
1174
 //#define NUM_SERVOS 3 // Servo index starts with 0 for M280 command
1156
 
1175
 
1157
-// Servo Endstops
1158
-//
1159
-// This allows for servo actuated endstops, primary usage is for the Z Axis to eliminate calibration or bed height changes.
1160
-// Use M851 to set the Z probe vertical offset from the nozzle. Store that setting with M500.
1161
-//
1162
-//#define Z_ENDSTOP_SERVO_NR 0
1163
-//#define Z_SERVO_ANGLES {70,0} // Z Servo Extend and Retract angles
1164
-
1165
 // Servo deactivation
1176
 // Servo deactivation
1166
 //
1177
 //
1167
 // With this option servos are powered only during movement, then turned off to prevent jitter.
1178
 // With this option servos are powered only during movement, then turned off to prevent jitter.

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

443
 // If you're using the Z MIN endstop connector for your Z probe, this has no effect.
443
 // If you're using the Z MIN endstop connector for your Z probe, this has no effect.
444
 //#define DISABLE_Z_MIN_PROBE_ENDSTOP
444
 //#define DISABLE_Z_MIN_PROBE_ENDSTOP
445
 
445
 
446
+//
447
+// Probe Type
448
+// Probes are sensors/switches that are activated / deactivated before/after use.
449
+//
450
+// Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
451
+// You must activate one of these to use AUTO_BED_LEVELING_FEATURE below.
452
+//
453
+// Use M851 to set the Z probe vertical offset from the nozzle. Store with M500.
454
+//
455
+
456
+// A fix mounted probe, like the normal inductive probe, must be deactivated to go
457
+// below Z_PROBE_OFFSET_FROM_EXTRUDER when the hardware endstops are active.
458
+//#define FIX_MOUNTED_PROBE
459
+
460
+// Z Servo Probe, such as an endstop switch on a rotating arm.
461
+//#define Z_ENDSTOP_SERVO_NR 0
462
+//#define Z_SERVO_ANGLES {70,0} // Z Servo Deploy and Stow angles
463
+
464
+// Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.
465
+//#define Z_PROBE_SLED
466
+//#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.
467
+
468
+// A Mechanical Probe is any probe that either doesn't deploy or needs manual deployment
469
+// For example any setup that uses the nozzle itself as a probe.
470
+//#define MECHANICAL_PROBE
471
+
472
+// Z Probe to nozzle (X,Y) offset, relative to (0, 0).
473
+// X and Y offsets must be integers.
474
+//
475
+// In the following example the X and Y offsets are both positive:
476
+// #define X_PROBE_OFFSET_FROM_EXTRUDER 10
477
+// #define Y_PROBE_OFFSET_FROM_EXTRUDER 10
478
+//
479
+//    +-- BACK ---+
480
+//    |           |
481
+//  L |    (+) P  | R <-- probe (20,20)
482
+//  E |           | I
483
+//  F | (-) N (+) | G <-- nozzle (10,10)
484
+//  T |           | H
485
+//    |    (-)    | T
486
+//    |           |
487
+//    O-- FRONT --+
488
+//  (0,0)
489
+#define X_PROBE_OFFSET_FROM_EXTRUDER -25     // X offset: -left  +right  [of the nozzle]
490
+#define Y_PROBE_OFFSET_FROM_EXTRUDER -29     // Y offset: -front +behind [the nozzle]
491
+#define Z_PROBE_OFFSET_FROM_EXTRUDER -12.35  // Z offset: -below +above  [the nozzle]
492
+
493
+//
494
+// Allen Key Probe is defined in the Delta example configurations.
495
+//
496
+
497
+//
446
 // Probe Raise options provide clearance for the probe to deploy and stow.
498
 // Probe Raise options provide clearance for the probe to deploy and stow.
499
+//
447
 // For G28 these apply when the probe deploys and stows.
500
 // For G28 these apply when the probe deploys and stows.
448
 // For G29 these apply before and after the full procedure.
501
 // For G29 these apply before and after the full procedure.
449
 #define Z_RAISE_BEFORE_PROBING 15   // Raise before probe deploy (e.g., the first probe).
502
 #define Z_RAISE_BEFORE_PROBING 15   // Raise before probe deploy (e.g., the first probe).
450
 #define Z_RAISE_AFTER_PROBING 15    // Raise before probe stow (e.g., the last probe).
503
 #define Z_RAISE_AFTER_PROBING 15    // Raise before probe stow (e.g., the last probe).
451
 
504
 
505
+//
506
+// For M851 give a range for adjusting the Z probe offset
507
+//
508
+#define Z_PROBE_OFFSET_RANGE_MIN -20
509
+#define Z_PROBE_OFFSET_RANGE_MAX 20
510
+
452
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
511
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
453
 // :{0:'Low',1:'High'}
512
 // :{0:'Low',1:'High'}
454
 #define X_ENABLE_ON 1
513
 #define X_ENABLE_ON 1
596
 
655
 
597
   #endif // !AUTO_BED_LEVELING_GRID
656
   #endif // !AUTO_BED_LEVELING_GRID
598
 
657
 
599
-  // Z Probe to nozzle (X,Y) offset, relative to (0, 0).
600
-  // X and Y offsets must be integers.
601
-  //
602
-  // In the following example the X and Y offsets are both positive:
603
-  // #define X_PROBE_OFFSET_FROM_EXTRUDER 10
604
-  // #define Y_PROBE_OFFSET_FROM_EXTRUDER 10
605
-  //
606
-  //    +-- BACK ---+
607
-  //    |           |
608
-  //  L |    (+) P  | R <-- probe (20,20)
609
-  //  E |           | I
610
-  //  F | (-) N (+) | G <-- nozzle (10,10)
611
-  //  T |           | H
612
-  //    |    (-)    | T
613
-  //    |           |
614
-  //    O-- FRONT --+
615
-  //  (0,0)
616
-  #define X_PROBE_OFFSET_FROM_EXTRUDER -25     // X offset: -left  +right  [of the nozzle]
617
-  #define Y_PROBE_OFFSET_FROM_EXTRUDER -29     // Y offset: -front +behind [the nozzle]
618
-  #define Z_PROBE_OFFSET_FROM_EXTRUDER -12.35  // Z offset: -below +above  [the nozzle]
619
-
620
   #define XY_TRAVEL_SPEED 8000         // X and Y axis travel speed between probes, in mm/min.
658
   #define XY_TRAVEL_SPEED 8000         // X and Y axis travel speed between probes, in mm/min.
621
 
659
 
622
   #define Z_RAISE_BETWEEN_PROBINGS 5  // How much the Z axis will be raised when traveling from between next probing points.
660
   #define Z_RAISE_BETWEEN_PROBINGS 5  // How much the Z axis will be raised when traveling from between next probing points.
624
   //#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10" // These commands will be executed in the end of G29 routine.
662
   //#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10" // These commands will be executed in the end of G29 routine.
625
                                                                              // Useful to retract a deployable Z probe.
663
                                                                              // Useful to retract a deployable Z probe.
626
 
664
 
627
-  // Probes are sensors/switches that need to be activated before they can be used
628
-  // and deactivated after their use.
629
-  // Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, ... . You have to activate one of these for the AUTO_BED_LEVELING_FEATURE
630
-
631
-  // A fix mounted probe, like the normal inductive probe, must be deactivated to go below Z_PROBE_OFFSET_FROM_EXTRUDER
632
-  // when the hardware endstops are active.
633
-  //#define FIX_MOUNTED_PROBE
634
-
635
-  // A Servo Probe can be defined in the servo section below.
636
-
637
-  // An Allen Key Probe is currently predefined only in the delta example configurations.
638
-
639
-  // Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.
640
-  //#define Z_PROBE_SLED
641
-  //#define SLED_DOCKING_OFFSET 5 // The extra distance the X axis must travel to pickup the sled. 0 should be fine but you can push it further if you'd like.
642
-
643
-  // A Mechanical Probe is any probe that either doesn't deploy or needs manual deployment
644
-  // For example any setup that uses the nozzle itself as a probe.
645
-  //#define MECHANICAL_PROBE
646
 
665
 
647
   // If you've enabled AUTO_BED_LEVELING_FEATURE and are using the Z Probe for Z Homing,
666
   // If you've enabled AUTO_BED_LEVELING_FEATURE and are using the Z Probe for Z Homing,
648
   // it is highly recommended you also enable Z_SAFE_HOMING below!
667
   // it is highly recommended you also enable Z_SAFE_HOMING below!
1145
 //
1164
 //
1146
 //#define NUM_SERVOS 3 // Servo index starts with 0 for M280 command
1165
 //#define NUM_SERVOS 3 // Servo index starts with 0 for M280 command
1147
 
1166
 
1148
-// Servo Endstops
1149
-//
1150
-// This allows for servo actuated endstops, primary usage is for the Z Axis to eliminate calibration or bed height changes.
1151
-// Use M851 to set the Z probe vertical offset from the nozzle. Store that setting with M500.
1152
-//
1153
-//#define Z_ENDSTOP_SERVO_NR 0
1154
-//#define Z_SERVO_ANGLES {70,0} // Z Servo Extend and Retract angles
1155
-
1156
 // Servo deactivation
1167
 // Servo deactivation
1157
 //
1168
 //
1158
 // With this option servos are powered only during movement, then turned off to prevent jitter.
1169
 // With this option servos are powered only during movement, then turned off to prevent jitter.

Loading…
Cancel
Save