CT4
Posts: 51
Joined: Thu Apr 24, 2014 3:13 am
Location: Sydney Australia

Makerbot Rep2 Start Purge G code

I need to extend the time that the nozzle purges off the build plate at the start of the print. My start code is this. Please can someone let me know what I edit to achieve this.
Thanks

; **** Replicator 2 start.gcode ****
M73 P0 ; enable build progress
G162 X Y F3000 ; home XY maximum
G161 Z F1200 ; home Z minimum
G92 Z-5 ; set Z to -5
G1 Z0 ; move Z to 0
G161 Z F100 ; home Z slowly
M132 X Y Z A B ; recall home offsets
G1 X-159 Y-95 Z30 F9000 ; move to wait position off table
G130 X20 Y20 Z20 A20 B20 ; lower stepper Vrefs while heating
M126 S[fan_speed_pwm]
M104 S[extruder0_temperature] T0
M133 T0 ; stabilize extruder temperature
G130 X127 Y127 Z40 A127 B127 ; default stepper Vrefs
G92 A0 ; zero extruder
G1 Z0.4 ; position nozzle
G1 E25 F300 ; purge nozzle
G1 X-140 Y-70 Z0.15 F1200 ; slow wipe
G1 X-135 Y-65 Z0.5 F1200 ; lift
G92 A0 ; zero extruder
M73 P1 ;@body (notify GPX body has started)
; **** end of start.gcode ****
User avatar
dkightley
Posts: 2405
Joined: Tue Mar 10, 2015 4:09 pm

Re: Makerbot Rep2 Start Purge G code

Change this line:
G1 E25 F300 ; purge nozzle

The value 25 signifies 25 mm of extrusion ( or I should say I think its 25mm) ....adjust accordingly.

G1 is the instruction for "move". Enn is the parameter for the amount to extrude. And F is the parameter for the feed rate.

See here for reference: http://reprap.org/wiki/G-code
Doug Kightley
Volunteer at the National Tramway Museum http://www.tramway.co.uk
Railway modeller and webmaster at http://www.talkingtgauge.net
CT4
Posts: 51
Joined: Thu Apr 24, 2014 3:13 am
Location: Sydney Australia

Re: Makerbot Rep2 Start Purge G code

Thank you

Return to “General Discussion and Tips”