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

    M107 turns off fan1?

    Scheduled Pinned Locked Moved
    Tuning and tweaking
    3
    9
    1.5k
    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.
    • Pilotltdundefined
      Pilotltd
      last edited by

      Printing ABS and using Cura - I don't want part cooling fan on so it's unticked. Cura then automatically puts a M107 as the last line before the gcode starts.

      M107 in gcode turns off hot end fan?? It says depreciated, but even so that should only turn off P0 not P1 shouldn't it?

      Here are the relevant lines out of my config.g

      M106 P0 S0 I0 F500 H-1
      M106 P1 S255 I0 F500 H1 T45

      using

      Firmware Name: RepRapFirmware for Duet 2 WiFi/Ethernet
      Firmware Electronics: Duet WiFi 1.02 or later
      Firmware Version: 2.0(RTOS) (2018-06-05b3)
      WiFi Server Version: 1.21
      Web Interface Version: 1.21.2-b1

      Steve

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

        Instead of unticking the part cooling fan, try setting the fan speed to 0%

        Z-Bot CoreXY Build | Thingiverse Profile

        Pilotltdundefined 1 Reply Last reply Reply Quote 0
        • Pilotltdundefined
          Pilotltd @Phaedrux
          last edited by

          @phaedrux - setting to 0% still sticks M107 in and no M106 anywhere. Putting a value other than 0% in it puts in M106 Sxxx in relevant place.

          M104 S230 ;Start heating extruder
          M109 S230 ;Wait for extruder to reach temp before proceeding
          G92 E0
          G1 F1500 E-3
          ;LAYER_COUNT:50
          ;LAYER:0
          M107
          G0 F3600 X9.991 Y-18.08 Z0.3
          ;TYPE:SKIRT

          Steve

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

            Interesting. I've never run with the fan completely off. I usually have it set to at least 10% so that the fan will just start to spin even when printing ABS/ASA so that the cooling shroud has a little bit of airflow through it to keep it from getting soft and sagging.

            As a work around you could set it to 1%. I doubt your part cooling fan will even start to spin at that speed.

            Z-Bot CoreXY Build | Thingiverse Profile

            Pilotltdundefined 1 Reply Last reply Reply Quote 0
            • Pilotltdundefined
              Pilotltd @Phaedrux
              last edited by

              @phaedrux - I thought I had a work around, there's a plugin for an enclosure fan that allows parameters so I set
              M106 P1 S255 I0 F500 H1 T45 - it puts it right before the pre code. Guess what M107 turns it off! A bug in duet firmware in my opinion - it should, if it works, just turn off P0, not all fans.

              Steve

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

                M107 should turn off the print cooling fan only, just like M106 S0 does with no P parameter. The print cooling fan defaults to being Fan 0, but you can change it using the F parameter in your M563 tool definition commands.

                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

                Pilotltdundefined 1 Reply Last reply Reply Quote 0
                • Pilotltdundefined
                  Pilotltd @dc42
                  last edited by

                  @dc42 - My M563 is M563 P0 D0 H1 F1 are you saying it should be M563 P0 D0 H1 F0?

                  The M563 command description is confusing "Fnnn Fan(s) to map fan 0 to (RepRapFirmware 1.16 and later)"

                  Steve

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

                    @pilotltd said in M107 turns off fan1?:

                    @dc42 - My M563 is M563 P0 D0 H1 F1 are you saying it should be M563 P0 D0 H1 F0?

                    The M563 command description is confusing "Fnnn Fan(s) to map fan 0 to (RepRapFirmware 1.16 and later)"

                    Yes. If Fan 0 is always your print cooling fan, you don't need any F parameters in your M563 commands at all. That parameter is only needed in IDEX and multi-tool systems where different tools use different print cooling fans; or when you can't use Fan 0 as the print cooling fan for some other reason.

                    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

                    Pilotltdundefined 1 Reply Last reply Reply Quote 0
                    • Pilotltdundefined
                      Pilotltd @dc42
                      last edited by

                      @dc42 Thanks for that - problem solved. Configurator put that in - maybe I answered incorrectly.

                      Steve

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