---
tag: m0550
title: Machine Name
brief: Set/report the Machine Name
author: thinkyhead

group: hosts
requires: CONFIGURABLE_MACHINE_NAME
eeprom: true

codes: [ M550 ]

parameters:
- tag: P
  optional: true
  description: Set the Machine Name using a string parameter.
  values:
  - tag: name
    type: string
- tag: string
  optional: true
  description: Set the Machine Name using a loose string parameter. Must be a quoted string if it starts with "P."

examples:
- pre: Set the name with P parameter
  code: M550 P "Ender I Ardly Knower"
- pre: Set the name with loose string parameter
  code: M550 "Tronxy Q7"
- pre: Report the printer name
  code: |
    > M550
    RepRap name: Tronxy Q7

---

Set the Machine Name using a string parameter. If no parameter is given, report the current Machine Name.