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

    How to get tool fan status?

    Scheduled Pinned Locked Moved
    Tuning and tweaking
    3
    5
    711
    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.
    • JRDMundefined
      JRDM
      last edited by

      Is there a g code to return the current part cooling fan setting? Also DWC doesn't seem to like showing the current setting.

      I have fan 3 assigned as the part cooling fan to T0 but the DWC doesn't show its status. I can move the slider to set the speed but the slider always springs back to zero. I confirm that the slider does adjust the fan speed, for example dragging fan slider to 100% or 50% and unclicking does set the fan speed but the slider indicator snaps to zero.

      Also, M106 Sxxx does set the fan speed, DWC fan slider doesn't indicate the current setting for that either.

      This is my current line assigning fan F3 to my tool 0:
      M563 P0 D2:3 H3:4:5:6 F3

      Is there something else I should look at?

      Firmware Name: RepRapFirmware for Duet 2 WiFi/Ethernet
      Firmware Electronics: Duet Ethernet 1.02 or later + DueX5
      Firmware Version: 2.02(RTOS) (2018-12-24b1)
      Web Interface Version: 1.22.6

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

        What does your fan section in your config look like?

        It's recommended to use Fan 0 as the part cooling fan because most slicers don't let you specify other fan ports.

        You can see the currently configured fan settings by sending M106 and the fan number you want to see. They should match what you have in config.g though.

        Z-Bot CoreXY Build | Thingiverse Profile

        1 Reply Last reply Reply Quote 0
        • JRDMundefined
          JRDM
          last edited by JRDM

          It's recommended to use Fan 0 as the part cooling fan because most slicers don't let you specify other fan ports.

          That's complicated right now because I have fans that I want to be "always on" that run at a different voltage from my part cooling fan. Duet itself doesn't seem to offer mixed fan voltage rails and DueX doesn't have always on fan jacks.

          Besides, from what I understand, assigning a fan to a tool addresses the limitations of slicers not being able to control an arbitrary fan. Once a fan is assigned to a tool using M563, M106 Sxxx will control the fan assigned to the tool currently in use with no extra terms necessary. RRF seems to handle this part just fine. Maybe DWC 1.x isn't aware of this, and if so, if it's not already addressed in DWC 2.x it probably should be taken care of in anticipation of all the tool changing printers coming, which will have a different part cooling fan for each tool.

          What does your fan section in your config look like?

          These are the only two fan-related commands in my config:

          M563 P0 D2:3 H3:4:5:6 F3 ;assigns motors 2 & 3, heaters 3-6 and fan 3 to tool 0
          M106 P1 H6 T60 L255 X255 C"Water Pump" ;thermostatic fan

          You can see the currently configured fan settings by sending M106 and the fan number you want to see.

          OK thanks, that does work. This didn't seem to be covered in the g code reference.

          1 Reply Last reply Reply Quote 0
          • JRDMundefined
            JRDM
            last edited by

            It seems to be working now. I don't know what changed. I'll double check later.

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

              M106 with no parameters will return the tool fan setting.

              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
              • First post
                Last post
              Unless otherwise noted, all forum content is licensed under CC-BY-SA