Z_STEPPER_AUTO_ALIGN — To align with Z stepper points (#15195)
This commit is contained in:
		
				
					committed by
					
						 Scott Lahteine
						Scott Lahteine
					
				
			
			
				
	
			
			
			
						parent
						
							e0e406dbcc
						
					
				
				
					commit
					832cb7e1ac
				
			| @@ -604,18 +604,31 @@ | ||||
| #if ENABLED(Z_STEPPER_AUTO_ALIGN) | ||||
|   // Define probe X and Y positions for Z1, Z2 [, Z3] | ||||
|   #define Z_STEPPER_ALIGN_XY { {  10, 290 }, { 150,  10 }, { 290, 290 } } | ||||
|  | ||||
|   // Provide Z stepper positions for more rapid convergence in bed alignment. | ||||
|   // Currently requires triple stepper drivers. | ||||
|   //#define Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS | ||||
|   #if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS) | ||||
|     // Define Stepper XY positions for Z1, Z2, Z3 corresponding to | ||||
|     // the Z screw positions in the bed carriage. | ||||
|     // Define one position per Z stepper in stepper driver order. | ||||
|     #define Z_STEPPER_ALIGN_STEPPER_XY { { 210.7, 102.5 }, { 152.6, 220.0 }, { 94.5, 102.5 } } | ||||
|   #else | ||||
|     // Amplification factor. Used to scale the correction step up or down. | ||||
|     // In case the stepper (spindle) position is further out than the test point. | ||||
|     // Use a value > 1. NOTE: This may cause instability | ||||
|     #define Z_STEPPER_ALIGN_AMP 1.0 | ||||
|   #endif | ||||
|  | ||||
|   // Set number of iterations to align | ||||
|   #define Z_STEPPER_ALIGN_ITERATIONS 3 | ||||
|  | ||||
|   // Enable to restore leveling setup after operation | ||||
|   #define RESTORE_LEVELING_AFTER_G34 | ||||
|  | ||||
|   // On a 300mm bed a 5% grade would give a misalignment of ~1.5cm | ||||
|   #define G34_MAX_GRADE  5  // (%) Maximum incline G34 will handle | ||||
|  | ||||
|   // Use the amplification factor to de-/increase correction step. | ||||
|   // In case the stepper (spindle) position is further out than the test point | ||||
|   // Use a value > 1. NOTE: This may cause instability | ||||
|   #define Z_STEPPER_ALIGN_AMP 1.0 | ||||
|   // Stop criterion. If the accuracy is better than this stop iterating early | ||||
|   #define Z_STEPPER_ALIGN_ACC 0.02 | ||||
| #endif | ||||
|   | ||||
		Reference in New Issue
	
	Block a user