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

    Hotend Fan not working on active Heater but on Standby Heater

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    5
    16
    772
    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.
    • Ukunzundefined
      Ukunz
      last edited by

      Hi,
      having trouble with the Hotend Fan.. it supposed to start at 45°C . its connected to Fan1 .
      Heating up the Hotend to 50°C by setting it on Standby Temperature (50°C) starts the Fan by reaching 45°C , so that works perfectly.
      But if i heat up the Hotend to 50°C by setting it on Active Temp (50°C) nothing happens..also higher Temps. makes no difference. Same behaviour if i start a Print and the Hotend heats up... the Fan is not working.

      Any Ideas?

      ; Configuration file for Duet Maestro (firmware version 2.03)
      ; executed by the firmware on start-up
      ;
      ; generated by RepRapFirmware Configuration Tool v2.1.8 on Fri Mar 27 2020 18:51:00 GMT+0100 (Mitteleuropäische Normalzeit)
      
      ; General preferences
      G90                                     ; send absolute coordinates...
      M83                                     ; ...but relative extruder moves
      M550 P"Anycubic I3Mega"                 ; set printer name
      
      ; Network
      M552 P0.0.0.0 S1                        ; enable network and acquire dynamic address via DHCP
      M586 P0 S1                              ; enable HTTP
      M586 P1 S0                              ; disable FTP
      M586 P2 S0                              ; disable Telnet
      
      ; Drives
      M569 P0 S0                              ; physical drive 0 goes back
      M569 P1 S1                              ; physical drive 1 goes forwards
      M569 P2 S1                              ; physical drive 2 goes forwards
      M569 P3 S1 				; physical drive 3 goes forwards
      M569 P4 S1                              ; physical drive 4 goes forwards
      
      ;DUAL Z
      M584 X0 Y1 Z2:3 U3 E4 P3
      
      
      M350 X16 Y16 Z16 U16 E16 I1                     ; configure microstepping with interpolation
      ;M350 X64 Y64 Z64 U64 E16 I1                    ; Configure microstepping with interpolation
      M92 X80.00 Y80.00 Z400.00 U400.00 E388.4297521  ; set steps per mm
      M566 X900.00 Y900.00 Z12.00 U12.00 E120.00      ; set maximum instantaneous speed changes (mm/min)
      M203 X6000.00 Y6000.00 Z500.00 U500.00 E1200.00 ; set maximum speeds (mm/min)
      M201 X500.00 Y500.00 Z20.00 U20.00 E250.00      ; set accelerations (mm/s^2)
      M906 X800 Y800 Z800 U800 E800 I30               ; set motor currents (mA) and motor idle factor in per cent
      M84 S30                                         ; Set idle timeout
      
      ; Axis Limits
      M208 X-5 Y-5 Z-2 S1                      ; set axis minima
      M208 X220 Y220 Z180 S0                   ; set axis maxima
      
      ; Endstops
      M574 X1 Y1 Z1 U1 S0                      ; set active low and disabled endstops
      
      ; Z-Probe
      M558 P9 H3.0 F200 T6000               ; set Z probe type to bltouch and the dive height + speeds
      G31 P500 X0 Y-25 Z2.27                ; set Z probe trigger value, offset and trigger height
      M557 X10:205 Y10:180 P5               ; define mesh grid
      
      ; Heaters
      M305 P0 T100000 B4138 R2200             ; set thermistor + ADC parameters for heater 0
      M143 H0 S120                            ; set temperature limit for heater 0 to 120C
      M305 P2 T100000 B4138 R2200             ; set thermistor + ADC parameters for heater 2
      M143 H2 S280                            ; set temperature limit for heater 2 to 280C
      
      ; Fans
      M106 P0 S0 I0 F500 H-1 C"Part Cooling"     ; set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
      M106 P1 S1 I0 F500 H2 T45    	           ; set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on              
      
      ; Tools
      M563 P0 D0 H2 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
      
      ;Pressure Advance
      M572 D1 S0.4 
      
      ; call NetworkStartup
      M98 Pstartup.g
      
      ; load config override
      M501
      
      

      Rick

      droftartsundefined Phaedruxundefined 2 Replies Last reply Reply Quote 0
      • droftartsundefined
        droftarts administrators @Ukunz
        last edited by

        @Ukunz said in Hotend Fan not working on active Heater but on Standby Heater:

        M563 P0 D0 H2 F0

        I think that should be F1. Activating the tool is turning off F1 and activating F0, which is the wrong fan.

        Ian

        Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

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

          @Ukunz said in Hotend Fan not working on active Heater but on Standby Heater:

          ; Heaters
          M305 P0 T100000 B4138 R2200             ; set thermistor + ADC parameters for heater 0
          M143 H0 S120                            ; set temperature limit for heater 0 to 120C
          M305 P2 T100000 B4138 R2200             ; set thermistor + ADC parameters for heater 2
          M143 H2 S280                            ; set temperature limit for heater 2 to 280C
          ; Fans
          M106 P0 S0 I0 F500 H-1 C"Part Cooling"     ; set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
          M106 P1 S1 I0 F500 H2 T45    	           ; set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on              
          ; Tools
          M563 P0 D0 H2 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
          

          You appear to have skipped heater 1. Was that intentional?

          @droftarts said in Hotend Fan not working on active Heater but on Standby Heater:

          I think that should be F1. Activating the tool is turning off F1 and activating F0, which is the wrong fan.

          I think F0 is correct, as it's specifying the part cooling fan, which would be F0.

          Z-Bot CoreXY Build | Thingiverse Profile

          Ukunzundefined 1 Reply Last reply Reply Quote 0
          • Ukunzundefined
            Ukunz @Phaedrux
            last edited by

            @Phaedrux : I skipped heater 1 cause i use Extruder 0 for my second Z_Axis. So thought:
            Bed - Heater 0,
            Extruder 0 - Heater 1, <- not in use (U Axis-Second Z)
            Extruder 1 - Heater2

            I now switched to:
            Bed - Heater 0,
            Extruder 1 - Heater1 - Tool 0

            Same behaviour: Temp readinga are fine; Fan1 spins up at 45°c when i set the target Temp to Standby 50°C, but Fan1 does nothing when i set target Temp to Active 100 °C or start a print Job and the Temp rises above the 45°C. But when I then cancel the Job the Fan immidiatly spins as long as the Temp is above 45°C. Strange 😉

            Rick

            Changed config.g:

            ; Configuration file for Duet Maestro (firmware version 2.03)
            ; executed by the firmware on start-up
            ;
            ; generated by RepRapFirmware Configuration Tool v2.1.8 on Fri Mar 27 2020 18:51:00 GMT+0100 (Mitteleuropäische Normalzeit)
            
            ; General preferences
            G90                                     ; send absolute coordinates...
            M83                                     ; ...but relative extruder moves
            M550 P"Anycubic I3Mega"                 ; set printer name
            
            ; Network
            M552 P0.0.0.0 S1                        ; enable network and acquire dynamic address via DHCP
            M586 P0 S1                              ; enable HTTP
            M586 P1 S0                              ; disable FTP
            M586 P2 S0                              ; disable Telnet
            
            ; Drives
            M569 P0 S0                              ; physical drive 0 goes back
            M569 P1 S1                              ; physical drive 1 goes forwards
            M569 P2 S1                              ; physical drive 2 goes forwards
            M569 P3 S1 				; physical drive 3 goes forwards
            M569 P4 S1                              ; physical drive 4 goes forwards
            
            ;DUAL Z
            M584 X0 Y1 Z2:3 U3 E4 P3
            
            
            M350 X16 Y16 Z16 U16 E16 I1                     ; configure microstepping with interpolation
            ;M350 X64 Y64 Z64 U64 E16 I1                    ; Configure microstepping with interpolation
            M92 X80.00 Y80.00 Z400.00 U400.00 E388.4297521  ; set steps per mm
            M566 X900.00 Y900.00 Z12.00 U12.00 E120.00      ; set maximum instantaneous speed changes (mm/min)
            M203 X6000.00 Y6000.00 Z500.00 U500.00 E1200.00 ; set maximum speeds (mm/min)
            M201 X500.00 Y500.00 Z20.00 U20.00 E250.00      ; set accelerations (mm/s^2)
            M906 X800 Y800 Z800 U800 E800 I30               ; set motor currents (mA) and motor idle factor in per cent
            M84 S30                                         ; Set idle timeout
            
            ; Axis Limits
            M208 X-5 Y-5 Z-2 S1                      ; set axis minima
            M208 X220 Y220 Z180 S0                   ; set axis maxima
            
            ; Endstops
            M574 X1 Y1 Z1 U1 S0                      ; set active low and disabled endstops
            
            ; Z-Probe
            M558 P9 H3.0 F200 T6000               ; set Z probe type to bltouch and the dive height + speeds
            G31 P500 X0 Y-25 Z2.27                ; set Z probe trigger value, offset and trigger height
            M557 X10:205 Y10:180 P5               ; define mesh grid
            
            ; Heaters
            M305 P0 T100000 B4138 R2200  ;H0        ; set thermistor + ADC parameters for heater 0
            M143 H0 S120                            ; set temperature limit for heater 0 to 120C
            M305 P1 T100000 B4138 R2200  ;H1       ; set thermistor + ADC parameters for heater 1
            M143 H1 S260                            ; set temperature limit for heater 1 to 260C
            
            ; Fans
            M106 P0 S0 I0 F500 H-1 C"Part Cooling"     ; set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
            ;M106 P1 S1 L1 I0 F500 H2 T45    	           ; set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on              
            M106 P1 T45 S1 H1
            
            ; 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
            
            ;Pressure Advance
            M572 D1 S0.4 
            
            ; call NetworkStartup
            M98 Pstartup.g
            
            ; load config override
            M501
            
            
            1 Reply Last reply Reply Quote 0
            • Phaedruxundefined
              Phaedrux Moderator
              last edited by

              M106 P0 S0 H-1 B0.5 C"Part Cooling"                             ; Set fan 0 (Part cooling blower) G-code controlled. Thermostatic control is turned off
              M106 P1 S1 H1 T45 C"Hotend Fan"                        		; Set fan 1 (Hotend fan) Thermostatic control. Turns on when hotend reaches 45c
              M563 P0 S"Titan Aero" D0 H1                             ; Define tool 0
              

              Here's my fan and tool definition for comparison.
              I don't even specify F0 since it's the default.
              Try to mimic mine and see how it goes.

              Z-Bot CoreXY Build | Thingiverse Profile

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

                Also, what firmware version?

                Z-Bot CoreXY Build | Thingiverse Profile

                1 Reply Last reply Reply Quote 0
                • Ukunzundefined
                  Ukunz
                  last edited by

                  Ok i will try, thx for ur help

                  Here's what i read :
                  M122
                  === Diagnostics ===
                  RepRapFirmware for Duet 2 Maestro version 2.05.1 running on Duet Maestro 1.0

                  1 Reply Last reply Reply Quote 0
                  • Ukunzundefined
                    Ukunz
                    last edited by

                    It works.

                    i just copyed your P1 def. to my config.g ... that does the trick.
                    thank you very much for your help

                    Rick

                    1 Reply Last reply Reply Quote 0
                    • Ukunzundefined
                      Ukunz
                      last edited by

                      Ok, im Back.. theres still some strange behaviour. It Seems that the Fool Fan not run's as long as the target Temp isnt reached. Like M106 P1 S1 H1 T45 -> Tool fan should start at 45 °C but if Target Temp is set to 190°C it will not start unless roundabout 180°C are reached. I dont understand that behavior. Can somone explain that?

                      Rick

                      dc42undefined aidarundefined 2 Replies Last reply Reply Quote 0
                      • dc42undefined
                        dc42 administrators @Ukunz
                        last edited by dc42

                        @Ukunz said in Hotend Fan not working on active Heater but on Standby Heater:

                        Ok, im Back.. theres still some strange behaviour. It Seems that the Fool Fan not run's as long as the target Temp isnt reached. Like M106 P1 S1 H1 T45 -> Tool fan should start at 45 °C but if Target Temp is set to 190°C it will not start unless roundabout 180°C are reached. I dont understand that behavior. Can somone explain that?

                        Rick

                        That's not right. I suspect a bad connection that fails at low temperatures, or a stuck fan. Try the following:

                        • Send M106 P1 and check that the response indicates the thermostatic temperature really is 45C
                        • Set the temperature to 50C or 60C so that the fan should be on. Assuming the fan doesn't turn on, send M108 P1 H-1 to disable thermostatic mode, and see if it turns on or not.

                        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

                        Ukunzundefined 2 Replies Last reply Reply Quote 0
                        • aidarundefined
                          aidar @Ukunz
                          last edited by aidar

                          @Ukunz said in Hotend Fan not working on active Heater but on Standby Heater:

                          Like M106 P1 S1 H1 T45 -> Tool fan should start at 45 °C

                          Your tool fan is fan 0, isnt it? Means part cooling fan and its controlled by gcode, not temperature. It will not run unless you command it ( or printing gcode does) to do so.

                          Ukunzundefined 1 Reply Last reply Reply Quote 0
                          • Ukunzundefined
                            Ukunz @aidar
                            last edited by

                            @aidar no my tool fan is on fan1 the part cooling fan is on fan0

                            aidarundefined 1 Reply Last reply Reply Quote 0
                            • Ukunzundefined
                              Ukunz @dc42
                              last edited by

                              @dc42 I will test this

                              1 Reply Last reply Reply Quote 0
                              • aidarundefined
                                aidar @Ukunz
                                last edited by aidar

                                @Ukunz said in Hotend Fan not working on active Heater but on Standby Heater:

                                no my tool fan is on fan1 the part cooling fan is on fan0

                                Now we are messing with words here. Tool fan (what you define with M563) and part cooling fan is same thing, as long as you have one tool. So your tool fan is Fan 0, and Fan 1 is hotend cooling fan, witch is in your case thermostatically controlled and should go on if hotend temperature is above 45 C

                                1 Reply Last reply Reply Quote 0
                                • Ukunzundefined
                                  Ukunz @dc42
                                  last edited by

                                  @dc42

                                  first: 17:27:46

                                  17:27:37
                                  M106 P1
                                  Fan 1 (Hotend Fan) pin: F1, frequency: 250Hz, speed: 100%, min: 10%, max: 100%, blip: 0.10, inverted: no, temperature: 45.0:45.0C, heaters: 1, current speed: 0%:

                                  ok thats whats happens:

                                  Temp. of the Hotend is about 25° set the target Temp to active 130 temp reaches 80-90 still no fan on but:
                                  17:27:50
                                  M106 P1
                                  Fan 1 (Hotend Fan) pin: F1, frequency: 250Hz, speed: 100%, min: 10%, max: 100%, blip: 0.10, inverted: no, temperature: 45.0:45.0C, heaters: 1, current speed: 100%:

                                  i send : 17:27:52
                                  M108 P1 H-1

                                  fan still off

                                  temp reaches 120 to 130° Fan comes on on Full speed

                                  1 Reply Last reply Reply Quote 0
                                  • Ukunzundefined
                                    Ukunz
                                    last edited by

                                    Oh Im so dumb... everything is fine now..

                                    I switched + and Gnd from the heater ...and on the Anycubic there must be a connection from the gnd of the heater to the fan ground ... so as long as the heater is on full power there is no real ground for the fan (raised up)... as soon as the pid kicks in the ground comes lower and the fan works.

                                    so i corrected + and ground of the heater and everything works as expected

                                    Many thanks to all of you

                                    Rick

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