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

    Turn off heatskin fan with DWC??

    Scheduled Pinned Locked Moved
    General Discussion
    5
    12
    698
    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.
    • peirofundefined
      peirof
      last edited by

      Hi,

      its possible turn off, manual, the heatskin fan even if the temperature has reached the value so that it turns on? With DWC or gcode (macro)

      Why...

      I am using Precission Piezo Orion as Z-Probe.... This zprobe is very sensitive, and at least it is very well configured, when I calibrate or compensate the bed gives false positives.

      I usually perform the calibration or compensation with the bed and the nozzle at working temperature, so that if there are thermal dilatations, they are taken into account, and also, so that once the calibration is done, the time until printing begins is minimal , since the nozzle and the bed, are almost at working temperature ...

      When calibrating at work temperature, the heatskin fan is on, and the vibration produces false positives, ruining the calibration. So many times I have to unplug the heatskin fan while calibrating, physically or not preheating the nozzle ... that's why my interest in being able to turn off the fan from the DWC, while the process lasts

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

        You would need to send M106 P# S0 H-1 to disable thermostatic mode, where # is the fan number. Then re-enable thermostatic mode to turn it back on.

        Alternatively, send M106 P# T100 to increase the thermostatic control temperature to 100C, thereby turning the fan off. Then set it back to the usual temperature to turn it back on.

        You can set up macros to send these commands.

        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
        • peirofundefined
          peirof
          last edited by

          mmm....

          Strange behavior ....

          To test the fans, I have done some tests. I have them set up like this in the config.g

          ; GCODE FAN
          M106 P0 S1 H1 I0 T80; - Heatskin's
          M106 P1 S0 H-1; Layer 02
          M106 P2 S0 H-1; layer 01
          

          The first thing I have done, is to pass them all as a layer, to be able to control them with the DWC, so I have done a Macro:

          M106 P0 S0 H-1; Heatskin
          M106 P1 S0 H-1; Layer 02
          M106 P2 S0 H-1; Layer 01
          
          
          M106 P0 S1; Power On Fan
          M106 P1 S1; Power On Fan
          M106 P2 S1; Power On Fan
          

          I turn on the printer, and run the macro ... the three fans should be put into operation ... well, NO, just one.

          Things I have tried:

          • I have connected the 3 fans, the shocket that works, and the fans go. That rules out a fan malfunction, as well as a bad polarity.
          • I have tested with a multimeter the voltage in the shockets, directly on the Duet board. When the printer is turned on the voltage is practically 0 ... but when executing the macro, the voltage is 24.XX in the FAN0 and FAN1 shockets ... But 9.xx in the FAN2 socket .... But it doesn't matter if only 1 of the 3 lights up, the others remain off, it should turn on 2 at 100% speed and the other at 1/3 of its speed.

          Do not?

          What can i try? I have already ruled out that the fans do not work and that the cable that connects them with DUET is badly crushed or damaged, connecting them to the shocket that IS going ...

          1 Reply Last reply Reply Quote 0
          • peirofundefined
            peirof
            last edited by

            Some idea I can try?

            1 Reply Last reply Reply Quote 0
            • peirofundefined
              peirof
              last edited by peirof

              Hi,

              I have do some photos....

              I have changed all fans, to layers fans... And power on with a macro....

              FAN 2

               Fan connected to this shocket, don't turn
              

              FAN 1

               FAN CONNECTED TO THIS SOCKET TURN, the only. 
              

              FAN 0

               Fan connected to this shocket, don't turn
              
              1 Reply Last reply Reply Quote 0
              • piperswundefined
                pipersw
                last edited by

                The mosfet of fan outputs are maybe defective. Try to change them

                peirofundefined 1 Reply Last reply Reply Quote 0
                • peirofundefined
                  peirof @pipersw
                  last edited by

                  @pipersw where are de mosfets fans? and how change it? Desoldering and soldering news? Suppose....

                  It doesn't seem like a simple operation, if I tried ... I have many doubts. Is there any way to verify that mosfets really are the cause of the problem? it won't be, that I dare to change them, and then don't be ....

                  1 Reply Last reply Reply Quote 0
                  • peirofundefined
                    peirof
                    last edited by

                    The stock fan fuse.... how many ampers have?

                    1 Reply Last reply Reply Quote 0
                    • MrsDelishundefined
                      MrsDelish
                      last edited by

                      from the gcode wiki:
                      M106: Fan On
                      Parameters

                      Pnnn Fan number (optional, defaults to 0)
                      Snnn Fan speed (0 to 255 or 0.0 to 1.0))
                      

                      Your Macro turn the fan to a very low PWM duty cycle ( M106 P0 S1; Power On Fan )
                      Notice S1, that will be 1 in the 0 to 255 range, you need a 1.0 to use the 0.0 to 1.0 range.
                      Either try:

                      M106 P0 S1.0
                      or
                      M106 P0 S255
                      for full speed.

                      Your multimeter probably reports peak volt, you can verify with a little capacitor in series with your probe to even out the pwm signal, if you do not have a oscilloscope. (with S1 you probably get a low volt value with the capacitor in series).

                      1 Reply Last reply Reply Quote 0
                      • peirofundefined
                        peirof
                        last edited by

                        Hi,

                        FAN0 and FAN1 do not work... But I have noticed strange behavior:

                        01 - Connet 3 fans to 3 Duet 2 fans shockets.
                        02 - For testing pourposes, i have do this macro:

                        M106 P0 S0 H-1; Heatskin
                        M106 P1 S0 H-1; Layer 02
                        M106 P2 S0 H-1; Layer 01
                        
                        
                        M106 P0 S1; Power On Fan
                        M106 P1 S1; Power On Fan
                        M106 P2 S1; Power On Fan
                        

                        03 - In this moment... only FAN1 start to turn
                        04 - Mesure voltages in Duet fan shockets, images inluded in early post:

                        FAN0 - 20.92
                        FAN1 - 24.21
                        FAN2 - 7.99
                        

                        Only Fan that turns, FAN1 -->24.21

                        05 - How i have configured fans, as layers fans, with DWC can reduce speed of the fan.... if under fan01 speed to 50%, the fan keeps turning, but the voltage in the shocket drops depending on the percentage that I select in DWC .... Lowering even from 20.92 and 7.99. FAN1 KEEPS TURNING I WILL BE THE VOLTAGE LOWER THAN THE OTHER SHOCKETS, FAN0 AND FAN2, THE FAN STILL ROTATING, SLOWER, CLEAR.

                        Why the fans conected to FAN0 and FAN2, they don't turn even slower ... if the voltage in shocket is 20.92 and 7.99???

                        1 Reply Last reply Reply Quote 0
                        • droftartsundefined
                          droftarts administrators
                          last edited by

                          Like @MrsDelish said, set the fan speed to S255, so your macro should be:

                          M106 P0 S0 H-1; Heatskin
                          M106 P1 S0 H-1; Layer 02
                          M106 P2 S0 H-1; Layer 01
                          
                          M106 P0 S255; Power On Fan
                          M106 P1 S255; Power On Fan
                          M106 P2 S255; Power On Fan
                          

                          Are the three fans exactly the same? If they are different, they respond differently to the low PWM duty cycle.

                          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 0
                          • peirofundefined
                            peirof
                            last edited by

                            The fans there isn't the same 2 heatskin fans 30mm 24v and 2 laywe fans 40mm 24v, but I have try to connect the fans in different sockets

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