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

    How do I assign a new part cooling fan?

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    3
    17
    846
    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.
    • maroondsundefined
      maroonds @Phaedrux
      last edited by

      @Phaedrux Prusa Slicer

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

        I don't think PrusaSlicer/Slic3r has the option of specifying a fan number, but you could use a post processing script to replace M160 with M106 P2, or open the gcode file in a text editor and do a find and replace.

        https://manual.slic3r.org/advanced/post-processing
        https://github.com/slic3r/Slic3r/wiki/Writing-post-processing-scripts
        https://reprap.org/forum/read.php?263,847419

        Or if that just seems far too complicated, you could just change your fan configuration to use F0 instead of F2

        M950 F0 C"fan2" Q500
        M106 P0 I0 C"5015" S0 H-1
        M563 P0 D0 H1 F0
        

        I think that should allow M106 commands without a P# to work.

        Z-Bot CoreXY Build | Thingiverse Profile

        maroondsundefined 1 Reply Last reply Reply Quote 0
        • maroondsundefined
          maroonds @Phaedrux
          last edited by

          @Phaedrux I accidentally shorted my F0 port. That's why I'm having these issues in the first place. Thanks anyways:)

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

            No no. It doesn't change the physical fan port. Just the fan number you're assigning to it.

            C"fan2" refers to the port you're using. F0 makes it the default fan.

            Z-Bot CoreXY Build | Thingiverse Profile

            maroondsundefined 1 Reply Last reply Reply Quote 0
            • maroondsundefined
              maroonds @Phaedrux
              last edited by

              @Phaedrux Are you sure? Because I updated my config to:
              ; Fans
              M950 F3 C"e1heat"
              M106 P3 H1 T35 S1
              M950 F0 C"fan2" Q500
              M106 P0 I0 C"5015" S0 H-1

              ; Tools
              M563 P0 D0 H1 F0
              And the fan still only activates when I type: M106 P2 S255

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

                @maroonds said in How do I assign a new part cooling fan?:

                Are you sure?

                No, but I really thought that should work.

                What firmware version are you using? Can you post your full config?

                Z-Bot CoreXY Build | Thingiverse Profile

                maroondsundefined 1 Reply Last reply Reply Quote 1
                • maroondsundefined
                  maroonds @Phaedrux
                  last edited by

                  @Phaedrux Here's my config: https://pastebin.com/ePVM5nhm
                  I'm on the latest RR3 firmware.

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

                    @maroonds said in How do I assign a new part cooling fan?:

                    I'm on the latest RR3 firmware.

                    Which version specifically?

                    Z-Bot CoreXY Build | Thingiverse Profile

                    maroondsundefined 1 Reply Last reply Reply Quote 0
                    • maroondsundefined
                      maroonds @Phaedrux
                      last edited by

                      @Phaedrux Board: Duet Maestro 1.0
                      Firmware: RepRapFirmware for Duet 2 Maestro 3.0 (2020-01-03b3)

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

                        In RRF 3.0 for the Maestro, fans 0, 1 and 2 are pre-allocated to "fan0", "fan1" and "fan2". So if you want to use different assignments such as:

                        M950 F0 C"fan2" Q500

                        then you need to remove the existing assignment to "fan2" by doing this first:

                        M950 F2 C"nil"

                        In RRF 3.01 the default fan assignments have been removed,

                        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

                        maroondsundefined 1 Reply Last reply Reply Quote 1
                        • maroondsundefined
                          maroonds @dc42
                          last edited by

                          @dc42 said in How do I assign a new part cooling fan?:

                          nil

                          Like this? ; Fans
                          M950 F3 C"e1heat"
                          M106 P3 H1 T35 S1
                          M950 F2 C"nil" Q500
                          M106 P2 I0 C"5015" S0 H-1

                          ; Tools
                          M563 P0 D0 H1 F0
                          It's still not working.. I tried upgrading my firmware but I get this error: M997 S0
                          Error: In-application programming binary "DuetMaestroIAP.bin" not found

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

                            @maroonds said in How do I assign a new part cooling fan?:

                            @dc42 said in How do I assign a new part cooling fan?:

                            nil

                            Like this? ; Fans
                            M950 F3 C"e1heat"
                            M106 P3 H1 T35 S1
                            M950 F2 C"nil" Q500
                            M106 P2 I0 C"5015" S0 H-1

                            No, you need to use M950 F2 C"nil" (to free up pin "fan2") and then M950 F0 C"fan2" Q500. Then you can use M106 P0 I0 C"5015" S0 H-1.

                            ; Tools
                            M563 P0 D0 H1 F0
                            It's still not working.. I tried upgrading my firmware but I get this error: M997 S0
                            Error: In-application programming binary "DuetMaestroIAP.bin" not found

                            You will find that file in the 3.0 release page on github.

                            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

                            maroondsundefined 1 Reply Last reply Reply Quote 2
                            • maroondsundefined
                              maroonds @dc42
                              last edited by

                              @dc42 said in How do I assign a new part cooling fan?:

                              M106 P0 I0 C"5015" S0 H-1

                              Now it's working, thanks!

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