thinkyhead

M16 - Expected Printer Check

2.0.0 safety Prevent G-code usage on the wrong machine EXPECTED_PRINTER_CHECK

Description

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.

Usage

M16 string

Parameters

string

The string to compare to MACHINE_NAME.

Example

Halt if the MACHINE_NAME is not “Arthur”

M16 Arthur