seperate fan controll
-
on duet wifi with latest build
; Fans
M950 F0 C"fan0" Q500 ; create fan0 on pin fan0 and set its frequency
M106 P0 C"part/bridging fan" P1 S0 H-1 ; set fan0 "H-1 disables thermostatic mode" or H1 enables. ("S" parameter turns that fan on or off S0 or S1) (T45 is fan on at 45 degrees)M950 F1 C"fan1" Q500 ; create (Tool fan 1) on pin fan1 and set its frequency
M106 P1 C"tool fan" S0 H1 T45 ; set (Tool fan 1) value. Thermostatic control is turned offM950 F2 C"e1heat" Q20000 ; create fan on pin e1heat and set its frequency ( connected to Solid State relay )
M106 P2 C"Neopixels ON/OFF" S1 H-1 ;set fan 2 name and value. Thermostatic control is turned offM950 F3 C"fan2" Q20000 ; create fan2 on pin fan0 and set its frequency ( connected to Solid State relay )
M106 P3 C"Relay 2 ON/OFF" S0 H-1it shows up in webface under fan controll as separate fan sliders, named "part/bridging fan" and "tool fan".
the tool fan turns on at 45deg
when a print is started the sliders ( both) do not separate control, but control thepart/bridging fan no matte which slider is movedWhat could the issue be?
-
you assign the fans to the tool with the
M563 P0 D0 H1 F0:2 ; define tool 0
command. The F parameter assigns them and then M106 M107 controls both fans
-
The tool fan slider in DWC is a special slider that is attached to the part cooling fan of the currently selected tool. In printers with multiple tools it makes more sense. You can hide the slider if you like by clicking on change visibility.
-
@Phaedrux said in seperate fan controll:
The tool fan slider in DWC is a special slider that is attached to the part cooling fan of the currently selected tool.
so ultimately what i was trying to get going is one fan set up to thermostatically turn on for the tool head when it reaches 45 deg, the second fan can manually be turned on or automatically turned on when a bridging function happens
-
@tracar said in seperate fan controll:
M950 F1 C"fan1" Q500 ; create (Tool fan 1) on pin fan1 and set its frequency
M106 P1 C"tool fan" S0 H1 T45 ; set (Tool fan 1) value. Thermostatic control is turned offSo what you're calling the tool fan is actually the hotend heatsink fan?
As I said, DWC has a "Tool Fan" slicer already, and you've also created a fan called "tool fan", however, the one you've created is thermostatic, so it won't show up as a slider controlled fan.
In the snip of code I quoted above you should change the name to "heatsink", but tool fan has a very specific meaning already.
Does that clear up the confusion?