<kbd>progress</kbd>

When a file is playing, you can use the progress command to get a report of the current position in the file, and elapsed time.

<kbd>abort</kbd>

You can also use the abort command to stop the execution of the file.

<kbd>suspend</kbd>

Can be used for either sd card playing or when streaming from Pronterface or Octoprint.

Will suspend a print in progress it does the following…

1. send pause to upstream host, or pause if printing from sd2. wait for empty queue3. save the current position, extruder position, temperatures - any state that would need to be restored4. –retract by specified amount either on command line or in config– - not implemened yet5. turn off heaters. (unless the config has leave_heaters_on_suspend true)6. optionally run after_suspend gcode (set in config defines gcode to run eg. after_suspend G91G0E20G90)

User may jog or remove and insert filament at this point, extruding or retracting as needed.

This could be triggered by a Switch module to setup a simple out of filament detector.

NOTE Issuing a home after a suspend will cancel the suspend and you will not be able to resume.

page>stopping-smoothie

<kbd>resume</kbd>

Will resume a suspended print it does the following…

1. restore the temperatures and wait for them to get up to temp2. optionally run before_resume gcode if specified3. restore the position it was at and E and any other saved state4. resume sd print or send resume upstream

G-codes

The following G-codes are supported by the Player module :Â

M21 : Initialize the SD card. This does nothing in Smoothie but is kept for compatibility