- 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
M111 - Debug Level
Description
Marlin has several debug bits that can be set, in combination, to help configure, troubleshoot, and debug the firmware. Add up the debug bits you need:
Mask | Name | Description |
1 | ECHO | Echo all commands sent to the parser. |
2 | INFO | Print extra informational messages. |
4 | ERRORS | Print extra error messages. |
8 | DRYRUN | Don’t extrude, don’t save leveling data, etc. |
16 | COMMUNICATION | Not currently used. |
32 | LEVELING | Detailed messages for homing, probing, and leveling. (Requires DEBUG_LEVELING_FEATURE .) |
64 | Reserved | Reserved for future usage |
128 | Reserved | Reserved for future usage |
Parameters
M111
[S<flags>]
[S<flags>]
|
Debug flag bits |
Examples
Enable extra messages
Enable dry-run mode
Enable everything except dry-run mode
Disable previously set extra debugging output.