Solved Duet mini+ failing to heat hotend
-
Running Duet Mini5+ with toolboard 1.1
Ran a PID test and put the response into my config file. PID runs perfectly fine with no issues whatsoever.
Hotend will start heating, then after a few seconds stop. The selected tool on paneldue will go from red to blank when it turns off, and cannot select it again unless power cycled. Only error that I can see is the heater just says fault.
It will continue to heat the bed while this happens and start the print unheated unless stopped manually.
If I power cycle right when it happens, let it heat up a bit, and repeat until it gets to the desired temp, it will stay there fine.
Duet Web Control 3.3.0
Board: Duet 3 Mini 5+ (Mini5plus)
Firmware: RepRapFirmware for Duet 3 Mini 5+ 3.3 (2021-06-15)
Duet WiFi Server Version: 1.26
Duet TOOL1LC firmware version 3.3 (2021-06-15 16:12:58); Configuration file for Duet 3 Mini 5+ ; executed by the firmware on start-up ; General preferences G90 ; send absolute coordinates... M83 ; ...but relative extruder moves M550 P"Dak3D" ; set printer name ; Network M552 S1 ; enable network M586 P0 S1 ; enable HTTP M586 P1 S0 ; disable FTP M586 P2 S0 ; disable Telnet ; Wait for the Tool Board G4 S2 ;wait for expansion boards to start ; Drives M569 P0.0 S0 ; physical drive 0.0 goes backwards M569 P0.1 S0 ; physical drive 0.1 goes backwards M569 P0.2 S1 ; physical drive 0.2 goes forwards M569 P121.0 S0 ; physical drive 0.3 goes backwards M584 X0.0 Y0.1 Z0.2 E121.0 ; set drive mapping M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation M92 X80 Y80 Z3200 E392.67 ; set steps per mm M566 X1200.00 Y1200.00 Z24.00 E8000.00 ; set maximum instantaneous speed changes (mm/min) M203 X9000.00 Y9000.00 Z400.00 E20000.00 ; set maximum speeds (mm/min) M201 X500.00 Y500.00 Z100.00 E6000.00 ; set accelerations (mm/s^2) M906 X800 Y800 Z1000 E1000 I40 ; set motor currents (mA) and motor idle factor in per cent M84 S30 ; Set idle timeout ; Axis Limits M208 X0 Y0 Z0 S1 ; set axis minima M208 X196 Y205 Z300 S0 ; set axis maxima ; Endstops M574 X1 S1 P"io5.in" ; configure active-high endstop for low end on X via pin io5.in M574 Y1 S1 P"io6.in" ; configure active-high endstop for low end on Y via pin io6.in M574 Z1 S2 ; configure Z-probe endstop for low end on Z ; Z-Probe M950 S0 C"121.io0.out" ; create servo pin 0 for BLTouch M558 P9 C"^121.io0.in" H5 F120 T6000 ; set Z probe type to bltouch and the dive height + speeds G31 P500 X40 Y1 Z1.5 ; set Z probe trigger value, offset and trigger height M557 X15:196 Y15:205 S20 ; define mesh grid ; Heaters M308 S0 P"temp0" Y"thermistor" T98801 B4185 ; configure sensor 0 as thermistor on pin temp0 M950 H0 C"out0" T0 ; create bed heater output on out0 and map it to sensor 0 M307 H0 B0 R0.374 C501.7 D18.02 S1.00 V28.0 ; disable bang-bang mode for the bed heater and set PWM limit M140 H0 ; map heated bed to heater 0 M143 H0 S130 ; set temperature limit for heater 0 to 130C M308 S1 P"121.temp0" Y"thermistor" T100000 B4092 ; configure sensor 1 as thermistor on pin 121.temp0 M950 H1 C"121.out0" T1 ; create nozzle heater output on 121.out0 and map it to sensor 1 M307 H1 B0 R3.359 C164.2:63.6 D6.23 S1.00 V28.3 ; disable bang-bang mode for Nozzle Heater and set PWM limit M143 H1 S275 ; set temperature limit for heater 1 to 275C ; Fans M950 F0 C"121.out1" Q500 ; create fan 0 on pin out3 and set its frequency M106 P0 C"Print Fan" S0 H-1 ; set fan 0 name and value. Thermostatic control is turned off M950 F1 C"121.out2" Q500 ; create fan 1 on pin out6 and set its frequency M106 P1 C"Heatsink Fan" S1 H1 T45 ; set fan 1 name and value. Thermostatic control is turned on M950 F2 C"out6" Q500 ; create fan 2 on pin out6 and set its frequency M106 P2 C"CPU Fan" S1 H-1 ; set fan 2 name and value. Thermostatic control is turned off ;M950 P0 C"out6" ; Create a GPIO pin to provide power to the toolboard ;M42 P0 S1 ; Turn that GPIO pin on at boot ; Tools M563 P0 S"Hemera" D0 H1 F0:2 ; 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 ; Duet3D Laser Sensor M591 D0 P5 C"121.io1.in" R40:120 E3.0 S0 ; Duet3D laser sensor for extruder drive 0, connected to IO1 IN, tolerance 40 to 120%, 3mm comparison length, disabled ;Accelerometer ;M955 I10 P121.0 ; Accelerometer 121:0 with orientation 10 samples at 1344Hz with 12-bit resolution M955 I10 P121.0 S1000 R12 ; Miscellaneous M575 P1 S1 B57600 ; enable support for PanelDue T0 ; select first tool```
-
@nightlonk42 To add onto this, there is no message in the console explaining the fault.
If I slowly raise the temp the fault doesn't occur (so like, start at room temp, go to 50, then 80, then 120, etc etc) so it seems to be some sort of a PID issue
I just ran another one, it completed fine and after changing the parameters in my config file and the same issue happens -
@nightlonk42
You might have a config-override in your /sys folder, which overwrites the PID settings of config.g.
The best way to store PID results, is to send M500 after the tuning and also add a M501 at the end of config.g to call the override at startup. -
@o_lampe said in Duet mini+ failing to heat hotend:
@nightlonk42
You might have a config-override in your /sys folder, which overwrites the PID settings of config.g.
The best way to store PID results, is to send M500 after the tuning and also add a M501 at the end of config.g to call the override at startup.I did not have an override but I tried this and am still getting the fault. Only thing I can think of is that I WAS using a toolboard 1.0 but upgraded to the 1.1 (built in accell) and this started happening. I also updated to version 3.3 while upgrading the toolboard... Oddest thing to me is that theres zero console errors, just faults when heating up from too far away from the target temp.
I ran another PID and inputted the results, and verified with M307 H1 and they are exactly what I put in, even after power cycling
M307 H1 Heater 1 model: heating rate 3.255, cooling time constant 211.5/80.3, dead time 6.31, max PWM 1.00, calibration voltage 28.3, mode PID Computed PID parameters: setpoint change: P8.7, I0.238, D38.4, load change: P8.7, I0.583, D38.4
And just in case.....
M122 === Diagnostics === RepRapFirmware for Duet 3 Mini 5+ version 3.3 (2021-06-15 21:46:11) running on Duet 3 Mini5plus WiFi (standalone mode) Board ID: LYWS8-K296U-D65J0-40KM8-2503Z-HQWMB Used output buffers: 10 of 40 (32 max) === RTOS === Static ram: 102724 Dynamic ram: 106704 of which 16 recycled Never used RAM 34260, free system stack 198 words Tasks: NETWORK(ready,15.3%,240) HEAT(delaying,0.0%,379) Move(notifyWait,0.1%,338) CanReceiv(notifyWait,0.0%,798) CanSender(notifyWait,0.0%,371) CanClock(delaying,0.0%,347) TMC(notifyWait,0.7%,115) MAIN(running,83.1%,426) IDLE(ready,0.0%,29) AIN(delaying,0.8%,264), total 100.0% Owned mutexes: WiFi(NETWORK) === Platform === Last reset 00:01:09 ago, cause: software Last software reset at 2021-07-04 03:12, reason: User, GCodes spinning, available RAM 34260, slot 0 Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x00000000 BFAR 0xe000ed38 SP 0x00000000 Task MAIN Freestk 0 n/a Error status: 0x00 Aux0 errors 0,0,0 MCU revision 3, ADC conversions started 69179, completed 69178, timed out 0, errs 0 Step timer max interval 957 MCU temperature: min 27.3, current 27.3, max 28.7 Supply voltage: min 27.9, current 28.0, max 28.1, under voltage events: 0, over voltage events: 0, power good: yes Heap OK, handles allocated/used 0/0, heap memory allocated/used/recyclable 0/0/0, gc cycles 0 Driver 0: position 0, standstill, SG min/max 2/2, read errors 0, write errors 0, ifcnt 50, reads 2780, writes 0, timeouts 0, DMA errors 0 Driver 1: position 0, standstill, SG min/max 2/2, read errors 0, write errors 0, ifcnt 50, reads 2779, writes 0, timeouts 0, DMA errors 0 Driver 2: position 0, standstill, SG min/max 2/2, read errors 0, write errors 0, ifcnt 50, reads 2780, writes 0, timeouts 0, DMA errors 0 Driver 3: position 0, standstill, SG min/max 0/0, read errors 0, write errors 0, ifcnt 39, reads 2780, writes 0, timeouts 0, DMA errors 0 Driver 4: position 0, standstill, SG min/max 0/0, read errors 0, write errors 0, ifcnt 39, reads 2780, writes 0, timeouts 0, DMA errors 0 Driver 5: position 0, assumed not present Driver 6: position 0, assumed not present Date/time: 2021-07-04 03:14:06 Cache data hit count 129211930 Slowest loop: 4.26ms; fastest: 0.12ms === Storage === Free file entries: 10 SD card 0 detected, interface speed: 22.5MBytes/sec SD card longest read time 3.2ms, write time 0.0ms, max retries 0 === Move === DMs created 83, maxWait 0ms, bed compensation in use: none, comp offset 0.000 === MainDDARing === Scheduled moves 0, completed moves 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1 === AuxDDARing === Scheduled moves 0, completed moves 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1 === Heat === Bed heaters = 0 -1, chamberHeaters = -1 -1 === GCodes === Segments left: 0 Movement lock held by null HTTP is idle in state(s) 0 Telnet is idle in state(s) 0 File is idle in state(s) 0 USB is idle in state(s) 0 Aux is idle in state(s) 0 Trigger is idle in state(s) 0 Queue is idle in state(s) 0 LCD is idle in state(s) 0 SBC is idle in state(s) 0 Daemon is idle in state(s) 0 Aux2 is idle in state(s) 0 Autopause is idle in state(s) 0 Code queue is empty. === Filament sensors === Extruder 0: no data received === CAN === Messages queued 476, received 660, lost 0, longest wait 1ms for reply type 6013, peak Tx sync delay 3, free buffers 17 (min 16), ts 264/264/0 Tx timeouts 0,0,0,0,0,0 === Network === Slowest loop: 201.11ms; fastest: 0.06ms Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0), 0 sessions HTTP sessions: 1 of 8 - WiFi - Network state is active WiFi module is connected to access point Failed messages: pending 0, notready 0, noresp 1 WiFi firmware version 1.26 WiFi MAC address f0:08:d1:02:b5:c4 WiFi Vcc 3.34, reset reason Power up WiFi flash size 2097152, free heap 24720 WiFi IP address 192.168.1.65 WiFi signal strength -50dBm, mode 802.11n, reconnections 0, sleep mode modem Clock register 00002002 Socket states: 0 0 0 0 0 0 0 0```
-
@nightlonk42 can you check the firmware on the toolboard as well?
M115 B121 -
@jay_s_uk said in Duet mini+ failing to heat hotend:
M115 B121
Sure thing!
7/4/2021, 3:43:07 AM M115 B121 Duet TOOL1LC firmware version 3.3 (2021-06-15 16:12:58)
-
Can you use M500 to save the PID results and then post your config-override.g so we can see what values it has saved?
What command are you using to PID tune?
-
M303 T0 S205 is what I'm using for the hotend.
I wiped the override, ran another PID, saved the values in config file, restarted the board, then did a M500.
[19_1625425463232_tpre0.g](Uploading 100%) [18_1625425463232_tpost0.g](Uploading 100%) [17_1625425463232_tfree0.g](Uploading 100%) [16_1625425463231_stop.g](Uploading 100%) [15_1625425463231_sleep.g](Uploading 100%) [14_1625425463231_retractprobe.g](Uploading 100%) [13_1625425463231_resume.g](Uploading 100%) [12_1625425463230_pause.g](Uploading 100%) [11_1625425463230_homez.g](Uploading 100%) [10_1625425463230_homey.g](Uploading 100%) [9_1625425463230_homex.g](Uploading 100%) [8_1625425463230_homeall.g](Uploading 100%) [7_1625425463229_heightmap.csv](Uploading 100%) [6_1625425463229_dwc-settings.json](Uploading 100%) [5_1625425463229_DuetWiFiServer.bin](Uploading 100%) [4_1625425463229_deployprobe.g](Uploading 100%) [3_1625425463228_config-override.g](Uploading 100%) [2_1625425463228_config.g.bak](Uploading 100%) [1_1625425463228_config.g](Uploading 100%) [0_1625425463228_bed.g](Uploading 100%)
; config-override.g file generated in response to M500 at 2021-07-04 14:58 ; This is a system-generated file - do not edit ; Heater model parameters M307 H0 R0.374 C501.700:501.700 D18.02 S1.00 V28.0 B0 I0 M307 H1 R3.255 C211.500:80.300 D6.31 S1.00 V28.3 B0 I0 ; Workplace coordinates G10 L2 P1 X0.00 Y0.00 Z0.00 G10 L2 P2 X0.00 Y0.00 Z0.00 G10 L2 P3 X0.00 Y0.00 Z0.00 G10 L2 P4 X0.00 Y0.00 Z0.00 G10 L2 P5 X0.00 Y0.00 Z0.00 G10 L2 P6 X0.00 Y0.00 Z0.00 G10 L2 P7 X0.00 Y0.00 Z0.00 G10 L2 P8 X0.00 Y0.00 Z0.00 G10 L2 P9 X0.00 Y0.00 Z0.00
-
@nightlonk42 said in Duet mini+ failing to heat hotend:
I wiped the override, ran another PID, saved the values in config file, restarted the board, then did a M500.
You must send M500 immediately after the PID tuning completed, not after restarting the board.
-
@phaedrux said in Duet mini+ failing to heat hotend:
@nightlonk42 said in Duet mini+ failing to heat hotend:
I wiped the override, ran another PID, saved the values in config file, restarted the board, then did a M500.
You must send M500 immediately after the PID tuning completed, not after restarting the board.
I'll try that. One moment
(Sorry about the weirdness on the post above. I was trying to upload all the files and it marked it as spam and won't let me edit it anymore)
-
@nightlonk42 said in Duet mini+ failing to heat hotend:
[5_1625425463229_DuetWiFiServer.bin]
It probably didn't like the bin file either.
-
Tuning complete and M500 put in right after. I'll let it cool off and try again.
I enabled M929 as well to see if it catches anything. If nothing shows, and if it's still happening, I'll put it into debugging (M111) and see if I can catch what's happening.
Thank you so much for your help so far! Very much appreciated!
I'll post when I have new results
New override:
; config-override.g file generated in response to M500 at 2021-07-04 15:16 ; This is a system-generated file - do not edit ; Heater model parameters M307 H0 R0.374 C501.700:501.700 D18.02 S1.00 V28.0 B0 I0 M307 H1 R3.254 C281.751:107.008 D6.43 S1.00 V28.3 B0 I0 ; Workplace coordinates G10 L2 P1 X0.00 Y0.00 Z0.00 G10 L2 P2 X0.00 Y0.00 Z0.00 G10 L2 P3 X0.00 Y0.00 Z0.00 G10 L2 P4 X0.00 Y0.00 Z0.00 G10 L2 P5 X0.00 Y0.00 Z0.00 G10 L2 P6 X0.00 Y0.00 Z0.00 G10 L2 P7 X0.00 Y0.00 Z0.00 G10 L2 P8 X0.00 Y0.00 Z0.00 G10 L2 P9 X0.00 Y0.00 Z0.00
-
Heater still faulting. Event log not giving any info. I'll hardwire into it and run debugging to see if I can catch anything.
Only other thing I can think of is the board is bad somehow or it's an issue with 3.3. If I can't catch anything hooked directly in I'll try to downgrade everything to 3.2.2
power up + 00:00:01 [info] Event logging started at level debug power up + 00:00:01 [info] Running: Duet 3 Mini5plus WiFi: 3.3 (2021-06-15 21:46:11) power up + 00:00:01 [warn] Warning: Heater 0 appears to be over-powered. If left on at full power, its temperature is predicted to reach 212C power up + 00:00:01 [warn] Warning: Heater 1 appears to be over-powered. If left on at full power, its temperature is predicted to reach 941C power up + 00:00:01 [info] G10 L2 P1 X0.00 Y0.00 Z0.00 power up + 00:00:01 [info] G10 L2 P2 X0.00 Y0.00 Z0.00 power up + 00:00:01 [info] G10 L2 P3 X0.00 Y0.00 Z0.00 power up + 00:00:01 [info] G10 L2 P4 X0.00 Y0.00 Z0.00 power up + 00:00:01 [info] G10 L2 P5 X0.00 Y0.00 Z0.00 power up + 00:00:01 [info] G10 L2 P6 X0.00 Y0.00 Z0.00 power up + 00:00:01 [info] G10 L2 P7 X0.00 Y0.00 Z0.00 power up + 00:00:01 [info] G10 L2 P8 X0.00 Y0.00 Z0.00 power up + 00:00:01 [info] G10 L2 P9 X0.00 Y0.00 Z0.00 power up + 00:00:01 [debug] Done! power up + 00:00:01 [debug] RepRapFirmware for Duet 3 Mini 5+ is up and running. power up + 00:00:01 [warn] WiFi module started power up + 00:00:08 [warn] WiFi module is connected to access point AdventurousPanda, IP address 192.168.1.65 power up + 00:00:08 [warn] HTTP client 192.168.1.115 login succeeded 2021-07-04 15:26:00 [warn] Date and time set at power up + 00:00:08 2021-07-04 15:26:52 [info] G10 P0 S220
-
Downgraded to 3.2.2, same thing.
Ran debugging to USB with all settings enabled, nothing shows up when it faults
-
@nightlonk42 said in Duet mini+ failing to heat hotend:
M563 P0 S"Hemera" D0 H1 F0:2
Are fans 0 and 2 both part cooling fans? Your fan definition says that fan2 is a cpu fan. So maybe you should change F0:2 to just F0.
Can you try tuning the hotend with M303 H1 S205 instead of T0?
@nightlonk42 said in Duet mini+ failing to heat hotend:
Supply voltage: min 27.9, current 28.0, max 28.1,
Also I think you may be over volting your heaters
-
@phaedrux said in Duet mini+ failing to heat hotend:
@nightlonk42 said in Duet mini+ failing to heat hotend:
M563 P0 S"Hemera" D0 H1 F0:2
Are fans 0 and 2 both part cooling fans? Your fan definition says that fan2 is a cpu fan. So maybe you should change F0:2 to just F0.
Can you try tuning the hotend with M303 H1 S205 instead of T0?
@nightlonk42 said in Duet mini+ failing to heat hotend:
Supply voltage: min 27.9, current 28.0, max 28.1,
Also I think you may be over volting your heaters
Made the CPU fan change, lowered voltage back down to 24v and testing again using H1.
Will update with results
-
@phaedrux said in Duet mini+ failing to heat hotend:
@nightlonk42 said in Duet mini+ failing to heat hotend:
M563 P0 S"Hemera" D0 H1 F0:2
Are fans 0 and 2 both part cooling fans? Your fan definition says that fan2 is a cpu fan. So maybe you should change F0:2 to just F0.
Can you try tuning the hotend with M303 H1 S205 instead of T0?
@nightlonk42 said in Duet mini+ failing to heat hotend:
Supply voltage: min 27.9, current 28.0, max 28.1,
Also I think you may be over volting your heaters
That did it! I'm not sure if it was the CPU fan setting or running it with H1 but it's working as expected now.
Thank you so much! This was driving me crazy for days now!!!