
This schematic shows the same example but replaces the compensator with a state-space model, retaining the rest of the code. In this case, the spline algorithm and communication method for sending the setpoint to the drive are untouched. This lets the developer delve into the motion-control application at any level of interest. All the vendor-supplied pieces including the API are retained.