Part cooling fan not working
-
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.
-
you're missing an M950 command.
For reference, here is one of my fan setupsM950 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 -
Thanks for the info. Do I have to have an M950 command even if I am using the PWM FAN0 pins?
-
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.
-
@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.