<p>You can set the 'steps per mm' for the extruder (and the other axes) by sending GCODE to the printer, and store this in the internal memory. Re-flashing the firmware only affects the 'factory reset' configuration of the printer parameters.</p>

<p>To see how to calibrate your extruder, you're probably best looking for videos since although the process is just a few GCODE commands, the whole process is not easy to understand.</p>

CC BY-SA 3.0
2018-02-28T20:42:07.930Z
2018-02-28T20:42:07.930Z
Sean Houlihane
<p>The firmware of the printer reads the g-code, in this instance, for z-axis movement. The g-code provides only (primarily) millimeters of movement and direction, along with speed.</p>

<p>The firmware reads those figures, figuratively speaking, and knows from the values stored in the firmware, how many steps to rotate the motor, in what direction and at what rate.</p>

<p>I suppose if you were a glutton for punishment, you could write some code to convert the existing measurements to ones that are adjusted for the new screw, but that's just crazy. Imagine that your new screw provides for 3.729 times the movement that the old screw did per unit of rotation. You'd have to find all the z-movements in the code and apply that factor to those numbers. I suspect rounding errors might make for a less-than-satisfactory print.</p>

<p>As you've mentioned in your question about editing the firmware, one may expect that you have an idea what is involved. If not, that may be the topic of another post.</p>

CC BY-SA 3.0
2018-02-28T18:52:35.820Z
2018-02-28T18:52:35.820Z
fred_dot_u
<p>I have modified my Prusa i3 MK2 printer so that the existing extruder motor has now been attached to a 5mm lead screw with a 1mm pitch. What is the easiest way to control the extruding of the printer now.</p>

<p>For example is it possible to change the settings in slic3er at all for the extruder? or would I have to download and edit the marlin firmware?</p>

CC BY-SA 3.0
2018-02-28T20:43:27.253Z
Do you mean 'Z' azis, or extruder, which would be E? It doesn't affect the answer, but makes your question look weird.
Sean Houlihane
CC BY-SA 3.0
2018-03-01T00:08:09.547Z
@marc-mckee both cases needs to edit your firmware to keep the right parameters, For Extruder to feed the exactly amount of filament, And for Z axis to get the correct height if is this the case you will have printings with a 1/3 of normal height or less.
Fernando Baltazar
CC BY-SA 3.0
2018-03-01T08:32:17.523Z
@FernandoBaltazar You do NOT need to edit the firmware. M92, G500.
Sean Houlihane
CC BY-SA 3.0
2018-03-01T21:26:14.760Z
Sorry i mean the extruder motor (E), i have used Pusa's online calculator and it has suggest this G code: "M92 Z3200.00" but i'm not sure where this needs to be added to?
Marc McKee
CC BY-SA 3.0
2018-03-02T06:43:31.967Z
@MarcMcKee Sean is right, just connect your printer to a Gcode sender in your PC and type M92 Z3200.00 to enter the new values.
Fernando Baltazar
<prusa-i3><z-axis><prusa-i3-rework>
Z axis Control of Prusa i3
Marc McKee
# Z axis Control of Prusa i3

(Asked by: username_0 on 2018-02-28)

I have modified my Prusa i3 MK2 printer so that the existing extruder motor has now been attached to a 5mm lead screw with a 1mm pitch. What is the easiest way to control the extruding of the printer now.

For example is it possible to change the settings in slic3er at all for the extruder? or would I have to download and edit the marlin firmware?

**Tags:** prusa-i3, z-axis, prusa-i3-rework

> **Comments:**
> **username_1**: Do you mean 'Z' azis, or extruder, which would be E? It doesn't affect the answer, but makes your question look weird.  
> **username_2**: @username_0-username_0 both cases needs to edit your firmware to keep the right parameters, For Extruder to feed the exactly amount of filament, And for Z axis to get the correct height if is this the case you will have printings with a 1/3 of normal height or less.  
> **username_1**: @username_2 You do NOT need to edit the firmware. M92, G500.  
> **username_0**: Sorry i mean the extruder motor (E), i have used Pusa's online calculator and it has suggest this G code: "M92 Z3200.00" but i'm not sure where this needs to be added to?  
> **username_2**: @username_0 username_1 is right, just connect your printer to a Gcode sender in your PC and type M92 Z3200.00 to enter the new values.  

---

## 2 answers

### Answer by username_3 on 2018-02-28. Score: 1

The firmware of the printer reads the g-code, in this instance, for z-axis movement. The g-code provides only (primarily) millimeters of movement and direction, along with speed.

The firmware reads those figures, figuratively speaking, and knows from the values stored in the firmware, how many steps to rotate the motor, in what direction and at what rate.

I suppose if you were a glutton for punishment, you could write some code to convert the existing measurements to ones that are adjusted for the new screw, but that's just crazy. Imagine that your new screw provides for 3.729 times the movement that the old screw did per unit of rotation. You'd have to find all the z-movements in the code and apply that factor to those numbers. I suspect rounding errors might make for a less-than-satisfactory print.

As you've mentioned in your question about editing the firmware, one may expect that you have an idea what is involved. If not, that may be the topic of another post.


---

### Answer by username_1 on 2018-02-28. Score: 0

You can set the 'steps per mm' for the extruder (and the other axes) by sending GCODE to the printer, and store this in the internal memory. Re-flashing the firmware only affects the 'factory reset' configuration of the printer parameters.

To see how to calibrate your extruder, you're probably best looking for videos since although the process is just a few GCODE commands, the whole process is not easy to understand.


---

