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

    How do I configure my default fan?

    Scheduled Pinned Locked Moved
    Tuning and tweaking
    4
    25
    981
    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.
    • droftartsundefined
      droftarts administrators @maroonds
      last edited by

      @maroonds From your config.g:

      ; Fans
      M106 P0 A22 H-1 S1
      M106 P3 A2 H-1 S1
      
      ; Tools
      M563 P0 D0 H1 F0 ; define tool 0
      

      You haven't disabled Heater 1, as @dc42 suggested, with:
      M307 H2 A-1 C-1 D-1 ; disable heater 2

      Also, your tool is using F0, which is the part cooling fan.
      For the hot end fan, you don't need to specify it in the tool, as it's going to be set to thermostatically watch Heater 1 anyway. As you don't have any other fans, you may as well call this 'Fan1' or P1. So, change your config.g to:

      ; Fans
      M106 P0 A22 H-1 S0
      M307 H2 A-1 C-1 D-1 ; disable heater 2
      M106 P1 A2 H1 T45
      
      ; Tools
      M563 P0 D0 H1 ; define tool 0
      

      Fans that are linked to tools won't show up in DWC until the tool is active. Fans that are thermostatic won't show up at all. Fan visibility can be turned on and off in the 'Current Job > Status' page; click on 'change visibility' in Fans section.

      Is there any reason you're not using the other PWM fan pins?

      Ian

      Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

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

        I had to change my pwm ports because I shorted the ones I was previously using.
        Btw. I tried it with your adjustments but my hotend fan is still not turning on when my heater reaches 50 degrees.

        droftartsundefined 1 Reply Last reply Reply Quote 0
        • droftartsundefined
          droftarts administrators @maroonds
          last edited by

          @maroonds You made the changes to config.g, saved it, then reset the Duet? Run M98 P"config.g" and see if it generates any errors.

          What happens if you send:
          M307 H2 A-1 C-1 D-1
          M106 P1 A2 H-1 S1

          Ian

          Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

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

            @droftarts It doesn't create any errors and after I pasted the other commands nothing happens and the fan still doesn't turn on at 50 C

            droftartsundefined 1 Reply Last reply Reply Quote 0
            • droftartsundefined
              droftarts administrators @maroonds
              last edited by

              @maroonds Can you post a picture of your board showing wiring? How are you connecting the fan to E1 HEATER, on the pins or screw terminals? Have you checked polarity?

              The command from my previous post, M106 P1 A2 H-1 S1, should turn it on full speed straight away, to test. To be thermostatic controlled, needs to be M106 P1 A2 H1 T50. But it needs to be working with the first M106 command, before setting it to thermostatic control. See gcode dictionary to understand the settings: https://duet3d.dozuki.com/Wiki/Gcode#Section_M106_Fan_On

              Ian

              Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

              maroondsundefined 2 Replies Last reply Reply Quote 0
              • maroondsundefined
                maroonds @droftarts
                last edited by

                @droftarts said in How do I configure my default fan?:

                M106 P1 A2 H-1 S1

                Screw terminals. I checked the voltages with a multimeter and it has around 0.5V with this command sent: M106 P1 A2 H-1 S1
                And yes the polarity is right

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

                  @droftarts This was my setup on RRF3 (now I'm on 2.05.1):
                  ; Fans
                  M950 F3 C"e1heat"
                  M106 P3 H1 T35 S1
                  M950 F2 C"nil"
                  M950 F0 C"fan2" Q500
                  M106 P0 I0 C"5015" S0 H-1

                  droftartsundefined 1 Reply Last reply Reply Quote 0
                  • droftartsundefined
                    droftarts administrators @maroonds
                    last edited by

                    @maroonds try S255 . Any reason you rolled back from RRF3? Where the fans not working? Setting the part cooling fan with P0 and not thermostatic or bound to a tool should put it under slicer or manual control.

                    As this is a Maestro, I’m not sure if pin A2 is correct for Heater 1. It should be. @dc42 ?

                    Ian

                    Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

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

                      @droftarts I don't know what I did wrong yesterday, but now it's working.
                      At least this command: M106 P2 A2 H-1 s255
                      But how can I make it thermostatic controllable?
                      This is my current setup:
                      M106 P0 A22 H-1 S1 ; Part cooling fan
                      M106 P3 A2 H1 T45 ; Hotend fan
                      M307 H2 A-1 C-1 D-1 ; Disables H2

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

                        @maroonds said in How do I configure my default fan?:

                        M106 P0 A22 H-1 S1 ; Part cooling fan
                        M106 P3 A2 H1 T45 ; Hotend fan
                        M307 H2 A-1 C-1 D-1 ; Disables H2

                        The M307 command must come before the M106 P3 A2 command.

                        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

                          Now everything is working! Thanks @droftarts @dc42

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