From 462f9758007095b35ebf39a0cc949b01cac93c13 Mon Sep 17 00:00:00 2001 From: Matthieu Bocquet Date: Fri, 17 Jan 2025 14:57:54 +0100 Subject: [PATCH] Ender 3 - Add filament runout sensor configuration --- creality-ender3/Marlin-2.1.2.4/Marlin/Configuration.h | 6 +++--- creality-ender3/Marlin-2.1.2.4/Marlin/Configuration_adv.h | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/creality-ender3/Marlin-2.1.2.4/Marlin/Configuration.h b/creality-ender3/Marlin-2.1.2.4/Marlin/Configuration.h index f7785ae..5829ad5 100644 --- a/creality-ender3/Marlin-2.1.2.4/Marlin/Configuration.h +++ b/creality-ender3/Marlin-2.1.2.4/Marlin/Configuration.h @@ -1821,9 +1821,9 @@ * RAMPS-based boards use SERVO3_PIN for the first runout sensor. * For other boards you may need to define FIL_RUNOUT_PIN, FIL_RUNOUT2_PIN, etc. */ -//#define FILAMENT_RUNOUT_SENSOR +#define FILAMENT_RUNOUT_SENSOR #if ENABLED(FILAMENT_RUNOUT_SENSOR) - #define FIL_RUNOUT_ENABLED_DEFAULT true // Enable the sensor on startup. Override with M412 followed by M500. + #define FIL_RUNOUTENABLED_DEFAULT true // Enable the sensor on startup. Override with M412 followed by M500. #define NUM_RUNOUT_SENSORS 1 // Number of sensors, up to one per extruder. Define a FIL_RUNOUT#_PIN for each. #define FIL_RUNOUT_STATE LOW // Pin state indicating that filament is NOT present. @@ -1873,7 +1873,7 @@ // After a runout is detected, continue printing this length of filament // before executing the runout script. Useful for a sensor at the end of // a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead. - //#define FILAMENT_RUNOUT_DISTANCE_MM 25 + #define FILAMENT_RUNOUT_DISTANCE_MM 8 #ifdef FILAMENT_RUNOUT_DISTANCE_MM // Enable this option to use an encoder disc that toggles the runout pin diff --git a/creality-ender3/Marlin-2.1.2.4/Marlin/Configuration_adv.h b/creality-ender3/Marlin-2.1.2.4/Marlin/Configuration_adv.h index f3d0db5..be5ce02 100644 --- a/creality-ender3/Marlin-2.1.2.4/Marlin/Configuration_adv.h +++ b/creality-ender3/Marlin-2.1.2.4/Marlin/Configuration_adv.h @@ -2655,7 +2655,7 @@ #define PAUSE_PARK_RETRACT_FEEDRATE 60 // (mm/s) Initial retract feedrate. #define PAUSE_PARK_RETRACT_LENGTH 2 // (mm) Initial retract. // This short retract is done immediately, before parking the nozzle. - #define FILAMENT_CHANGE_UNLOAD_FEEDRATE 10 // (mm/s) Unload filament feedrate. This can be pretty fast. + #define FILAMENT_CHANGE_UNLOAD_FEEDRATE 50 // (mm/s) Unload filament feedrate. This can be pretty fast. #define FILAMENT_CHANGE_UNLOAD_ACCEL 25 // (mm/s^2) Lower acceleration may allow a faster feedrate. #define FILAMENT_CHANGE_UNLOAD_LENGTH 400 // (mm) The length of filament for a complete unload. // For Bowden, the full length of the tube and nozzle. @@ -2664,9 +2664,9 @@ #define FILAMENT_CHANGE_SLOW_LOAD_FEEDRATE 6 // (mm/s) Slow move when starting load. #define FILAMENT_CHANGE_SLOW_LOAD_LENGTH 0 // (mm) Slow length, to allow time to insert material. // 0 to disable start loading and skip to fast load only - #define FILAMENT_CHANGE_FAST_LOAD_FEEDRATE 6 // (mm/s) Load filament feedrate. This can be pretty fast. + #define FILAMENT_CHANGE_FAST_LOAD_FEEDRATE 60 // (mm/s) Load filament feedrate. This can be pretty fast. #define FILAMENT_CHANGE_FAST_LOAD_ACCEL 25 // (mm/s^2) Lower acceleration may allow a faster feedrate. - #define FILAMENT_CHANGE_FAST_LOAD_LENGTH 350 // (mm) Load length of filament, from extruder gear to nozzle. + #define FILAMENT_CHANGE_FAST_LOAD_LENGTH 400 // (mm) Load length of filament, from extruder gear to nozzle. // For Bowden, the full length of the tube and nozzle. // For direct drive, the full length of the nozzle. //#define ADVANCED_PAUSE_CONTINUOUS_PURGE // Purge continuously up to the purge length until interrupted.