I understand your requirement for motion control. I will simulate position, velocity, acceleration via ramping or any other function for you. I will also introduce motion control and show you how a time delay in control will effect the error of all the above discussed parameters.
Also if you wish encoder errors can be included too.