Marlin · Communication
Marlin: echo:Unknown command: "M…"
Most often: command needs a feature that is not compiled in (e.g. M600, G26, M593). First step: look up the command in the printer G-code list.
On this page
What it means
The firmware does not know the command. It skips the line and continues. Common after copying start code from another printer.
Common causes
- Command needs a feature that is not compiled in (e.g. M600, G26, M593)
- Typing error in the start code
- Klipper macro name sent to a Marlin printer
How to clear it
- Look up the command in the printer G-code list
- Remove the line or enable the feature and flash the firmware
Before you continue: After the correction do not start in the middle of the program. Go back to the last tool change, use single block and a low rapid override, and watch the distance to go.
Tools that help
Related codes
Same group: communication
- Marlin: Line Number is not Last Line Number+1
- Klipper: MCU 'mcu' shutdown: Timer too close
- Klipper: Lost communication with MCU 'mcu'
- Previous: Marlin Line Number is not Last Line Number+1
- Next: Marlin STOP called because of BLTouch error
Messages of Marlin 2.1 and current Klipper. The exact wording can differ a little between versions and printer brands that change the firmware. Marlin and Klipper are open-source projects; this site is independent.
The error comes back?
Post your printer, firmware version, the full message and the start code.
Ask the community