| m0106 |
Set Fan Speed |
Turn on the fan and set its speed |
thinkyhead |
thermal |
EXTRA_FAN_SPEED |
|
| [`M106`](/docs/gcode/M106.html) with no speed sets the fan to full speed. |
| Turn off fans with [`M107`](/docs/gcode/M107.html). |
|
| tag |
since |
optional |
description |
values |
| I |
2.0.6 |
true |
Material preset index. Overrides `S`. |
|
|
| tag |
optional |
description |
values |
| S |
true |
Speed, from 0 to 255. S255 provides 100% duty cycle; S128 produces 50%. |
|
|
| tag |
optional |
description |
values |
| P |
true |
Fan index |
|
|
| tag |
optional |
description |
values |
| T |
true |
Secondary speed. Added in Marlin 1.1.7. (Requires `EXTRA_FAN_SPEED`)
- `M106 P<fan> T3-255` sets a secondary speed for `<fan>`.
- `M106 P<fan> T2` uses the set secondary speed.
- `M106 P<fan> T1` restores the previous fan speed.
|
|
|
|
| pre |
code |
| Turn on the fan at 200/255 DC |
M106 S200 |
|
|