The data at the outputconnector from PolynomialFit FB is a series of concatenated [joined endtoend] polynomials that are a 'bestfit' to motionvalues at its inputconnector. You can output the 'bestfit' as:



The PolynomialFit dialogbox: Toolbar to 'get '1cycle', 'run', 'stop', 'save' and 'autorun' Three[3] dialog separators:
GraphArea Toolbar to save, print and control how to view the:
and the

Polynomial Fit toolbar After you edit the 'Polynomial Parameters', then you can press the different buttons in the toolbar. The toolbar has these buttons: 'Acquire' ['Capture', 'Get One Cycle'] button : Click each time you edit 'Polynomial Parameters' or change the data at the input connector. 'Fit Polynomials to Data' button: Click each time you want to fit the polynomials to the inputdata. 'Stop the 'Polynomial Fit algorithms'. Click if the algorithms cannot find a good solution quickly. 'Save Coefficients' : Click to save the results to a CSV file, or a EPAS4 file THAT IS suitable for a Schneider Electric servocontroller. 'AutoRun': Immediately allow the algorithms to run until the polynomials fit the data to the accuracy as specified, and with less or equal to the maximum number of Polynomials in the 'bestfit'. 
Polynomial Parameters
Parameters to enter before you do 'Polynomial Fit' [button above] NumberofPoints : ... you want in the output motion, should you want to save the fit as a series of data points. Pts. in Tol Sample : ... that the algorithm will use to calculate the error between the 'output motion' and the input motion'. Maximum Number of Polynomial : ... to 'bestfit' to the 'input data'. Position Tolerance %; Velocity Tolerance %; Acceleration Tolerance % ... the difference [error] between the 'bestpolynomialfit' and the 'inputdata' within the number of samples in the 'Sample Count'. These are scaled to the range of the input to the PolyFit FB. 

PolynomialFit algorithm:
or
or

Motion FunctionBlocks
The Motion name, associated with the Motion FB, helps the algorithms to calculate the PolynomialFit. The Xaxis values of the BlendPoints in the motion should have the same timing as the input to the PolynomialFit FB. This is especially useful when the motionvalues at the input to the PolyFit FB and the Motion name both have dwells with the same Xaxis timing. To add a Motion FB:


Example: When the Polynomial Fit FB must find Polynomials that are equal to a servo's motion that controls a ToolPart, but via a kinematicchain: Connect [in parallel] to its inputconnector the Motion FB [with associated FBs] that controls the motion of the ToolPart. 
Solve Values
RMS Position Error, RMS Velocity Error, RMS Acceleration Error [ReadOnly]. They give the RMS [Root, Mean Square] error values of the Position, Velocity and Acceleration between the 'bestpolynomialfit' and the 'inputmotiondata', as percentage of the maximum range of each motionderivative. # of Polynomials in Fit The number of Polynomials in the solution. See also: 'Maximum Polynomial Count'. in the Polynomial Parameters separator. 