Stepper motor acceleration deceleration control program