Programming Q parameters | Circle calculations
9.5
Circle calculations
Application
The control can use the functions for calculating circles to calculate
the circle center and the circle radius from three or four given points
on the circle. The calculation is more accurate if four points are
used.
Application: These functions can be used, for example, if you wish to
determine the location and size of a hole or a pitch circle using the
programmable probing function.
Soft key
Function
FN 23: Determining the CIRCLE DATA from three
points
Example: FN 23: Q20 = CDATA Q30
The coordinate pairs of three points on a circle must be saved in
Q30 and the five subsequent parameters—in this case, up to Q35.
The control then saves the circle center in the principal axis (X if
spindle axis is Z) in parameter Q20, the circle center in the minor
axis (Y if spindle axis is Z) in parameter Q21, and the circle radius in
parameter Q22.
Soft key
Function
FN 24: Determining the CIRCLE DATA from four
points
Example: FN 24: Q20 = CDATA Q30
The coordinate pairs of four points on a circle must be saved in
parameter Q30 and the seven subsequent parameters—in this case,
up to Q37.
The control then saves the circle center in the principal axis (X if
spindle axis is Z) in parameter Q20, the circle center in the minor
axis (Y if spindle axis is Z) in parameter Q21, and the circle radius in
parameter Q22.
Note that FN 23 and FN 24 automatically overwrite the
resulting parameter and the two following parameters.
HEIDENHAIN | TNC 620 | Klartext Programming User's Manual | 01/2022
9
279