Parts Fan Allocation
-
Hi all, I have a small issue that I'm hoping is a quick fix. My fan0 on my duet WIFI 2 is not working(no problem its toast) and i have connected my parts cooling fan to fan1. My g code is messed up as it only works as a hot end tool fan. Comes on as soon as the hot end heats up. The actual hot end fan is connected to a 24 v source an is always on already. The fan control on the screen has no effect on the fan speed. my g-code must be messed up, not sure if i have too free up the default F0 first?? the related g-code I have is below. All i would like is to have the parts cooling fan controlled by the screen fan and working on fan1 pin.
Please help this ignorant brain. Thanks.M950 F0 C"fan0" Q500 ;new settings ; create fan 0 on pin fan0 and set its frequency
M106 P0 S0 H-1 ;new settings ; set fan 0 value. Thermostatic control is turned off
M950 F1 C"fan1" Q500 ; create fan 1 on pin fan1 and set its frequency
M106 P1 H1 T45 ; set fan 1 value. Thermostatic control is turned on
M563 P0 S"Mosquito" D0 H1 F0 ; define tool 0
G10 P0 X0 Y0 Z0 ; set tool 0 axis offsets
G10 P0 R0 S0 -
@PeterA If you only have one fan (the other being always on and connected directly to 24V), and it's a part cooling fan that you want to control (ie not thermostatic) and it is connected to fan1, then try:
M950 F0 C"fan1" Q500 ; create fan 0 on pin fan1 and set its frequency M106 P0 S0 H-1 ; set fan 0 value. Thermostatic control is turned off M563 P0 S"Mosquito" D0 H1 F0; define tool 0 G10 P0 X0 Y0 Z0 ; set tool 0 axis offsets G10 P0 R0 S0
F0 (Fan 0) is the only one specified in config.g. It is connected to the 'fan1' pins. It is set as not thermostatically controlled. The tool settings are unchanged, with Fan 0 mapped to the tool in M563 (thermostatically controlled fans should not be mapped to tools).
For more info see https://docs.duet3d.com/User_manual/Connecting_hardware/Fans_connecting
Ian
-
You're a Legend, works like a charm. Thank you so much, it seems simple enough when you see it but I was trying all the wrong way. Much appreciated.
-
-