marcus-g
5/9/2017 - 10:18 PM

3D Printer GCode routine to pause, move to safe position, change filament, prime it, home it, and return back after resume to the beginning

3D Printer GCode routine to pause, move to safe position, change filament, prime it, home it, and return back after resume to the beginning of that layer.

If you are using the devel branch you can insert the following  under the after pause section:

G91            ;Set Relative Mode
G1 E-5.000000 F500   ;Retract 5mm
G1 Z15 F300         ;move Z up 15mm
G90            ;Set Absolute Mode
G1 X20 Y20 F9000      ;Move to hold position
G91            ;Set Relative Mode
G1 E-40 F500      ;Retract 40mm

And then this in the before resume section:
G90            ;Set Absolute Mode
G1 F5000         ;Set speed limits
G28 X0 Y0         ;Home X Y
M82            ;Set extruder to Absolute Mode
G92 E0         ;Set Extruder to 0