docs: Minor updates to sdcard_loop documentation

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor 2021-05-26 12:05:49 -04:00
parent 913649de2e
commit 391ebd32c1
2 changed files with 14 additions and 9 deletions

View File

@ -1319,8 +1319,9 @@ a belt printer, can find use in looping sections of the sdcard file.
(For example, to print the same part over and over, or repeat the
a section of a part for a chain or other repeated pattern).
See the `config/sample-macros.cfg` file for a Marlin compatible M808
G-Code macro.
See the [command reference](G-Codes.md#sdcard-loop) for supported
commands. See the [sample-macros.cfg](../config/sample-macros.cfg)
file for a Marlin compatible M808 G-Code macro.
```
[sdcard_loop]

View File

@ -66,13 +66,6 @@ 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
@ -541,6 +534,17 @@ enabled:
future boundary checks; issue a G28 afterwards to reset the
kinematics.
## SDcard loop
When the [sdcard_loop config section](Config_Reference.md#sdcard_loop)
is enabled, the following extended commands are available:
- `SDCARD_LOOP_BEGIN COUNT=<count>`: Begin a looped section in the SD
print. A count of 0 indicates that the section should be looped
indefinately.
- `SDCARD_LOOP_END`: End a looped section in the SD print.
- `SDCARD_LOOP_DESIST`: Complete existing loops without further
iterations.
## Send message (respond) to host
The following commands are availabe when the