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

    seperate fan controll

    Scheduled Pinned Locked Moved
    Tuning and tweaking
    3
    5
    283
    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.
    • tracarundefined
      tracar
      last edited by tracar

      on duet wifi with latest build

      ; Fans

      M950 F0 C"fan0" Q500 ; create fan0 on pin fan0 and set its frequency
      M106 P0 C"part/bridging fan" P1 S0 H-1 ; set fan0 "H-1 disables thermostatic mode" or H1 enables. ("S" parameter turns that fan on or off S0 or S1) (T45 is fan on at 45 degrees)

      M950 F1 C"fan1" Q500 ; create (Tool fan 1) on pin fan1 and set its frequency
      M106 P1 C"tool fan" S0 H1 T45 ; set (Tool fan 1) value. Thermostatic control is turned off

      M950 F2 C"e1heat" Q20000 ; create fan on pin e1heat and set its frequency ( connected to Solid State relay )
      M106 P2 C"Neopixels ON/OFF" S1 H-1 ;set fan 2 name and value. Thermostatic control is turned off

      M950 F3 C"fan2" Q20000 ; create fan2 on pin fan0 and set its frequency ( connected to Solid State relay )
      M106 P3 C"Relay 2 ON/OFF" S0 H-1

      it shows up in webface under fan controll as separate fan sliders, named "part/bridging fan" and "tool fan".
      the tool fan turns on at 45deg
      when a print is started the sliders ( both) do not separate control, but control thepart/bridging fan no matte which slider is moved

      What could the issue be?

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

        you assign the fans to the tool with the

        M563 P0 D0 H1 F0:2 ; define tool 0

        command. The F parameter assigns them and then M106 M107 controls both fans

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

          The tool fan slider in DWC is a special slider that is attached to the part cooling fan of the currently selected tool. In printers with multiple tools it makes more sense. You can hide the slider if you like by clicking on change visibility.

          Z-Bot CoreXY Build | Thingiverse Profile

          1 Reply Last reply Reply Quote 0
          • tracarundefined
            tracar
            last edited by

            @Phaedrux said in seperate fan controll:

            The tool fan slider in DWC is a special slider that is attached to the part cooling fan of the currently selected tool.

            so ultimately what i was trying to get going is one fan set up to thermostatically turn on for the tool head when it reaches 45 deg, the second fan can manually be turned on or automatically turned on when a bridging function happens

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

              @tracar said in seperate fan controll:

              M950 F1 C"fan1" Q500 ; create (Tool fan 1) on pin fan1 and set its frequency
              M106 P1 C"tool fan" S0 H1 T45 ; set (Tool fan 1) value. Thermostatic control is turned off

              So what you're calling the tool fan is actually the hotend heatsink fan?

              As I said, DWC has a "Tool Fan" slicer already, and you've also created a fan called "tool fan", however, the one you've created is thermostatic, so it won't show up as a slider controlled fan.

              In the snip of code I quoted above you should change the name to "heatsink", but tool fan has a very specific meaning already.

              Does that clear up the confusion?

              Z-Bot CoreXY Build | Thingiverse Profile

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