Filament change and filament runout sensor? August 10, 2021 02:55PM |
Registered: 5 years ago Posts: 45 |
Re: Filament change and filament runout sensor? August 10, 2021 03:19PM |
Registered: 6 years ago Posts: 1,863 |
Re: Filament change and filament runout sensor? August 10, 2021 03:32PM |
Registered: 5 years ago Posts: 45 |
thank you! Is the support for the filament runout sensor in the same area?Quote
Roberts_Clif
In configuration_adv.h under
#define ADVANCED_PAUSE_FEATURE
/**
* Advanced Pause
* Experimental feature for filament change support and for parking the nozzle when paused.
* Adds the GCode M600 for initiating filament change.
* If PARK_HEAD_ON_PAUSE enabled, adds the GCode M125 to pause printing and park the nozzle.
I have used this many time, this works great.
Re: Filament change and filament runout sensor? August 10, 2021 10:38PM |
Registered: 6 years ago Posts: 1,863 |
/** * Advanced Pause * Experimental feature for filament change support and for parking the nozzle when paused. * Adds the GCode M600 for initiating filament change. * If PARK_HEAD_ON_PAUSE enabled, adds the GCode M125 to pause printing and park the nozzle. * * Requires an LCD display. * Requires NOZZLE_PARK_FEATURE. * This feature is required for the default FILAMENT_RUNOUT_SCRIPT. */ #define ADVANCED_PAUSE_FEATURE #if ENABLED(ADVANCED_PAUSE_FEATURE) #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_ACCEL 25 // (mm/s^2) Lower acceleration may allow a faster feedrate. #define FILAMENT_CHANGE_UNLOAD_LENGTH 100 // (mm) The length of filament for a complete unload. // For Bowden, the full length of the tube and nozzle. // For direct drive, the full length of the nozzle. // Set to 0 for manual unloading. #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_ACCEL 25 // (mm/s^2) Lower acceleration may allow a faster feedrate. #define FILAMENT_CHANGE_FAST_LOAD_LENGTH 0 // (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. #define ADVANCED_PAUSE_PURGE_FEEDRATE 3 // (mm/s) Extrude feedrate (after loading). Should be slower than load feedrate. #define ADVANCED_PAUSE_PURGE_LENGTH 50 // (mm) Length to extrude after loading. // Set to 0 for manual extrusion. // Filament can be extruded repeatedly from the Filament Change menu // until extrusion is consistent, and to purge old filament. // Filament Unload does a Retract, Delay, and Purge first: #define FILAMENT_UNLOAD_RETRACT_LENGTH 13 // (mm) Unload initial retract length. #define FILAMENT_UNLOAD_DELAY 5000 // (ms) Delay for the filament to cool after retract. #define FILAMENT_UNLOAD_PURGE_LENGTH 8 // (mm) An unretract is done, then this length is purged. #define PAUSE_PARK_NOZZLE_TIMEOUT 45 // (seconds) Time limit before the nozzle is turned off for safety. #define FILAMENT_CHANGE_ALERT_BEEPS 10 // Number of alert beeps to play when a response is needed. #define PAUSE_PARK_NO_STEPPER_TIMEOUT // Enable for XYZ steppers to stay powered on during filament change. #define PARK_HEAD_ON_PAUSE // Park the nozzle during pause and filament change. //#define HOME_BEFORE_FILAMENT_CHANGE // Ensure homing has been completed prior to parking for filament change //#define FILAMENT_LOAD_UNLOAD_GCODES // Add M701/M702 Load/Unload G-codes, plus Load/Unload in the LCD Prepare menu. //#define FILAMENT_UNLOAD_ALL_EXTRUDERS // Allow M702 to unload all extruders above a minimum target temp (as set by M302) #endif
Re: Filament change and filament runout sensor? August 10, 2021 11:19PM |
Registered: 5 years ago Posts: 45 |
Re: Filament change and filament runout sensor? August 11, 2021 04:21PM |
Registered: 6 years ago Posts: 1,863 |
Re: Filament change and filament runout sensor? August 11, 2021 05:42PM |
Registered: 5 years ago Posts: 45 |
Re: Filament change and filament runout sensor? August 11, 2021 06:13PM |
Admin Registered: 16 years ago Posts: 13,874 |
Re: Filament change and filament runout sensor? August 11, 2021 09:15PM |
Registered: 6 years ago Posts: 1,863 |
Re: Filament change and filament runout sensor? August 11, 2021 09:23PM |
Registered: 5 years ago Posts: 45 |
Re: Filament change and filament runout sensor? August 12, 2021 05:32PM |
Registered: 5 years ago Posts: 45 |
Re: Filament change and filament runout sensor? August 12, 2021 09:59PM |
Registered: 6 years ago Posts: 1,863 |
#define FILAMENT_RUNOUT_SENSOR #if ENABLED(FILAMENT_RUNOUT_SENSOR) #define NUM_RUNOUT_SENSORS 1 // Number of sensors, up to one per extruder. Define a FIL_RUNOUT#_PIN for each. #define FIL_RUNOUT_STATE HIGH // Pin state indicating that filament is NOT present. #define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins. #define FIL_RUNOUT_PIN 19 // Hictop, instead of pins_RAMPS.h //#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
Re: Filament change and filament runout sensor? August 12, 2021 10:09PM |
Registered: 5 years ago Posts: 45 |
I have the MKS gen l v1.0 not sure if that matters but it looks like I only have the X min and Y min free as my delta is using the Z max and minQuote
Roberts_Clif
When I started working with filament run-out could Never get the Stock filament run-out pin to work correctly.
What I did was to use Z-Max end-stop pin 19 and change the my code in configuration.h below.
#define FILAMENT_RUNOUT_SENSOR #if ENABLED(FILAMENT_RUNOUT_SENSOR) #define NUM_RUNOUT_SENSORS 1 // Number of sensors, up to one per extruder. Define a FIL_RUNOUT#_PIN for each. #define FIL_RUNOUT_STATE HIGH // Pin state indicating that filament is NOT present. #define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins. #define FIL_RUNOUT_PIN 19 // Hictop, instead of pins_RAMPS.h //#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
My filament run-out is a simple lighted end-stop switch.
[attachment 118630 FilamentRunOut.jpg]
[attachment 118631 Image2.jpg]
In the newest Marlin firmware the Filament switch can be enabled or disabled using The LCD Menu options.
Don't use the Filament run-out switch as much as I though when it was originally configured my Marlin firmware.
Selecting "#define MOTHERBOARD BOARD_MKS_BASE_14" on my marlin firmware
Re: Filament change and filament runout sensor? August 12, 2021 11:08PM |
Registered: 5 years ago Posts: 45 |
Re: Filament change and filament runout sensor? August 13, 2021 06:15AM |
Registered: 6 years ago Posts: 1,863 |