12864 display shows heater fault on startup
-
For a few weeks now, I have been having issues with my display setup. The hotend heater shows a fault on startup (my menu was configured to show heater faults), and once the fault clears, the display doesn't reset and the place where a fault symbol was displayed remains blank. I can't connect to the board fast enough to chatch the fault in DWC, so I am wandering if this is a software or hardware error. This has only been happening relatively recently (with no changes to my menu system), specifically after I did a firmware update and changed an extruder sock. Would shorting 12V to thermistor cause such an issue?
My menu system: https://github.com/Sidic101/Duet-Maestro-12864-Menu-Files
-
What firmware version?
Can you post your config.g?
On the off chance there is a warning coming from your config.g you can send M98 Pconfig.g to re-execute config,g and you'll be able to see any error messages that wouldn't otherwise be visable during startup. -
@Phaedrux said in 12864 display shows heater fault on startup:
M98 Pconfig.g
the command just warns me about overpowered heaters, it does not reproduce the issue
latest RRF(3.01 RC7) and DWC(2.1.2)
Config.g:
; Configuration file for Duet Maestro (firmware version 3) ; executed by the firmware on start-up ; ; generated by RepRapFirmware Configuration Tool v2.1.8 on Mon Jan 20 2020 18:17:29 GMT+0100 (Central European Standard Time) ; General preferences G90 ; send absolute coordinates... M83 ; ...but relative extruder moves M550 P"Print-a-Reeno" ; set printer name M918 P1 E-4 F2000000 ; configure direct-connect display ; Network M552 P0.0.0.0 S1 ; enable network and acquire dynamic address via DHCP M586 P0 S1 ; enable HTTP M586 P1 S0 ; disable FTP M586 P2 S0 ; disable Telnet ; Drives M569 P0 S1 D3 F3 B2 Y5:1 V100 ; physical drive 0 goes forwards M569 P1 S1 D3 F3 B2 Y5:1 V100 ; physical drive 1 goes forwards M569 P2 S1 D3 F3 B2 Y5:1 V0 ; physical drive 2 goes forwards M569 P3 S0 D2 F3 B2 Y0:3 ; physical drive 3 goes backwards M584 X0 Y1 Z2 E3 ; set drive mapping M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation M92 X100.00 Y100.00 Z400.00 E950.3 ; set steps per mm M566 X300.00 Y300.00 Z24.00 E3000.00 ; set maximum instantaneous speed changes (mm/min) M203 X16000.00 Y12000.00 Z1000.00 E10000.00 ; set maximum speeds (mm/min) M201 X1500.00 Y1500.00 Z200.00 E3000.00 ; set accelerations (mm/s^2) M906 X500 Y550 Z500 E800 I30 ; set motor currents (mA) and motor idle factor in per cent M84 S70 ; set idle timeout M572 D0 S0.06 ; set extruder 1 pressure advance M207 S0.8 F3000 T1500 Z0.6 ; set G10 retraction parameters ; Axis Limits M208 X0 Y-4 Z-2 S1 ; set axis minima M208 X250 Y210 Z213 S0 ; set axis maxima ; Endstops M574 X1 S1 P"xstop" ; configure active-high endstop for low end on X via pin xstop M574 Y1 S1 P"ystop" ; configure active-high endstop for low end on Y via pin ystop M574 Z1 S2 ; configure Z-probe endstop for low end on Z M591 D0 P2 C"e0_stop" S1 ; configure filament runout sensor ; Z-Probe M558 P1 C"zprobe.in" H2 F900 T6000 A1 ; set Z probe type to unmodulated and the dive height + speeds G31 P500 X0 Y0 Z0.2 ; set Z probe trigger value, offset and trigger height M557 X12.3:215 Y1.5:197.6 P7:7 ; define bed probe grid M376 H10 ; define where bed mesh compensation tapers off ; Heaters M308 S0 P"bedtemp" Y"thermistor" T100000 B3950 ; configure sensor 0 as thermistor on pin bedtemp M950 H0 C"bedheat" T0 Q60000 ; create bed heater output on bedheat and map it to sensor 0 M143 H0 S125 ; set temperature limit for heater 0 to 125C M307 H0 B0 S1.00 ; disable bang-bang mode for the bed heater and set PWM limit M140 H0 ; map heated bed to heater 0 M570 H0 P10 T3 S5 ; set heater 0 fault conditions M308 S1 P"e0temp" Y"thermistor" T100000 B4725 C7.06e-8 ; 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 M143 H1 S275 ; set temperature limit for heater 1 to 275C M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit M570 H1 P10 T3 S5 ; set heater 1 fault conditions M302 S175 R80 ; set minimum extrusion and retraction temperature ; Fans M950 F0 C"fan0" Q60000 ; 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"fan2 + ^exp.pa21" Q60000 ; create fan 1 on pin fan2 and set its frequency M106 P1 S1 H1 T45 ; set fan 1 value. Thermostatic control is turned on ; Tools M563 P0 S"Skelestruder" 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 ; Custom settings M912 P0 S-6.8 ; calibrate MCU temperature M308 S2 Y"mcu_temp" A"MCU" ; show MCU temperature in graph M200 D1.75 ; set default filament diameter ; Miscellaneous M501 ; load saved parameters from non-volatile memory T0 ; select first tool
-
It almost looks like the printer starts with the fault condition on boot and has to clear it later
-
@Matej101 said in 12864 display shows heater fault on startup:
and once the fault clears, the display doesn't reset
Are you saying that the fault clears itself, without you having to send M562 to reset it? If so then I think the heater fault indication is spurious, because heater faults don't clear themselves.
-
PS - is it a bed heater fault or a hot end heater fault that is reported?
I can see a possible problem with the code if the display code starts running before tool 0 has been created. I will fix that in the 3.01 release or the next 3.01 RC if there is one. Meanwhile, try moving the M918 command to be after the M563 command.
-
@dc42 said in 12864 display shows heater fault on startup:
563
Thanks, that fixed it!
It was the hotend heater, the display showed a fault on boot but it cleared itself almost instantly. Also it only did this after a complete power on, not after doing a board reset. -
Thanks for confirming this. I've put the fix in the RRF3 source code already.
-
This is now fixed in the 3.01 source code and in the firmware binaries at https://www.dropbox.com/sh/3azy1njy3ayjsbp/AACquxr2m00eV568RZg5QG5wa?dl=0.