Forced Ending Script or Macro
-
Is there a way to force an ending script/macro/gocde file to run at the end of every print?
I am fully aware of ending scripts in slicers and the Duet board macros. What I am looking for is when a print file is completed, the duet board runs a macro command or another gcode file by name. Even running the something like the pause.g or stop.g file would work this as well.
The gcode print file that just finished does not have any run commands/scripts in the gcode file. And the Duet board automatically runs file X once a print has been completed, no mater what the print is or what is in the gocde file.
-
@3DPotter stop.g is ran automatically in 3.5.1 at the end of a file
-
@3DPotter said in Forced Ending Script or Macro:
Is there a way to force an ending script/macro/gocde file to run at the end of every print?
The gcode print file that just finished does not have any run commands/scripts in the gcode file. And the Duet board automatically runs file X once a print has been completed, no mater what the print is or what is in the gocde file.
As @jay_s_uk has said, stop.g is run at the end of every print job.
No such function exists for other gcode files such as macros. -
@3DPotter you could put a menu script in the stop.g file and then choose which script you wanted to run
-
Thanks. Works great. Was not working for me as I was on version 3.1
Works great on 3.5.1 -