M23: Select File

Issuing an M23 selects a file that will be used to subsequently print using the M24 command.
The file will remain "selected" and all subsequent M24 commands will print that file until a different file selection (M23) is made.
If the file does not exist on the SD card an error will be returned (ERROR?).
The M23 command can be used to restart a file from the beginning, use M23 to reset it, then M24 to print.

"Print" refers to running a job on a any Smoothie attached device such as 3D printer, Laser engraver/cutter, CNC router etc.

Format

The command is used as such : 

M23  [filename.gco]

Which means: Select the file to be used in the subsequent M24 print/resume command.

Parameters

Parameter Usage Example
filename The file, on the SD card, will be printed in the subsequent M24 command M20 myGcodeFile.gco

The filename identifies the file to be used by subsequent M24 commands

Smoothie supports long filenames and 8.3 format

If your SDcard contents was:
config.txt
firmware.cur
Readme.txt
myGgcode.gco

This means if you command : 

M23 myGcode.gco

The file myGcode.gco would be queued for subsequent printing with the M24 command

Configuration

The M23 command requires no special configuration settings

Further reading

These resources are used as references:


This site is a WIki, which means you are very welcome to help us improve it. Help on how to do that can be found at the Editing the Wiki page . You can edit any page by clicking the "Edit" button bellow :