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

689 B

tag title brief author group since requires codes notes parameters examples
m0016 Expected Printer Check Prevent G-code usage on the wrong machine thinkyhead safety 2.0.0 EXPECTED_PRINTER_CHECK
M16
tag optional description
string false The string to compare to MACHINE_NAME.
pre code
Halt if the MACHINE_NAME is not "Arthur" M16 Arthur

Do a case-sensitive comparison between the string argument and the configured MACHINE_NAME. If the machine name doesn't match, halt the printer so that a reset is required. This safety feature is meant to prevent G-code sliced for a specific machine from being used on any other machine.