Duet 3/RPi 3.2B4 issue with extruder heater not initializing



  • I've seen this before during the 3.2 beta but failed to report it. After canceling a job and then restarting it, the extruder heater sometimes does not heat up yet the print starts as if it does. The relevant starting gCode is below. It properly waits for the build plate heater is at temp, but not the extruder..

    Please let me know if there is anything logs I can try to capture the next time this happens.

    G90
    M83
    M106 P0 S0
    M140 S130 R0
    G10 P0 S245 R0
    M141 S0     ; Disable chamber heater (if enabled)
    M116        ; Wait for temps to stabilize
    M141 S60		; Enable chamber heater
    T0		; Sets Tool0 as default
    G21		; Set units to millimeters
    G28		; Home all
    


  • More info on this.. it happens when you disable the extruder heater on the PanelDue. I see there is a new firmware update for the PanelDue (I'm on 3.2.2). I'll update and try to reproduce.



  • @oozeBot Just tried, and I can reproduce it with PanelDue 3.2.4 (Duet3 standalone)



  • @chrishamm @wilriker I confirm this issue is still occurring with 3.2B4 on a Duet 3 / RPi and 3.2.4 paneldue firmware.


  • Moderator

    @oozeBot The reason might be that PanelDue is talking directly to RRF on the Duet and DCS might not get notified about this change. Just speculation at this point though.


  • administrators

    Please send M122 when it stops processing commands and share the output.



  • @chrishamm Here you go.. Let me know if you need anything else. This was captured right after the print started, yet the hot end was not turned on..

    === Diagnostics ===
    RepRapFirmware for Duet 3 MB6HC version 3.2-beta4 running on Duet 3 MB6HC v0.6 or 1.0 (SBC mode)
    Board ID: 08DJM-956L2-G43S4-6J1DD-3SJ6S-TB62H
    Used output buffers: 4 of 40 (40 max)
    === RTOS ===
    Static ram: 123212
    Dynamic ram: 138716 of which 108 recycled
    Never used RAM 130156, free system stack 132 words
    Tasks: Linux(ready,101) HEAT(blocked,297) CanReceiv(blocked,842) CanSender(blocked,352) CanClock(blocked,352) TMC(blocked,20) MAIN(running,679) IDLE(ready,19)
    Owned mutexes: HTTP(MAIN)
    === Platform ===
    Last reset 00:07:28 ago, cause: software
    Last software reset at 2020-12-01 08:46, reason: User, none spinning, available RAM 130840, slot 2
    Software reset code 0x0012 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0044a000 BFAR 0x00000000 SP 0xffffffff Task Linu
    Error status: 0x04
    MCU temperature: min 34.3, current 34.6, max 34.7
    Supply voltage: min 24.0, current 24.1, max 24.2, under voltage events: 0, over voltage events: 0, power good: yes
    12V rail voltage: min 12.1, current 12.1, max 12.2, under voltage events: 1
    Driver 0: position 13250, standstill, reads 44451, writes 2 timeouts 0, SG min/max 0/107
    Driver 1: position 13250, standstill, reads 44454, writes 0 timeouts 0, SG min/max not available
    Driver 2: position 30480, standstill, reads 44452, writes 2 timeouts 0, SG min/max 0/112
    Driver 3: position 0, standstill, reads 44442, writes 12 timeouts 0, SG min/max 0/325
    Driver 4: position 0, standstill, reads 44453, writes 0 timeouts 0, SG min/max not available
    Driver 5: position 0, standstill, reads 44442, writes 12 timeouts 0, SG min/max 0/408
    Date/time: 2020-12-01 08:54:04
    Slowest loop: 152.90ms; fastest: 0.18ms
    === Storage ===
    Free file entries: 10
    SD card 0 not detected, interface speed: 37.5MBytes/sec
    SD card longest read time 0.0ms, write time 0.0ms, max retries 0
    === Move ===
    FreeDm 375 (min 372), maxWait 39322ms, bed compensation in use: none, comp offset 0.000
    === MainDDARing ===
    Scheduled moves 7, completed moves 7, 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 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1, chamberHeaters = 2 -1 -1 -1
    Heater 0 is on, I-accum = 0.8
    Heater 1 is on, I-accum = 0.0
    Heater 2 is on, I-accum = 0.0
    === GCodes ===
    Segments left: 0
    Movement lock held by File
    HTTP* is doing "M122" in state(s) 0
    Telnet is idle in state(s) 0
    File* is idle in state(s) 0 45 0 8, running macro
    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.
    === CAN ===
    Messages queued 94, send timeouts 0, received 270, lost 0, longest wait 1ms for reply type 6013, free buffers 47
    === SBC interface ===
    State: 2, failed transfers: 0
    Last transfer: 5ms ago
    RX/TX seq numbers: 15553/15553
    SPI underruns 0, overruns 0
    Number of disconnects: 0, IAP RAM available 0x209dc
    Buffer RX/TX: 0/0-0
    === Duet Control Server ===
    Duet Control Server v3.2.0-beta4
    File:
    Finishing macro deployprobe.g, started by G30 Z-99999 ; sets z-height relative to print bed
    > Next stack level
    Executing macro homez.g, started by M98 P"homez.g"
    Suspended code: M558 F180 A10
    Suspended code: M561
    Suspended code: G30 Z-99999
    Suspended code: G30 P0 X20 Y20 Z-99999 ; probe midway between front and rear belt on left side
    Suspended code: G30 P1 X284.80 Y20 Z-99999 S2 ; probe midway between front and rear belt on right side
    Suspended code: G1 X0 Y0 Z10 F24000 ; park the tool
    Suspended code: M400 ; wait until idle
    > Next stack level
    Executing macro homeall.g, started by G28 ; Home all
    > Next stack level
    Number of flush requests: 1
    Code buffer space: 4096
    Configured SPI speed: 8000000 Hz
    Full transfers per second: 36.74
    File /opt/dsf/sd/gcodes/oozeBot/CoreXY/CoreXY - front pulley brackets.gcode is selected, processing
    


  • here are my heater definitions in config.g. Note from the M122 above it states "Heater 1 is on".. but Heater 1 is my Extruder heater, and it was not on..

    ;== Extruder Heater ==========================
    M308 S1 P"20.temp0" Y"thermistor" T500000 B4723 C1.196220e-7	
    M950 H1 C"20.out0" T1											
    M307 H1 B0 S1.00												
    
    ;== Bed Heater ===============================
    M308 S0 P"temp0" Y"thermistor" T100000 B3950					
    M950 H0 C"0.out1" T0											
    M307 H0 B0 S1.00												
    M140 H0															
    M307 H0 A241.5 C374.3 D1.8 S1.0 V24.0 B0						
    
    ;== Enclosure Heater =========================
    M308 S2 P"temp1" Y"thermistor" T100000 B3950					
    M950 H2 C"0.out2" T2											
    M307 H2 B1 A90 C700 D200										
    M141 H2															
    

Log in to reply