Below is the start of the code for automating my rotary table. The code calculates the number of pulses required for the Yaskawa servo motor which will be running at 3:1 reduction. The fractional part of the pulses is fed back into the process. That basically eliminates accumulated error. The...