- G0 / G1 : Linear Move
 - G2 / G3 : Controlled Arc Move
 - G4 : Dwell
 - G20 : Inch Units
 - G21 : Millimeter Units
 - G28 : Auto Home
 - G30 : Single Z-Probe
 - G38.2 / G38.3 : Probe target
 - G53 : Move in Machine Coordinates
 - G54 / G55 / G56 / G57 / G58 / G59 / G59.1 / G59.2 / G59.3 : Workspace Coordinate System
 - G90 : Absolute Positioning
 - G91 : Relative Positioning
 - G92 : Set Position
 - G1029 : Bed Leveling (Automatic)
 - M3 : Spindle CW / Laser On
 - M4 : Spindle CCW / Laser On
 - M5 : Spindle / Laser Off
 - M17 : Enable Steppers
 - M18 / M84 : Disable steppers
 - M25 : Pause HMI print
 - M31 : Print time
 - M43 : Debug Pins
 - M76 : Pause Print Job
 - M81 : Power Off
 - M82 : E Absolute
 - M83 : E Relative
 - M85 : Inactivity Shutdown
 - M92 : Set Axis Steps-per-unit
 - M104 : Set Hotend Temperature
 - M106 : Set Fan Speed
 - M107 : Fan Off
 - M109 : Wait for Hotend Temperature
 - M111 : Debug Level
 - M112 : Emergency Stop
 - M114 : Get Current Position
 - M115 : Firmware Info
 - M117 : Set LCD Message
 - M118 : Serial print
 - M119 : Endstop States
 - M120 : Enable Endstops
 - M121 : Disable Endstops
 - M140 : Set Bed Temperature
 - M155 : Temperature Auto-Report
 - M190 : Wait for Bed Temperature
 - M200 : Set Filament Diameter
 - M201 : Set Print Max Acceleration
 - M203 : Set Max Feedrate
 - M204 : Set Starting Acceleration
 - M205 : Set Advanced Settings
 - M206 : Set Home Offsets
 - M211 : Software Endstops
 - M220 : Set Feedrate Percentage
 - M301 : Set Hotend PID
 - M302 : Cold Extrude
 - M400 : Finish Moves
 - M401 : Deploy Probe
 - M402 : Stow Probe
 - M410 : Quickstop
 - M412 : Filament Runout
 - M413 : Power-loss Recovery
 - M420 : Bed Leveling State
 - M421 : Set Mesh Value
 - M425 : Backlash compensation
 - M428 : Home Offsets Here
 - M500 : Save Settings
 - M501 : Restore Settings
 - M502 : Factory Reset
 - M503 : Report Settings
 - M504 : Validate EEPROM contents
 - M540 : Endstops Abort SD
 - M600 : Filament Change
 - M851 : Z Probe Offset
 - M900 : Linear Advance Factor
 - M928 : Start SD Logging
 - M1005 : Firmware Information
 - M1006 : Tool header information
 - M1007 : homed state, coordinate system used, and origin offset
 - M1010 : Enclosure control
 - M1011 : Air purifier control
 - M1012 : Check if the emergency stop module is online
 - M1029 : Remap 8-pin port function
 - M1999 : Reboot the machine
 - M2000 : SM2 system information inquiry
 - M2001 : Peripheral power control
 
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 S1Disable filament runout detection
M412 S0Report filament runout state
M412
Filament runout ON