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.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/G-Codes.md b/docs/G-Codes.md
index 2f012bf5..cb84fa65 100644
--- a/docs/G-Codes.md
+++ b/docs/G-Codes.md
@@ -66,6 +66,13 @@ In addition, the following extended commands are availble when the
- Load a file and start SD print: `SDCARD_PRINT_FILE FILENAME=<filename>`
- Unload file and clear SD state: `SDCARD_RESET_FILE`
+When the [sdcard_loop config section](Config_Reference.md#sdcard_loop) is
+enabled, the following extended commands are available.
+- Begin a looped section in the SD print: `SDCARD_LOOP_BEGIN COUNT=<count>`
+ - A count of 0 indicates that the section should be looped indefinately.
+- End a looped section in the SD print: `SDCARD_LOOP_END`
+- Complete existing loops without further iterations: `SDCARD_LOOP_DESIST`
+
## G-Code arcs
The following standard G-Code commands are available if a