Table of Contents
M106 - Set Fan Speed
Usage
M106 [P<index>] [S<speed>] [T<secondary>]
Description
Turns on selected fan and set its speed. By default, if no fan index is given, the nozzle cooling fan is selected.
This command is applied to the next block of commands added to the execution planner. It means that during printing it will take effect after previous moves in the planner are done. So it will be delayed a bit. When printer is in idle under manual control M106
will execute and change the fan speed immediately.
Arguments
Argument | Required | Description | Default value |
---|---|---|---|
P<index> | No | Fan index | 0 - Nozzle cooling fan |
S<speed> | No | Speed from 0 (off) to 255 (max) | 255 - Max speed |
T<secondary> | No | Secondary speed. Added in Marlin 1.1.7. (Requires EXTRA_FAN_SPEED) |
Examples
M106; Set fan to full speed
M106 S255; Set fan to full speed
M106 S127; Set fan to half speed
M106 S0; Turn off fan
M107 - Turn Off Fan
M107 [P<index>]
Description
Options
Argument | Required | Description | Default value |
---|---|---|---|
P<index> | No | Fan index | 0 - Nozzle cooling fan |
Examples
M107 P0;
M107;
- Both examples do the same - turn off nozzle cooling fan.