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

Problems with configuring fans on Duet 2 Wifi

Scheduled Pinned Locked Moved
General Discussion
3
8
337
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.
  • undefined
    TokeDK
    last edited by 6 Oct 2020, 17:48

    I'm having problems configuring my fans for my TeVo Little Monster.

    I'm using a Duet 2 Wifi v.1.02 (or later) and firmware version 3.1.1.

    My current wiring is like so:
    Always on = board fan

    fan0 = part cooling 1,
    fan1 = hot end fan,
    fan2 = part cooling 2

    My config is:

    M950 F0 C"fan0" Q500 ; create fan 0 on pin fan0 and set its frequency
    M106 P0 S0 H1 T45 ; set fan 0 value. Thermostatic control is turned on
    M950 F1 C"fan2" Q500 ; create fan 1 on pin fan1 and set its frequency
    M106 P2 S1 H-1 ; set fan 1 value. Thermostatic control is turned off

    With this configuration the fan0 (part cooling) and board fan is always on, but when I heat up the hotend nothing changes, and I can not control the fans either through commands or the interface.

    I'm an absolute noob to configuration, hopefully some of you smart people can help, apologies.😁

    Edit:
    I'm sure the wiring is as stated, as I've tested pluging it in different ports.

    undefined 1 Reply Last reply 6 Oct 2020, 19:09 Reply Quote 0
    • undefined
      Veti
      last edited by 6 Oct 2020, 17:56

      have you assigned the fan to a tool?

      i would suggest that you do the fan configuration using the config tool
      https://configtool.reprapfirmware.org

      1 Reply Last reply Reply Quote 1
      • undefined
        Phaedrux Moderator @TokeDK
        last edited by Phaedrux 10 Jun 2020, 19:10 6 Oct 2020, 19:09

        @TokeDK said in Problems with configuring fans on Duet 2 Wifi:

        My current wiring is like so:
        Always on = board fan
        fan0 = part cooling 1,
        fan1 = hot end fan,
        fan2 = part cooling 2
        My config is:
        M950 F0 C"fan0" Q500 ; create fan 0 on pin fan0 and set its frequency M106 P0 S0 H1 T45 ; set fan 0 value. Thermostatic control is turned on M950 F1 C"fan2" Q500 ; create fan 1 on pin fan1 and set its frequency M106 P2 S1 H-1 ; set fan 1 value. Thermostatic control is turned off

        Your config is not correct for what you want. If fan0 is to be the part cooling fan, except you have it thermostatically controlled based on the hotend temps. And Fan1 is configured as not being thermostatically controlled.

        Is the intention to have part cooling 2 be used on a separate tool or both fans on the same tool? You'll need to define that in your tool definition.

        Here's an example from the configurator that should work assuming you only have 1 tool.

        ; Fans
        M950 F0 C"fan0" Q500 ; create fan 0 on pin fan0 and set its frequency
        M106 P0 S0 H-1 ; set fan 0 value. Thermostatic control is turned off
        M950 F1 C"fan1" Q500 ; create fan 1 on pin fan1 and set its frequency
        M106 P1 S1 H0:1 T45 ; set fan 1 value. Thermostatic control is turned on
        M950 F2 C"fan2" Q500 ; create fan 2 on pin fan2 and set its frequency
        M106 P2 S1 H-1 ; set fan 2 value. Thermostatic control is turned off
        ; Tools
        M563 P0 S"tool" D0 H1 F0:2 ; 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

        Z-Bot CoreXY Build | Thingiverse Profile

        undefined 2 Replies Last reply 6 Oct 2020, 21:29 Reply Quote 1
        • undefined
          TokeDK @Phaedrux
          last edited by 6 Oct 2020, 21:29

          @Phaedrux
          Thanks. This is great, I didn't realize I'd have to configure a tool also.

          Yes it was my intention to have 2 part cooling fans on 1 tool.

          Your snippet helped me understand the configuration perfectly! Now I'm finally just about ready to do some test prints! 😊

          1 Reply Last reply Reply Quote 0
          • undefined
            TokeDK @Phaedrux
            last edited by 6 Oct 2020, 21:39

            @Phaedrux
            Altough now when I manually adjust the levels of the tool fan (fan1) all the other fans follow the same level... The only one that I can change independently is fan2??

            1 Reply Last reply Reply Quote 0
            • undefined
              Phaedrux Moderator
              last edited by 6 Oct 2020, 21:43

              Fan1 in my example is the heat sink fan and thermostatically controlled, are you sure that's the fan you're adjusting?

              In the DWC there are sliders for the tool fan, which is the fan f the currently selected tool, and the fan sliders for the fans themselves. If you have more than one tool the "tool fan" slider will control a different fan depending on what tool is selected. But if you have only 1 tool it will control the fan assigned to that 1 tool. In your case it would be fan0 and fan2 at least the way I have shown it configured.

              Z-Bot CoreXY Build | Thingiverse Profile

              undefined 1 Reply Last reply 6 Oct 2020, 21:50 Reply Quote 0
              • undefined
                TokeDK @Phaedrux
                last edited by 6 Oct 2020, 21:50

                @Phaedrux
                This video shows what I mean:
                https://youtu.be/Dt5jatG5b4M

                My config is:

                ; Fans
                M950 F0 C"fan0" Q500 ; create fan 0 on pin fan0 and set its frequency
                M106 P0 S0 H-1 ; set fan 0 value. Thermostatic control is turned off
                M950 F1 C"fan1" Q500 ; create fan 1 on pin fan1 and set its frequency
                M106 P1 S1 H0:1 T45 ; set fan 1 value. Thermostatic control is turned on
                M950 F2 C"fan2" Q500 ; create fan 2 on pin fan2 and set its frequency
                M106 P2 S1 H-1 ; set fan 2 value. Thermostatic control is turned off
                ; Tools
                M563 P0 S"tool" D0 H1 F0:2 ; 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
                1 Reply Last reply Reply Quote 0
                • undefined
                  Phaedrux Moderator
                  last edited by Phaedrux 10 Jun 2020, 21:54 6 Oct 2020, 21:53

                  Yes that behaviour is exactly what I describe. You can click on the "change visibility" button to hide the redundant fan0 and fan2 if you wish.

                  Unless I'm missing something, what exactly isn't working?

                  Z-Bot CoreXY Build | Thingiverse Profile

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