flexi-bot/docs/marlin/_gcode/M111.md
2023-09-05 20:38:49 +02:00

1.1 KiB

tag title brief author group codes notes parameters examples
m0111 Debug Level Report and optionally set the debug flags. thinkyhead hosts
M111
tag optional description values
S true Debug flag bits
tag type
flags byte
pre code
Enable extra messages M111 S38 ; LEVELING, ERRORS, INFO
pre code
Enable dry-run mode M111 S8
pre code
Enable everything except dry-run mode M111 S247 ; 255 - 8
pre code
Disable previously set extra debugging output M111 S0

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