System information
SECTION SIX - PARAMETRIC PROGRAMMING
The circle generate function will calculate the center and radius of an arc through any three non-
co-linear points. The general format for the CGen function is as follows.
Input Parameters
P90=X1 P91=Y1 coordinates of first point
P92=X2 P93=Y2 coordinates of second point
P94=X3 P95=Y3 coordinates of third point
Output Parameters
P80=XC P81=YC center of calculated circle
P82=R radius of calculated circle
Sample Program using CGen
N1 P90=0 P91=0 first point
N2 P92=1 P93=1 second point
N3 P94=2 P95=0 third point
N4 CGEN
N5 G1 X0 Y0 position to start of arc
N6 G17 G2 R[P82] XC[P80] YC[P81] Xe____Ye____
The CGEN function can be used anytime throughout the program to calculate the radius and
center of an arc. These calculations can then be used in a normal arc command along with trig
help, chamfer, corner round, extend back, and any other function available.
Text command
Note: The arc direction is returned in P97 so the block N6 may be substituted with
G17 G[P97] R[P82] XC[P81] YC[P80] Xe___ Ye___
The Centurion 6 has a lettering command which can be used to engrave serial numbers or other
descriptions. The text cycles must be loaded by setting the “Load text cycles” parameter. The
control must be rebooted after setting the parameter. The one-to-one letter size is 1" x 1" and is
in a block letter font. All these letters can be scaled or rotated to achieve the desired size and
orientation. The depth of cut is contained in P141, the Z plunge feedrate in P145, and the
clearance plane in P140. A typical program would be as follows.
333










