Stop part cooling fans on pause and restore on resume
In pause.g can you try using
M106 S0 P0and then in resume try using
G91 ; relative positioning G1 Z50 G90 ; Absolute positioning G53 G1 x0 y-999 F60000; Send carriage to rear centre M106 S0 P0 ; Turn off part cooling? T-1 ; Deselect tool
T R1 ; Reselect last tool M106 R2 ; Turn on part cooling M703 ; Load tool paramaters M116 ; Wait for temps M83 ; relative extruder moves G1 E10 F3600 ; extrude 10mm of filament ;; Move back into pos G1 R1 X0 Y0 Z5 F6000 ; go to 5mm above position of the last print move
In this case pause did not stop the fans and they remained running after resume.
Sorry I assumed your part cooling fan was on fan0, but I see that's not the case.
M563 P0 S"Volcano" D0.5 H1 F2:4
In that case try M106 S0 P2:4
What is the format of the fan commands that your slicer is sending?
Slicer is doing M106 S255.
With M106 S0 P2:4 in pause.g the fans don't stop.
I'm doing that before deselecting the tool though so won't they be controlled by the virtual tool fan at that point?
Thanks for testing but I think I misguided you as I don't think M106 will accept two fan targets.
M106 S0 P2:4
But it should be storing and restoring your fan values, but it's not, so possibly a bug. Will see what DC42 says.
Likely bug. On the list to investigate.
Yep looks bugged to me too.
T-1 ; Deselect tool M106 S0 P2 M106 S0 P4
correctly stops the fans and
T R1 ; Reselect last tool M106 R2 ; Turn on part cooling M703 ; Load tool paramaters M116 ; Wait for temps
resumes the fans but stops them once temps are reached and print resumes
@serbitar please try M106 R1 not M106 R2. Also you should use a plain M106 S0 command to turn the fans off in pause.g. But think that's what you were doing originally.
Does it make any difference if you remove the M703 command?
@dc42 Ah, that is an artifcact from playing with this last week, well spotted.
Changed config as you suggested, and thing still aren't working as desired.
Fans stop on pause but are not restored.
Is there some way to peek into the stored state?
G91 ; relative positioning G1 Z50 G90 ; Absolute positioning G53 G1 x0 y-999 F60000; Send carriage to rear centre M106 S0 ; Turn off part cooling T-1 ; Deselect tool ;M106 S0 P2 ;M106 S0 P4
T R1 ; Reselect last tool M106 R1 ; Turn on part cooling ;M703 ; Load tool paramaters M116 ; Wait for temps M83 ; relative extruder moves G1 E10 F3600 ; extrude 10mm of filament ;; Move back into pos G1 R1 X0 Y0 Z5 F6000 ; go to 5mm above position of the last print move
@serbitar I confirm that this is a problem. There is a single set of saved fan speeds used by both pause/resume and tool changes. What's happening is that when you reselect the tool in resume.g, the current fan speed is zero, and that's overwriting the value saved when the pause occurred.
@dc42 Thanks for looking into it, that makes sense.
I will change my pause.g to use G10 to turn the hotend heater off instead (for now).
@serbitar I have implemented a fix in RRF 3.3RC2. I have also added a new parameter to M568 that allows you to switch a tool's heaters between off, standby, and active.
@dc42 Wow fantastic! I looks forward to experimenting with it once released!