Duet3D Logo

    Duet3D

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Documentation
    • Order

    A single fan appears twice in DWC?

    Duet Web Control wishlist
    5
    15
    268
    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.
    • zapta
      zapta last edited by

      My material cooling fan seems to appear twice in the DWC dashboard, once as TOOL FAN and once as MATERIAL FAN. Any idea why?

      This is the Material fan's configuration in config.h. As far as I can tell, I don't have a definition of a 'tool' fan.

      Moving the value slider of one affects the value of the other one and vice versa, acting as two aliases for the same fan.

      M950 F0 C"out5" Q25
      M106 P0 S0 H-1 C"Material Fan"
      

      5cd069ab-90bd-4dee-91d5-d349d37cb3f5-image.png

      jens55 1 Reply Last reply Reply Quote 0
      • jens55
        jens55 @zapta last edited by

        @zapta, I believe the 'tool fan' is a substitute for ' the print cooling fan of the currently selected tool'. You can remove that by going to the status page in DWC, look in the 'fans section and selecting 'change visibility'.
        The tool fan allows for one fan entry when you have multiple tools and you don't want to bother displaying all the various fans.

        zapta 1 Reply Last reply Reply Quote 0
        • zapta
          zapta @jens55 last edited by

          Thanks @jens55, that explains it.

          I went to the Status page and found this

          16827d1d-d716-4eae-b8b1-0b3e5008721f-image.png

          Then I turned off the visibility of Tool Fan

          8d3e47bd-0057-45fc-9ffc-54ae66251eba-image.png

          Went to the dashboard, reloaded the page and still see the tool fan

          46e29689-d48b-4125-a7b7-416149bf0a92-image.png

          o_lampe 1 Reply Last reply Reply Quote 0
          • o_lampe
            o_lampe @zapta last edited by o_lampe

            @zapta I guess the tool fan is there by default. Maybe if you undefine it with "M106 P0 S-1" or "M950 F0 C"nil" and then define your material fan, it disappears.

            zapta 1 Reply Last reply Reply Quote 0
            • jens55
              jens55 last edited by

              I had forgotten about this little tidbit but ... yes, the visibility selection only applies to that fan window and not the area where you want it to disappear. I was told before that this is the way it is. No idea if it is a feature or a bug that just hasn't made it up to the top of the to-do list.

              Sorry ....

              1 Reply Last reply Reply Quote 0
              • zapta
                zapta @o_lampe last edited by

                @o_lampe said in A single fan appears twice in DWC?:

                "M950 F0 C"nil"

                Thanks for the suggestion, I played tried it but then realized that I do have a definition of a third fan for the electronic bay. I tried to clean up the fans code but it's still strange. This is what I have now

                ; Material fan.
                M950 F0 C"out5" Q25                
                M106 P0 S0 H-1 C"Material Fan"   
                
                ; Heatshink fan. Thermostatically controlled.                
                M950 F1 C"out6" Q250                
                M106 P1 S255 H1 T50 C"Heatsink Fan"	; set hot-end fan at 255/255 rate 
                
                ; Electronic bay fan.
                M950 F2 C"!out3+out3.tach" F25000
                M106 P2 S255 C"Bay Fan"
                

                And this is what I see in the DWC status (notice that there is no 'heatshink fan')

                6bd81701-6ba5-434c-a0f8-ee9626121b14-image.png

                And the strangest of all, the tool fan and material fan sliders are linked internally such that when I move one, the other moves as well.

                I also have this fan related code in daemon.g but I don't see how it can be related and commenting it out doesn't change anything.

                if {heat.heaters[1].current > 70 && fans[0].actualValue < 0.2}
                  M106 P0 S0.2
                elif {heat.heaters[1].current < 50}
                  M106 P0 S0.0
                
                T3P3Tony 1 Reply Last reply Reply Quote 0
                • T3P3Tony
                  T3P3Tony administrators @zapta last edited by T3P3Tony

                  @zapta thermostatically controlled fans wont show up in DWC as they can't be controlled manually - they are under the control of the temperature they are associated with.

                  Material Fan = Tool fan. So if you had a multiple tool printer you may hide all the Tool1Material Fan, Tool2 Material Fan etc and then just display the fan of the currently active tool.

                  www.duet3d.com

                  zapta 1 Reply Last reply Reply Quote 0
                  • zapta
                    zapta @T3P3Tony last edited by

                    Thanks @t3p3tony, I think I understand now what's going on. Actually there are two issues.

                    1. The heatsink fan is not shown at all and your post explains why.

                    2. It seems that my tool definition command that follows the fan commands I posted earlier added a second fan 0 definition (why? Looks like a bug):

                    M563 P0  D0 H1 F0   
                    

                    Replacing it with the command below eliminated the definition of a second fan 0

                    M563 P0  D0 H1  
                    

                    I think it's all OK though it would be nice to have the heatsink fan also listed in DWC with the other fan (even if it's read only).

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

                      @zapta The idea is that the fan is associated with the tool by M563, that's so that no matter which tool is selected M106 will control the currently selected fan.

                      It would be normal that you would set the visibility of the individual tool fans off in DWC, and just have the currently selected fan visible.

                      www.duet3d.com

                      zapta 1 Reply Last reply Reply Quote 0
                      • zapta
                        zapta @T3P3Tony last edited by

                        Thanks @t3p3tony, that explains it and I think I understand now what was going on. The fan that I did define (heatsink) was not displayed and the fan that I didn't define (TOOL FAN) was displayed. 😉

                        From user's perspective this is confusing, especially for single tool users like myself. If it helps, here are a few suggestions for streamlining the fans UI:

                        1. Rename TOOL FAN to SELECTED TOOL FAN, or something like this, to indicate that it's an alias, not a real fan.

                        2. By default, don't show or mention TOOL FAN when using a single tool machine (can even be done by RRF, create the TOOL FAN alias only if there is more than one tool defined). This will also make the UI consistent with Panel Due that doesn't show TOO FAN.

                        3. Display thermostatic fans as well, if needed in read-only mode (e.g. can't change slider position). From user's perspective they are fans and they have current speed.

                        4. Allow to hide any fan (currently the TOOL FAN can be hidden, see my posts above).

                        BTW, I wonder if you know or have a guess, what percentage of Deuts are used with a single tool and what percentage with multiple tools?

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

                          @zapta thanks for the feedback all good points. I will move this thread to the DWC wishlist to see what elements can be incorporated in the future.

                          www.duet3d.com

                          1 Reply Last reply Reply Quote 0
                          • deckingman
                            deckingman last edited by

                            Please don't add non-controllable fans to DWC. Or if you do, please make sure that it is possible to hide them. IMO, DWC is already too cluttered - try using a mixing hot end with 11 tools defined and you'll see what I mean.

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

                            zapta 1 Reply Last reply Reply Quote 1
                            • zapta
                              zapta @deckingman last edited by

                              @deckingman said in A single fan appears twice in DWC?:

                              please make sure that it is possible to hide them

                              That's #4 on my proposed list. 😉

                              Hide them in the status page and in the dashboard page (currently impossible).

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

                                @zapta said in A single fan appears twice in DWC?:

                                @deckingman said in A single fan appears twice in DWC?:

                                please make sure that it is possible to hide them

                                That's #4 on my proposed list. 😉

                                Hide them in the status page and in the dashboard page (currently impossible).

                                I know it was on your list - I do read posts before I reply.

                                The extract you chose to take from my post was more concerned by your #3 where you want non-controllable thermostatic fans to be added to the existing clutter of DWC. There is clue in the name (Duet Web Control). 🙂

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

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

                                  @deckingman said in A single fan appears twice in DWC?:

                                  There is clue in the name (Duet Web Control).

                                  The fans are displayed in the Status page.

                                  😉

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