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

    Help with Fan - simple question - M106 and M950 Duex

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    4
    14
    624
    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.
    • MortenModundefined
      MortenMod
      last edited by

      Hi. I'm new to Duet wifi and I'm trying to get this to work. Need a fan that is always on from the duex 5 but can't get it to work. I've tested the fan in the duet wifi fan always on output and it is working fine. I've also tested all the fan output at the duex but can't get it to work.

      What do I do wrong?

      ;define fan for duex5 (fan05)
      M950 F5 C"duex.fan5" Q500
      M106 P5 S1.0 ;fan5 always on
      

      DSC_0195.JPG

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

        Try

        M950 F5 C"duex.fan5" Q500                      ; create fan 5 on pin duex.fan5 and set its frequency
        M106 P5 S1 H-1                                 ; set fan 5 value. Thermostatic control is turned off
        

        H-1 disables thermostatic control.

        Z-Bot CoreXY Build | Thingiverse Profile

        MortenModundefined 1 Reply Last reply Reply Quote 0
        • MortenModundefined
          MortenMod @Phaedrux
          last edited by

          @Phaedrux said in Help with Fan - simple question - M106 and M950 Duex:

          H-1

          No. It still doesn't work. Any other suggestions?

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

            What happens if you send those commands in the gcode console?

            M950 F5 C"duex.fan5" Q500
            M106 P5 S1 H-1

            Do you have the fan voltage selection jumper set for 12v? Is the fan 12v?

            Z-Bot CoreXY Build | Thingiverse Profile

            MortenModundefined 1 Reply Last reply Reply Quote 0
            • MortenModundefined
              MortenMod @Phaedrux
              last edited by MortenMod

              @Phaedrux said in Help with Fan - simple question - M106 and M950 Duex:

              M106 P5 S1 H-1

              Nothing happens. It is just "accepting the command". The fan is 12 v and the jumper is set to 12v. It is weird because the fan definitely work as I tested it on the duet fan0 and here it worked perfectly with

              M950 F0 C"fan0" Q500
              M106 P0 S1 H-1

              I tried to change the jumper to another one but nothing change. I also tried fan.duex3/4/5/6/7/8 but nothing is working.

              deckingmanundefined 1 Reply Last reply Reply Quote 0
              • deckingmanundefined
                deckingman @MortenMod
                last edited by

                @MortenMod Here is a long shot. I have a feeling that PWM on the duex doesn't work, or if it does, it's at a fixed frequency. So maybe it's the "Q" value that's screwing things up. It is optional and as you want the fan to be always on, you don't need it. So try leaving the Q parameter out of your M950 and see if that makes any difference.

                Ian
                https://somei3deas.wordpress.com/
                https://www.youtube.com/@deckingman

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

                  Is the firmware recognising the DueX board? Send M115 to find out. The response should include "+ DueX5" in the electronics string.

                  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
                  • MortenModundefined
                    MortenMod
                    last edited by

                    Hi @dc42 and @deckingman. I think I figured it out. My mainboard is running 24 volt and I thought I only need to set jumper in 12v fan for running the fan in 12v but it turns out that I also need to set a jumper in so everything runs 12v. Have I understood this correct?DSC_0206.JPG

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

                      That connector is a 12V permanent output, so you could connect your always-on fan to it directly. But there is a separate 12V_EN jumper that you need to fit, just out of shot, above the top of your photo.

                      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

                      MortenModundefined 2 Replies Last reply Reply Quote 0
                      • MortenModundefined
                        MortenMod @dc42
                        last edited by

                        @dc42 Yes I already did that, but there were no jumper in the one just beneath the 12v output (my finger point). I am running 24 v on duet mainboard.

                        1 Reply Last reply Reply Quote 0
                        • MortenModundefined
                          MortenMod @dc42
                          last edited by

                          @dc42 but as said it seems to work now with a jumper in 12v for fan and a jumper in for the board. Thought I could run 24v on board and just set a jumper in 12v for fan.

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

                            The 3 pads you are pointing to in the photo are test pads for the stepper drivers, nothing to do with 12V.

                            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

                            MortenModundefined 1 Reply Last reply Reply Quote 0
                            • MortenModundefined
                              MortenMod @dc42
                              last edited by

                              @dc42 but the fan did not work until I put a jumper in the one I am pointing. I also have nema 17 12v motors connected and they did not work either but now everything work with the jumper in? Thought I knew why. Sorry if I do not understand your comment.
                              testbillede.jpg

                              deckingmanundefined 1 Reply Last reply Reply Quote 0
                              • deckingmanundefined
                                deckingman @MortenMod
                                last edited by

                                @MortenMod You are correct. According to this, that jumper is the Internal 12V enable https://duet3d.dozuki.com/Wiki/Duex_wiring_diagrams

                                Ian
                                https://somei3deas.wordpress.com/
                                https://www.youtube.com/@deckingman

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