M3Jim
Posts: 14
Joined: Fri Jun 07, 2013 1:23 am

Mid-print Filament Change difficulties

Hi all,

I am using this piece of code:

;Change filament
G91 ; set relative positioning
G0 Z40 ; raise Z (drop bed)
G90 ; set absolute positioning
M84 S0 ; disable idle timeout
M25 ; Pause SD Print
G92 E0 ; zero extruder

to pause my print and change the filament. It seems as if you have to retract and extrude the same amount, or this code doesn't work. If I extrude more than I have retracted, the extruder retracts before continuing the print.

I have looked at what each gcode item does, and it doesn't seem like it should be doing this. I am restarting the print by "pressing" the Pause SD Print button in S3D twice. Is it possible there is something besides just the M24 that is being sent to the printer?

Here is the code as inserted in my gcode:

G1 X108.397 Y126.269 E0.2183
G92 E0
G1 E-1.4000 F2400
;Change filament
G91 ; set relative positioning
G0 Z40 ; raise Z (drop bed)
G90 ; set absolute positioning
M84 S0 ; disable idle timeout
M25 ; Pause SD Print
G92 E0 ; zero extruder
; layer 7, Z = 1.376
M104 S240 T0
; tool H0.200 W0.320
; inner perimeter
; inner perimeter
G1 X97.782 Y127.692 F9000
G1 Z1.346 F1200
G1 E0.0000 F2400
G92 E0
G1 X97.146 Y127.692 E0.0156 F1467

I just want to be able to extrude as much as I want and have the print restart at that point, without retracting. Any insight into what is going on here would be greatly appreciated.

Have a great day,
Jim
[email protected]
Posts: 3
Joined: Thu Mar 09, 2017 8:44 am

Re: Mid-print Filament Change difficulties

Have you just inserted the M600 command at the layer you want ? example from Marlin page on Gcode. M600 X10 Y15 Z5 ; Do filament change at X:10, Y:15 and Z:+5 from current

Return to “Troubleshooting and Bug Reports”