Fan control not working
-
I checked and connected my fan:
Fan 0: component fan
Fan 1: cooler
Fan 2: Hotend fan
Fans 1 and 2 should be thermostatic and fan 0 adjustable.
Fan 1 is now running from the beginning.
Fan 2 turns on when the temperature is reached (super)
Fan 0 is not displayed and cannot be activated or controlled.
Attached is my G: code
Where's the mistake?Here is the config-g part of my Duet2 Wifi
I am using Duet Web Control 3.4.1; Heaters
;M308 S0 P"e0temp" Y"thermistor" T100000 B4138 ; configure sensor 0 as thermistor on pin e1temp
;M950 H0 C"e0heat" T1 ; create nozzle heater output on e1heat and map it to sensor 0
;M307 H0 R1.797 K0.742:0.000 D7.57 E1.35 S1.00 B0 V23.8 ; disable bang-bang mode for heater and set PWM limit
;M143 H0 S250 ; set temperature limit for heater 0 to 250C
M308 S1 P"e1temp" Y"thermistor" T100000 B4138 ; configure sensor 1 as thermistor on pin e0temp
M950 H1 C"e1heat" T1 ; create nozzle heater output on e0heat and map it to sensor 1
M307 H1 R1.797 K0.742:0.000 D7.57 E1.35 S1.00 B0 V23.8 ; disable bang-bang mode for heater and set PWM limit
M143 H1 S250 ; set temperature limit for heater 1 to 250C
M308 S2 P"bedtemp" Y"thermistor" T100000 B4138 ; configure sensor 2 as thermistor on pin bedtemp
M950 H2 C"bedheat" T2 ; create bed heater output on bedheat and map it to sensor 2
M307 H2 R0.283 K0.463:0.000 D7.17 E1.35 S1.00 B0 ; enable bang-bang mode for the bed heater and set PWM limit
M140 H2 ; map heated bed to heater 2
M143 H2 S280 ; set temperature limit for heater 2 to 280C; Fans
M950 F0 C"fan0" Q500 ; create fan 0 on pin fan0 and set its frequency (Bauteilluefter/Tangential)
M106 P0 S0 H-1 ; set fan 0 value. Thermostatic control is toffM950 F1 C"fan1" Q500 ; create fan 1 on pin fan1 and set its frequency (Hotend)
M106 P1 S1 H1 T45 ; set fan 1 value. Thermostatic control is turned onM950 F2 C"fan2" Q500 ; create fan 2 on pin fan2 and set its frequency (Schlitten)
M106 P2 S1 H1 T45 ; set fan 1 value. Thermostatic control is turned on; Tools
;M563 P0 D0 H0 F0 ; 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
M563 P1 D1 H1 F0 ; define tool 1
G10 P1 X45 Y45 Z0 ; set tool 1 axis offsets
G10 P1 R0 S1 ; set initial tool 1 active and standby temperatures to 0C
M591 D1 P1 C"e1-stop" S1 ;R40:120 E3.0 S0 ; Filament Sensor
M591 D1 ; display filament sensor parameter for extruder drive 1 Don
M568 P1 R120 S0 ; Custom settings are not defined Temperaturgrundeinstellung von -273 auf 0 Grad; Miscellaneous
M501
M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set voltage thresholds and actions to run on power loss -
@axiom said in Fan control not working:
Fan 0: component fan
Fan 1: cooler
Fan 2: Hotend fanWhat is the actual role for each of those fans?
Right now you have Fan0 defined as a gcode controlled fan that would be controlled by the slicer.
Fan1 and Fan2 are thermostatically controlled based on the nozzle temp.
@axiom said in Fan control not working:
Fan 1 is now running from the beginning.
The beginning of what? Are you sure you have it wired correctly? It should behave the same as Fan2 and turn on when the nozzle is at 45c.
@axiom said in Fan control not working:
Fan 0 is not displayed and cannot be activated or controlled.
Displayed where?
-
@Phaedrux I managed the settings with the help of the config tool...it was due to the tool definition. However, the control for my fan 1 on the board no longer seems controllable. Can I connect 2 fans in parallel to one slot (solder cables) or will the board be overloaded at this point (both fans 24 volts)?
-
@axiom said in Fan control not working:
However, the control for my fan 1 on the board no longer seems controllable.
Have you changed your config from what you posted above? The way it's configured above it can't be controlled manually, since it is controlled by temperature.
-
@Phaedrux Yes, I changed it, but I think my output for Fan1 on the board doesn't work...it can't be regulated, it brings constant power. Now I've soldered both thermostatic fans together (y-shape) and control them via one output.
Here are my changes:; Fans
M950 F0 C"fan0" Q600 ; create fan 0 on pin fan0 and set its frequency
M106 P0 S0 H-1 ; set fan 0 value. Thermostatic control is turned off
M950 F1 C"fan1" Q700 ; create fan 1 on pin fan1 and set its frequency
M106 P1 S1 H1 T60 ; set fan 1 value. Thermostatic control is turned on
M950 F2 C"fan2" Q500 ; create fan 2 on pin fan2 and set its frequency
M106 P2 S1 H1 T50 ; set fan 2 value. Thermostatic control is turned on; Tools
;M563 P1 S"Druckkopf 1" H1 F0 ; define tool 1
M563 P0 D0 H1 F0 ; define tool 1
G10 P0 X0 Y0 Z0 ; set tool 1 axis offsets
G10 P0 R0 S0 ; set initial tool 1 active and standby temperatures to 0C
M591 D0 P1 C"e1-stop" S0 ;R40:120 E3.0 S1 Filament Sensor
; Custom settings are not defined
M501 -
It's possible the mosfet has failed in the on position which is preventing it from being switched.
Have you tested the fan on fan1 in a different port?
Was it ever successfully controlled in the past?
Have you tried a different fan on the fan1 port?