M107 turns off fan1?



  • 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



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



  • @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



  • 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.



  • @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.


  • administrators

    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.



  • @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)"


  • administrators

    @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.



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


Locked
 

Looks like your connection to Duet3D was lost, please wait while we try to reconnect.