aboutsummaryrefslogtreecommitdiffstats
path: root/docs/G-Codes.md
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2019-05-28 12:17:08 -0400
committerKevinOConnor <kevin@koconnor.net>2019-06-04 09:50:30 -0400
commita68f577adf87ed596acb1da201bd481fc0687a7b (patch)
tree2fda89d57be8769bd18d32c75a0d8bb8f3414d57 /docs/G-Codes.md
parent6e88320d625ae80e4b4b87c75ba5540b9f4da146 (diff)
downloadkutter-a68f577adf87ed596acb1da201bd481fc0687a7b.tar.gz
kutter-a68f577adf87ed596acb1da201bd481fc0687a7b.tar.xz
kutter-a68f577adf87ed596acb1da201bd481fc0687a7b.zip
gcode_macro: Add support for SET_GCODE_VARIABLE command
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
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