flexi-bot/docs/marlin/_gcode/M163.md
2023-09-05 20:38:49 +02:00

49 lines
888 B
Markdown

---
tag: m0163
title: Set Mix Factor
brief: Set a single mix factor for a mixing extruder.
author: thinkyhead
requires: MIXING_EXTRUDER
group: mixing
codes: [ M163 ]
notes: Requires `MIXING_EXTRUDER`.
parameters:
-
tag: S
optional: true
description: Component index
values:
-
tag: index
type: int
-
tag: P
optional: true
description: Mix factor
values:
-
tag: factor
type: float
examples:
-
pre: 'Save a 60/40 mix as tool index 5:'
code:
- M163 S0 P0.6
- M163 S1 P0.4
- M164 S5
-
pre: 'Save a 3/5 mix as tool index 4:'
code:
- M163 S0 P3
- M163 S1 P5
- M164 S4
---
Set a single mix factor (in proportion to the sum total of all mix factors). The mix must be committed to a virtual tool by [`M164`](/docs/gcode/M164.html) before it takes effect.