Step motor driven by step size and step duration data