Bluemeane
Posts: 28
Joined: Thu Feb 11, 2016 7:10 pm

Help with start gcode.

When it starts it moves to the front left (Off the bed) ad waits, then moves to the corner of the bed, and starts a slow move across the front of the bed with an extrusion (All good so far right?) and then when it reaches the end of the line it waits and sits there, and then slowly moves to the back and right, VERY SLOWLY... and then it stops again, and lifts up, and then moves to the front RIGHT corner, touches the bed, and then moves on to the print..

Please help!!!

I will put up a video soon.


Here is the start gcode:


Left:

; **** 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 ****



Right:


; **** 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[extruder0_temperature] T0 ; Heat right extruder
M133 T0 ; Stabilize extruder temperature
G130 X127 Y127 Z40 A127 B127 ; Default stepper Vref
G92 A0 B0 ; Zero extruders
G1 X100 Y-70 F9000 ; Move to front right corner of bed
G1 Z0.3 F6000 ; Move down to purge
G1 X-90 Y-70 E24 F2000 ; Extrude a line of filament across the front edge of the bed
G1 X-100 Y-70 F180 ; Wait for ooze
G1 X-110 Y-70 F5000 ; Fast wipe
G1 Z0.5 F100 ; Lift
G92 A0 B0 ; Zero extruders
M73 P1 ;@body (notify GPX body has started)
; **** end of start.gcode ****


Both:


; **** 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[extruder0_temperature] T0 ; Heat right extruder
M104 S[extruder1_temperature] T1 ; Heat left extruder
M133 T0 ; Stabilize right extruder temperature
M133 T1 ; Stabilize left extruder temperature
G130 X127 Y127 Z40 A127 B127 ; Default stepper Vrefs
G92 A0 B0 ; Zero extruders
G1 X100 Y-70 F9000 ; Move to front right corner of bed
G1 Z0.3 F6000 ; Move down to purge
G1 X-90 Y-70 E24 F2000 ; Extrude a line of filament across the front edge of the bed
G1 X-100 Y-70 F180 ; Wait for ooze
G1 X-110 Y-70 F5000 ; Fast wipe
G1 Z0.5 F100 ; Lift
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 ****




PLEASE HELP!!!! :D
CompoundCarl
Posts: 2005
Joined: Wed Aug 05, 2015 7:23 am

Re: Help with start gcode.

All of the commands are already listed there with comments and everything. So if you want it to do something different, just find the command you want to change and edit it to your liking. You can change the entire starting script to be whatever you want, since many users will have different preferences.

If you are new to gcode, this was very useful when I was learning: http://reprap.org/wiki/G-code
Bluemeane
Posts: 28
Joined: Thu Feb 11, 2016 7:10 pm

Re: Help with start gcode.

But I do not see the part that makes it go all crazy and slow to the back and right, then back to the front right...
CompoundCarl
Posts: 2005
Joined: Wed Aug 05, 2015 7:23 am

Re: Help with start gcode.

Movements are always G1 commands. So I'm guessing it would be one of those.
Heutinck
Posts: 77
Joined: Thu Mar 03, 2016 2:14 am

Re: Help with start gcode.

Hi,

I'm don't know very much about g-codes, but I think you may want to look at these lines

G1 X-90 Y-70 E24 F2000 ; Extrude a line of filament across the front edge of the bed
G1 X-100 Y-70 F180 ; Wait for ooze

the previous movements had F9000 on them, I am going to assume that that is the speed. an on the second line, it is waiting for the ooze, and I would assume the F180 means a delay of 180 seconds or 3 minutes? does this sound right?

Tim

Return to “Troubleshooting and Bug Reports”