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

    Gcode controlled fan

    Scheduled Pinned Locked Moved
    General Discussion
    5
    8
    760
    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.
    • falcarundefined
      falcar
      last edited by

      For some reason even if I set my cooling to 100% in the slicer, it only sets it to 95%

      Any idea how i can get it to respect the slicer setting?

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

        Can you post your fan section from config.g?

        Z-Bot CoreXY Build | Thingiverse Profile

        1 Reply Last reply Reply Quote 0
        • falcarundefined
          falcar
          last edited by

          Sure,

          ; Fans
          M106 P0 S0.3 I0 F500 H-1 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
          M106 P1 S1 I0 F500 H1 T45 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on

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

            From wiki: The F parameter sets the fan PWM frequency, in Hz. The default is F250, which works with most fans, Try F100 or lower if you find that you can't control the speed of your fan.

            So seems your fan doesnt like 500 Hz, try default (remove f parameter from M106 command ) or try lower value.

            1 Reply Last reply Reply Quote 0
            • deckingmanundefined
              deckingman @falcar
              last edited by

              @falcar Can you get 100% using the sliders in DWC? Alternatively, what happens if you send M106 S255 via the console? If either of those give you 100%, then it's a slicer issue - most likely there is a max limit somewhere. You can test that theory by opening up the gcode file that you've set to use 100% fan speed in a text editor such as notepad++ and doing a search for "M106". You should see values of M106 255 but if they are around 242, then the slicer is capping the speed to 95%.

              Ian
              https://somei3deas.wordpress.com/
              https://www.youtube.com/@deckingman

              1 Reply Last reply Reply Quote 0
              • falcarundefined
                falcar
                last edited by

                Yes i can move the slider to 100%

                I'm in the middle of a print right now, but i'll try that when its done.

                The main reason is the fan is quite a bit louder at 95% than 100%

                1 Reply Last reply Reply Quote 0
                • Vetiundefined
                  Veti
                  last edited by

                  you can change the pwm frequency while printing

                  1 Reply Last reply Reply Quote 0
                  • deckingmanundefined
                    deckingman
                    last edited by

                    I doubt very much that the PWM frequency is the OP's problem. It might affect the actual speed that the fan runs at, but AFAIK this isn't a tacho fan so DWC can only report the demand speed. The fact that DWC reports 100% when the slider is set to 100% indicates to me that the slicer must be setting the demand speed to 95% if that is what DWC shows.

                    I'm assuming that the 95% values that the OP is reporting is what he is reading from the web interfaces or PanelDue, as I don't see how else he could know that it is running at 95%. So that would be the demand and not the actual speed and is therefore frequency agnostic as far as the displayed value is concerned.

                    Or to put it another way, one could set the fan at 100%, then stick a pencil or ones' finger in it (not recommended) and the display would still show 100% even though the fan itself is stopped.

                    Ian
                    https://somei3deas.wordpress.com/
                    https://www.youtube.com/@deckingman

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