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

    Part Cooling Fan on Duex5

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    4
    22
    464
    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.
    • alexusundefined
      alexus
      last edited by

      hey all im trying to setup part cooling fan running off duex5 24V (vin jumpers)
      well so far no luck, fan does not even web GUI

      what am i doing wrong?

      here is config, fan is connected to duex5 fan3 port... maybe names was chnged?

      ; Fans
      ; Fan 0 -  print cooling
      M950 F0 C"duex.fan3" Q500                             ; create fan 0 on pin fan0 and set its frequency //10.25.2024 - Used to be "fan0"
      M106 P0 S1 H0                                    ; set value. Thermostatic control is turned off /S-speed 1==100%
      ; Fan 1 - ToolHeatsink Cooler
      M950 F1 C"fan1" Q500                            ; create fan 1 on pin fan1 and set its frequency
      M106 P0 T36 H0                               ; set fan P1 value. Thermostatic control is turned ON for sensor 0 (S0 in M308) H0
      
      ; Tools
      M563 P0 D0 H0 F0                             ; define tool 0 (asign F0 as part cooling fan.. used to be F-1)
      G10 P0 X0 Y0 Z0                               ; set tool 0 axis offsets
      G10 P0 R0 S0                                  ; set initial tool 0 active and standby temperatures to 0C
      
      jay_s_ukundefined 1 Reply Last reply Reply Quote 0
      • jay_s_ukundefined
        jay_s_uk @alexus
        last edited by

        @alexus you've set it to thermostatic with H0. Only none thermostatic fans show up in DWC. Change it to H-1 in M106 for that fan

        Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

        alexusundefined 1 Reply Last reply Reply Quote 0
        • alexusundefined
          alexus @jay_s_uk
          last edited by

          @jay_s_uk
          some times i wish duet wold be variable name based confir insted of G code, would be much easier to read

          so i set like this and no availle... also ins P directive set thermostatioc or not?

          M950 F0 C"duex.fan3" Q500                             ; create fan 0 on pin fan0 and set its frequency //10.25.2024 - Used to be "fan0"
          M106 P0 S1 H-1 
          
          jay_s_ukundefined 1 Reply Last reply Reply Quote 0
          • jay_s_ukundefined
            jay_s_uk @alexus
            last edited by

            @alexus that looks fine now.
            The pin name is correct.
            If you send M98 P"config.g" does it report any errors?

            Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

            alexusundefined 1 Reply Last reply Reply Quote 0
            • alexusundefined
              alexus @jay_s_uk
              last edited by

              @jay_s_uk
              no errors just one waring, i guess tem sensor is off but i assume not related to fan now and will deal with that next

              M98 P"config.g"
              HTTP is enabled on port 80
              FTP is disabled
              TELNET is disabled
              Warning: Heater 0 predicted maximum temperature at full power is 596°C
              
              jay_s_ukundefined 1 Reply Last reply Reply Quote 0
              • jay_s_ukundefined
                jay_s_uk @alexus
                last edited by

                @alexus that's a normal warning, not an error so nothing to worry about.

                So now, is it showing up in DWC but not controllable or is it just not showing up at all?

                Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

                alexusundefined 1 Reply Last reply Reply Quote 0
                • alexusundefined
                  alexus @jay_s_uk
                  last edited by

                  @jay_s_uk

                  handg on... when i select tool i see GUI changes
                  0821dd53-ba27-4867-9cca-4c1d7dc648e0-image.png
                  Tool fan is that's a part cooling fan?

                  if so i guess it shows up and now i need to test electrical why it does not spin

                  jay_s_ukundefined 1 Reply Last reply Reply Quote 0
                  • jay_s_ukundefined
                    jay_s_uk @alexus
                    last edited by

                    @alexus I've just noticed a mistake on line 7 of your first post. It should be P1 and not P0.

                    But yes, essentially the tool fan is the part cooling fan of the active tool.

                    Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

                    alexusundefined 1 Reply Last reply Reply Quote 0
                    • alexusundefined
                      alexus @jay_s_uk
                      last edited by

                      @jay_s_uk
                      if i cange to P1 i ger error
                      Error in start-up file macro line 103: Fan number 1 not found

                      assuming u meant to figuration like this?

                      ; Fans
                      ; Fan 0 -  print cooling
                      M950 F0 C"duex.fan3" Q500                             ; create fan 0 on pin fan0 and set its frequency //10.25.2024 - Used to be "fan0"
                      M106 P1 S1 H1                                    ; set value. Thermostatic control is turned off /S-speed 1==100%
                      ; Fan 1 - ToolHeatsink Cooler
                      M950 F1 C"fan1" Q500                            ; create fan 1 on pin fan1 and set its frequency
                      M106 P0 T36 H0                               ; set fan P1 value. Thermostatic control is turned ON for sensor 0 (S0 in M308) H0
                      
                      ; Tools
                      M563 P0 D0 H0 F0                             ; define tool 0 (asign F0 as part cooling fan.. used to be F-1)
                      G10 P0 X0 Y0 Z0                               ; set tool 0 axis offsets
                      G10 P0 R0 S0                                  ; set initial tool 0 active and standby temperatures to 0C
                      
                      droftartsundefined 2 Replies Last reply Reply Quote 0
                      • droftartsundefined
                        droftarts administrators @alexus
                        last edited by

                        @alexus P0 on line 4, P1 on line 7.

                        Ian

                        Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                        alexusundefined 1 Reply Last reply Reply Quote 0
                        • alexusundefined
                          alexus @droftarts
                          last edited by alexus

                          @droftarts
                          ok so like this and GUI shows "Tool Fan" as name

                          ; Fans
                          ; Fan 0 -  print cooling
                          M950 F0 C"duex.fan3" Q500                             ; create fan 0 on pin fan0 and set its frequency //10.25.2024 - Used to be "fan0"
                          M106 P0 S1 H1                                    ; set value. Thermostatic control is turned off /S-speed 1==100%
                          ; Fan 1 - ToolHeatsink Cooler
                          M950 F1 C"fan1" Q500                            ; create fan 1 on pin fan1 and set its frequency
                          M106 P1 T36 H0                               ; set fan P1 value. Thermostatic control is turned ON for sensor 0 (S0 in M308) H0
                          
                          1 Reply Last reply Reply Quote 0
                          • droftartsundefined
                            droftarts administrators @alexus
                            last edited by droftarts

                            @alexus said in Part Cooling Fan on Duex5:

                            See https://docs.duet3d.com/en/User_manual/Connecting_hardware/Fans_connecting#thermostatically-controlled-fans

                            The convention is that Fan 0 is the part cooling fan (or tool fan) and Fan 1 is the thermostatic fan for the hot end. Though it actually doesn't matter too much which way around you do it, but most importantly:

                            Note: thermostatic fans SHOULD NOT be mapped to tools.

                            Currently, you have Fan 0 (F0) as thermostatic with H1, and Fan 1 (F1) as not thermostatic (H0), and have F0 mapped to your tool:

                            ; Tools
                            M563 P0 D0 H0 F0 ; define tool 0 (asign F0 as part cooling fan.. used to be F-1)

                            You initially said you wanted the part cooling fan on the Duex, so I would guess what you actually want is:

                            ; Fans
                            ; Fan 0 -  print cooling
                            M950 F0 C"duex.fan3" Q500                             ; create fan 0 on pin fan0 and set its frequency //10.25.2024 - Used to be "fan0"
                            M106 P0 S0 H0                                    ; set value. Thermostatic control is turned off /S-speed 1==100%
                            ; Fan 1 - ToolHeatsink Cooler
                            M950 F1 C"fan1" Q500                            ; create fan 1 on pin fan1 and set its frequency
                            M106 P1 T36 H1                               ; set fan P1 value. Thermostatic control is turned ON for sensor 0 (S0 in M308) H0
                             
                            ; Tools
                            M563 P0 D0 H0 F0                             ; define tool 0 (asign F0 as part cooling fan.. used to be F-1)
                            G10 P0 X0 Y0 Z0                               ; set tool 0 axis offsets
                            G10 P0 R0 S0                                  ; set initial tool 0 active and standby temperatures to 0C
                            

                            Ian

                            Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                            alexusundefined 2 Replies Last reply Reply Quote 0
                            • alexusundefined
                              alexus @droftarts
                              last edited by

                              @droftarts said in Part Cooling Fan on Duex5:

                              ; Fans
                              ; Fan 0 - print cooling
                              M950 F0 C"duex.fan3" Q500 ; create fan 0 on pin fan0 and set its frequency //10.25.2024 - Used to be "fan0"
                              M106 P0 S0 H0 ; set value. Thermostatic control is turned off /S-speed 1==100%
                              ; Fan 1 - ToolHeatsink Cooler
                              M950 F1 C"fan1" Q500 ; create fan 1 on pin fan1 and set its frequency
                              M106 P1 T36 H1 ; set fan P1 value. Thermostatic control is turned ON for sensor 0 (S0 in M308) H0

                              ; Tools
                              M563 P0 D0 H0 F0 ; define tool 0 (asign F0 as part cooling fan.. used to be F-1)
                              G10 P0 X0 Y0 Z0 ; set tool 0 axis offsets
                              G10 P0 R0 S0 ; set initial tool 0 active and standby temperatures to 0C

                              yea i think thats what i want 🙂

                              1 Reply Last reply Reply Quote 0
                              • alexusundefined
                                alexus @droftarts
                                last edited by

                                @droftarts

                                so debuging futher to hardware level now
                                c20a69aa-9881-458d-bf3d-a05d868615e5-image.png
                                on GUI ive set fan 40% and VIN shows i have 24V on Duet2 board,....

                                when i measure voltage on Duex5 Fan3 port i get nothing there while Duex5 VIN has 24v measured, also Fan jumper is set to VIN

                                what could be wrong here? i tried fan speed 100% and no change

                                1 Reply Last reply Reply Quote 0
                                • Phaedruxundefined
                                  Phaedrux Moderator
                                  last edited by

                                  Have you verified the fan works by connecting it to an always on fan port?

                                  If the fan does work, Ttry a different duex fan port?

                                  If it works there, perhaps the mosfet on the original port is damaged.

                                  Z-Bot CoreXY Build | Thingiverse Profile

                                  alexusundefined 1 Reply Last reply Reply Quote 0
                                  • alexusundefined
                                    alexus @Phaedrux
                                    last edited by

                                    @Phaedrux which port is always on? also whats output voltage?

                                    1 Reply Last reply Reply Quote 0
                                    • Phaedruxundefined
                                      Phaedrux Moderator
                                      last edited by

                                      The Duet mainboard has 2 always on fans. Voltage depends on what position you have set the fan voltage jumper. Either 5v or VIN.

                                      https://docs.duet3d.com/duet_boards/duet_2_wifi_ethernet_maestro/duet_2_we_wiring_latest.png

                                      Z-Bot CoreXY Build | Thingiverse Profile

                                      alexusundefined 3 Replies Last reply Reply Quote 0
                                      • alexusundefined
                                        alexus @Phaedrux
                                        last edited by

                                        @Phaedrux
                                        heh yea i just looked up documentation and yes always on worjs so we know fan works lol

                                        well let me try to assign say fan4 port see what happens

                                        1 Reply Last reply Reply Quote 0
                                        • alexusundefined
                                          alexus @Phaedrux
                                          last edited by

                                          @Phaedrux
                                          nope fun4 does not work either 😞

                                          1 Reply Last reply Reply Quote 0
                                          • alexusundefined
                                            alexus @Phaedrux
                                            last edited by

                                            @Phaedrux
                                            interesting observation: when i disconnected tthermistor part cooling starts to spin on duex.fan4 port though speed control does not work. So port should be operable

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