Wrong FAN configuration on ressurect.g
-
Hello,
I am testing the power failure recovery and it seems to be working well, except by the FANs configuration after calling
resurrect-prologue.g
. As you can see in the code below, onressurect-prologue.g
it is settingM106 P1 S0.00
. However, P1 is the fan for the heatbreak, which is configured asM106 P1 H1 T45 C"Fan Extruder"
. This way, the print is restarted with the heatbreak off.Relevant content from
config.g
:; Fans M950 F0 C"fan0" Q500 A"Blower" ; Create fan 0 (blower) on pin fan0 and set its frequency M106 P0 S0 H-1 C"Blower" ; Set fan 0 value. Thermostatic control is turned off M950 F1 C"fan1" Q500 A"Fan Extruder" ; Create fan 1 (throat) on pin fan1 and set its frequency M106 P1 H1 T45 C"Fan Extruder" ; Set fan 1 value. Thermostatic control is turned on M950 F2 C"fan2" Q500 A"Filter" ; Create fan 2 (filter) on pin fan2 and set its frequency M106 P2 S0 H-1 C"Filter" ; Set fan 1 value. Thermostatic control is turned off
Relevant content from
ressurect.g
:M98 P"resurrect-prologue.g" M116 M290 X0.000 Y0.000 Z0.100 R0 T-1 P0 T0 P6 ... G54 M106 S0.00 M106 P1 S0.00 M116 G92 E0.00000 M83 M23 "0:/gcodes/teste-power-down.gcode"
Full files:
resurrect-prologue.g
resurrect.g
config.gAm I missing something here? Is there any wrong configuration?
Thanks!
-
@cartola I don't have a resurrect.g so I can't check.
How about if you edit it and set the fanspeed that's appropriate?
Or do you even need that M106 in there at all? -
Firmware version?
Not sure it really matters in this case, but the fan command in config.g for your heatsink fan should have a S1 in it to tell it a speed to use when it turns on at 45c. Maybe it defaults to full speed.
M106 P1 H1 T45 C"Fan Extruder" ; Set fan 1 value. Thermostatic control is turned on
-
@phaedrux said in Wrong FAN configuration on ressurect.g:
ot sure it really matters in this case, but the fan command in config.g for your heatsink fan should have a S1 in it to tell it a speed to use when it turns on at 45c. Maybe it defaults to full speed.
My bad, I forgot to post the version:
Board: Duet 2 WiFi (2WiFi)
Firmware: RepRapFirmware for Duet 2 WiFi/Ethernet 3.2 (2021-01-05)
Duet WiFi Server Version: 1.25I will try to add a S1 to it. The fan is set to 100% during normal operation, but let see what happens if I add that parameter.
-
@alankilian This file is generated automatically when the power goes out during during a print. Although I can edit it every time I need, as it is created by the firmware, I want to check how to make it work out of the box.
-
https://github.com/Duet3D/RepRapFirmware/releases/download/3.2.2/Duet2and3Firmware-3.2.2.zip
Can you upload that zip file to the system tab in DWC?
Not sure if the .2 update would make a difference or not. If not, it's probably a bug for @dc42
-
@phaedrux said in Wrong FAN configuration on ressurect.g:
https://github.com/Duet3D/RepRapFirmware/releases/download/3.2.2/Duet2and3Firmware-3.2.2.zip
Can you upload that zip file to the system tab in DWC?
Not sure if the .2 update would make a difference or not. If not, it's probably a bug for @dc42
I will make the 2 tests you suggested today I will return with the results. Thanks for the help!
-
@phaedrux said in Wrong FAN configuration on ressurect.g:
https://github.com/Duet3D/RepRapFirmware/releases/download/3.2.2/Duet2and3Firmware-3.2.2.zip
Can you upload that zip file to the system tab in DWC?
Not sure if the .2 update would make a difference or not. If not, it's probably a bug for @dc42
I did the test where I added the
S1
parameter toM106 P1 H1 T45 C"Fan Extruder" ; Set fan 1 value. Thermostatic control is turned on
, but it didn't worked.I uploaded the firmware 3.2.2 and now I cannot connect to DWC. I checked my router and it seems the board cannot connect to the wifi.
-
@phaedrux I could connect to the board and I had the same result. Do you think it is a bug?
New firmware:
Board: Duet 2 WiFi (2WiFi) Firmware: RepRapFirmware for Duet 2 WiFi/Ethernet 3.2.2 (2021-02-11) Duet WiFi Server Version: 1.25
-
Yes possibly a bug. Will need to have DC42 confirm.
-
@cartola, I confirm that this is a bug. It's saving the settings of the thermostatic fans instead of the non-thermostatic ones. The fix will be in 3.3beta3.
-
@dc42 Thanks! Do you want me to open a bug on github or something like that? By your response it seems it is a known bug already, but let me know if I need to do something.
Thank you again for the great work!
-
@cartola Thanks for the offer, but in this case I think the fix is already in.
-
@phaedrux cool
Thanks, I think this topic can be closed.
-
@cartola Well once beta3 is out you could test it to see if it resolves the issue then close it as solved.
-
@phaedrux Sounds good.
-
@cartola, I will mark this as solved. Feel free to revert it if you still think it's still not right in beta 3.