3.0 Heater/Fan configuration
-
@dc42 I have installed new config files after running the configurator. I'm getting some errors with M98, but I'll see if I can work through those before I come back for more help. Thank you.
-
Did you stop at 3.0? You should update to 3.2.2 right away.
-
@phaedrux - was just going to get things working before taking it the rest of the way. Don't plan to stop at 3.0. Thank you.
-
The problem with stopping at 3.0 is that the pin defaults change in the following firmwares. So it's really not a good place to figure the config out.
-
I'm at 3.2.2 and things are in pretty good shape now, but I have one issue I can't figure out.
I have the hot-end fan as Fan2 to turn on when the hot end exceeds 40C.
M950 F2 C"fan2" Q500 ; create fan 2 on pin fan2 and set its frequency M106 P2 S1 H1 T40 ; set fan 2 value. Thermostatic control is turned on
I boot up the machine, turn on the heat, and this works fine. There is not a control showing in the DWC dashboard.
I'm not exactly sure what triggers the change, but when I went to run a part, the hot-end fan doesn't start up - but in the Dashboard Fan2 appears, and the slider appears to override the thermostatic control and the fan doesn't run.
What do I need to change to have it temperature controlled and keep it from appearing on DWC?
Complete config.g
; Configuration file for Duet WiFi (firmware version 3) ; executed by the firmware on start-up ; ; generated by RepRapFirmware Configuration Tool v3.2.3 on Wed May 05 2021 16:33:43 GMT-0400 (Eastern Daylight Time) ; General preferences G90 ; send absolute coordinates... M83 ; ...but relative extruder moves M550 P"ROSTOCK" ; set printer name M665 R144 L291.06 B135 H400 ; Set delta radius, diagonal rod length, printable radius and homed height M666 X0 Y0 Z0 ; put your endstop adjustments here, or let auto calibration find them ; Network M552 S1 ; enable network M586 P0 S1 ; enable HTTP M586 P1 S0 ; disable FTP M586 P2 S0 ; disable Telnet ; Drives M569 P0 S0 ; physical drive 0 goes forwards M569 P1 S0 ; physical drive 1 goes forwards M569 P2 S0 ; physical drive 2 goes forwards M569 P3 S0 ; physical drive 3 goes forwards M584 X0 Y1 Z2 E3 ; set drive mapping M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation M92 X100.00 Y100.00 Z100.00 E91.00 ; set steps per mm M566 X1800.00 Y1800.00 Z1800.00 E900.00 ; set maximum instantaneous speed changes (mm/min) M203 X15000.00 Y15000.00 Z15000.00 E15000.00 ; set maximum speeds (mm/min) M201 X4200.00 Y4200.00 Z4200.00 E5000.00 ; set accelerations (mm/s^2) M906 X1200 Y1200 Z1200 E1200 I30 ; set motor currents (mA) and motor idle factor in per cent M84 S30 ; Set idle timeout ; Axis Limits M208 Z0 S1 ; set minimum Z ; Endstops M574 X2 S1 P"xstop" ; X min active high endstop switch M574 Y2 S1 P"ystop" ; Y min active high endstop switch M574 Z2 S1 P"zstop" ; Z min active high endstop switch ; Z-Probe new code ;M558 P5 H5 F120 T6000 ; disable Z probe but set dive height, probe speed and travel speed G31 P100 X0 Y0 Z0 ; Probe trigger and offset values M558 P5 C"^zprobe.in" H5 T6000 I0 A2 S0.05 R0.4 H20 F750 M557 R120 S60 ; Heaters M308 S0 P"bedtemp" Y"thermistor" T100000 B4388 R4700 H30 ; configure sensor 0 as thermistor on pin bedtemp M950 H0 C"bedheat" T0 ; create bed heater output on bedheat and map it to sensor 0 M307 H0 B0 S1.00 ; enable bang-bang mode for the bed heater and set PWM limit M140 H0 ; map heated bed to heater 0 M143 H0 S120 ; set temperature limit for heater 0 to 120C M308 S1 P"e0temp" Y"thermistor" T100000 B4388 R4700 H30 ; configure sensor 1 as thermistor on pin e0temp M950 H1 C"e0heat" T1 ; create nozzle heater output on e0heat and map it to sensor 1 M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit M143 H1 S310 ; set temperature limit for heater 1 to 310C ; Fans M950 F0 C"fan0" Q500 ; 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 F2 C"fan2" Q500 ; create fan 2 on pin fan2 and set its frequency M106 P2 S1 H1 T40 ; set fan 2 value. Thermostatic control is turned on ; Tools M563 P0 D0 H1 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 M206 Z01.05 ; Custom settings are not defined ; Miscellaneous M501 ; load saved parameters from non-volatile memory
-
Can you show a screen shot of what you're referring to on DWC?
-
@phaedrux @phaedrux This isn't from the printer in question, but here is where FAN2 will appear. It's not there when the machine first boots up and the fan turns on when the hot end temp exceeds 40C. I haven't done enough to know exactly when FAN2 shows up, but when it does it seems the fan no longer responds to the hot-end temperature.
-
The tool fan slider will control the fan of the currently selected tool.
-
@phaedrux FAN2 is the issue. That's the fan on the hot end. How do I prevent that from showing up on DWC? It should only be temperature controlled from the extruder heater.
-
Is you DWC also updated to 3.2.2?
-
@zemlin said in 3.0 Heater/Fan configuration:
M950 F0 C"fan0" Q500 ; 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 F2 C"fan2" Q500 ; create fan 2 on pin fan2 and set its frequency
M106 P2 S1 H1 T40 ; set fan 2 value. Thermostatic control is turned onI can only remember darkly, but I think RRF3 once had a problem when the channels are not filled in ascending order.
I would suggest to rename the 2nd fan to F1 and channel to P1 -
@diy-o-sphere said in 3.0 Heater/Fan configuration:
I would suggest to rename the 2nd fan to F1 and channel to P1
That would make more sense. Fan1 is the recommended port for heatsink fan.
-
@phaedrux I did not take separate action to update DWC - just dropped the big firmware zip in the system folder. If DWC requires a separate update, I will do that.
-
@diy-o-sphere
I did not wire the machine. Will poke my head in the control box to confirm how things are wired and if I might need to switch a couple cables. -
M950 F2 C"fan2" Q500 ; create fan 2 on pin fan2 and set its frequency
M106 P2 S1 H1 T40 ; set fan 2 value. Thermostatic control is turned onWith RRF3, the wiring doesn't need to be changed.
Change the config toM950 F1 C"fan2" Q500 ; create fan 2 on pin fan2 and set its frequency M106 P1 S1 H1 T40 ; set fan 2 value. Thermostatic control is turned on
-
@zemlin said in 3.0 Heater/Fan configuration:
@phaedrux I did not take separate action to update DWC - just dropped the big firmware zip in the system folder. If DWC requires a separate update, I will do that.
Normally uploading the full zip should update everything, but if you are using a very old version it might not get picked up I guess.
You can try uploading the DWC zip file by itself and if that doesn't work, use that zip file to replace the contents of the /www folder on the SD card manually.
https://github.com/Duet3D/RepRapFirmware/releases/download/3.2.2/DuetWebControl-SD.zip
-
@zemlin said in 3.0 Heater/Fan configuration:
I'm not exactly sure what triggers the change, but when I went to run a part, the hot-end fan doesn't start up - but in the Dashboard Fan2 appears, and the slider appears to override the thermostatic control and the fan doesn't run.
By "run a part", do you mean run a print job from SD card? If so, then perhaps something in the print job is reconfiguring the fan - in which case, please share the print file.
-
I really appreciate all the help.
I changed the can lines per @DIY-O-Sphere toM950 F1 C"fan2" Q500 ; create fan 2 on pin fan2 and set its frequency M106 P1 S1 H1 T40 ; set fan 2 value. Thermostatic control is turned on
Functioning properly and not showing up on the dashboard slider.
The Z-Probe on this machine is accelerometer-based and that's a little flaky, but doesn't seem to be software related.Up and running now, so 'til next time ...