Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    Setting up F0 & F1 Thermostatically & GCode controlled

    Scheduled Pinned Locked Moved
    Tuning and tweaking
    fans setup 0.8.5
    3
    10
    2.0k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Nylkosundefined
      Nylkos
      last edited by

      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,
      [https://duet3d.dozuki.com/Wiki/Connecting_and_configuring_fans#Section_Thermostatically_controlled_fans](link url)
      [https://duet3d.dozuki.com/Wiki/Gcode#Section_M106_Fan_On](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

      1 Reply Last reply Reply Quote 0
      • T3P3Tonyundefined
        T3P3Tony administrators
        last edited by

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

        www.duet3d.com

        1 Reply Last reply Reply Quote 0
        • dc42undefined
          dc42 administrators
          last edited by dc42

          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.

          Duet WiFi hardware designer and firmware engineer
          Please do not ask me for Duet support via PM or email, use the forum
          http://www.escher3d.com, https://miscsolutions.wordpress.com

          1 Reply Last reply Reply Quote 1
          • Nylkosundefined
            Nylkos
            last edited by

            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

            1 Reply Last reply Reply Quote 0
            • Nylkosundefined
              Nylkos
              last edited by

              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

              1 Reply Last reply Reply Quote 0
              • dc42undefined
                dc42 administrators
                last edited by

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

                Duet WiFi hardware designer and firmware engineer
                Please do not ask me for Duet support via PM or email, use the forum
                http://www.escher3d.com, https://miscsolutions.wordpress.com

                1 Reply Last reply Reply Quote 0
                • Nylkosundefined
                  Nylkos
                  last edited by

                  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.

                  dc42undefined 1 Reply Last reply Reply Quote 0
                  • dc42undefined
                    dc42 administrators @Nylkos
                    last edited by

                    @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?

                    Duet WiFi hardware designer and firmware engineer
                    Please do not ask me for Duet support via PM or email, use the forum
                    http://www.escher3d.com, https://miscsolutions.wordpress.com

                    1 Reply Last reply Reply Quote 0
                    • Nylkosundefined
                      Nylkos
                      last edited by

                      Tried these...

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

                      Dim
                      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?

                      1 Reply Last reply Reply Quote 0
                      • dc42undefined
                        dc42 administrators
                        last edited by

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

                        Duet WiFi hardware designer and firmware engineer
                        Please do not ask me for Duet support via PM or email, use the forum
                        http://www.escher3d.com, https://miscsolutions.wordpress.com

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post
                        Unless otherwise noted, all forum content is licensed under CC-BY-SA