|
@@ -524,6 +524,73 @@
|
524
|
524
|
// Enable this if X or Y can't home without homing the other axis first.
|
525
|
525
|
//#define CODEPENDENT_XY_HOMING
|
526
|
526
|
|
|
527
|
+#if ENABLED(BLTOUCH)
|
|
528
|
+ /**
|
|
529
|
+ * Either: Use the defaults (recommended) or: For special purposes, use the following DEFINES
|
|
530
|
+ * Do not activate settings that the probe might not understand. Clones might misunderstand
|
|
531
|
+ * advanced commands.
|
|
532
|
+ *
|
|
533
|
+ * Note: If the probe is not deploying, check a "Cmd: Reset" and "Cmd: Self-Test" and then
|
|
534
|
+ * check the wiring of the BROWN, RED and ORANGE wires.
|
|
535
|
+ *
|
|
536
|
+ * Note: If the trigger signal of your probe is not being recognized, it has been very often
|
|
537
|
+ * because the BLACK and WHITE wires needed to be swapped. They are not "interchangeable"
|
|
538
|
+ * like they would be with a real switch. So please check the wiring first.
|
|
539
|
+ *
|
|
540
|
+ * Settings for all BLTouch and clone probes:
|
|
541
|
+ */
|
|
542
|
+
|
|
543
|
+ // Safety: The probe needs time to recognize the command.
|
|
544
|
+ // Minimum command delay (ms). Enable and increase if needed.
|
|
545
|
+ //#define BLTOUCH_DELAY 500
|
|
546
|
+
|
|
547
|
+ /**
|
|
548
|
+ * Settings for BLTOUCH Classic 1.2, 1.3 or BLTouch Smart 1.0, 2.0, 2.2, 3.0, 3.1, and most clones:
|
|
549
|
+ */
|
|
550
|
+
|
|
551
|
+ // Feature: Switch into SW mode after a deploy. It makes the output pulse longer. Can be useful
|
|
552
|
+ // in special cases, like noisy or filtered input configurations.
|
|
553
|
+ //#define BLTOUCH_FORCE_SW_MODE
|
|
554
|
+
|
|
555
|
+ /**
|
|
556
|
+ * Settings for BLTouch Smart 3.0 and 3.1
|
|
557
|
+ * Summary:
|
|
558
|
+ * - Voltage modes: 5V and OD (open drain - "logic voltage free") output modes
|
|
559
|
+ * - High-Speed mode
|
|
560
|
+ * - Disable LCD voltage options
|
|
561
|
+ */
|
|
562
|
+
|
|
563
|
+ /**
|
|
564
|
+ * Danger: Don't activate 5V mode unless attached to a 5V-tolerant controller!
|
|
565
|
+ * V3.0 or 3.1: Set default mode to 5V mode at Marlin startup.
|
|
566
|
+ * If disabled, OD mode is the hard-coded default on 3.0
|
|
567
|
+ * On startup, Marlin will compare its eeprom to this vale. If the selected mode
|
|
568
|
+ * differs, a mode set eeprom write will be completed at initialization.
|
|
569
|
+ * Use the option below to force an eeprom write to a V3.1 probe regardless.
|
|
570
|
+ */
|
|
571
|
+ //#define BLTOUCH_SET_5V_MODE
|
|
572
|
+
|
|
573
|
+ /**
|
|
574
|
+ * Safety: Activate if connecting a probe with an unknown voltage mode.
|
|
575
|
+ * V3.0: Set a probe into mode selected above at Marlin startup. Required for 5V mode on 3.0
|
|
576
|
+ * V3.1: Force a probe with unknown mode into selected mode at Marlin startup ( = Probe EEPROM write )
|
|
577
|
+ * To preserve the life of the probe, use this once then turn it off and re-flash.
|
|
578
|
+ */
|
|
579
|
+ //#define BLTOUCH_FORCE_MODE_SET
|
|
580
|
+
|
|
581
|
+ /**
|
|
582
|
+ * Use "HIGH SPEED" mode for probing.
|
|
583
|
+ * Danger: Disable if your probe sometimes fails. Only suitable for stable well-adjusted systems.
|
|
584
|
+ * This feature was designed for Delta's with very fast Z moves however higher speed cartesians may function
|
|
585
|
+ * If the machine cannot raise the probe fast enough after a trigger, it may enter a fault state.
|
|
586
|
+ */
|
|
587
|
+ //#define BLTOUCH_HS_MODE
|
|
588
|
+
|
|
589
|
+ // Safety: Enable voltage mode settings in the LCD menu.
|
|
590
|
+ //#define BLTOUCH_LCD_VOLTAGE_MENU
|
|
591
|
+
|
|
592
|
+#endif // BLTOUCH
|
|
593
|
+
|
527
|
594
|
/**
|
528
|
595
|
* Z Steppers Auto-Alignment
|
529
|
596
|
* Add the G34 command to align multiple Z steppers using a bed probe.
|
|
@@ -851,7 +918,7 @@
|
851
|
918
|
*/
|
852
|
919
|
//#define POWER_LOSS_RECOVERY
|
853
|
920
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
854
|
|
- //#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
|
921
|
+ //#define POWER_LOSS_PIN 44 // Pin to detect power loss (optional)
|
855
|
922
|
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
856
|
923
|
//#define POWER_LOSS_PURGE_LEN 20 // (mm) Length of filament to purge on resume
|
857
|
924
|
//#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power.
|
|
@@ -913,7 +980,7 @@
|
913
|
980
|
* This feature must be enabled with "M540 S1" or from the LCD menu.
|
914
|
981
|
* To have any effect, endstops must be enabled during SD printing.
|
915
|
982
|
*/
|
916
|
|
- //#define ABORT_ON_ENDSTOP_HIT_FEATURE_ENABLED
|
|
983
|
+ //#define SD_ABORT_ON_ENDSTOP_HIT
|
917
|
984
|
|
918
|
985
|
/**
|
919
|
986
|
* This option makes it easier to print the same SD Card file again.
|
|
@@ -1765,6 +1832,12 @@
|
1765
|
1832
|
#endif
|
1766
|
1833
|
|
1767
|
1834
|
/**
|
|
1835
|
+ * Beta feature!
|
|
1836
|
+ * Create a 50/50 square wave step pulse optimal for stepper drivers.
|
|
1837
|
+ */
|
|
1838
|
+ //#define SQUARE_WAVE_STEPPING
|
|
1839
|
+
|
|
1840
|
+ /**
|
1768
|
1841
|
* Enable M122 debugging command for TMC stepper drivers.
|
1769
|
1842
|
* M122 S0/1 will enable continous reporting.
|
1770
|
1843
|
*/
|