Stepper Motor Dir/Step help program.

ok PaulS,
Urm the reason i think that the speed is a factor is that i am trying to find a way to impliment the S curve Acceleration/Deceleration profile. Well your example is spot on, I want to make a plotter.