MarlinFirmware / Marlin

Marlin is an optimized firmware for RepRap 3D printers based on the Arduino platform. Many commercial 3D printers come with Marlin installed. Check with your vendor if you need source code for your specific machine.
https://marlinfw.org
GNU General Public License v3.0
16.04k stars 19.15k forks source link

[FR] Ignore runout mm distance on print start with triggered runout sensor #26906

Open Ale11Re opened 3 months ago

Ale11Re commented 3 months ago

Did you test the latest bugfix-2.1.x code?

No, but I will test it now!

Bug Description

When FILAMENT_RUNOUT_DISTANCE_MM is defined and a new print is started without filament Marlin will be printing for the set FILAMENT_RUNOUT_DISTANCE_MM before stopping. However, when FILAMENT_RUNOUT_DISTANCE_MM is not defined, Marlin will immediately ask for filament change.

Bug Timeline

No response

Expected behavior

I'd expect Marlin to avoid starting a new print at all.

Actual behavior

Marlin starts to print till FILAMENT_RUNOUT_DISTANCE_MM is reached.

Steps to Reproduce

Define FILAMENT_RUNOUT_SENSOR and FILAMENT_RUNOUT_DISTANCE_MM (let's say 5) with all of the required defines.

Version of Marlin Firmware

Marlin 2.1.2.2

Printer model

Bad Devices DX-01

Electronics

Megatronics_3

LCD/Controller

ELB_FULL_GRAPHIC_CONTROLLER

Other add-ons

No response

Bed Leveling

None

Your Slicer

None

Host Software

None

Don't forget to include

Additional information & file uploads

Conf.zip

thisiskeithb commented 3 months ago

When FILAMENT_RUNOUT_DISTANCE_MM is defined and a new print is started without filament Marlin will be printing for the set FILAMENT_RUNOUT_DISTANCE_MM before stopping. However, when FILAMENT_RUNOUT_DISTANCE_MM is not defined, Marlin will immediately ask for filament change.

FILAMENT_RUNOUT_DISTANCE_MM is working as designed, so I’ll convert this to a feature request.