aboutsummaryrefslogtreecommitdiffstats
path: root/docs/G-Codes.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/G-Codes.md')
-rw-r--r--docs/G-Codes.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/G-Codes.md b/docs/G-Codes.md
index 3c885677..966371e7 100644
--- a/docs/G-Codes.md
+++ b/docs/G-Codes.md
@@ -176,6 +176,14 @@ The following standard commands are supported:
- `STATUS`: Report the Klipper host software status.
- `HELP`: Report the list of available extended G-Code commands.
+## G-Code Macro Commands
+
+The following command is available when a "gcode_macro" config section
+is enabled:
+- `SET_GCODE_VARIABLE MACRO=<macro_name> VARIABLE=<name>
+ VALUE=<value>`: This command allows one to change the value of a
+ gcode_macro variable at run-time.
+
## Custom Pin Commands
The following command is available when an "output_pin" config section