Tetraodon
Posts: 59
Joined: Fri Jun 05, 2015 9:13 pm

Purging Nozzle with Movement (Makerbot2X)

Hey all - this is probably going to be a simple answer but admittedly G-Code does my head in.

When I switch S3D to print "Left Extruder Only" the startup script is:

Code: Select all

; **** Replicator 2X 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
M135 T0 ; Load right extruder offsets
G1 X-130 Y-75 Z30 F9000 ; Move to wait position off table
G130 X20 Y20 Z20 A20 B20 ; Lower stepper Vrefs while heating
M126 S[fan_speed_pwm] ; Set fan speed
M140 S[bed0_temperature] T0 ; Heat buildplate
M134 T0 ; Stabilize bed temperature
M104 S[extruder1_temperature] T1 ; Heat left extruder
M133 T1 ; Stabilize left extruder temperature
G130 X127 Y127 Z40 A127 B127 ; Default stepper Vrefs
G92 A0 B0 ; Zero extruders
M135 T1 ; Load left extruder offsets
G1 X-100 Y-65 F9000 ; Move to front left corner of bed
G1 Z0.3 F6000 ; Move down to purge
G1 X90 Y-65 E24 F2000 ; Extrude a line of filament across the front edge of the bed
G1 X100 Y-65 F180 ; Wait for ooze
G1 X110 Y-65 F5000 ; Fast wipe
G1 Z1 F100 ; Lift
G92 A0 B0 ; zero extruders
M73 P1 ;@body (notify GPX body has started)
; **** end of start.gcode ****
This script gets the nozzle to move towards the right as it purges. However, 99% of the time I use the right nozzle - which has the startup script of:

Code: Select all

; **** Replicator 2X 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
M135 T0 ; load right extruder offsets
G1 X-130 Y-75 Z30 F9000 ; move to wait position off table
G130 X20 Y20 Z20 A20 B20 ; lower stepper Vrefs while heating
M126 S[fan_speed_pwm]
M140 S[bed0_temperature] T0
M134 T0 ; stabilize bed temperature
M104 S[extruder0_temperature] T0
M133 T0 ; stabilize extruder temperature
G130 X127 Y127 Z40 A127 B127 ; default stepper Vrefs
G92 A0 B0 ; zero extruders
G1 Z0.4 ; position nozzle
G1 E25 F300 ; purge nozzle
G1 X-125 Y-70 Z0.15 F1200 ; slow wipe
G1 X-120 Y-65 Z0.5 F1200 ; lift
G92 A0 B0 ; zero extruders
M73 P1 ;@body (notify GPX body has started)
; **** end of start.gcode ****
Which doesn't move the nozzle when purging.

What exactly do I need to change in the G-Code for the startup script for using the right nozzle only to get it to move the nozzle while purging?

Thanks heaps :) (sorry again for the silly question)
CompoundCarl
Posts: 2005
Joined: Wed Aug 05, 2015 7:23 am

Re: Purging Nozzle with Movement (Makerbot2X)

Well it looks like you already edited the left extruder script, since I don't think the line with the comment "Extrude a line of filament" is part of the default script (at least it isn't part of my default profile for the left extruder).

So you would just need to make the same modification to the right extruder script. You want to have a G1 move that extrudes while moving instead of a stationary G1 extruder move.

If you don't know what values to put for the G1, it would be a good thing to learn, as it's the most common command in 3D printing and it gets used all the time!
horst.w
Posts: 861
Joined: Fri Oct 17, 2014 5:00 pm

Re: Purging Nozzle with Movement (Makerbot2X)

The first startcode is moving while purging, the second is static and moves to wipe after purging is finished.

horst.w , GER
User avatar
kabali16
Posts: 159
Joined: Thu Jan 28, 2016 1:10 pm
Location: 4th Dimension

Re: Purging Nozzle with Movement (Makerbot2X)

Try reading these 2 forum posts. you will get an idea of how to tweak the gcodes for the x3g machines
viewtopic.php?f=8&t=6471&hilit=klic#p28197
viewtopic.php?f=8&t=6183&p=28199&hilit= ... ipt#p26817
Kabali daww!!
Prusa i3 | Kossel
Simplify3D | Cura | Repetier Host | Octoprint

Return to “Troubleshooting and Bug Reports”