start_file()

Loads and starts executing a G-code program from a specified file.

Syntax

start_file(filepath)

Parameters

Parameter Type Description
filepath String The full path to the G-code file to start.

Return Value

Examples

Load and start executing a G-code file

start_file("C:/gcode/sample.nc");

Load and start another G-code file

start_file("/home/user/gcode/project.gcode");

See also

open_file
open_code
start_file
start_code
test_file
test_code