Difference between revisions of "SETTINGS/Printer/Custom G-Code/Pause G-Code"

From MatterControl Manual
Jump to: navigation, search
Line 1: Line 1:
 
{{Slice Settings
 
{{Slice Settings
  
|G-Code to run when the printer is [[Pause button|paused]].|*G-Code
+
|G-Code to run when the printer is [[Pause button|paused]].
 +
 
 +
'''NOTE:''' All Custom G-Code is subject to [[G-Code Filtering|filtering rules]].|*G-Code
 
*[[Custom_G-Code_Variables|Custom G-Code variables]]
 
*[[Custom_G-Code_Variables|Custom G-Code variables]]
  

Revision as of 09:27, 12 October 2016

A screenshot of the Pause G-Code setting as seen in MatterControl's SETTINGS pane.

Function

G-Code to run when the printer is paused.

NOTE: All Custom G-Code is subject to filtering rules.

Parameters

All G-Code must be uppercase to function properly.

Example(s)

G-Code

In this example, when the 'Pause' button is pressed during a print, the printer will set coordinates relative to the current position (G91), then move 10 mm up and retract 10 mm of filament at a rate of 12,000 mm/minute (G1 Z10 E-10 F12000), then set coordinates to absolute positioning again (G90).

Pause G-Code-ss-ex.png