Hi,
what is the resolution of your machine?. It rather sounds like its 0.025mm in which case the machine is always just one step short.
I have seen that before, usually a mix-up between pull-up verses pull-down, and as a consequence the machine actually does 999 steps
when you commanded it to do 1000 steps.
Craig