29 lines
689 B
Markdown
29 lines
689 B
Markdown
---
|
|
tag: m0016
|
|
title: Expected Printer Check
|
|
brief: Prevent G-code usage on the wrong machine
|
|
author: thinkyhead
|
|
|
|
group: safety
|
|
since: 2.0.0
|
|
requires: EXPECTED_PRINTER_CHECK
|
|
|
|
codes: [ M16 ]
|
|
|
|
notes:
|
|
|
|
parameters:
|
|
-
|
|
tag: string
|
|
optional: false
|
|
description: The string to compare to MACHINE_NAME.
|
|
|
|
examples:
|
|
-
|
|
pre: Halt if the MACHINE_NAME is not "Arthur"
|
|
code: 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.
|