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

    Number of fans limited by firmware?

    Scheduled Pinned Locked Moved
    General Discussion
    7
    15
    617
    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.
    • TechNiundefined
      TechNi
      last edited by TechNi

      With the new Duet 3, you can add basically infinite expansion boards. There's probably a limit somewhere but currently it seems like it's being dictated by the firmware and not the hardware?

      I have LEDs on my printer which are seen by the firmware as "fans". I have the problem that I am running out of numbers. Apparently 16 fans are already too much as I am getting the following error:

      M950: parameter 'F' too high
      

      I can't define M950 F16 or F17 but I need two more fans. And I have plenty of free sockets thanks to the expansion boards. But the firmware seems to limit this. Is there any workaround or update coming to solve this matter?

      peter247undefined dc42undefined 2 Replies Last reply Reply Quote 0
      • peter247undefined
        peter247 @TechNi
        last edited by

        @techni Why don't you use Neopixels leds where you can have 60 or more with just 1 pin.

        Ender 5 plus linear rail and hemera powered by duet 2 wifi , CR10s pro v1 with bltouch mostly stock , BLV mgn Cube slowly being built powered by duet 3 mini 5+

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

          Maybe create it as a switchable IO pin instead and use M42 to control them?

          https://duet3d.dozuki.com/Wiki/Using_servos_and_controlling_unused_IO_pins

          M950 P instead of F

          Z-Bot CoreXY Build | Thingiverse Profile

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

            @techni these are the current limits for Duet 3 systems:

            // Limits of Duet 3 systems
            constexpr size_t MaxSensors = 56;						// limited by the size of bitmap we can store in an ExpressionValue
            constexpr size_t MaxHeaters = 32;
            constexpr size_t MaxMonitorsPerHeater = 3;
            
            constexpr size_t MaxZProbes = 4;
            constexpr size_t MaxZProbeProgramBytes = 8;				// maximum number of bytes in a Z probe program
            
            constexpr size_t MaxFans = 16;
            
            constexpr size_t MaxGpOutPorts = 32;					// increased as requested by Jimmykc
            
            // The following currently don't need to be known by expansion boards, but might in future
            constexpr size_t MaxGpInPorts = 16;
            constexpr size_t MaxSpindles = 2;						// maximum number of configurable spindles
            

            I can increase MaxFans in the next 3.4beta.

            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

            TechNiundefined 2 Replies Last reply Reply Quote 0
            • TechNiundefined
              TechNi @dc42
              last edited by TechNi

              @dc42 said in Number of fans limited by firmware?:

              I can increase MaxFans in the next 3.4beta.

              That would be cool! I guess there's a good reason for these limitations but I am sure the Duet can handle this.

              @peter247 Neopixels are kinda expensive compared to "normal" LED strips and I'd like to be flexible.

              @Phaedrux Did not know you could do that, thanks!

              1 Reply Last reply Reply Quote 0
              • TechNiundefined
                TechNi @dc42
                last edited by

                @dc42 Hey dc42, I know minor issues like this are not exactly a priority on your list but any chance that this is now fixed in the new RRF 3.4.0 beta 2? I did not find anything in the changelog. Would greatly appreciate this small fix. Thanks!

                botundefined dc42undefined 2 Replies Last reply Reply Quote 0
                • botundefined
                  bot @TechNi
                  last edited by

                  @techni see if you can follow the build instructions, and modify the value yourself and compile. It shouldn't be too hard.

                  *not actually a robot

                  1 Reply Last reply Reply Quote 0
                  • kb58undefined
                    kb58
                    last edited by

                    If any of these fans are turned on and off at the same time, just wire them in parallel, first checking of course that the driver can handle the total current.

                    Scratch-built 350mmx350mm coreXY, linear rails, ballscrews, 3 Z axis, Duet3 6HC, v3.3, Tool Board v1.1, BondTech LGX + Mosquito hot end

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

                      @techni I will increase the maximum number of fans to 20 in the next beta.

                      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
                      • TechNiundefined
                        TechNi
                        last edited by

                        @dc42 Morning, was this finally solved in RRF 3.4b3?

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

                          @techni said in Number of fans limited by firmware?:

                          @dc42 Morning, was this finally solved in RRF 3.4b3?

                          Yes, I increased the maximum to 20.

                          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

                          TechNiundefined 1 Reply Last reply Reply Quote 0
                          • TechNiundefined
                            TechNi @dc42
                            last edited by

                            @dc42 Many thanks!

                            1 Reply Last reply Reply Quote 0
                            • TimMaceyundefined
                              TimMacey
                              last edited by

                              I have an application that needs 24 fans. Is there a means to do this? I'm running a 6HC MB with 7x 3HC extension boards.

                              dc42undefined 2 Replies Last reply Reply Quote 0
                              • dc42undefined
                                dc42 administrators @TimMacey
                                last edited by

                                @timmacey currently (using RRF 3.4) you could only be able to control 20 at once as fans, but you could configure the remaining 4 as GpOut pins and control them using M42. I can increase the maximum number of fans in RRF 3.5.

                                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
                                • dc42undefined
                                  dc42 administrators @TimMacey
                                  last edited by

                                  @TimMacey the maximum number of fans was increased to 32 in RRF 3.5.

                                  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