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

    Fan0 wont turn off.

    Scheduled Pinned Locked Moved
    General Discussion
    3
    19
    1.3k
    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.
    • Phaedruxundefined
      Phaedrux Moderator
      last edited by

      Well Fan0 is typically used as the part cooling fan and is Gcode controlled with M106 commands by the slicer. The DWC slider can control it as well, and you can pin it to a set speed to override whatever the slicer has set.

      Your config.g should have something like this:
      M106 P0 S0 H-1 C"Part Cooling" ; Set fan 0 (Part cooling blower) G-code controlled. Thermostatic control is turned off

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

      If it's still running all the time and the DWC slider can't control it, then I'm not sure what could be wrong.

      Z-Bot CoreXY Build | Thingiverse Profile

      1 Reply Last reply Reply Quote 0
      • JKaechlerundefined
        JKaechler
        last edited by JKaechler

        Oh, interesting side fact.
        Fan0 is still running, but only at a fraction of its speed. This whole time i didnt realize that it was turning well below top speed. when i hook it to Fan1 it revs up all the way (assuming the temp is up).
        I tried something else based on a tip that DC42 gave somebody else, that is to remove all the M106 commands from the config.g

        still running!
        and Fan1 still kicks on at 45 degrees like it should.

        This is weird

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

          If you send M106 P0 to the console, what does it send back?

          Z-Bot CoreXY Build | Thingiverse Profile

          1 Reply Last reply Reply Quote 0
          • JKaechlerundefined
            JKaechler
            last edited by

            my output from the M106 P0 command:
            Fan 0 pin: F0; frequency 250hz; speed: 0%; min: 10%; max: 100%; blip: 0.10; inverted: no

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

              Well if the min speed is set to 10% that would explain why it won't turn off.

              Are you using the M106 command I posted above? Do you have another M106 P0 command in config.g or elsewhere that would be overriding it?

              Z-Bot CoreXY Build | Thingiverse Profile

              1 Reply Last reply Reply Quote 0
              • JKaechlerundefined
                JKaechler
                last edited by

                So I am trolling thru these files looking for a stray M106 command. What is the priority of the code being executed? what files get run first, or which ones supercede others?

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

                  gcodes are purely sequencial, so whatever was executed last gets applied and stays applied until a new command is sent to replace it.

                  Config.g gets run at startup. If you have M501 at the end of config.g it will then load config-override.g. Which acts kind of like EEPROM on 8-bit boards.

                  Then any macro that gets called. Like the homing files, or bed.g, start.g, stop.g, pause.g, cancel.g, etc.

                  Can you post the M106 P0 command you have in config.g and the result of sending M106 P0 in the console right after a startup. They should correspond.

                  Z-Bot CoreXY Build | Thingiverse Profile

                  1 Reply Last reply Reply Quote 0
                  • JKaechlerundefined
                    JKaechler
                    last edited by

                    I dont have an M106 command in my config.g They are all removed at this point.

                    the output from the M106 P0 command is:
                    1:17:55 PMM106 P0
                    Fan 0 pin: F0, frequency: 250Hz, speed: 0%, min: 10%, max: 100%, blip: 0.10, inverted: no

                    I have been looking for an M106 that i missed. I have not found it yet.

                    Phaedruxundefined dc42undefined 2 Replies Last reply Reply Quote 0
                    • Phaedruxundefined
                      Phaedrux Moderator @JKaechler
                      last edited by

                      @jkaechler add the m106 command I posted above to your config and try again.

                      Z-Bot CoreXY Build | Thingiverse Profile

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

                        @jkaechler said in Fan0 wont turn off.:

                        I dont have an M106 command in my config.g They are all removed at this point.

                        the output from the M106 P0 command is:
                        1:17:55 PMM106 P0
                        Fan 0 pin: F0, frequency: 250Hz, speed: 0%, min: 10%, max: 100%, blip: 0.10, inverted: no

                        I have been looking for an M106 that i missed. I have not found it yet.

                        If Fan0 was running when M106 P0 returned that message, then I suspect that the Fan0 mosfet on your board is blown.

                        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

                        JKaechlerundefined 1 Reply Last reply Reply Quote 0
                        • JKaechlerundefined
                          JKaechler @dc42
                          last edited by

                          @dc42

                          Thats a bummer. This board has been in a mounted in a project on hold for a few months, not in use but also way past a warranty exchange.

                          So, can I reprogram things to use the Fan2 output for the parts fan? I bet there is a guide on how to do that somewhere. I will start searching.

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

                            @jkaechler https://duet3d.dozuki.com/Wiki/Connecting_and_configuring_fans

                            You've got a few options.

                            Z-Bot CoreXY Build | Thingiverse Profile

                            1 Reply Last reply Reply Quote 0
                            • JKaechlerundefined
                              JKaechler
                              last edited by

                              Just for grins, i moved my part fan to the Fan2 header. its off. when i send M106 P2 i get:

                              Fan 2 pin: F2, frequency: 250Hz, speed: 0%, min: 10%, max: 100%, blip: 0.10, inverted: no

                              When i send M106 P2 S255, i happily spins up to full speed.
                              When i send M106 P2 S0, it comes to a full stop.

                              This is the expected behavior, and probably also a confirmation of what dc42 says about a blown mosfet. =(

                              Thats not something that can be fixed by the end user is it?
                              I bought my Duet Wifi from Filastruder quite some time ago.

                              I just need to tell my slicer that Fan2 is the part fan and i should be fine.

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

                                You can also use the F2 parameter in your M563 tool definition command to tell the firmware that the print cooling fan is fan 2 when that tool is selected.

                                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