How do you record steps for a servo motor ?

Is this by @bobcousins meant? Also, how do you add the timing? Any explanation or link to documentation would help.