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

    Part Cooling Fan not working

    Scheduled Pinned Locked Moved Solved
    Duet Hardware and wiring
    2
    6
    202
    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

      My part cooling fan is always running at a certain speed and doesn't change at all with commands (M106) or using the DWC.

      Here is my config:

      -
      ; 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
      
      1 Reply Last reply Reply Quote 0
      • Phaedruxundefined
        Phaedrux Moderator
        last edited by

        Have you used that fan successfully elsewhere to know that it accepts PWM speed control?

        You can try altering the M950 Q parameter higher or lower to see if you get better control.

        Z-Bot CoreXY Build | Thingiverse Profile

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

          @Phaedrux I have already tried increasing Q value (250, 10, 5000, 1000, 10000, 100000, etc.) I have tried a known good fan, still 100%. I just read this post https://forum.duet3d.com/topic/18350/duet-toolboard-fan-issue and the user had a similar problem they said that they put their fan on the PWM pin. Right now, I have a two-wire fan on out 1 connected to GND and VOUT is this correct or do I switch wiring.

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

            3f6920da-0476-4f38-9659-b5fb9d072c02-Screen Shot 2023-01-04 at 10.47.59 PM.png Screen Shot 2023-01-04 at 10.47.59 PM.png

            5ec77939-d1e2-4320-ac9b-eb46d47561fb-image.png

            How exactly is your fan wired?

            Z-Bot CoreXY Build | Thingiverse Profile

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

              @Phaedrux My part cooling fan has + wire to out 1 +VOUT and the - wire to GND it's a two-wire fan.

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

                Then yes, you need to switch the - wire to the pin labeled "out1" on the wiring diagram, which is the pwm capable pin.

                Attaching the negative wire to ground will just be always on.

                Z-Bot CoreXY Build | Thingiverse Profile

                1 Reply Last reply Reply Quote 0
                • TRATOONundefined TRATOON marked this topic as a question
                • TRATOONundefined TRATOON has marked this topic as solved
                • First post
                  Last post
                Unless otherwise noted, all forum content is licensed under CC-BY-SA