3D printer G-code · Marlin
M92: Set steps per unit (E-steps) (Marlin)
Set steps per unit (E-steps) — Sets how many motor steps make one millimetre. For the extruder this is the E-steps value that you calibrate by extruding 100 mm. In Klipper the same is…
On this page
| Property | Value |
|---|---|
| Command | M92 |
| Function | Set steps per unit (E-steps) |
| Firmware | Marlin |
| Group | Calibration |
| Syntax | M92 [X] [Y] [Z] [E] |
What does M92 do?
Sets how many motor steps make one millimetre. For the extruder this is the E-steps value that you calibrate by extruding 100 mm. In Klipper the same is rotation_distance in printer.cfg.
Parameters
| Parameter | Meaning |
|---|---|
X Y Z E | Steps per mm of each axis |
Example
M92 E415.3 ; direct drive with gear reduction
M500Tips from practice
- Use the E-steps calculator for the new value.
- X and Y steps are set by belt pitch and pulley; change them only if a part is wrong on every axis in the same ratio.
Marlin. Many Marlin commands only exist when the feature is enabled in the firmware build. If the printer answers "Unknown command", the feature is missing. Klipper does not understand most of these settings codes; it uses printer.cfg instead.
Related commands
More calibration commands
| Command | Function | Firmware |
|---|---|---|
M593 | Input shaping (Marlin) | Marlin |
SHAPER_CALIBRATE | Measure resonances (input shaper) | Klipper |
SET_INPUT_SHAPER | Set input shaper | Klipper |
TUNING_TOWER | Change a value with height | Klipper |
Test it before you print
Paste your start code or a whole file into the 3D printer simulator. It plans every move, shows the time and finds missing waits, cold extrusion and moves outside the bed.
Open the simulator