M106 Fans Question

  • Need some clarification. So I set my part cooling fan in my config with this M106 P0 S100 H-1 so its on roughly at 40 percent any time the printer is on.
    So when i slice something in cura and have the fan set for off for first layer then go to 100 percent after that. That will override my S parameter on my M106 command right? Am I understanding that correctly?

  • @57buick Yes. Any subsequent M106 with an "S" parameter will override any previous "S" value. BUT, if you want to limit the maximum fan speed (because say it's a bit too powerful), you can do that by using the "X" parameter in your config.g file. So if you use M106 .....X100, then any M106 "S" command that exceeds 100 will be rounded down to that value.

    Edit. You can also set a minimum pwm value https://duet3d.dozuki.com/Wiki/Gcode#Section_M106_Fan_On

    Is there any particular reason why you want the fan to start as soon as the Duet boots? It is more usual to use S0 in config.g so that it doesn't initially run.

Log in to reply