Move BLTouch options to adv config (#14131)
Plus other BLTouch and menu enhancements.
This commit is contained in:
		
				
					committed by
					
						 Scott Lahteine
						Scott Lahteine
					
				
			
			
				
	
			
			
			
						parent
						
							0ca2073625
						
					
				
				
					commit
					b7eeb5b13b
				
			| @@ -816,72 +816,6 @@ | ||||
|  * The BLTouch probe uses a Hall effect sensor and emulates a servo. | ||||
|  */ | ||||
| //#define BLTOUCH | ||||
| #if ENABLED(BLTOUCH) | ||||
|   /** | ||||
|    * Either: Use the defaults (recommended) or: For special purposes, use the following DEFINES | ||||
|    * Do not activate settings that the probe might not understand. Clones might misunderstand | ||||
|    * advanced commands. | ||||
|    * | ||||
|    * Note: If the probe is not deploying, check a "Cmd: Reset" and "Cmd: Self-Test" and then | ||||
|    *       check the wiring of the BROWN, RED and ORANGE wires. | ||||
|    * | ||||
|    * Note: If the trigger signal of your probe is not being recognized, it has been very often | ||||
|    *       because the BLACK and WHITE wires needed to be swapped. They are not "interchangeable" | ||||
|    *       like they would be with a real switch. So please check the wiring first. | ||||
|    * | ||||
|    * Settings for all BLTouch and clone probes: | ||||
|    */ | ||||
|  | ||||
|   // Safety: The probe needs time to recognize the command. | ||||
|   //         Minimum command delay (ms). Enable and increase if needed. | ||||
|   //#define BLTOUCH_DELAY 500 | ||||
|  | ||||
|   /** | ||||
|    * Settings for BLTOUCH Classic 1.2, 1.3 or BLTouch Smart 1.0, 2.0, 2.2, 3.0, 3.1, and most clones: | ||||
|    */ | ||||
|  | ||||
|   // Feature: Switch into SW mode after a deploy. It makes the output pulse longer. Can be useful | ||||
|   //          in special cases, like noisy or filtered input configurations. | ||||
|   //#define BLTOUCH_FORCE_SW_MODE | ||||
|  | ||||
|   /** | ||||
|    * Settings for BLTouch Smart 3.0 and 3.1 | ||||
|    * Summary: | ||||
|    *   - Voltage modes: 5V and OD (open drain - "logic voltage free") output modes | ||||
|    *   - High-Speed mode | ||||
|    *   - Disable LCD voltage options | ||||
|    */ | ||||
|  | ||||
|   /** | ||||
|    * Danger: Don't activate 5V mode unless attached to a 5V-tolerant controller! | ||||
|    * V3.0 or 3.1: Set default mode to 5V mode at Marlin startup. | ||||
|    * If disabled, OD mode is the hard-coded default on 3.0 | ||||
|    * On startup, Marlin will compare its eeprom to this vale. If the selected mode | ||||
|    * differs, a mode set eeprom write will be completed at initialization. | ||||
|    * Use the option below to force an eeprom write to a V3.1 probe regardless. | ||||
|    */ | ||||
|   //#define BLTOUCH_SET_5V_MODE | ||||
|  | ||||
|   /** | ||||
|    * Safety: Activate if connecting a probe with an unknown voltage mode. | ||||
|    * V3.0: Set a probe into mode selected above at Marlin startup. Required for 5V mode on 3.0 | ||||
|    * V3.1: Force a probe with unknown mode into selected mode at Marlin startup ( = Probe EEPROM write ) | ||||
|    * To preserve the life of the probe, use this once then turn it off and re-flash. | ||||
|    */ | ||||
|   //#define BLTOUCH_FORCE_MODE_SET | ||||
|  | ||||
|   /** | ||||
|    * Use "HIGH SPEED" mode for probing. | ||||
|    * Danger: Disable if your probe sometimes fails. Only suitable for stable well-adjusted systems. | ||||
|    * This feature was designed for Delta's with very fast Z moves however higher speed cartesians may function | ||||
|    * If the machine cannot raise the probe fast enough after a trigger, it may enter a fault state. | ||||
|    */ | ||||
|   //#define BLTOUCH_HS_MODE | ||||
|  | ||||
|   // Safety: Enable voltage mode settings in the LCD menu. | ||||
|   //#define BLTOUCH_LCD_VOLTAGE_MENU | ||||
|  | ||||
| #endif // BLTOUCH | ||||
|  | ||||
| // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN) | ||||
| //#define SOLENOID_PROBE | ||||
|   | ||||
| @@ -524,6 +524,73 @@ | ||||
| // Enable this if X or Y can't home without homing the other axis first. | ||||
| //#define CODEPENDENT_XY_HOMING | ||||
|  | ||||
| #if ENABLED(BLTOUCH) | ||||
|   /** | ||||
|    * Either: Use the defaults (recommended) or: For special purposes, use the following DEFINES | ||||
|    * Do not activate settings that the probe might not understand. Clones might misunderstand | ||||
|    * advanced commands. | ||||
|    * | ||||
|    * Note: If the probe is not deploying, check a "Cmd: Reset" and "Cmd: Self-Test" and then | ||||
|    *       check the wiring of the BROWN, RED and ORANGE wires. | ||||
|    * | ||||
|    * Note: If the trigger signal of your probe is not being recognized, it has been very often | ||||
|    *       because the BLACK and WHITE wires needed to be swapped. They are not "interchangeable" | ||||
|    *       like they would be with a real switch. So please check the wiring first. | ||||
|    * | ||||
|    * Settings for all BLTouch and clone probes: | ||||
|    */ | ||||
|  | ||||
|   // Safety: The probe needs time to recognize the command. | ||||
|   //         Minimum command delay (ms). Enable and increase if needed. | ||||
|   //#define BLTOUCH_DELAY 500 | ||||
|  | ||||
|   /** | ||||
|    * Settings for BLTOUCH Classic 1.2, 1.3 or BLTouch Smart 1.0, 2.0, 2.2, 3.0, 3.1, and most clones: | ||||
|    */ | ||||
|  | ||||
|   // Feature: Switch into SW mode after a deploy. It makes the output pulse longer. Can be useful | ||||
|   //          in special cases, like noisy or filtered input configurations. | ||||
|   //#define BLTOUCH_FORCE_SW_MODE | ||||
|  | ||||
|   /** | ||||
|    * Settings for BLTouch Smart 3.0 and 3.1 | ||||
|    * Summary: | ||||
|    *   - Voltage modes: 5V and OD (open drain - "logic voltage free") output modes | ||||
|    *   - High-Speed mode | ||||
|    *   - Disable LCD voltage options | ||||
|    */ | ||||
|  | ||||
|   /** | ||||
|    * Danger: Don't activate 5V mode unless attached to a 5V-tolerant controller! | ||||
|    * V3.0 or 3.1: Set default mode to 5V mode at Marlin startup. | ||||
|    * If disabled, OD mode is the hard-coded default on 3.0 | ||||
|    * On startup, Marlin will compare its eeprom to this vale. If the selected mode | ||||
|    * differs, a mode set eeprom write will be completed at initialization. | ||||
|    * Use the option below to force an eeprom write to a V3.1 probe regardless. | ||||
|    */ | ||||
|   //#define BLTOUCH_SET_5V_MODE | ||||
|  | ||||
|   /** | ||||
|    * Safety: Activate if connecting a probe with an unknown voltage mode. | ||||
|    * V3.0: Set a probe into mode selected above at Marlin startup. Required for 5V mode on 3.0 | ||||
|    * V3.1: Force a probe with unknown mode into selected mode at Marlin startup ( = Probe EEPROM write ) | ||||
|    * To preserve the life of the probe, use this once then turn it off and re-flash. | ||||
|    */ | ||||
|   //#define BLTOUCH_FORCE_MODE_SET | ||||
|  | ||||
|   /** | ||||
|    * Use "HIGH SPEED" mode for probing. | ||||
|    * Danger: Disable if your probe sometimes fails. Only suitable for stable well-adjusted systems. | ||||
|    * This feature was designed for Delta's with very fast Z moves however higher speed cartesians may function | ||||
|    * If the machine cannot raise the probe fast enough after a trigger, it may enter a fault state. | ||||
|    */ | ||||
|   //#define BLTOUCH_HS_MODE | ||||
|  | ||||
|   // Safety: Enable voltage mode settings in the LCD menu. | ||||
|   //#define BLTOUCH_LCD_VOLTAGE_MENU | ||||
|  | ||||
| #endif // BLTOUCH | ||||
|  | ||||
| /** | ||||
|  * Z Steppers Auto-Alignment | ||||
|  * Add the G34 command to align multiple Z steppers using a bed probe. | ||||
|   | ||||
		Reference in New Issue
	
	Block a user