Thermostatic fan control - Fan doesn't turn off



  • I have set fan 1 to thermostatic control with M106 and it turns on when the hot end reaches 45c and the Fan 1 speed slider disappears from the machine control tab but after a print completes it doesn't switch off when the temp goes below 45c again. The fan speed slider is also returned after a 5hr print so I can manually switch it off.

    But If I turn the fan off with the fan 1 slider and then start another print shortly after, the fan doesn't turn on when the temp is reached.

    Gcode used to switch it back on: M106 P1 T45 H1

    Gcode from config.h:

    ; Fans
    M106 P0 S0.3 I0 F500 H1 T40 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
    M106 P1 S0.5 I0 F500 H1 T45 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on
    M106 P2 S0.5 I0 F500 H1 T45 ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned on


  • administrators

    Perhaps you have a M106 P1 command somewhere else, for example in your slicer start or end script, or in start.g or stop.g?

    Try running M106 P1 after a print to see what the Fan 1 settings are.



  • I did infact have M106 P1 S255 in my starting gcode which is now removed. Nothing in ending script or start.g/stop.g

    Removing it from my starting script solved the problem, Thanks mate!


 

Looks like your connection to Duet3D was lost, please wait while we try to reconnect.