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

    3.0 Heater/Fan configuration

    Scheduled Pinned Locked Moved Solved
    Firmware installation
    5
    22
    921
    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.
    • dc42undefined
      dc42 administrators @zemlin
      last edited by

      @zemlin have you tried running M98 P"config.g" to see if any errors are reported when config.g is run?

      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

      zemlinundefined 1 Reply Last reply Reply Quote 0
      • zemlinundefined
        zemlin @SIam
        last edited by

        @siam When I updated my other machines, the configuration tool had not been updated yet, so didn't know that was in place. Ran through it and got things a lot closer to working. Thank you.

        1 Reply Last reply Reply Quote 0
        • zemlinundefined
          zemlin @dc42
          last edited by

          @dc42 I have installed new config files after running the configurator. I'm getting some errors with M98, but I'll see if I can work through those before I come back for more help. Thank you.

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

            Did you stop at 3.0? You should update to 3.2.2 right away.

            Z-Bot CoreXY Build | Thingiverse Profile

            zemlinundefined 1 Reply Last reply Reply Quote 0
            • zemlinundefined
              zemlin @Phaedrux
              last edited by

              @phaedrux - was just going to get things working before taking it the rest of the way. Don't plan to stop at 3.0. Thank you.

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

                The problem with stopping at 3.0 is that the pin defaults change in the following firmwares. So it's really not a good place to figure the config out.

                Z-Bot CoreXY Build | Thingiverse Profile

                1 Reply Last reply Reply Quote 1
                • zemlinundefined
                  zemlin
                  last edited by

                  I'm at 3.2.2 and things are in pretty good shape now, but I have one issue I can't figure out.

                  I have the hot-end fan as Fan2 to turn on when the hot end exceeds 40C.

                  M950 F2 C"fan2" Q500                           ; create fan 2 on pin fan2 and set its frequency
                  M106 P2 S1 H1 T40                              ; set fan 2 value. Thermostatic control is turned on  
                  

                  I boot up the machine, turn on the heat, and this works fine. There is not a control showing in the DWC dashboard.

                  I'm not exactly sure what triggers the change, but when I went to run a part, the hot-end fan doesn't start up - but in the Dashboard Fan2 appears, and the slider appears to override the thermostatic control and the fan doesn't run.

                  What do I need to change to have it temperature controlled and keep it from appearing on DWC?

                  Complete config.g

                  ; Configuration file for Duet WiFi (firmware version 3)
                  ; executed by the firmware on start-up
                  ;
                  ; generated by RepRapFirmware Configuration Tool v3.2.3 on Wed May 05 2021 16:33:43 GMT-0400 (Eastern Daylight Time)
                  
                  ; General preferences
                  G90                                            ; send absolute coordinates...
                  M83                                            ; ...but relative extruder moves
                  M550 P"ROSTOCK"                                ; set printer name
                  M665 R144 L291.06 B135 H400                    ; Set delta radius, diagonal rod length, printable radius and homed height
                  M666 X0 Y0 Z0                                  ; put your endstop adjustments here, or let auto calibration find them
                  
                  ; Network
                  M552 S1                                        ; enable network
                  M586 P0 S1                                     ; enable HTTP
                  M586 P1 S0                                     ; disable FTP
                  M586 P2 S0                                     ; disable Telnet
                  
                  ; Drives
                  M569 P0 S0                                     ; physical drive 0 goes forwards
                  M569 P1 S0                                     ; physical drive 1 goes forwards
                  M569 P2 S0                                     ; physical drive 2 goes forwards
                  M569 P3 S0                                     ; physical drive 3 goes forwards
                  M584 X0 Y1 Z2 E3                               ; set drive mapping
                  M350 X16 Y16 Z16 E16 I1                        ; configure microstepping with interpolation
                  M92 X100.00 Y100.00 Z100.00 E91.00             ; set steps per mm
                  M566 X1800.00 Y1800.00 Z1800.00 E900.00        ; set maximum instantaneous speed changes (mm/min)
                  M203 X15000.00 Y15000.00 Z15000.00 E15000.00   ; set maximum speeds (mm/min)
                  M201 X4200.00 Y4200.00 Z4200.00 E5000.00       ; 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 Z0 S1                                     ; set minimum Z
                  
                  ; Endstops
                  M574 X2 S1 P"xstop"   ; X min active high endstop switch
                  M574 Y2 S1 P"ystop"   ; Y min active high endstop switch
                  M574 Z2 S1 P"zstop"   ; Z min active high endstop switch
                  
                  ; Z-Probe new code
                  ;M558 P5 H5 F120 T6000                          ; disable Z probe but set dive height, probe speed and travel speed
                  G31 P100 X0 Y0 Z0                    ; Probe trigger and offset values
                  M558 P5 C"^zprobe.in" H5 T6000 I0 A2 S0.05 R0.4 H20 F750
                  M557 R120 S60 
                  
                  ; Heaters
                  M308 S0 P"bedtemp" Y"thermistor" T100000 B4388 R4700 H30 ; configure sensor 0 as thermistor on pin bedtemp
                  M950 H0 C"bedheat" T0                          ; create bed heater output on bedheat and map it to sensor 0
                  M307 H0 B0 S1.00                               ; enable bang-bang mode for the bed heater and set PWM limit
                  M140 H0                                        ; map heated bed to heater 0
                  M143 H0 S120                                   ; set temperature limit for heater 0 to 120C
                  M308 S1 P"e0temp" Y"thermistor" T100000 B4388 R4700 H30 ; 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
                  M307 H1 B0 S1.00                               ; disable bang-bang mode for heater  and set PWM limit
                  M143 H1 S310                                   ; set temperature limit for heater 1 to 310C
                  
                  ; Fans
                  M950 F0 C"fan0" Q500                           ; 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 F2 C"fan2" Q500                           ; create fan 2 on pin fan2 and set its frequency
                  M106 P2 S1 H1 T40                              ; set fan 2 value. Thermostatic control is turned on
                  
                  ; Tools
                  M563 P0 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
                  M206 Z01.05
                  
                  ; Custom settings are not defined
                  
                  ; Miscellaneous
                  M501                                           ; load saved parameters from non-volatile memory
                  
                  dc42undefined 1 Reply Last reply Reply Quote 0
                  • Phaedruxundefined
                    Phaedrux Moderator
                    last edited by

                    Can you show a screen shot of what you're referring to on DWC?

                    Z-Bot CoreXY Build | Thingiverse Profile

                    zemlinundefined 1 Reply Last reply Reply Quote 0
                    • zemlinundefined
                      zemlin @Phaedrux
                      last edited by

                      @phaedrux @phaedrux This isn't from the printer in question, but here is where FAN2 will appear. It's not there when the machine first boots up and the fan turns on when the hot end temp exceeds 40C. I haven't done enough to know exactly when FAN2 shows up, but when it does it seems the fan no longer responds to the hot-end temperature.

                      DWC Fans.jpg

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

                        The tool fan slider will control the fan of the currently selected tool.

                        Z-Bot CoreXY Build | Thingiverse Profile

                        zemlinundefined 1 Reply Last reply Reply Quote 0
                        • zemlinundefined
                          zemlin @Phaedrux
                          last edited by

                          @phaedrux FAN2 is the issue. That's the fan on the hot end. How do I prevent that from showing up on DWC? It should only be temperature controlled from the extruder heater.

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

                            Is you DWC also updated to 3.2.2?

                            Z-Bot CoreXY Build | Thingiverse Profile

                            zemlinundefined 1 Reply Last reply Reply Quote 0
                            • DIY-O-Sphereundefined
                              DIY-O-Sphere
                              last edited by DIY-O-Sphere

                              @zemlin said in 3.0 Heater/Fan configuration:

                              M950 F0 C"fan0" Q500 ; 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 F2 C"fan2" Q500 ; create fan 2 on pin fan2 and set its frequency
                              M106 P2 S1 H1 T40 ; set fan 2 value. Thermostatic control is turned on

                              I can only remember darkly, but I think RRF3 once had a problem when the channels are not filled in ascending order.
                              I would suggest to rename the 2nd fan to F1 and channel to P1

                              (UTC+1)

                              Phaedruxundefined zemlinundefined 2 Replies Last reply Reply Quote 0
                              • Phaedruxundefined
                                Phaedrux Moderator @DIY-O-Sphere
                                last edited by

                                @diy-o-sphere said in 3.0 Heater/Fan configuration:

                                I would suggest to rename the 2nd fan to F1 and channel to P1

                                That would make more sense. Fan1 is the recommended port for heatsink fan.

                                Z-Bot CoreXY Build | Thingiverse Profile

                                1 Reply Last reply Reply Quote 0
                                • zemlinundefined
                                  zemlin @Phaedrux
                                  last edited by

                                  @phaedrux I did not take separate action to update DWC - just dropped the big firmware zip in the system folder. If DWC requires a separate update, I will do that.

                                  Phaedruxundefined 1 Reply Last reply Reply Quote 0
                                  • zemlinundefined
                                    zemlin @DIY-O-Sphere
                                    last edited by

                                    @diy-o-sphere
                                    I did not wire the machine. Will poke my head in the control box to confirm how things are wired and if I might need to switch a couple cables.

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

                                      @zemlin

                                      M950 F2 C"fan2" Q500 ; create fan 2 on pin fan2 and set its frequency
                                      M106 P2 S1 H1 T40 ; set fan 2 value. Thermostatic control is turned on

                                      With RRF3, the wiring doesn't need to be changed.
                                      Change the config to

                                      M950 F1 C"fan2" Q500 ; create fan 2 on pin fan2 and set its frequency
                                      M106 P1 S1 H1 T40 ; set fan 2 value. Thermostatic control is turned on
                                      

                                      (UTC+1)

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

                                        @zemlin said in 3.0 Heater/Fan configuration:

                                        @phaedrux I did not take separate action to update DWC - just dropped the big firmware zip in the system folder. If DWC requires a separate update, I will do that.

                                        Normally uploading the full zip should update everything, but if you are using a very old version it might not get picked up I guess.

                                        You can try uploading the DWC zip file by itself and if that doesn't work, use that zip file to replace the contents of the /www folder on the SD card manually.

                                        https://github.com/Duet3D/RepRapFirmware/releases/download/3.2.2/DuetWebControl-SD.zip

                                        Z-Bot CoreXY Build | Thingiverse Profile

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

                                          @zemlin said in 3.0 Heater/Fan configuration:

                                          I'm not exactly sure what triggers the change, but when I went to run a part, the hot-end fan doesn't start up - but in the Dashboard Fan2 appears, and the slider appears to override the thermostatic control and the fan doesn't run.

                                          By "run a part", do you mean run a print job from SD card? If so, then perhaps something in the print job is reconfiguring the fan - in which case, please share the print file.

                                          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

                                          1 Reply Last reply Reply Quote 0
                                          • zemlinundefined
                                            zemlin
                                            last edited by

                                            I really appreciate all the help.
                                            I changed the can lines per @DIY-O-Sphere to

                                            M950 F1 C"fan2" Q500 ; create fan 2 on pin fan2 and set its frequency
                                            M106 P1 S1 H1 T40 ; set fan 2 value. Thermostatic control is turned on
                                            

                                            Functioning properly and not showing up on the dashboard slider.
                                            The Z-Probe on this machine is accelerometer-based and that's a little flaky, but doesn't seem to be software related.

                                            Up and running now, so 'til next time ...

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