Heater fault?

  • I have been printing with no issues for the past week trying to dial everything in until last night. I auto tuned both heaters on my machine two weeks ago and modified the config.g folder. I had a slight issue the other day where I had a print fail and melted onto the heatblock so I removed the extruder and installed a new heatblock heatbreak and thermistor while keeping the original heater. I was printing last night and had a few heater faults during prints. I have no idea why this is happening I have my part cooling fan off and the heatbreak fan on my E3D V6 is working just fine. Any ideas what can be causing this?I tried tuning the heaters with the fans on and with them off and both of the results from the auto tune are now giving me continuous heater faults.Here are the results of M122.

    === Diagnostics ===
    RepRapFirmware for Duet 2 WiFi/Ethernet version 2.02RC6(RTOS) running on Duet WiFi 1.02 or later
    Board ID: 08DGM-9T6BU-FG3SN-6JKD6-3S06P-KAYBD
    Used output buffers: 1 of 20 (8 max)
    === RTOS ===
    Static ram: 25524
    Dynamic ram: 98544 of which 0 recycled
    Exception stack ram used: 424
    Never used ram: 6580
    Tasks: NETWORK(ready,560) HEAT(blocked,856) MAIN(running,3860) IDLE(ready,200)
    Owned mutexes:
    === Platform ===
    Last reset 03:22:43 ago, cause: power up
    Last software reset at 2019-02-04 15:55, reason: User, spinning module GCodes, available RAM 6628 bytes (slot 3)
    Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0441f000 BFAR 0xe000ed38 SP 0xffffffff Task 0x4e49414d
    Error status: 16
    Free file entries: 10
    SD card 0 detected, interface speed: 20.0MBytes/sec
    SD card longest block write time: 389.1ms, max retries 0
    MCU temperature: min 38.0, current 39.3, max 46.0
    Supply voltage: min 10.2, current 13.4, max 14.1, under voltage events: 0, over voltage events: 0, power good: yes
    Driver 0: standstill, SG min/max 0/236
    Driver 1: standstill, SG min/max 0/315
    Driver 2: standstill, SG min/max not available
    Driver 3: standstill, SG min/max 0/334
    Driver 4: standstill, SG min/max not available
    Date/time: 2019-02-04 23:26:32
    Cache data hit count 4294967295
    Slowest loop: 115.07ms; fastest: 0.07ms
    I2C nak errors 0, send timeouts 0, receive timeouts 0, finishTimeouts 0
    === Move ===
    Hiccups: 0, StepErrors: 0, LaErrors: 116, FreeDm: 240, MinFreeDm: 125, MaxWait: 1873095ms, Underruns: 0, 0
    Scheduled moves: 0, completed moves: 0
    Bed compensation in use: mesh
    Bed probe heights: 0.000 0.000 0.000 0.000 0.000
    === Heat ===
    Bed heaters = 0 -1 -1 -1, chamberHeaters = -1 -1
    Heater 0 is on, I-accum = 1.0
    Heater 1 is on, I-accum = 0.3
    === GCodes ===
    Segments left: 0
    Stack records: 2 allocated, 0 in use
    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
    serial is idle in state(s) 0
    aux is idle in state(s) 0
    daemon is idle in state(s) 0
    queue is idle in state(s) 0
    autopause is idle in state(s) 0
    Code queue is empty.
    === Network ===
    Slowest loop: 390.68ms; fastest: 0.00ms
    Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0) Telnet(0)
    HTTP sessions: 1 of 8

    • WiFi -
      Network state is running
      WiFi module is connected to access point
      Failed messages: pending 0, notready 0, noresp 0
      WiFi firmware version 1.22
      WiFi MAC address 84:f3:eb:42:a9:91
      WiFi Vcc 3.45, reset reason Turned on by main processor
      WiFi flash size 4194304, free heap 27712
      WiFi IP address
      WiFi signal strength -37dBm, reconnections 0, sleep mode modem
      Socket states: 0 0 0 0 0 0 0 0

  • When I started the autotune I entered

    M303 H1 S260

    The autoune finished and gave me

    Heater 1 model: gain 536.2, time constant 185.0, dead time 5.6, max PWM 1.00, calibration voltage 13.2, mode PID, inverted no, frequency default
    Computed PID parameters for setpoint change: P11.0, I0.341, D43.1
    Computed PID parameters for load change: P11.

    I modified the config.g file with the results following the directions in the Duet directions.I now am experiencing constant heater faults during prints.I made the critical mistake of not keeping the original settings in the config.g file.

  • Moderator

    It's possible you malformed the command when translating the results to the config.g. You could re-run the auto-tune and use M500 to save the results to config-override.g. Then you could either copy the command over to the config.g or add M501 to the end of config.g to load config-override.g.

    Also, are you sure the new thermistor matches the one you replaced?

  • I have tried three different thermistors.I tried adding M501 to config.g with no luck and even erased the override folder well not the entire folder just the contents of the folder.

  • Moderator

    Can you post your config.g?

    Is the thermistor a genuine E3D cartridge?

  • The original was but it is stuck in the heatblock that was covered in ABS.The threee that I am using now two are generic NTC 100k and one is a Semitec.Here is the config.g and can the entire Override folder be erased or just the contents?

    ; Configuration file for Duet WiFi (firmware version 1.21)
    ; executed by the firmware on start-up
    ; generated by RepRapFirmware Configuration Tool on Mon Nov 05 2018 12:42:23 GMT-0500 (Eastern Standard Time)

    ; General preferences
    G90 ; Send absolute coordinates...
    M83 ; ...but relative extruder moves

    ; Network
    M550 PTony's P3 Steel ; Set machine name
    M551 Pfabian7505 ; Set password
    M552 S1 ; Enable network
    ;*** Access point is configured manually via M587
    M586 P0 S1 ; Enable HTTP
    M586 P1 S0 ; Disable FTP
    M586 P2 S0 ; Disable Telnet

    ; Drives
    M569 P0 S0 ; Drive 0 goes backwards
    M569 P1 S1 ; Drive 1 goes forwards
    M569 P2 S0 ; Drive 2 goes forwards
    M569 P3 S1 ; Drive 3 goes forwards
    M350 X16 Y16 Z16 E16 I1 ; Configure microstepping with interpolation
    M92 X80 Y80 Z400 E415 ; Set steps per mm
    M566 X900 Y900 Z12 E120 ; Set maximum instantaneous speed changes (mm/min)
    M203 X6000 Y6000 Z180 E1200 ; Set maximum speeds (mm/min)
    M201 X500 Y250 Z250 E250 ; 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 X-33 Y-3 Z0 S1 ; Set axis minima
    M208 X220 Y310 Z200 S0 ; Set axis maxima

    ; Endstops
    M574 Y1 S0 ; Set active low endstops
    M574 X1 S1 ; Set active high endstops
    M574 Z1 S2 ; Use zprobe for zmin

    ; Z-Probe
    M307 H7 A-1 C-1 D-1 ; Disable heater on PWM channel for BLTouch
    M558 P9 H7 F500 T6000 ; Set Z probe type to bltouch and the dive height + speeds
    G31 P25 X28 Y0 Z3.195 ; Set Z probe trigger value, offset and trigger height
    M557 X20:190 Y20:300 S40 ; Define mesh grid
    G29 S1 ; Saved Heightmap bed level

    ; Heaters
    M307 H0 B0 S1.00 ; Disable bang-bang mode for the bed heater and set PWM limit
    M307 H1 A121.4 C566.6 D0.5 B0 ; Auto Tune results for hotend heater
    M307 H0 A121.4 C566.6 D0.5 B0 ; Auto Tune for bed heater
    M305 P0 T100000 B3950 C0 R4700 ; Set thermistor + ADC parameters for heater 0
    M143 H0 S120 ; Set temperature limit for heater 0 to 120C
    M305 P1 T100000 B3950 C0 R4700 ; Set thermistor + ADC parameters for heater 1
    M143 H1 S290 ; Set temperature limit for heater 1 to 290C

    ; Fans
    M106 P0 S0.3 I0 F500 H-1 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
    M106 P1 S1 I0 F500 H0:1 T45 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on
    M106 P2 S1 I0 F500 H0:1 T45 ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned on

    ; Tools
    M563 P0 D0 H1 ; 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

    ; Automatic saving after power loss is not enabled

    ; Custom settings are not configured

  • Moderator

    @siblues said in Heater fault?:

    M307 H1 A121.4 C566.6 D0.5 B0 ; Auto Tune results for hotend heater
    M307 H0 A121.4 C566.6 D0.5 B0 ; Auto Tune for bed heater

    These two lines are identical, which means you've duplicated either the hot end or bed heater, which obviously should have very different characteristics.

    Since the thermistor is different, the parameters provided in M305 will likely not be as close of a fit.

    For the long term I suggest picking up another E3D thermistor since they provide known good values to use.

    In the short term, you should be able to get back up and running by deleting the two M307 commands for the bed and hot end, and re-running the auto-tune for both. Use M500 after each tune to save the values to config-override.g and then adding M501 to the end of config.g to load them.

  • Thermistors ordered and you are a savior.I didn't even realize that was there and I have no idea how I managed to do that.The printer and Duet are working ok right now trying to tune things a bit more for better results.

Log in to reply