From b73bdbbfc5dbef2757ff8870fbb3779a45839aaa Mon Sep 17 00:00:00 2001 From: Alexander Date: Fri, 1 Mar 2024 16:36:47 +0100 Subject: [PATCH] Add gcode docs --- README.md | 1 + docs/GCODE_COMMANDS.md | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 docs/GCODE_COMMANDS.md diff --git a/README.md b/README.md index b1d24dc..4b7b109 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,7 @@ This repository contains tools for the Anycubic Kobra 2 Series 3D printers. Documentation can be found in the `docs` directory. +- [GCODE_COMMANDS.md](docs/GCODE_COMMANDS.md) - GCODE commands. - [MQTT_API.md](docs/MQTT_API.md) - MQTT API. - [COMMANDS.md](docs/COMMANDS.md) - Useful commands. - [PRINTER_CFG.md](docs/PRINTER_CFG.md) - Printer.cfg things. diff --git a/docs/GCODE_COMMANDS.md b/docs/GCODE_COMMANDS.md new file mode 100644 index 0000000..7adc491 --- /dev/null +++ b/docs/GCODE_COMMANDS.md @@ -0,0 +1,20 @@ +# Hidden Gcode commands + +To run these custom gcode commands you need to pass + +```gcode +ROOT +; gcode commands in here +UNROOT +``` + +The `root` command enabled these commands. And `unroot` disables them. + +- ROOT - Enable root commands. +- M8802 - Reboots the printer. +- M8803 - Copy printer.cfg to USB. +- M8807 - Copy printer.cfg from USB. +- M8810 - Copy encrypted logs to USB. +- M8817 - Copy printer.cfg from USB to /app/resources/configs/printer.cfg. +- M8818 - Copy unmodifiable.cfg from USB. +- M8820 - Resets the printer to factory settings.