$ 0 0 Are you sure that 4000 is the right steps/mm? What threaded rod do you have driving the Z axis?