Setting up F0 & F1 Thermostatically & GCode controlled

  • On my Duet 0.8.5 (2 always on & 2 controlled fans)
    Trying to setup my F0 for Thermostatically control
    and my F1 for GCode controlled...

    From what I have read,
    [](link url)
    [](link url)

    This should work:
    M106 P0 T45 S1 H1 ; Set Fan0 Thermostatically controlled, start fan at 100% when heater 1 reaches 45 Degrees
    M106 P1 S1 H-1 ; Set Fan1 GCode controlled at 100%

    However, I even tried with S0 from P0 to P4 (just in case) nothing seems to modify the fans plugged in the Fan0 and Fan1 pins...

    Is there anything else then M106 that can control those two fans?

    I know that it used to work (had to change the card)

    Thanks you

  • administrators

    what happens to fan 0 when your hotend gets above 45?

  • administrators

    Some type of fan don't work with anything less than 100% PWM. Others work if you set the PWM frequency very low (F parameter in the M106 command), e.g. F100.

    We recommend that you use Fan1 for the thermostatically-controlled fan and Fan0 for the print cooling fan. It saves having to map the print cooling fan in the tool definition command.

  • ATM they are always on at 100%.
    I unplugged my F1 fan (Gcodes controlled cooling fan), moved the hotend fan to F1 and tested with F500 F5 F100, the fan remain always on
    M106 P1 S1 I0 F100 H1 T45

  • I can't seem to setup my Fan1 for Titan Aero cooling with Thermostatically,, it seems to always be on...

    I tried M106 with S0, still runs, I tested with F5, F100, F500 and still no change... I can't seem to slow it down, turn off or to setup Thermostatically.

    To me, it feels like if my fan is plugged in the always on pins...

    Thanks you for any assistance

    Here is my config.g

    ; Configuration file for Duet 0.8.5 (firmware version 1.20 or newer)
    ; executed by the firmware on start-up
    ; generated by RepRapFirmware Configuration Tool on Wed Feb 07 2018 15:44:45 GMT-0500 (Est)

    ; General preferences
    M111 S0 ; Debugging off
    G21 ; Work in millimetres
    G90 ; Send absolute coordinates...
    M83 ; ...but relative extruder moves
    M555 P1 ; Set firmware compatibility to look like RepRapFirmare
    ; Automatic saving after power loss is not enabled

    M667 S1 ; Select CoreXY mode
    M671 X-57:-57:122:122 Y0:350:380:-25 P0.5
    M208 X0 Y0 Z0 S1 ; Set axis minima
    M208 X270 325 Z200 S0 ; Set axis maxima

    ; Endstops
    M574 X1 Y1 S0 ; Set active low endstops
    M558 P1 X0 Y0 Z1 H5 F120 T6000
    G31 P75 X-42 Y0 Z0.48 ; Set Z probe trigger value, offset and trigger height hot end
    M557 X0:270 Y0:325 S30 ; Define mesh grid

    ; Drives
    M569 P0 S0 ; Drive 0 goes backwards
    M569 P1 S1 ; Drive 1 goes forwards
    M569 P2 S1 ; Drive 2 goes forwards
    M569 P3 S0 ; Drive 3 goes forwards
    M92 X200 Y200 Z800 E837 ; Set steps per mm
    M566 X900 Y900 Z900 E120 ; Set maximum instantaneous speed changes (mm/min)
    M203 X6000 Y6000 Z120 E1200 ; Set maximum speeds (mm/min)
    M201 X200 Y200 Z250 E250 ; Set accelerations (mm/s^2)
    M906 X800 Y800 Z800 E800 I30 ; Set motor currents (mA) and motor idle factor in per cent
    M84 S30 ; Set idle timeout

    ; Heaters
    M305 P0 T100000 B3950 C0 R4700 ; Set thermistor + ADC parameters for heater 0
    M307 H3 A-1 C-1 D-1 ; dans Heaters cancel P21 (H3) as a heater pin
    M143 H0 S120 ; Set temperature limit for heater 0 to 120C
    M305 P1 T100000 B4725 C7.06e-8 R4700 ; Set thermistor + ADC parameters for heater 1
    M143 H1 S320 ; Set temperature limit for heater 1 to 280C

    ; Tools
    M563 P0 D0 H1 ; Define tool 0
    G10 P0 X0 Y0 Z0 ; Set tool 0 axis offsets
    G10 P0 R0 S0 ; Set initial tool 0 active and standby temperatures to 0C
    M563 P1 ; Define tool 1 for Mill
    G10 P1 X0 Y0 Z0 ; Define tool 1 offsets

    ; Network
    M550 PMy printer ; Set machine name
    M540 PBE:EF:DE:AD:FE:ED ; Set MAC address
    M552 P192.168.2.50 S1 ; Enable network and set IP address
    M553 P255.255.255.0 ; Set netmask
    M554 P192.168.2.254 ; Set gateway
    M586 P0 S1 ; Enable HTTP
    M586 P1 S0 ; Disable FTP
    M586 P2 S0 ; Disable Telnet

    ; Fans
    M106 P1 T45 S1

  • administrators

    You have no H parameter in your M106 P1 command, so the firmware doesn't know which heater temperatures to monitor.

  • My apologies, I applied the correction but the fans remain always on...
    I still haven't found a way to dim significantly or to turn off the Fans 0 or 1.

  • administrators

    @nylkos said in Setting up F0 & F1 Thermostatically & GCode controlled:

    My apologies, I applied the correction but the fans remain always on...
    I still haven't found a way to dim significantly or to turn off the Fans 0 or 1.

    What M106 command are you using for that fan now?

  • Tried these...

    Turn off
    M106 P1 T45 S1 H1 ; If at room temp should stop
    M106 P1 S0 H-1
    M107 P1

    M106 P1 S1 H-1 ; and comparing to
    M106 P1 S0.2 H-1

    M106 P1 S255 H-1 ; and comparing to
    M106 P1 S5 H-1

    I also tried a few frequency.

    I also tried to modify the Fan control on the Web controller, I did not see a difference.

    ATM I am just trying to make react any fan. I have the 24V heatsink fans for the E3D V6 and Titan Aero, do they require specific frequency?

  • administrators

    The heatsink fans supplied by E3D do not work with PWM, so you will have to be content with turning them on and off.

Log in to reply