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

    Part cooling fan not working

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    3
    5
    271
    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.
    • Mbppgundefined
      Mbppg
      last edited by

      So my part cooling fan that was working, stopped. After searching through the forums, I have not found my. My first thought was that I blew the MOSFET because I ran the M106 P0 S1 H-1 commend and my fan would not run, the fan, fuse and wire trace were good etc. I kept getting a no fans connected. So after replacing the MOSFET and retesting I thought the board was bad.

      But not sure but I tried something. I reverted the firmware from my current 3.1.1 and went back to 3.0.0. And the fan worked. I ran the M106 commend and the fan was running, the slider showed back up in the web page and fan working correctly. I went back to 3.1.1 after downing the web to make sure I did not have a corrupted fileset and ran into the same issue. Upgraded and part cooling fan no longer is recognized. Rolled back to 3.0.0.
      Now at one time using 3.1.1 it did work and I did not change the config file but now I cannot for the life of me get the fan to work with 3.1.1. Below is my fan config file:

      code_text
      ```; Fans
      M106 P0 S0  ;I0-F500 H1 T45        
      ;M106 P1 S0 ;I0 F500 H2 T45      
      ;M106 P2 S0 ;I0 F500 H2 T45   	 
      
      ; Tools
      M563 P0 D0 H1  ; Define tool 0
      G10 P0 X0 Y0 Z0    ; Set tool 0 axis offsets
      G10 P0 R0 S0    ; Set initial tool 0 active and standby temperatures to 0C ```
      

      So I know I can run with the 3.0.0 code but hoping someone can help me with running the latest stable firmware.

      1 Reply Last reply Reply Quote 0
      • jay_s_ukundefined
        jay_s_uk
        last edited by

        you're missing an M950 command.
        For reference, here is one of my fan setups

        M950 F2 C"1.out7" Q500                    						; Create fan 0 on pin out3 and set its frequency
        M106 P2 S0 H-1                          						; Set fan 0 value. Thermostatic control is turned off
        

        see here
        https://duet3d.dozuki.com/Wiki/Gcode#Section_M950_Create_heater_fan_or_GPIO_servo_pin

        Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

        1 Reply Last reply Reply Quote 0
        • Mbppgundefined
          Mbppg
          last edited by

          Thanks for the info. Do I have to have an M950 command even if I am using the PWM FAN0 pins?

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

            Yes, every pin must be defined with an M950. This was a major change between 3.0 and 3.1. 3.0 still allowed for some default pins, but in order to be consistent and allow for any and all pins to be defined, that changed.

            https://duet3d.dozuki.com/Wiki/RepRapFirmware_3_overview#Section_M950_Create_heater_fan_or_GPIO_servo_port

            Z-Bot CoreXY Build | Thingiverse Profile

            1 Reply Last reply Reply Quote 0
            • Mbppgundefined
              Mbppg
              last edited by

              @jay_s_uk said in Part cooling fan not working:

              M950 F2 C"1.out7" Q500

              Thanks so much guys!!! I added "M950 F0 C"fan0" Q500" and now my fan is working again. guess I need to read the release notes better, instead of just upgrading the firmware.

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