M412 - Filament Runout

Description

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.

Notes

Requires FILAMENT_RUNOUT_SENSOR.

Parameters

M412 [S<bool>]
[S<bool>]

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

Examples

Enable filament runout detection

M412 S1

Disable filament runout detection

M412 S0

Report filament runout state

M412
Filament runout ON