Difference between revisions of "SETTINGS/Printer/Custom G-Code/Cancel G-Code"
From MatterControl Manual
< SETTINGS | Printer | Custom G-Code
m (MatterHackers moved page Slice Settings/Printer/Custom G-Code/Cancel G-Code to Settings/Printer/Custom G-Code/Cancel G-Code without leaving a redirect) |
|||
Line 2: | Line 2: | ||
|G-Code to run when a print is [[Cancel button|canceled]].|*G-Code | |G-Code to run when a print is [[Cancel button|canceled]].|*G-Code | ||
+ | *[[Custom_G-Code_Variables|Custom G-Code variables]] | ||
− | + | All G-Code must be uppercase to function properly.| | |
=== G-Code === | === G-Code === | ||
In this example, when the 'Cancel' button is pressed during a print, the printer will set the extruder temperature to 0 (M104 S0), set the heated bed temperature to 0 (M140 S0), and home (G28).}} | In this example, when the 'Cancel' button is pressed during a print, the printer will set the extruder temperature to 0 (M104 S0), set the heated bed temperature to 0 (M140 S0), and home (G28).}} |
Revision as of 10:53, 17 February 2016
Function
G-Code to run when a print is canceled.
Parameters
- G-Code
- Custom G-Code variables
All G-Code must be uppercase to function properly.
Example(s)
G-Code
In this example, when the 'Cancel' button is pressed during a print, the printer will set the extruder temperature to 0 (M104 S0), set the heated bed temperature to 0 (M140 S0), and home (G28).