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

    Tool Board Heater Tuning Leading To Faults

    Scheduled Pinned Locked Moved
    Tuning and tweaking
    8
    101
    5.6k
    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.
    • DIY-O-Sphereundefined
      DIY-O-Sphere @KevinMar
      last edited by

      @kevinmar
      Your sensor settings a looking wrong...

      Here is an example of mine
      M308 S1 P"temp1" Y"pt1000" R2200 ; configure sensor 1 as PT1000 on pin temp1

      (UTC+1)

      KevinMarundefined 1 Reply Last reply Reply Quote 1
      • fcwiltundefined
        fcwilt @KevinMar
        last edited by

        @kevinmar

        Please get in the habit of copy-and-pasting your files using the </> tag.

        M550 P"ToolChanger" 					; Set machine name
        M111 S0                              	; Debug off
        M929 P"eventlog.txt" S1					; Start logging to file eventlog.txt
        M555 P1									; Set RepRap output
        G21										; Set dimensions to millimetres
        G90										; Send absolute coordinates...
        M83										; ...but relative extruder moves
        M669 K1									; CoreXY mode
        G4 S1  									; Wait for expansion boards to start
        
        M569 P0.0 S1 D2							; Drive 0 direction | X
        M569 P0.1 S1 D2							; Drive 1 direction | Y
        M569 P0.2 S1 D2							; Drive 2 direction | Z
        M569 P0.4 S0 D2							; Drive 3 direction | C 
        M569 P0.5 S0 D2							; Drive 5 direction | A
        M569 P20.0 S0 D2						; Drive 6 direction | T0
        M569 P21.0 S0 D2						; Drive 7 direction | T1
        M569 P22.0 S0 D2						; Drive 8 direction | T2
        M569 P23.0 S0 D2						; Drive 9 direction | T3
        
        M584 X0 Y1 Z2 E20.0:21.0:22.0:23.0 C4 A5					; Axis to driver mapping 
        
        ; Set axis software limits and min/max switch-triggering positions.
        M208 X-35:320 Y-49:240 Z0:300 C-45:360 A0:55
        
        M350 X16 Y16 Z16 E16:16:16:16 A16 I1						; Configure microstepping with interpolation
        M350 C16 I10												; Configure microstepping without interpolation
        
        M906 X1800 Y1800 Z1000 I30									; Set motor currents (mA) and idle percent
        M906 E1500:1500:1500:1500 C500  I10							; Set motor currents (mA) and idle percent A400
        M203 X36000 Y36000 Z1200 C5000 E6000:6000:6000:6000 A6000	;Max speeds (mm/min)
        M201 X6000 Y6000 Z400 C600 E6000:6000:6000:6000 A1200		; Max Accelerations (mm/s^2)
        M566 X400 Y400 Z60 C6 E60:60:60:60 A360						; Max jerk (mm/min)
        
        M92 X100 Y100 Z800 E386:386:386:386 C91.022 A360			; Steps/mm 
        
        M574 X1 Y1 S3									; X / Y Endstop
        M574 Z1 S1 P"nil"								; Z Endstop 
        M574 C0											; Z / C No Endstop 
        
        M558 P5 C"!io0.in" H5 A5 T6000 S0.01 K0
        
        G31 P200 X0 Y0 Z0
        M557 X10:290 Y20:180 S40						; Define mesh grid
        
        M915 X Y S3 F0 H400 R2							; X / Y Axes
        M915 A S5 F0 H200 R2							; A Stall Detection
        
        ; Temperature sensors 
        M308 S0 P"0.temp0" Y"thermistor" T100000 B4138 C0 A"Bed" 
        M308 S1 P"20.temp0" Y"thermistor" T100000 B4725 C7.06e-8 A"Ex0"  
        M308 S2 P"21.temp0" Y"pt1000" T100000 B4725 C7.06e-8 A"Ex1"  
        M308 S3 P"22.temp0" Y"pt1000" T100000 B4725 C7.06e-8 A"Ex2"  
        M308 S4 P"23.temp0" Y"pt1000" T100000 B4725 C7.06e-8 A"Ex3"  
        
        ; Heaters
        M950 H0 C"0.out1" T0						; Bed
        M140 H0										; Bed
        M950 H1 C"20.out0" T1						; Heater for extruder out tool 0
        M950 H2 C"21.out0" T2						; Heater for extruder out tool 1
        M950 H3 C"22.out0" T3						; Heater for extruder out tool 2
        M950 H4 C"23.out0" T4						; Heater for extruder out tool 3
        
        ; Heater PID Tuning
        M307 H0 R1.641 C353.300:353.300 D2.50 S1.00 V24.0 B0
        M307 H1 R1.590 C336.700:89.600 D5.00 S1.00 V23.8 B0
        M307 H2 R2.135 C314.200:86.000 D6.20 S1.00 V24.3 B0
        M307 H3 R2.023 C364.200:86.200 D5.70 S1.00 V23.7 B0
        M307 H4 R1.900 C383.000:383.000 D7.50 S1.00 V23.8 B0
        
        ;M307 H1 A849.7 C225.4 D5.9 S1.00 V24.2 B0  ; From Railcore with similar setup running V2.xx
        
        
        ; Max Temps
        M143 H0 S225
        M143 H1 S300
        M143 H2 S300
        M143 H3 S300
        M143 H4 S300
        
        ; Fans for hot end cooling
        M950 F10 C"20.out2"
        M106 P10 S255 H1 T70
        M950 F11 C"21.out2"
        M106 P11 S255 H2 T70
        M950 F12 C"22.out2"
        M106 P12 S255 H3 T70
        M950 F13 C"23.out2"
        M106 P13 S255 H4 T70
        
        ; Fans for part cooling
        M950 F0 C"20.out1"
        M950 F1 C"21.out1"
        M950 F2 C"22.out1"
        M950 F3 C"23.out1"
        
        
        M950 F7 C"^0.out9" Q600					;Wipe Servo
        M106 P7 C"Wipe" 						;Wipe Servo
        
        M302 S185 R185
        M404 N1.75 D0.4
        
        ; Tool definitions
        M563 P0 S"Tool0" D0 H1 F0
        G10  P0 S220 R205
        M563 P1 S"Tool1" D1 H2 F1
        G10  P1 S220 R205
        M563 P2 S"Tool2" D2 H3 F2
        G10  P2 S220 R205
        M563 P3 S"Tool3" D3 H4 F3
        G10  P3 S220 R205
        
        G29 S2
        M98  P"/sys/Toffsets.g"					; Set tool offsets from the bed
        T-1
        
        M501									; Load config-override.g
        

        Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

        DIY-O-Sphereundefined 1 Reply Last reply Reply Quote 1
        • KevinMarundefined
          KevinMar @DIY-O-Sphere
          last edited by

          @diy-o-sphere Huh, yeah that ain't right

          fcwiltundefined 1 Reply Last reply Reply Quote 1
          • dc42undefined
            dc42 administrators @KevinMar
            last edited by dc42

            @kevinmar if you are running without a silicone sock on the heater block, please add a silicone sock and re-tune. Your M307 parameters suggest that the fan substantially cools the hot end, which typically means that the fan is blowing on the heater block.

            Also please confirm that the part cooling fan is off when you command heating and the heater faults

            If after re-tuning with the silicone sock on (if necessary) the heaters still fault, you can try reducing the M307 R parameter. Try a 30% reduction.

            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

            KevinMarundefined 1 Reply Last reply Reply Quote 1
            • Dougal1957undefined
              Dougal1957
              last edited by

              M308 S2 P"21.temp0" Y"pt1000" T100000 B4725 C7.06e-8 A"Ex1"
              M308 S3 P"22.temp0" Y"pt1000" T100000 B4725 C7.06e-8 A"Ex2"
              M308 S4 P"23.temp0" Y"pt1000" T100000 B4725 C7.06e-8 A"Ex3"

              Not sure if these lines are wrong or not for one you have the T B C and A params not sure if they are needed or correct for a PT1000

              fcwiltundefined 1 Reply Last reply Reply Quote 1
              • fcwiltundefined
                fcwilt @KevinMar
                last edited by

                @kevinmar said in Tool Board Heater Tuning Leading To Faults:

                @diy-o-sphere Huh, yeah that ain't right

                You are loading config-override.g at the end of config.g

                Please post that file.

                Frederick

                Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

                KevinMarundefined 1 Reply Last reply Reply Quote 0
                • fcwiltundefined
                  fcwilt @Dougal1957
                  last edited by

                  @dougal1957 said in Tool Board Heater Tuning Leading To Faults:

                  M308 S2 P"21.temp0" Y"pt1000" T100000 B4725 C7.06e-8 A"Ex1"
                  M308 S3 P"22.temp0" Y"pt1000" T100000 B4725 C7.06e-8 A"Ex2"
                  M308 S4 P"23.temp0" Y"pt1000" T100000 B4725 C7.06e-8 A"Ex3"

                  Not sure if these lines are wrong or not for one you have the T B C and A params not sure if they are needed or correct for a PT1000

                  From the docs:

                  Additional parameters for PT1000 sensors

                  Rnnn Series resistor value. Leave blank to use the default for your board.
                  Lnnn ADC low offset correction, default 0 (ignored if the hardware supports automatic ADC gain and offset calibration)
                  Hnnn ADC high offset correction, default 0 (ignored if the hardware supports automatic ADC gain and offset calibration)

                  Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

                  Dougal1957undefined KevinMarundefined 2 Replies Last reply Reply Quote 0
                  • Dougal1957undefined
                    Dougal1957 @fcwilt
                    last edited by

                    @fcwilt said in Tool Board Heater Tuning Leading To Faults:

                    @dougal1957 said in Tool Board Heater Tuning Leading To Faults:

                    M308 S2 P"21.temp0" Y"pt1000" T100000 B4725 C7.06e-8 A"Ex1"
                    M308 S3 P"22.temp0" Y"pt1000" T100000 B4725 C7.06e-8 A"Ex2"
                    M308 S4 P"23.temp0" Y"pt1000" T100000 B4725 C7.06e-8 A"Ex3"

                    Not sure if these lines are wrong or not for one you have the T B C and A params not sure if they are needed or correct for a PT1000

                    From the docs:

                    Additional parameters for PT1000 sensors

                    Rnnn Series resistor value. Leave blank to use the default for your board.
                    Lnnn ADC low offset correction, default 0 (ignored if the hardware supports automatic ADC gain and offset calibration)
                    Hnnn ADC high offset correction, default 0 (ignored if the hardware supports automatic ADC gain and offset calibration)

                    yes but the T100000 is for a ntc100k thermistor should not be required for a pt1000 nor a beta value as they are linear and don't have a c param either so not sure if having those params are confusing the issue

                    fcwiltundefined 1 Reply Last reply Reply Quote 0
                    • KevinMarundefined
                      KevinMar @fcwilt
                      last edited by

                      @fcwilt s

                      Rnnn Series resistor value. Leave blank to use the default for your board.
                      Lnnn ADC low offset correction, default 0 (ignored if the hardware supports automatic ADC gain and offset calibration)
                      Hnnn ADC high offset correction, default 0 (ignored if the hardware supports automatic ADC gain and offset calibration)

                      So Lnnn can offset the higher ambient reading?

                      fcwiltundefined 1 Reply Last reply Reply Quote 0
                      • KevinMarundefined
                        KevinMar @fcwilt
                        last edited by

                        @fcwilt I'm currently re-running the autotuning with the removed T, B, and C values from the config

                        Dougal1957undefined DIY-O-Sphereundefined 2 Replies Last reply Reply Quote 1
                        • Dougal1957undefined
                          Dougal1957 @KevinMar
                          last edited by

                          @kevinmar said in Tool Board Heater Tuning Leading To Faults:

                          @fcwilt I'm currently re-running the autotuning with the removed T, B, and C values from the config

                          Good luck Kevin

                          Doug

                          KevinMarundefined 1 Reply Last reply Reply Quote 0
                          • DIY-O-Sphereundefined
                            DIY-O-Sphere @KevinMar
                            last edited by

                            @kevinmar
                            Put in the R value

                            (UTC+1)

                            Dougal1957undefined 1 Reply Last reply Reply Quote 0
                            • fcwiltundefined
                              fcwilt @Dougal1957
                              last edited by

                              @dougal1957 said in Tool Board Heater Tuning Leading To Faults:

                              yes but the T100000 is for a ntc100k thermistor should not be required for a pt1000 nor a beta value as they are linear and don't have a c param either so not sure if having those params are confusing the issue

                              I was trying to point out that R, L and N are the only additional parameters for PT1000 devices.

                              The B,C and T are clearly incorrect but are the affecting the heater or are they ignored since they don't apply?

                              I don't know.

                              Frederick

                              Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

                              Dougal1957undefined 1 Reply Last reply Reply Quote 0
                              • Dougal1957undefined
                                Dougal1957 @DIY-O-Sphere
                                last edited by

                                @diy-o-sphere said in Tool Board Heater Tuning Leading To Faults:

                                @kevinmar
                                Put in the R value

                                doesn't need it as it will default correctly

                                1 Reply Last reply Reply Quote 0
                                • Dougal1957undefined
                                  Dougal1957 @fcwilt
                                  last edited by

                                  @fcwilt said in Tool Board Heater Tuning Leading To Faults:

                                  @dougal1957 said in Tool Board Heater Tuning Leading To Faults:

                                  yes but the T100000 is for a ntc100k thermistor should not be required for a pt1000 nor a beta value as they are linear and don't have a c param either so not sure if having those params are confusing the issue

                                  I was trying to point out that R, L and N are the only additional parameters for PT1000 devices.

                                  The B,C and T are clearly incorrect but are the affecting the heater or are they ignored since they don't apply?

                                  I don't know.

                                  Frederick

                                  I agree neither do I know but it has to be worth a try

                                  1 Reply Last reply Reply Quote 1
                                  • fcwiltundefined
                                    fcwilt @KevinMar
                                    last edited by

                                    @kevinmar said in Tool Board Heater Tuning Leading To Faults:

                                    @fcwilt s

                                    Rnnn Series resistor value. Leave blank to use the default for your board.
                                    Lnnn ADC low offset correction, default 0 (ignored if the hardware supports automatic ADC gain and offset calibration)
                                    Hnnn ADC high offset correction, default 0 (ignored if the hardware supports automatic ADC gain and offset calibration)

                                    So Lnnn can offset the higher ambient reading?

                                    I have no idea. Never used PT1000 devices.

                                    And how does one know if the hardware supports automatic ADC gain and offset calibration?

                                    Again I have no idea but I suspect @dc42 would.

                                    Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

                                    Dougal1957undefined 1 Reply Last reply Reply Quote 0
                                    • Dougal1957undefined
                                      Dougal1957 @fcwilt
                                      last edited by

                                      @fcwilt I do use PT1000 and 100's as well and do prefer them and don't have any need for the additional Params as yet but we will see Hopefully Kevin gets it all sorted

                                      fcwiltundefined 1 Reply Last reply Reply Quote 1
                                      • fcwiltundefined
                                        fcwilt @Dougal1957
                                        last edited by

                                        @dougal1957 said in Tool Board Heater Tuning Leading To Faults:

                                        @fcwilt I do use PT1000 and 100's as well and do prefer them and don't have any need for the additional Params as yet but we will see Hopefully Kevin gets it all sorted

                                        Do those devices require additional hardware to connect to a Duet board?

                                        Frederick

                                        Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

                                        Dougal1957undefined KevinMarundefined DIY-O-Sphereundefined 3 Replies Last reply Reply Quote 0
                                        • Dougal1957undefined
                                          Dougal1957 @fcwilt
                                          last edited by

                                          @fcwilt said in Tool Board Heater Tuning Leading To Faults:

                                          @dougal1957 said in Tool Board Heater Tuning Leading To Faults:

                                          @fcwilt I do use PT1000 and 100's as well and do prefer them and don't have any need for the additional Params as yet but we will see Hopefully Kevin gets it all sorted

                                          Do those devices require additional hardware to connect to a Duet board?

                                          Frederick

                                          pt1000 no but the pt100 does need the daughter board

                                          1 Reply Last reply Reply Quote 1
                                          • KevinMarundefined
                                            KevinMar @fcwilt
                                            last edited by

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