148 8025/8030 CNC PROGRAMMING MANUAL
5. Example G76. CALCULATION OF THE POINTS OF AN ELLIPSE
This is a parametric program which, when executed, will calculate the different points of an
ellipse and load them into a new program by means of G76 for later machining.
The calling parameters are the following:
P0 = Half the long axis (A).
P1 = Half the short axis (B).
P3 = Starting point’s angle.
P20= Angular increment.
The XY coordinates of the various points that compose the ellipse are calculated according to
the formula:
X = P0 SIN P3
Y = P1 COS P3