In one embodiment, a method and machine are provided for tuning
compensation parameters in a motion control system associated with a
mechanical member. The method includes the steps of receiving an
indication of a compensation parameter to be tested, based on the
compensation parameter to be tested causing a signal associated with a
desired motion of the mechanical member to be commanded, acquiring control
data associated with the signal, acquiring measurement data associated
with actual motion of the mechanical member in response to the signal,
analyzing the control and measurement data; and based on the step of
analyzing the control and measurement data, implementing a value of the
compensation parameter.