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

    Parts Fan Allocation

    Scheduled Pinned Locked Moved Solved
    General Discussion
    2
    3
    125
    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.
    • PeterAundefined
      PeterA
      last edited by

      Hi all, I have a small issue that I'm hoping is a quick fix. My fan0 on my duet WIFI 2 is not working(no problem its toast) and i have connected my parts cooling fan to fan1. My g code is messed up as it only works as a hot end tool fan. Comes on as soon as the hot end heats up. The actual hot end fan is connected to a 24 v source an is always on already. The fan control on the screen has no effect on the fan speed. my g-code must be messed up, not sure if i have too free up the default F0 first?? the related g-code I have is below. All i would like is to have the parts cooling fan controlled by the screen fan and working on fan1 pin.
      Please help this ignorant brain. Thanks.

      M950 F0 C"fan0" Q500 ;new settings ; create fan 0 on pin fan0 and set its frequency
      M106 P0 S0 H-1 ;new settings ; 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 H1 T45 ; set fan 1 value. Thermostatic control is turned on
      M563 P0 S"Mosquito" D0 H1 F0 ; define tool 0
      G10 P0 X0 Y0 Z0 ; set tool 0 axis offsets
      G10 P0 R0 S0

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

        @PeterA If you only have one fan (the other being always on and connected directly to 24V), and it's a part cooling fan that you want to control (ie not thermostatic) and it is connected to fan1, then try:

        M950 F0 C"fan1" Q500 ; create fan 0 on pin fan1 and set its frequency
        M106 P0 S0 H-1 ; set fan 0 value. Thermostatic control is turned off
        
        M563 P0 S"Mosquito" D0 H1 F0; define tool 0
        G10 P0 X0 Y0 Z0 ; set tool 0 axis offsets
        G10 P0 R0 S0
        

        F0 (Fan 0) is the only one specified in config.g. It is connected to the 'fan1' pins. It is set as not thermostatically controlled. The tool settings are unchanged, with Fan 0 mapped to the tool in M563 (thermostatically controlled fans should not be mapped to tools).

        For more info see https://docs.duet3d.com/User_manual/Connecting_hardware/Fans_connecting

        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
        • PeterAundefined
          PeterA
          last edited by

          You're a Legend, works like a charm. Thank you so much, it seems simple enough when you see it but I was trying all the wrong way. Much appreciated.

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