gcode situation I would like some advice on.
A little backstory first. I installed a revo on my mk3s+ and added the end gcode line as suggested from e3d:
G1 E-18 F800 ;retract filament from meltzone
This allows it to move the filament out of the hot end enough to change nozzles after your done with a print after it cools without fully removing filament, and it works great.
So what I am trying to do is write a small piece of gcode that will just finish the eject without heating up the hot end for the times that I am done with a print and it has just been sitting in the partially ejected state and I want to change filament.
So I took a piece of gcode and erased a ton of stuff from it and try to run it and it runs but it does not eject. My theory is that it ignores the g1 command when the hot end is not warmed up. Is this true? Is there a way around it if it is true? Do you have any ideas on how I can do this?
RE: gcode situation I would like some advice on.
Here is a copy of the gcode if anyone is wondering, and yes I know there are many things in it that are probably still not needed.
M73 P0 R4
M73 Q0 S4
M201 X1000 Y1000 Z200 E5000 ; sets maximum accelerations, mm/sec^2
M203 X200 Y200 Z12 E120 ; sets maximum feedrates, mm / sec
M204 P1250 R1250 T1250 ; sets acceleration (P, T) and retract acceleration (R), mm/sec^2
M205 X8.00 Y8.00 Z0.40 E4.50 ; sets the jerk limits, mm/sec
M205 S0 T0 ; sets the minimum extruding and travel feed rate, mm/sec
M107
;TYPE:Custom
M300 S60 P10 ; chirp
G90 ; use absolute coordinates
; Don't change E values below. Excessive value can damage the printer.
M907 E430 ; set extruder motor current
G21 ; set units to millimeters
G90 ; use absolute coordinates
M83 ; use relative distances for extrusion
M900 K0.05 ; Filament gcode LA 1.5
M900 K30 ; Filament gcode LA 1.0
M107
;LAYER_CHANGE
;Z:0.2
;HEIGHT:0.2
;BEFORE_LAYER_CHANGE
G92 E0.0
;0.2
; Filament-specific end gcode
M221 S100 ; reset flow
M900 K0 ; reset LA
M907 E538 ; reset extruder motor current
G1 E-18 F800 ;retract filament from meltzone
M104 S0 ; turn off temperature
M140 S0 ; turn off heatbed
M107 ; turn off fan
M84 ; disable motors
M300 S60 P10 ; chirp
M73 P100 R0
M73 Q100 S0
RE: gcode situation I would like some advice on.
What about "M18 E"? M18 disables steppers, and 'E' specifies the extruder motor. This would let you just pull the filament out.
RE: gcode situation I would like some advice on.
You have M84 there, which does the same thing but it affects all motors. I would just pull it out, unless you're finding that it takes a heck of a lot of force.
RE: gcode situation I would like some advice on.
Might be a ok solution, so far I have been ejecting the old fashioned way. I tried many ways to do it in gcode and the problem has been that Prusa ignores many of the standard gcode commands. It’s not a big deal, I was just trying to find an elegant solution that I could just run a small gcode off the sd card and it would just drive out the filament without heating. But you can’t have it all.