Fan control temp. problem



  • ; Fans
    M950 F0 C"fan0" Q500                               ; create fan 0 on pin fan0 and set its frequency
    M106 P0 S0.3 H-1                                   ; set fan 0 value. Thermostatic control is turned off
    M950 F1 C"fan1" Q500                               ; create fan 1 on pin fan1 and set its frequency
    M106 P1 S1 H1                                      ; set fan 1 value. Thermostatic control is turned on
    M950 F2 C"fan2" Q500                               ; create fan 2 on pin fan2 and set its frequency
    M106 P2 S1 H2                                      ; set fan 2 value. Thermostatic control is turned on
    

    Even though there is no "T" set temperature M106 P1 or P2 turns with "M106 P1
    Fan 1, speed: 0%, min: 10%, max: 100%, blip: 0.10, temperature: 45.0:45.0C, sensors: 1, current speed: 0%:"

    I didnt set the temperature: 45.0:45.0C how does this comes out with that settings? Now I cant control the fans if the temp is below 45c


  • Moderator

    If you want to control the fans use H-1 to disable thermostatic control.

    If you want thermostatic control, define your own temperature range with a T parameter.

    45c is the default used in the firmware likely due to that being used for the hotend fans by default.



  • Thanks. When I do this(H-1) I am loosing my fan control over DWC. It says no fans.

    May last configration was like this and it was working very well.

    ; Fans

    M106 P0 S0.3 I0 F500 H-1                             ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
    M106 P1 S0 I0 F500 H-1                               ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned off
    M106 P2 S0 I0 F500 H-1                               ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned off
    

    These two fans are for part cooling. Extruder fans are always on.



  • BTW is there any Gcode for clearing Duet board cache? Sometimes I feel like my config.g is not updated.(config.override is cleared)


  • Moderator

    @secure said in Fan control temp. problem:

    I am loosing my fan control over DWC. It says no fans.

    What version of DWC are you using?
    Do you see a text label that says Fan Visibility?
    What fan do you have defined in your tool definition (M563)?



  • Duet Web Control 2.1.3
    There is no "Change visibilty" It says just no fans.

    ; Fans
    M106 P0 S0.3 I0 F500 H-1                             ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
    M106 P1 S0 I0 F500 H-1                               ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned off
    M106 P2 S0 I0 F500 H-1                               ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned off
    
    ; Tools
    M563 P0 S"E1" D0 H1 F1				     ; Define tool E1 
    M563 P1 S"E2" D1 H2 F2                               ; Define tool E2
    G10 P0 X0 Y0 Z0                                    ; Set tool E1 axis offsets
    G10 P1 X-32.50 Y0 Z0                                 ; Set tool E2 axis offsets
    G10 P0 R0 S0                                         ; Set initial tool 0 active and standby temperatures to 0C
    G10 P1 R0 S0 					     ; Set initial tool 0 active and standby temperatures to 0C
    

    This config was working before I updates to DWC 2.1.3



  • Back to Duet Web Control 2.0.4 fixed. @chrishamm


  • Moderator

    Try 2.0.7.


Log in to reply