<p>Interesting project your are working on.</p>

<blockquote>
  <p>Does it work with normal dual extruders.?(Does mine come under any two
  system mentioned above?)</p>
</blockquote>

<p>The hotend/extruder you mentioned above is a E3D Chimera like system. And it is not suited for your application because you cannot lower/lift the hotends independently from each other.</p>

<p>examples of these configurations</p>

<ul>
<li>DUAL_X_CARRIAGE:

<ul>
<li>look at BCN3D sigmax dual extruder</li>
</ul></li>
<li>SWITCHING_NOZZLE:

<ul>
<li>look at ultimaker 3 mechanism for lowering/switching the active hotend.</li>
</ul></li>
</ul>

<p>The above systems aren't well documentend and will be hard to make. 
I advice you to look into an interesting blog post from E3D about a tool changer. It is opensource, well documented so you're be able to create one yourself with tool heads for your application. A spade to create patterns in the powder. And a liquid tool to fill the patterns.</p>

CC BY-SA 4.0
2018-07-25T04:36:30.270Z
The extruder from robotdigg is there for the purpose of showing that I'm using two motor two nozzle system not one motor two nozzle one. I use a linear actuator like one from openbuilds as extruder 1 to make punctuation mark and and a Auger based pneumatic system to dispense liquid. Dispenser system is fixed but the linear actuator can move up and down
Athul
CC BY-SA 4.0
2018-07-23T09:19:24.273Z
2018-07-23T13:01:10.293Z
2018-07-23T13:01:10.293Z
Toon
<p>I'm currently working on a project which uses two extruders. One for making an impression in a powder and other one to dispose a liquid in to the impression made by the first extruder.</p>

<p>I'm currently manually writing gcode for the purpose, and have some doubts about gcodes and setting up a second extruder. I've once configured a dual extruder system, but it uses old marlin and current one has a variety of dual extruder system, so confused about which one to choose.</p>

<pre><code>Firmware : Marlin 1.1.6

Machine : custom made

Board :  Ramps 1.4
</code></pre>

<p>configuration file : <a href="https://drive.google.com/open?id=1Qeft8orIKeWt8YXmcQD-qB6OTy9slEKw" rel="nofollow noreferrer">Configuarion</a></p>

<p>Dual extruder setup: two nozzles with separate stepper motor for each nozzle. For the sake of simplicity let's say something like <a href="https://www.robotdigg.com/product/243/MK7-Dual-Stepextruder" rel="nofollow noreferrer">this</a></p>

<p>Which category does this one go?? By reading marlin documentation it doesn't belong to any special category (???)</p>

<p>I only changed following in FW,</p>

<pre><code>#define EXTRUDERS 2

#define TEMP_SENSOR_0 5
#define TEMP_SENSOR_1 5
</code></pre>

<p>I tested by sending T0 and T1 to select extruders and extruding them</p>

<p>Do I have to change anything else??</p>

<p>This is the test gcode:</p>

<pre><code>G28       ;home

T0        ;select extruder 1
G0 X20    ;move to X 20
G92 E0    ;set current position of extruder as 0
G1 E10    ;extrude 10 mm
G92 E0    ;set current position of extruder as 0
G1 E-10   ;retract 10 mm

T1        ;select extruder 2
G92 E0    ;set current position of extruder as 0
G1 E5     ;extrude 5 mm
G4 P500   ;give a delay of 500 ms before next move

T0
G0 X 30
G92 E0
G1 E10
G92 E0
G1 E-10

T1
G92 E0
G1 E5
G4 P500

T0
G0 X 40
G92 E0
G1 E10
G92 E0
G1 E-10

T1
G92 E0
G1 E5
G4 P500

T0
G0 X 50
G92 E0
G1 E10
G92 E0
G1 E-10

T1
G92 E0
G1 E5
G4 P500

T0
G0 X 60
G92 E0
G1 E10
G92 E0
G1 E-10

T1
G92 E0
G1 E5
G4 P500

T0
G0 X70
G92 E0
G1 E10
G92 E0
G1 E-10

T1
G92 E0
G1 E5
G4 P500

T0
G0 X70
G92 E0
G1 E10
G92 E0
G1 E-10

T1
G92 E0
G1 E5
G4 P500

T0
G0 X80
G92 E0
G1 E10
G92 E0
G1 E-10

T1
G92 E0
G1 E5
G4 P500
</code></pre>

<p>What it does is:</p>

<ol>
<li>After homing, move to given position</li>
<li>Activate extruder 1 and extrude some(make impression)</li>
<li>then activating extruder 2 and extrude</li>
<li>move to next position and repeate</li>
</ol>

<p>What I actually want is:</p>

<ol>
<li>After homing, move to given position</li>
<li>Activate extruder 1 and extrude some (make impression)</li>
<li>then activating extruder 2 </li>
<li>move extruder 2 to the position where extruder 1 extruded material</li>
<li>Extrude material (by extruder 2)</li>
<li>Move to next position and repeat</li>
</ol>

<p>one way to achieve this is add an additional code after enabling extruder 2</p>

<p>eg:</p>

<pre><code>T0
G0 X 20
G92 E0
G1 E10
G92 E0
G1 E-10

T1
G0 X15   ; if X offset of E2 from E1 is 5mm, assuming no Y offset
G92 E0
G1 E5
G4 P500

T0
G0 X 30
G92 E0
G1 E10
G92 E0
G1 E-10

T1
G0 X25
G92 E0
G1 E5
G4 P500
</code></pre>

<p>In plastic extrusion this is normally done by setting offset in Slic3r. </p>

<p>Is there any other way to do this, position E22 to the position of E1.
Is there any specific G/Mcode for it??
There's a provision to set offset in Marlin. But this is what it says in marlin documentation </p>

<p><strong>"Z hotend offset only available with DUAL_X_CARRIAGE or SWITCHING_NOZZLE."</strong></p>

<p>Does it work with normal dual extruders.?(Does mine come under any two system mentioned above?)</p>

<marlin><dual-nozzle>
Positioning Extruders after Tool change : Marlin 1.1.6
Athul
# Positioning Extruders after Tool change : Marlin 1.1.6

(Asked by: username_0 on 2018-07-21)

I'm currently working on a project which uses two extruders. One for making an impression in a powder and other one to dispose a liquid in to the impression made by the first extruder.

I'm currently manually writing gcode for the purpose, and have some doubts about gcodes and setting up a second extruder. I've once configured a dual extruder system, but it uses old marlin and current one has a variety of dual extruder system, so confused about which one to choose.

```
Firmware : Marlin 1.1.6

Machine : custom made

Board :  Ramps 1.4

```

configuration file : [Configuarion](https://drive.google.com/open?id=1Qeft8orIKeWt8YXmcQD-qB6OTy9slEKw)

Dual extruder setup: two nozzles with separate stepper motor for each nozzle. For the sake of simplicity let's say something like [this](https://www.robotdigg.com/product/243/MK7-Dual-Stepextruder)

Which category does this one go?? By reading marlin documentation it doesn't belong to any special category (???)

I only changed following in FW,

```
#define EXTRUDERS 2

#define TEMP_SENSOR_0 5
#define TEMP_SENSOR_1 5

```

I tested by sending T0 and T1 to select extruders and extruding them

Do I have to change anything else??

This is the test gcode:

```
G28       ;home

T0        ;select extruder 1
G0 X20    ;move to X 20
G92 E0    ;set current position of extruder as 0
G1 E10    ;extrude 10 mm
G92 E0    ;set current position of extruder as 0
G1 E-10   ;retract 10 mm

T1        ;select extruder 2
G92 E0    ;set current position of extruder as 0
G1 E5     ;extrude 5 mm
G4 P500   ;give a delay of 500 ms before next move

T0
G0 X 30
G92 E0
G1 E10
G92 E0
G1 E-10

T1
G92 E0
G1 E5
G4 P500

T0
G0 X 40
G92 E0
G1 E10
G92 E0
G1 E-10

T1
G92 E0
G1 E5
G4 P500

T0
G0 X 50
G92 E0
G1 E10
G92 E0
G1 E-10

T1
G92 E0
G1 E5
G4 P500

T0
G0 X 60
G92 E0
G1 E10
G92 E0
G1 E-10

T1
G92 E0
G1 E5
G4 P500

T0
G0 X70
G92 E0
G1 E10
G92 E0
G1 E-10

T1
G92 E0
G1 E5
G4 P500

T0
G0 X70
G92 E0
G1 E10
G92 E0
G1 E-10

T1
G92 E0
G1 E5
G4 P500

T0
G0 X80
G92 E0
G1 E10
G92 E0
G1 E-10

T1
G92 E0
G1 E5
G4 P500

```

What it does is:

1. After homing, move to given position
2. Activate extruder 1 and extrude some(make impression)
3. then activating extruder 2 and extrude
4. move to next position and repeate

What I actually want is:

1. After homing, move to given position
2. Activate extruder 1 and extrude some (make impression)
3. then activating extruder 2
4. move extruder 2 to the position where extruder 1 extruded material
5. Extrude material (by extruder 2)
6. Move to next position and repeat

one way to achieve this is add an additional code after enabling extruder 2

eg:

```
T0
G0 X 20
G92 E0
G1 E10
G92 E0
G1 E-10

T1
G0 X15   ; if X offset of E2 from E1 is 5mm, assuming no Y offset
G92 E0
G1 E5
G4 P500

T0
G0 X 30
G92 E0
G1 E10
G92 E0
G1 E-10

T1
G0 X25
G92 E0
G1 E5
G4 P500

```

In plastic extrusion this is normally done by setting offset in Slic3r.

Is there any other way to do this, position E22 to the position of E1.
Is there any specific G/Mcode for it??
There's a provision to set offset in Marlin. But this is what it says in marlin documentation

**"Z hotend offset only available with DUAL\_X\_CARRIAGE or SWITCHING\_NOZZLE."**

Does it work with normal dual extruders.?(Does mine come under any two system mentioned above?)

**Tags:** marlin, dual-nozzle


---

## 1 answers

### Answer by username_1 on 2018-07-23. Score: 1

Interesting project your are working on.

> Does it work with normal dual extruders.?(Does mine come under any two
> system mentioned above?)

The hotend/extruder you mentioned above is a E3D Chimera like system. And it is not suited for your application because you cannot lower/lift the hotends independently from each other.

examples of these configurations

* DUAL\_X\_CARRIAGE:
  + look at BCN3D sigmax dual extruder
* SWITCHING\_NOZZLE:
  + look at ultimaker 3 mechanism for lowering/switching the active hotend.

The above systems aren't well documentend and will be hard to make.
I advice you to look into an interesting blog post from E3D about a tool changer. It is opensource, well documented so you're be able to create one yourself with tool heads for your application. A spade to create patterns in the powder. And a liquid tool to fill the patterns.

> **Comments:**
> **username_0**: The extruder from robotdigg is there for the purpose of showing that I'm using two motor two nozzle system not one motor two nozzle one. I use a linear actuator like one from openbuilds as extruder 1 to make punctuation mark and and a Auger based pneumatic system to dispense liquid. Dispenser system is fixed but the linear actuator can move up and down  

---

