<p>You need to change the amount of extruders in the <a href="https://github.com/MarlinFirmware/Marlin/blob/2.0.x/Marlin/Configuration.h" rel="nofollow noreferrer"><code>Configuration.h</code></a>:</p>
<p>Set 2 extruders by defining:</p>
<pre><code>// @section extruder

// This defines the number of extruders
// :[0, 1, 2, 3, 4, 5, 6, 7, 8]
#define EXTRUDERS 2
</code></pre>
<p>Define that you have a single nozzle:</p>
<pre><code>// For Cyclops or any &quot;multi-extruder&quot; that shares a single nozzle.
#define SINGLENOZZLE
</code></pre>
<p>If you want to switch filament during a print, you need to write tool loading and unloading (tool changing) scripts for the slicer you use, also do print a filament prime/wipe tower that is large enough to purge the filament to prevent color mixing.</p>
<p>In case color mixing, you do not set the amount of extruders, instead you need to define that mixing is being used:</p>
<pre><code>#define MIXING_EXTRUDER
</code></pre>
<p>furthermore, the amount of mixing stepper need to be defined:</p>
<pre><code>#define MIXING_STEPPERS 2
</code></pre>

CC BY-SA 4.0
2020-06-11T07:05:48.327Z
2021-03-08T11:17:35.517Z
2021-03-08T11:17:35.517Z
0scar
<p>Hi I recently upgraded my CR-10S motherboard to the SKR 1.3 with TMC2208 drivers, in addition, I added a 2 in 1 out extruder system, but I am unsure of how to set it up in Marlin. If anyone could provide me a list of the lines of code I need to comment / uncomment / change, or any other advice it would be greatly appreciated.</p>

CC BY-SA 4.0
2022-02-07T18:21:51.883Z
Just a follow up. What retraction settings do you recommend when using a 2 in 1 out nozzle? I’m having a problem with clogging and I think different retraction settings might help.
Joe Racanati
CC BY-SA 4.0
2022-02-08T07:43:28.550Z
@JoeRacanati If you have a new question, please ask it by clicking the [Ask Question](https://3dprinting.stackexchange.com/questions/ask) button. Include a link to this question if it helps provide context.
0scar
<marlin><creality-cr-10>
How do I set up a 2 in 1 out extruder system in Marlin
0rangeSp33dy
# How do I set up a 2 in 1 out extruder system in Marlin

(Asked by: username_0 on 2020-06-10)

Hi I recently upgraded my CR-10S motherboard to the SKR 1.3 with TMC2208 drivers, in addition, I added a 2 in 1 out extruder system, but I am unsure of how to set it up in Marlin. If anyone could provide me a list of the lines of code I need to comment / uncomment / change, or any other advice it would be greatly appreciated.

**Tags:** marlin, creality-cr-10

> **Comments:**
> **username_1**: Just a follow up. What retraction settings do you recommend when using a 2 in 1 out nozzle? I’m having a problem with clogging and I think different retraction settings might help.  
> **username_2**: @username_1 If you have a new question, please ask it by clicking the [Ask Question](https://3dprinting.stackexchange.com/questions/ask) button. Include a link to this question if it helps provide context.  

---

## 1 answers

### Answer by username_2 on 2020-06-11. Score: 1

You need to change the amount of extruders in the [`Configuration.h`](https://github.com/MarlinFirmware/Marlin/blob/2.0.x/Marlin/Configuration.h):

Set 2 extruders by defining:

```
// @section extruder

// This defines the number of extruders
// :[0, 1, 2, 3, 4, 5, 6, 7, 8]
#define EXTRUDERS 2

```

Define that you have a single nozzle:

```
// For Cyclops or any "multi-extruder" that shares a single nozzle.
#define SINGLENOZZLE

```

If you want to switch filament during a print, you need to write tool loading and unloading (tool changing) scripts for the slicer you use, also do print a filament prime/wipe tower that is large enough to purge the filament to prevent color mixing.

In case color mixing, you do not set the amount of extruders, instead you need to define that mixing is being used:

```
#define MIXING_EXTRUDER

```

furthermore, the amount of mixing stepper need to be defined:

```
#define MIXING_STEPPERS 2

```


---

