Browse Source

Define Probe Path in new format

Richard Wackerbarth 10 years ago
parent
commit
303d47228e
1 changed files with 33 additions and 13 deletions
  1. 33
    13
      Marlin/example_configurations/delta/kossel_mini/Configuration.h

+ 33
- 13
Marlin/example_configurations/delta/kossel_mini/Configuration.h View File

401
   const bool FIL_RUNOUT_INVERTING = true;  // Should be uncommented and true or false should assigned
401
   const bool FIL_RUNOUT_INVERTING = true;  // Should be uncommented and true or false should assigned
402
   #define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
402
   #define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
403
   #define FILAMENT_RUNOUT_SCRIPT "M600"
403
   #define FILAMENT_RUNOUT_SCRIPT "M600"
404
-#endif 
405
-  
404
+#endif
405
+
406
 //===========================================================================
406
 //===========================================================================
407
 //=========================== Manual Bed Leveling ===========================
407
 //=========================== Manual Bed Leveling ===========================
408
 //===========================================================================
408
 //===========================================================================
454
 
454
 
455
     #define LEFT_PROBE_BED_POSITION -DELTA_PROBABLE_RADIUS
455
     #define LEFT_PROBE_BED_POSITION -DELTA_PROBABLE_RADIUS
456
     #define RIGHT_PROBE_BED_POSITION DELTA_PROBABLE_RADIUS
456
     #define RIGHT_PROBE_BED_POSITION DELTA_PROBABLE_RADIUS
457
-    #define FRONT_PROBE_BED_POSITION -DELTA_PROBABLE_RADIUS  
457
+    #define FRONT_PROBE_BED_POSITION -DELTA_PROBABLE_RADIUS
458
     #define BACK_PROBE_BED_POSITION DELTA_PROBABLE_RADIUS
458
     #define BACK_PROBE_BED_POSITION DELTA_PROBABLE_RADIUS
459
 
459
 
460
-    #define MIN_PROBE_EDGE 10 // The probe square sides can be no smaller than this      
460
+    #define MIN_PROBE_EDGE 10 // The probe square sides can be no smaller than this
461
 
461
 
462
     // Non-linear bed leveling will be used.
462
     // Non-linear bed leveling will be used.
463
     // Compensate by interpolating between the nearest four Z probe values for each point.
463
     // Compensate by interpolating between the nearest four Z probe values for each point.
495
 
495
 
496
 //   #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.
496
 //   #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.
497
                                                                             //Useful to retract a deployable probe.
497
                                                                             //Useful to retract a deployable probe.
498
-                                                                           
498
+
499
   //#define Z_PROBE_SLED // turn on if you have a z-probe mounted on a sled like those designed by Charles Bell
499
   //#define Z_PROBE_SLED // turn on if you have a z-probe mounted on a sled like those designed by Charles Bell
500
   //#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.
500
   //#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.
501
 
501
 
507
   // Deploys by touching z-axis belt. Retracts by pushing the probe down. Uses Z_MIN_PIN.
507
   // Deploys by touching z-axis belt. Retracts by pushing the probe down. Uses Z_MIN_PIN.
508
   #define Z_PROBE_ALLEN_KEY
508
   #define Z_PROBE_ALLEN_KEY
509
   #ifdef Z_PROBE_ALLEN_KEY
509
   #ifdef Z_PROBE_ALLEN_KEY
510
-    #define Z_PROBE_ALLEN_KEY_DEPLOY_X 30
511
-    #define Z_PROBE_ALLEN_KEY_DEPLOY_Y DELTA_PRINTABLE_RADIUS
512
-    #define Z_PROBE_ALLEN_KEY_DEPLOY_Z 100
513
-    
514
-    #define Z_PROBE_ALLEN_KEY_STOW_X     -64
515
-    #define Z_PROBE_ALLEN_KEY_STOW_Y     56
516
-    #define Z_PROBE_ALLEN_KEY_STOW_Z     23
510
+
511
+    // Kossel Mini
512
+    #define Z_PROBE_ALLEN_KEY_DEPLOY_1_X 30.0
513
+    #define Z_PROBE_ALLEN_KEY_DEPLOY_1_Y DELTA_PRINTABLE_RADIUS
514
+    #define Z_PROBE_ALLEN_KEY_DEPLOY_1_Z 100.0
515
+    #define Z_PROBE_ALLEN_KEY_DEPLOY_1_FEEDRATE XY_TRAVEL_SPEED
516
+    #define Z_PROBE_ALLEN_KEY_DEPLOY_2_X 0.0
517
+    #define Z_PROBE_ALLEN_KEY_DEPLOY_2_Y DELTA_PRINTABLE_RADIUS
518
+    #define Z_PROBE_ALLEN_KEY_DEPLOY_2_Z 100.0
519
+    #define Z_PROBE_ALLEN_KEY_DEPLOY_2_FEEDRATE (XY_TRAVEL_SPEED/10)
520
+
517
     #define Z_PROBE_ALLEN_KEY_STOW_DEPTH 20
521
     #define Z_PROBE_ALLEN_KEY_STOW_DEPTH 20
522
+    // Move the probe into position
523
+    #define Z_PROBE_ALLEN_KEY_STOW_1_X -64.0
524
+    #define Z_PROBE_ALLEN_KEY_STOW_1_Y 56.0
525
+    #define Z_PROBE_ALLEN_KEY_STOW_1_Z 23.0
526
+    #define Z_PROBE_ALLEN_KEY_STOW_1_FEEDRATE XY_TRAVEL_SPEED
527
+    // Move the nozzle down further to push the probe into retracted position.
528
+    #define Z_PROBE_ALLEN_KEY_STOW_2_X  Z_PROBE_ALLEN_KEY_STOW_1_X
529
+    #define Z_PROBE_ALLEN_KEY_STOW_2_Y  Z_PROBE_ALLEN_KEY_STOW_1_Y
530
+    #define Z_PROBE_ALLEN_KEY_STOW_2_Z  (Z_PROBE_ALLEN_KEY_STOW_1_Z-Z_PROBE_ALLEN_KEY_STOW_DEPTH)
531
+    #define Z_PROBE_ALLEN_KEY_STOW_2_FEEDRATE (XY_TRAVEL_SPEED/10)
532
+    // Raise things back up slightly so we don't bump into anything
533
+    #define Z_PROBE_ALLEN_KEY_STOW_3_X  Z_PROBE_ALLEN_KEY_STOW_2_X
534
+    #define Z_PROBE_ALLEN_KEY_STOW_3_Y  Z_PROBE_ALLEN_KEY_STOW_2_Y
535
+    #define Z_PROBE_ALLEN_KEY_STOW_3_Z  (Z_PROBE_ALLEN_KEY_STOW_1_Z+Z_PROBE_ALLEN_KEY_STOW_DEPTH)
536
+    #define Z_PROBE_ALLEN_KEY_STOW_3_FEEDRATE (XY_TRAVEL_SPEED/2)
537
+
518
   #endif
538
   #endif
519
-  
539
+
520
   //If defined, the Probe servo will be turned on only during movement and then turned off to avoid jerk
540
   //If defined, the Probe servo will be turned on only during movement and then turned off to avoid jerk
521
   //The value is the delay to turn the servo off after powered on - depends on the servo speed; 300ms is good value, but you can try lower it.
541
   //The value is the delay to turn the servo off after powered on - depends on the servo speed; 300ms is good value, but you can try lower it.
522
   // You MUST HAVE the SERVO_ENDSTOPS defined to use here a value higher than zero otherwise your code will not compile.
542
   // You MUST HAVE the SERVO_ENDSTOPS defined to use here a value higher than zero otherwise your code will not compile.

Loading…
Cancel
Save