thinkyhead

M412 - Filament Runout

2.0.0 control Enable / disable filament runout detection FILAMENT_RUNOUT_SENSOR

Enable or disable filament runout detection. When filament sensors are enabled, Marlin will respond to a filament runout by running the configured G-code (usually M600 Filament Change). When filament runout detection is disabled, Marlin will take no action for filament runout.


Usage

M412 [S<bool>]

Argument Description
[S<bool>]

Flag to enable or disable Filament Runout Detection. If omitted, the current enabled state will be reported.

Notes

Requires FILAMENT_RUNOUT_SENSOR.

Examples

Enable filament runout detection

M412 S1

Disable filament runout detection

M412 S0

Report filament runout state

M412
Filament runout ON