Описание
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:
MaskNameDescription1ECHOEcho all commands sent to the parser.2INFOPrint extra informational messages.4ERRORSPrint extra error messages.8DRYRUNDon’t extrude, don’t save leveling data, etc.16COMMUNICATIONNot currently used.32LEVELINGDetailed messages for homing, probing, and leveling. (Requires DEBUG_LEVELING_FEATURE.)64ReservedReserved for future usage128ReservedReserved for future usage
Использование
M111 [S<flags>]
Параметры
[S<flags>]
Debug flag bits
Примеры
Enable extra messages
M111 S38 ; LEVELING, ERRORS, INFO
Enable dry-run mode
M111 S8
Enable everything except dry-run mode
M111 S247 ; 255 - 8
Disable previously set extra debugging output.
M111 S0