Motion issue with Z axis

Hello All,

I’m trying to setup a new desktop 3D printer (Creality Ender-2) with smoothieware. Being new to this whole hobby and smoothie as well, I’m having an issue with the motion on the Z axis. As the specs for this printer are not published and the stepper motors used have no markings on the at all, I have to create my config.txt by actually measuring the linear motion of all axes. The steppers on the X,Y axes work as I would expect (per my configuration), but when it comes to the Z axis, given the same configuration parameters the linear distance per move is much less (G0 Z +10 yields a 2mm distance).

Assuming the motors are the same, should this not move the expected 10mm.

I verified that it was not coming from the board driver’s by swapping the Z and Y cables and repeating test. No change.

Here are my motor definitions in config.txt :

[[code]]

  1. Y Axis

beta_steps_per_mm 160
beta_step_pin 2.1
beta_dir_pin 0.11!
beta_en_pin 0.10
beta_current 1.0
beta_max_rate 30000
y_axis_max_speed 30000
panel.beta_jog_feedrate 6000
beta_min_endstop 1.26^
beta_min 0
beta_max 200
beta_max_travel 500
beta_fast_homing_rate_mm_s 50
beta_slow_homing_rate_mm_s 25
beta_homing_retract_mm 5

  1. Z Axis

gamma_steps_per_mm 160
gamma_step_pin 2.2
gamma_dir_pin 0.20
gamma_en_pin 0.19
gamma_current 1.0
gamma_max_rate 30000
z_axis_max_speed 30000
panel.gamma_jog_feedrate 6000
gamma_min_endstop 1.28^
gamma_min 0
gamma_max 200
gamma_max_travel 500
gamma_fast_homing_rate_mm_s 50
gamma_slow_homing_rate_mm_s 25
gamma_homing_retract_mm 5
[[/code]]

Imported from wikidot

It’s very common for Z axis to have different steps per mm than the other axes. Some difference in the mechanics is typically the source.

You should simply multiply your Z steps by millimeter by a factor of 5 and that should solve the issue.

Man, it was so obvious and still missed it. The Z axis is a lead-screw not a belt in my case. Thanks for the quick answer…

A good resource for calculating this is the reprap calculator. I can’t post links, as I’m new here, but it’s the first result if you google “reprap calculator”
It’s a valuable tool