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

    Fan settings not working

    Scheduled Pinned Locked Moved
    General Discussion
    2
    3
    176
    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.
    • jtroutt19undefined
      jtroutt19
      last edited by jtroutt19

      I am wanting to change fan speed according to layer. I have it set up in cura to do this but it doesnt happen when printing. I end up having to change it manually with the slider. Do I have something setup wrong? In the web portal for the printer it also shows three fans which I only have 2. It shows 'Tool Fan' being a fan along with 'Hotend' and 'Blower'

      ; Configuration file for Duet WiFi (firmware version 1.21)
      ; executed by the firmware on start-up
      ;
      ; generated by RepRapFirmware Configuration Tool v2 on Wed Apr 17 2019 17:42:43 GMT-0400 (Eastern Daylight Time)
      
      ; General preferences
      G90                                                                ; Send absolute coordinates...
      M83                                                                ; ...but relative extruder moves
      
      ; Network
      M550 P"Ender3"                                                     ; Set machine name
      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 S0                                                         ; Drive 1 goes backwards
      M569 P2 S1                                                         ; Drive 2 goes forwards
      M569 P3 S0                                                         ; Drive 3 goes backwards
      M350 X16 Y16 Z16 E16 I1                                            ; Configure microstepping with interpolation
      M92 X80.00 Y80.00 Z400.00 E106.29                                  ; Set steps per mm
      M566 X600.00 Y600.00 Z24.00 E300.00                                ; Set maximum instantaneous speed changes (mm/min) If bad prints change to 600
      M203 X30000.00 Y30000.00 Z800.00 E1500.00                            ; Set maximum speeds (mm/min)
      M201 X500.00 Y500.00 Z100.00 E5000.00                                ; Set accelerations (mm/s^2)
      M906 X500.00 Y500.00 Z500.00 E500.00 I30                           ; Set motor currents (mA) and motor idle factor in per cent
      M84 S300                                                           ; Set idle timeout
      
      ; Axis Limits
      M208 X-5.5 Y-10 Z0 S1                                              ; Set axis minima
      M208 X243 Y231 Z260 S0                                             ; Set axis maxima
      
      ; Endstops
      M574 X1 Y1 S1                                                      ; Set active high endstops
      
      ; Z-Probe
      M574 Z1 S2                                                         ; Set endstops controlled by probe
      M307 H3 A-1 C-1 D-1                                                ; Disable heater on PWM channel for BLTouch
      M558 P9 H5.0 F120 T6000                                             ; Set Z probe type to bltouch and the dive height + speeds
      G31 P25 X-40 Y0 Z1.78                                           ; Set Z probe trigger value, offset and trigger height
      M557 X50:185 Y50:185 S65                                           ; Define mesh grid
      
      ; Heaters
      M305 P0 T100000 B4138 R4700                                        ; Set thermistor + ADC parameters for heater 0
      M143 H0 S120                                                       ; Set temperature limit for heater 0 to 120C
      M305 P1 T100000 B4138 R4700                                        ; Set thermistor + ADC parameters for heater 1
      M143 H1 S280                                                       ; Set temperature limit for heater 1 to 280C
      
      ; Fans
      M106 P2 S1 I0 F10 H-1 C"Blower"                                    ; Set fan 0 value, PWM signal inversion and frequency. 
      M106 P1 S.5 I0 F500 H-1 C"Hotend"                                  ; Set fan 1 value, PWM signal inversion and frequency. 
      
      ; 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 power saving
      M911 S10 R11 P"M911 S10 R11 P""M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; Set voltage thresholds and actions to run on power loss
      
      ; Custom settings are not configured
      
      ; Miscellaneous
      ;M501                                                               ; Load saved parameters from non-volatile memory
      
      
      
      1 Reply Last reply Reply Quote 0
      • jtroutt19undefined
        jtroutt19
        last edited by jtroutt19

        Well I think I know the issue. Cura cannot address fans. Being that my blower is P2 and not the default P0 the gcode command being sent wont work. So I think I need to rename my blower fan to P0 in order to get this to work. Well never mind, Seems pwm is not working on fan_0. A bit upsetting.

        Is there any way to remap fan_2 and make it fan_0?

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

          @jtroutt19 said in Fan settings not working:

          Is there any way to remap fan_2 and make it fan_0?

          There are two ways. You can use RepRapFirmware 3 which allows you to map any fan number to any suitable output pin. Or you can use the F parameter in the M563 commands that you use to create tools, to specify which fan is the default print cooling fan for each tool.

          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
          • First post
            Last post
          Unless otherwise noted, all forum content is licensed under CC-BY-SA