Comment on page
[Marlin] M106 - Set Fan Speed
Turn on one of the fans and set its speed. If no fan index is given, the print cooling fan is selected. The fan speed applies to the next block added to the planner, so it will not take effect until previous moves in the planner are done. Under manual control with an idle machine,
M106will change the fan speed immediately.
[I<index>]Material preset index. Overrides S.
[S<speed>]Speed, from 0 to 255. S255 provides 100% duty cycle; S128 produces 50%.
[T<secondary>]Secondary speed. Added in Marlin 1.1.7. (Requires
M106 P<fan> T3-255sets a secondary speed for
M106 P<fan> T2uses the set secondary speed.
M106 P<fan> T1restores the previous fan speed.
Turn on the fan at 200/255 DC