Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    Temperature won't stay at set temperature.

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    3
    6
    278
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • TRATOONundefined
      TRATOON
      last edited by

      Hello, I am having trouble with my heater, I am using a Duet 3 Mb6Hc with a toolboard 1lc and tool DB board. When I set the temp to 220, the actual temperature goes to 230 exactly 10 degrees higher from where I want it. When I set it to something lower to 40C, it has no trouble maintaining it. And when I set it to 450C, it excceds 500C. I have ran PID tuning, used different heaters and Pt1000, etc. How do I fix this.

      dc42undefined 1 Reply Last reply Reply Quote 0
      • Phaedruxundefined
        Phaedrux Moderator
        last edited by

        Please share your config.g and the results of M122 and M122 B# where # is the canbus address of the expansion boards.

        Z-Bot CoreXY Build | Thingiverse Profile

        TRATOONundefined 1 Reply Last reply Reply Quote 0
        • TRATOONundefined
          TRATOON @Phaedrux
          last edited by

          @Phaedrux

          -
          ; Configuration file for Duet 3 MB 6HC (firmware version 3.3)
          ; executed by the firmware on start-up
          ;
          ; generated by RepRapFirmware Configuration Tool v3.3.12 on Mon Sep 05 2022 02:51:18 GMT-0700 (Pacific Daylight Time)
          G4 S5
          ; General preferences
          G90                                              ; send absolute coordinates...
          M83                                              ; ...but relative extruder moves
          M550 P"Duet 3"                                   ; set printer name
          ; Drives
          M569 P0.0 S1                                     ; physical drive 0.0 goes forwards
          M569 P0.1 S1                                     ; physical drive 0.1 goes forwards
          M569 P0.2 S1                                     ; physical drive 0.2 goes forwards
          M569 P121.0 S0                                   ; physical drive 121.0 goes forwards
          M584 X0.0 Y0.1 Z0.2:0.3 E121.0                       ; set drive mapping
          M350 X16 Y16 Z16 E16 I1                          ; configure microstepping with interpolation
          M92 X80.00 Y80.00 Z800.00 E409                ; set steps per mm
          M566 X900.00 Y900.00 Z60.00 E3000              ; set maximum instantaneous speed changes (mm/min)
          M203 X6000.00 Y6000.00 Z180.00 E7200          ; set maximum speeds (mm/min)
          M201 X500.00 Y500.00 Z20.00 E6000              ; set accelerations (mm/s^2)
          M906 X800 Y800 Z800 E1100 I30                    ; set motor currents (mA) and motor idle factor in per cent
          M84 S30                                          ; Set idle timeout              ; Set idle timeout
          M671 X290:290:40:40 Y0:270:0:270 P0.5
          
          ; Axis Limits
          M208 X0 Y0 Z0 S1                                ; set axis minima
          M208 X295 Y320 Z250 S0                           ; set axis maxima
          
          ; Endstops
          M574 X2 S1 P"io0.in"                             ; configure switch-type (e.g. microswitch) endstop for high end on X via pin io0.in
          M574 Y2 S1 P"io1.in"                             ; configure switch-type (e.g. microswitch) endstop for high end on Y via pin io1.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 F600 T12000 A2 S0.03 R0.4  ; set Z probe type to bltouch and the dive height + speeds
          G31 P500 X-50 Y-15 Z4
          M557 X15:295 Y5:315 S35                         ; define mesh grid
          M591 D0 P3 C"121.io1.in" R60:140 S1  ; filament monitor 
          
          ; Heaters
          M308 S0 P"temp0" Y"thermistor" T100000 B3950     ; 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 S1.00                                 ; disable bang-bang mode for the bed heater and set PWM limit
          M140 H0                                          ; map heated bed to heater 0
          M143 H0 S100                                     ; set temperature limit for heater 0 to 120C
          M308 S1 P"121.temp0" Y"pt1000"                   ; configure sensor 1 as PT1000 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 S1.00                                 ; disable bang-bang mode for heater  and set PWM limit
          M143 H1 S500                                     ; set temperature limit for heater 1 to 450C
          ; Fans
          M950 F0 C"121.out1" Q500                         ; create fan 0 on pin 121.out1 and set its frequency
          M106 P0 S0 H-1                                   ; set fan 0 value. Thermostatic control is turned off
          M950 F1 C"121.out2" Q500                         ; create fan 1 on pin 121.out2 and set its frequency
          M106 P1 S1 H1 T45                                ; set fan 1 value. Thermostatic control is turned on
          ; Tools
          M563 P0 S"E3D Hemera with Volcano" 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
          M912 P0 S-10
          G4 S5
          M591 D0
          M570 H1 P15 T30 ; An anomaly on heater 1 must persist for 4 seconds, and must be greater or less than 15C from the setpoint, to raise a heater fault.
          M501
          
          m122
          === Diagnostics ===
          RepRapFirmware for Duet 3 MB6HC version 3.4.1 (2022-06-01 21:09:01) running on Duet 3 MB6HC v1.01 or later (SBC mode)
          Board ID: 0JD2M-999AL-D25S0-7JKD2-3SS6M-T52V2
          Used output buffers: 1 of 40 (12 max)
          === RTOS ===
          Static ram: 151000
          Dynamic ram: 66280 of which 0 recycled
          Never used RAM 133392, free system stack 200 words
          Tasks: SBC(resourceWait:,0.5%,446) HEAT(notifyWait,0.0%,327) Move(notifyWait,0.0%,352) CanReceiv(notifyWait,0.0%,797) CanSender(notifyWait,0.0%,374) CanClock(delaying,0.0%,351) TMC(notifyWait,7.6%,92) MAIN(running,91.5%,1229) IDLE(ready,0.3%,30), total 100.0%
          Owned mutexes: HTTP(MAIN)
          === Platform ===
          Last reset 00:01:02 ago, cause: power up
          Last software reset at 2022-12-23 02:33, reason: HardFault undefInstr, GCodes spinning, available RAM 133392, slot 1
          Software reset code 0x4063 HFSR 0x40000000 CFSR 0x00010000 ICSR 0x00400803 BFAR 0x00000000 SP 0x2041b508 Task MAIN Freestk 1672 ok
          Stack: 003fffff 00000001 20418198 00000000 0000017c 004849cf 0045c898 61070000 20419a8c 2042b590 2041b5a4 a5a5a5a5 a5a5a5a5 00484aeb 00000001 2041b558 00000000 fffc2075 ffffffff fffd7d7b fffffff7 ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
          Error status: 0x00
          Step timer max interval 146
          MCU temperature: min 23.6, current 28.1, max 33.7
          Supply voltage: min 24.0, current 24.1, max 24.1, under voltage events: 0, over voltage events: 0, power good: yes
          12V rail voltage: min 12.2, current 12.2, max 12.2, under voltage events: 0
          Heap OK, handles allocated/used 0/0, heap memory allocated/used/recyclable 0/0/0, gc cycles 0
          Events: 0 queued, 0 completed
          Driver 0: standstill, SG min 0, mspos 8, reads 21038, writes 14 timeouts 0
          Driver 1: standstill, SG min 0, mspos 8, reads 21038, writes 14 timeouts 0
          Driver 2: standstill, SG min 0, mspos 8, reads 21038, writes 14 timeouts 0
          Driver 3: standstill, SG min 0, mspos 8, reads 21038, writes 14 timeouts 0
          Driver 4: standstill, SG min 0, mspos 8, reads 21041, writes 11 timeouts 0
          Driver 5: standstill, SG min 0, mspos 8, reads 21041, writes 11 timeouts 0
          Date/time: 2022-12-23 08:08:18
          Slowest loop: 1.15ms; fastest: 0.05ms
          === 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 ===
          DMs created 125, segments created 0, maxWait 0ms, bed compensation in use: none, comp offset 0.000
          === MainDDARing ===
          Scheduled moves 0, completed 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
          === AuxDDARing ===
          Scheduled moves 0, completed 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, chamber heaters -1 -1 -1 -1, ordering errs 0
          === GCodes ===
          Segments left: 0
          Movement lock held by null
          HTTP* is doing "M122" 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 560, received 1232, lost 0, boc 0
          Longest wait 3ms for reply type 6026, peak Tx sync delay 5, free buffers 50 (min 49), ts 312/311/0
          Tx timeouts 0,0,0,0,0,0
          === SBC interface ===
          Transfer state: 5, failed transfers: 2, checksum errors: 6
          RX/TX seq numbers: 8662/2480
          SPI underruns 3, overruns 3
          State: 5, disconnects: 0, timeouts: 0 total, 0 by SBC, IAP RAM available 0x2b880
          Buffer RX/TX: 0/0-0, open files: 0
          === Duet Control Server ===
          Duet Control Server v3.4.1
          Code buffer space: 4096
          Configured SPI speed: 8000000Hz, TfrRdy pin glitches: 0
          Full transfers per second: 0.43, max time between full transfers: 209.2ms, max pin wait times: 40.3ms/27.1ms
          Codes per second: 0.01
          Maximum length of RX/TX data transfers: 3436/804
          
          m122 b121
          Diagnostics for board 121:
          Duet TOOL1LC rev 1.1 or later firmware version 3.4.1 (2022-06-01 21:16:39)
          Bootloader ID: SAMC21 bootloader version 2.3 (2021-01-26b1)
          All averaging filters OK
          Never used RAM 2204, free system stack 62 words
          Tasks: Move(notifyWait,0.0%,153) HEAT(notifyWait,0.1%,115) CanAsync(notifyWait,0.0%,65) CanRecv(notifyWait,0.0%,76) CanClock(notifyWait,0.0%,65) ACCEL(notifyWait,0.0%,61) TMC(notifyWait,3.0%,65) MAIN(running,91.9%,341) IDLE(ready,0.0%,26) AIN(delaying,4.9%,142), total 100.0%
          Last reset 00:01:40 ago, cause: VDD brownout
          Last software reset data not available
          Driver 0: pos 0, 409.0 steps/mm,standstill, SG min 0, read errors 0, write errors 0, ifcnt 11, reads 50093, writes 11, timeouts 1, DMA errors 0, CC errors 0, failedOp 0x06, steps req 0 done 0
          Moves scheduled 0, completed 0, in progress 0, hiccups 0, step errors 0, maxPrep 0, maxOverdue 0, maxInc 0, mcErrs 0, gcmErrs 0
          Peak sync jitter 0/4, peak Rx sync delay 213, resyncs 0/0, no step interrupt scheduled
          VIN voltage: min 24.2, current 24.2, max 24.2
          MCU temperature: min 20.2C, current 28.5C, max 28.5C
          Last sensors broadcast 0x00000002 found 1 2 ticks ago, 0 ordering errs, loop time 0
          CAN messages queued 2034, send timeouts 0, received 908, lost 0, free buffers 37, min 37, error reg 0
          dup 0, oos 0/0/0/0, bm 0, wbm 0, rxMotionDelay 0
          Accelerometer: LIS3DH, status: 00
          I2C bus errors 0, naks 3, other errors 0
          === Filament sensors ===
          Interrupt 4 to 8us, poll 8 to 426us
          Driver 0: pos 0.00, errs: frame 2 parity 0 ovrun 0 pol 0 ovdue 0
          

          I have also noticed that my part cooling fan attached to out 1 in the tool board is not responding to any commands. It won't respond to m106 s0 to turn off and my slicer has it off for the first layer and then the speed gradually increases. But right now, the fan is always running whenever the printer is on at 100% speed. Maybe the issues are related?

          1 Reply Last reply Reply Quote 0
          • Phaedruxundefined
            Phaedrux Moderator
            last edited by

            Double check your wiring.

            Also consider updating your firmwares.

            Z-Bot CoreXY Build | Thingiverse Profile

            1 Reply Last reply Reply Quote 0
            • dc42undefined
              dc42 administrators @TRATOON
              last edited by

              @TRATOON after it has reached 230C when you have set 220C, does the temperature then slowly drop towards 220C? If so, that's overshoot and it can be corrected by increasing the R parameter in the M307 command for that heater.

              Duet WiFi hardware designer and firmware engineer
              Please do not ask me for Duet support via PM or email, use the forum
              http://www.escher3d.com, https://miscsolutions.wordpress.com

              TRATOONundefined 1 Reply Last reply Reply Quote 0
              • TRATOONundefined
                TRATOON @dc42
                last edited by

                @dc42 Yes it slowly creeps down to 223-225 ish

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post
                Unless otherwise noted, all forum content is licensed under CC-BY-SA