Skip to content

Commit 3590e81

Browse files
committed
homing backoff to clear switches
1 parent b58dc53 commit 3590e81

File tree

1 file changed

+28
-20
lines changed

1 file changed

+28
-20
lines changed

Marlin/Configuration_adv.h

+28-20
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,7 @@
521521
#define HOMING_BUMP_DIVISOR { 2, 2, 4 } // Re-Bump Speed Divisor (Divides the Homing Feedrate)
522522
//@
523523
#define QUICK_HOME // If homing includes X and Y, do a diagonal move initially
524-
//#define HOMING_BACKOFF_MM { 2, 2, 2 } // (mm) Move away from the endstops after homing
524+
#define HOMING_BACKOFF_MM { 3, 25, 10 } // (mm) Move away from the endstops after homing
525525

526526
// When G28 is called, this option will make Y home before X
527527
//#define HOME_Y_BEFORE_X
@@ -644,7 +644,8 @@
644644
#define DEFAULT_MINIMUMFEEDRATE 0.0 // minimum feedrate
645645
#define DEFAULT_MINTRAVELFEEDRATE 0.0
646646

647-
//#define HOME_AFTER_DEACTIVATE // Require rehoming after steppers are deactivated
647+
//@
648+
#define HOME_AFTER_DEACTIVATE // Require rehoming after steppers are deactivated
648649

649650
// Minimum time that a segment needs to take if the buffer is emptied
650651
#define DEFAULT_MINSEGMENTTIME 20000 // (ms)
@@ -754,7 +755,7 @@
754755
* vibration and surface artifacts. The algorithm adapts to provide the best possible step smoothing at the
755756
* lowest stepping frequencies.
756757
*/
757-
//#define ADAPTIVE_STEP_SMOOTHING
758+
#define ADAPTIVE_STEP_SMOOTHING
758759

759760
/**
760761
* Custom Microstepping
@@ -832,11 +833,12 @@
832833
#endif
833834
#endif
834835

836+
//@ was set too fast
835837
// Change values more rapidly when the encoder is rotated faster
836838
#define ENCODER_RATE_MULTIPLIER
837839
#if ENABLED(ENCODER_RATE_MULTIPLIER)
838-
#define ENCODER_10X_STEPS_PER_SEC 30 // (steps/s) Encoder rate for 10x speed
839-
#define ENCODER_100X_STEPS_PER_SEC 80 // (steps/s) Encoder rate for 100x speed
840+
#define ENCODER_10X_STEPS_PER_SEC 50 // (steps/s) Encoder rate for 10x speed
841+
#define ENCODER_100X_STEPS_PER_SEC 200 // (steps/s) Encoder rate for 100x speed
840842
#endif
841843

842844
// Play a beep when the feedrate is changed from the Status Screen
@@ -1154,7 +1156,8 @@
11541156
//@
11551157
#define STATUS_HEAT_PERCENT // Show heating in a progress bar
11561158
//#define BOOT_MARLIN_LOGO_SMALL // Show a smaller Marlin logo on the Boot Screen (saving 399 bytes of flash)
1157-
//#define BOOT_MARLIN_LOGO_ANIMATED // Animated Marlin logo. Costs ~‭3260 (or ~940) bytes of PROGMEM.
1159+
//@ testing
1160+
#define BOOT_MARLIN_LOGO_ANIMATED // Animated Marlin logo. Costs ~‭3260 (or ~940) bytes of PROGMEM.
11581161

11591162
// Frivolous Game Options
11601163
//#define MARLIN_BRICKOUT
@@ -1290,8 +1293,8 @@
12901293
//#define BABYSTEP_WITHOUT_HOMING
12911294
//#define BABYSTEP_XY // Also enable X/Y Babystepping. Not supported on DELTA!
12921295
//@
1293-
#define BABYSTEP_INVERT_Z true // Change if Z babysteps should go the other way
1294-
#define BABYSTEP_MULTIPLICATOR 25 // Babysteps are very small. Increase for faster motion.
1296+
#define BABYSTEP_INVERT_Z false // Change if Z babysteps should go the other way
1297+
#define BABYSTEP_MULTIPLICATOR 10 // Babysteps are very small. Increase for faster motion.
12951298

12961299
#define DOUBLECLICK_FOR_Z_BABYSTEPPING // Double-click on the Status Screen for Z Babystepping.
12971300
#if ENABLED(DOUBLECLICK_FOR_Z_BABYSTEPPING)
@@ -1333,10 +1336,15 @@
13331336
* See http://marlinfw.org/docs/features/lin_advance.html for full instructions.
13341337
* Mention @Sebastianv650 on GitHub to alert the author of any issues.
13351338
*/
1336-
//#define LIN_ADVANCE
1339+
#define LIN_ADVANCE
13371340
#if ENABLED(LIN_ADVANCE)
1341+
1342+
//@ ~0.8 on my printer for PLA
1343+
// K = 0 - but will be activated via gcode filament-type-specific
1344+
// extruder seems to rattle quite hard, need to check acc/jerk settings
1345+
13381346
//#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
1339-
#define LIN_ADVANCE_K 0.22 // Unit: mm compression per 1mm/s extruder speed
1347+
#define LIN_ADVANCE_K 0 // Unit: mm compression per 1mm/s extruder speed
13401348
//#define LA_DEBUG // If enabled, this will generate debug information output over USB.
13411349
#endif
13421350

@@ -1643,39 +1651,39 @@
16431651
* Requires NOZZLE_PARK_FEATURE.
16441652
* This feature is required for the default FILAMENT_RUNOUT_SCRIPT.
16451653
*/
1646-
//@ not properly tested yet!
1654+
//@ 1st measurements - check retraction settings
16471655
#define ADVANCED_PAUSE_FEATURE
16481656
#if ENABLED(ADVANCED_PAUSE_FEATURE)
16491657
#define PAUSE_PARK_RETRACT_FEEDRATE 35 // (mm/s) Initial retract feedrate.
16501658
#define PAUSE_PARK_RETRACT_LENGTH 2 // (mm) Initial retract.
16511659
// This short retract is done immediately, before parking the nozzle.
16521660
#define FILAMENT_CHANGE_UNLOAD_FEEDRATE 10 // (mm/s) Unload filament feedrate. This can be pretty fast.
16531661
#define FILAMENT_CHANGE_UNLOAD_ACCEL 25 // (mm/s^2) Lower acceleration may allow a faster feedrate.
1654-
#define FILAMENT_CHANGE_UNLOAD_LENGTH 300 // (mm) The length of filament for a complete unload.
1662+
#define FILAMENT_CHANGE_UNLOAD_LENGTH 650 // (mm) The length of filament for a complete unload.
16551663
// For Bowden, the full length of the tube and nozzle.
16561664
// For direct drive, the full length of the nozzle.
16571665
// Set to 0 for manual unloading.
1658-
#define FILAMENT_CHANGE_SLOW_LOAD_FEEDRATE 6 // (mm/s) Slow move when starting load.
1659-
#define FILAMENT_CHANGE_SLOW_LOAD_LENGTH 0 // (mm) Slow length, to allow time to insert material.
1666+
#define FILAMENT_CHANGE_SLOW_LOAD_FEEDRATE 2 // (mm/s) Slow move when starting load.
1667+
#define FILAMENT_CHANGE_SLOW_LOAD_LENGTH 25 // (mm) Slow length, to allow time to insert material.
16601668
// 0 to disable start loading and skip to fast load only
16611669
#define FILAMENT_CHANGE_FAST_LOAD_FEEDRATE 6 // (mm/s) Load filament feedrate. This can be pretty fast.
16621670
#define FILAMENT_CHANGE_FAST_LOAD_ACCEL 25 // (mm/s^2) Lower acceleration may allow a faster feedrate.
1663-
#define FILAMENT_CHANGE_FAST_LOAD_LENGTH 300 // (mm) Load length of filament, from extruder gear to nozzle.
1671+
#define FILAMENT_CHANGE_FAST_LOAD_LENGTH 615 // (mm) Load length of filament, from extruder gear to nozzle.
16641672
// For Bowden, the full length of the tube and nozzle.
16651673
// For direct drive, the full length of the nozzle.
1666-
//#define ADVANCED_PAUSE_CONTINUOUS_PURGE // Purge continuously up to the purge length until interrupted.
1674+
#define ADVANCED_PAUSE_CONTINUOUS_PURGE // Purge continuously up to the purge length until interrupted.
16671675
#define ADVANCED_PAUSE_PURGE_FEEDRATE 2 // (mm/s) Extrude feedrate (after loading). Should be slower than load feedrate.
16681676
#define ADVANCED_PAUSE_PURGE_LENGTH 50 // (mm) Length to extrude after loading.
16691677
// Set to 0 for manual extrusion.
16701678
// Filament can be extruded repeatedly from the Filament Change menu
16711679
// until extrusion is consistent, and to purge old filament.
16721680
#define ADVANCED_PAUSE_RESUME_PRIME 0 // (mm) Extra distance to prime nozzle after returning from park.
1673-
//#define ADVANCED_PAUSE_FANS_PAUSE // Turn off print-cooling fans while the machine is paused.
1681+
#define ADVANCED_PAUSE_FANS_PAUSE // Turn off print-cooling fans while the machine is paused.
16741682

16751683
// Filament Unload does a Retract, Delay, and Purge first:
1676-
#define FILAMENT_UNLOAD_RETRACT_LENGTH 13 // (mm) Unload initial retract length.
1677-
#define FILAMENT_UNLOAD_DELAY 5000 // (ms) Delay for the filament to cool after retract.
1678-
#define FILAMENT_UNLOAD_PURGE_LENGTH 8 // (mm) An unretract is done, then this length is purged.
1684+
#define FILAMENT_UNLOAD_RETRACT_LENGTH 10 // (mm) Unload initial retract length.
1685+
#define FILAMENT_UNLOAD_DELAY 750 // (ms) Delay for the filament to cool after retract.
1686+
#define FILAMENT_UNLOAD_PURGE_LENGTH 3 // (mm) An unretract is done, then this length is purged.
16791687

16801688
#define PAUSE_PARK_NOZZLE_TIMEOUT 45 // (seconds) Time limit before the nozzle is turned off for safety.
16811689
#define FILAMENT_CHANGE_ALERT_BEEPS 10 // Number of alert beeps to play when a response is needed.

0 commit comments

Comments
 (0)