Programming manual.
CNC 8070
22.
STATEMENTS AND INSTRUCTIONS
Programming statements
·414·
(REF: 1709)
22.1.15 Polynomial interpolation
The CNC permits interpolating straight lines and arcs and the #POLY instruction may be used
to interpolate complex curves, like a parabola.
#POLY
Polynomial interpolation
This type of interpolation lets machining a curve given by a polynomial of up to a 4th degree
where the interpolation parameter is the length of the arc.
The programming format is as follows:
#POLY [<axis1>[a,b,c,d,e] <axis2>[a,b,c,d,e] .. SP<sp> EP<ep>]
The coefficients define the axis path as a function for each axis.
#POLY [X[ax,bx,cx,dx,ex] Y[ay,by,cy,dy,ey] Z[az,bz,cz,dz,ez] .. SP<sp> EP<ep>]
X(p) = ax+bx*p+cx*p²+dx*p³+ex*p
4
Y(p) = ay+by*p+cy*p²+dy*p³+ey*p
4
Z(p) = az+bz*p+cz*p²+dz*p³+ez*p
4
Where "p" is the same parameter in all the axes. Parameters sp and ep define the initial and
final values of "p", as the ends between which the path for each axis will be generated.
Parameter Meaning
<axis> Axis to interpolate.
a,b,c,d,e Coefficients of the polynomial.
<sp> Initial parameter of the interpolation.
<ep> Final parameter of the interpolation.
Programming a parabola. The polynomial may be represented as follows:
• Coefficients of the X axis: [0,60,0,0,0]
• Coefficients of the Y axis: [1,0,3,0,0]
• Starting parameter: 0
• End parameter: 60
The part program stays as follows.
G0 X0 Y1 Z0
G1 F1000
#POLY [X[0,60,0,0,0] Y[1,0,3,0,0] SP0 EP60]
M30