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

    M106 issue - solved

    Scheduled Pinned Locked Moved
    Firmware installation
    2
    6
    605
    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.
    • oc_geekundefined
      oc_geek
      last edited by oc_geek

      According to RRF3
      M106: Fan On
      Parameters

      Pnnn Fan number (optional, defaults to 0). (In RRF_3 relates to the fan number created by M950, NOT the fan pin number on the board)
      Snnn Fan speed (0 to 255 or 0.0 to 1.0))

      However what i've experienced is that M106 defaults for Tool FAN (which in my case is Fan 1...)
      This creates problems with slicers (e.g. Prusa Slicer) which assume the default instead being 0

      Is this going to be fixed soon ?

      Thanks

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

        @oc_geek If you are using a fan other fan 0 as your part cooling fan, then you need to map that fan to fan 0 in your tool definition.

        So in your case, add "F1" to the end of any of your M563 commands. Then any M106 commands without addition parameters will control fan 1 instead of fan 0.

        https://duet3d.dozuki.com/Wiki/Gcode#Section_M563_Define_or_remove_a_tool

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

        1 Reply Last reply Reply Quote 0
        • oc_geekundefined
          oc_geek
          last edited by oc_geek

          EDIT : understood my mistake

          in RRF "tool" is the "part cooling fan"...
          my understanding was "tool" was the hotend cooler... i got the two swapped

          thanks

          this is my config and F0 is work fan (part) and F1 is the Hotend (Tool)

          "Then any M106 commands without addition parameters will control fan 1 instead of fan 0." that would be my expectation too...but it's not.

          Unless "tool" is the actual "part cooling fan" in which case i shall use F0 there...

          ; -- Work cooling FAN 0 --
          ; Configure fan 0
          ; Manual control (H-1)
          M950 F0 C"out3" Q25
          M106 P0 S0 H-1 C"Blower Fan"

          ; -- Hot End FAN 1 --
          ; Hnn Thermostatic control is turned on, sensor #1 (HotEnd over 50 degrees)
          ; Qnn PWM frequency in Hz. Valid range: 0-65535
          M950 F1 C"out4" Q250
          M106 P1 S200 H1 T50 C"HotEnd Fan" ; set hot-end fan at 200/255 rate (noise..)

          ; ==================================
          ; TOOLS
          ; ==================================

          M563 P0 D0 H1 F1 ; Define tool 0 using fan 1 for M106, Heater H1 is hotend
          ; P tool number#
          ; D extruder drive# - Drive 0 is the first drive in the machine after the movement drives (usually X, Y and Z)
          ; H Heater#
          ; F Fan#

          ; G10 Tool offset and temperatures
          G10 P0 X0 Y0 Z0 ; Set tool 0 axis offsets
          G10 P0 R0 S0 ; Set initial tool 0 active and standby temperatures to 0C

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

            @oc_geek It can be confusing. One way to think about it is that thermostatic fans are generally assigned to heaters rather than tools. (More correctly, they are assigned to temperature sensors). But heaters get assigned to tools. So when a tool heats up and it's associated heater turns on, then the fan comes on by association at whatever temperature you have set. Conversely, non-thermostatic fans are the ones that you can control using the sliders or send M106 Sn commands, and these are the ones that we assign to tools in order to cool the part being printed.

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

            oc_geekundefined 1 Reply Last reply Reply Quote 1
            • oc_geekundefined
              oc_geek @deckingman
              last edited by oc_geek

              @deckingman yep now i understood the working logic behind, thanks
              i got confused by the "tool" thing

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

                @oc_geek said in M106 issue - solved:

                i got confused by the "tool" thing

                Wait 'till you start using a mixing hot end with 6 extruders and 9 tools defined. Then you'll really know how what confusion feels like 🙂

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

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