Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;Begin m.gcode
- M907 X850 ;set current of X motor. May need to set Y as well if your printers head moves on x & y
- M106 S0 ;turn off fan
- G92 E0 ;reset extrusion distance
- G1 E-0.8 F2100 ;retract
- G1 Y100 F12000 ;Break string before Z lift
- G1 X200 F12000 ;move head into position
- G91;Change to relative position
- {if layer_z < 15.0}
- G1 Z15
- {endif}
- ;UNCOMMENT G1 Z15 F15000 ;Purge Z lift
- G90;Change to absolute position
- G4 S0 ;clear movement buffer
- G1 X250 F12000 ;move head to purge zone
- G1 x252.2 F1000 ;extend purge arm
- ;End m.gcode
- ***************End pre-tool change gcode**********************
- ***************Begin after tool change purge gcode**********************
- G1 X200 F12000 ;move head into position
- G4 S0 ;clear movement buffer
- G1 X250 F12000 ;move head to purge zone
- G1 x252.2 F1000 ;extend purge arm
- M107 ;turn off fan
- G92 E0 ;reset extrusion position
- G1 E0.8 F2100 ;issue after retract
- G92 E0 ;reset extrusion position
- G1 E40 F200 ;1st purge extrude onto thumb tack
- M106 S255 ;turn on fan
- G4 S12 ;blob cooling
- G92 E0 ;reset extrusion position
- G1 E-0.8 F2100 ;retract extruder to prevent oozing
- G1 X240 F12000 ;whack blob off tack 1
- G1 x252.2 F3000 ;reset for another blob whack
- G1 X240 F12000 ;whack blob off tack 2
- G1 X200 F15000
- G4 S0
- G1 X250 F12000
- G1 x252.2 F1000
- M107
- G92 E0
- G1 E0.8 F2100 ;issue
- G92 E0
- G1 E40 F200 ;2nd purge
- M106 S255 ;blob cooling
- G4 S12 ;blob cooling
- G92 E0
- G1 E-0.8 F2100
- G1 X240 F12000
- G1 x252.2 F3000
- G1 X240 F12000
- G1 X200 F15000
- G4 S0
- G1 X250 F12000
- G1 x252.2 F1000
- M107
- G92 E0
- G1 E0.8 F2100 ;issue
- G92 E0
- G1 E40 F200 ;3rd purge
- M106 S255 ;blob cooling
- G4 S12 ;blob cooling
- G92 E0
- G1 E-0.8 F2100
- G1 X240 F12000
- G1 x252.2 F3000
- G1 X240 F12000
- G1 X200 F15000
- G4 S0
- G1 X250 F12000
- G1 x252.2 F1000
- M107
- G92 E0
- G1 E0.8 F2100 ;issue
- G92 E0
- G1 E40 F200 ;4th purge
- M106 S255 ;blob cooling
- G4 S12 ;blob cooling
- G92 E0
- G1 E-0.8 F2100
- G1 X240 F12000
- G1 x252.2 F3000
- G1 X240 F12000
- M907 X650 ;set the current back to normal
Advertisement
Add Comment
Please, Sign In to add comment