The Circle calculation folder
Application
In the Circle calculation folder of the Insert NC function window, the control provides the functions FN 23 and FN 24.
These functions allow you to calculate the center of a circle and the radius of the circle based on the coordinates of three or four points on the circle (e.g., the position and size of a circle segment).
Description of function
The Circle calculation folder contains the following functions:
Icon | Function |
---|---|
FN 23: Circle data from three points on the circle Example: FN 23: Q20 = CDATA Q30 The control saves the determined values in the Q parameters Q20 to Q22. | |
FN 24: Circle data from four points on the circle Example: FN 24: Q20 = CDATA Q30 The control saves the determined values in the Q parameters Q20 to Q22. |
To the left of the equal sign, define the variable to which the result should be assigned.
To the right of the equal sign, define the variable starting from which the control is to determine the circle data from the next variables.
The coordinates of the circle data are stored in successive variables. These coordinates must be in the working plane. You must save the coordinates of the main axis before the coordinates of the secondary axis (e.g., X before Y for tool axis Z).
Application example
NC programs contained in this User's Manual are suggestions for solutions. The NC programs or individual NC blocks must be adapted before being used on a machine.
Change the following contents as needed:
- Tools
- Cutting parameters
- Feed rates
- Clearance height or safe position
- Machine-specific positions (e.g., with M91)
- Paths of program calls
Some NC programs depend on the machine kinematics. Adapt these NC programs to your machine kinematics before the first test run.
In addition, test the NC programs using the simulation before the actual program run.
With a program test you determine whether the NC program can be used with the available software options, the active machine kinematics and the current machine configuration.
11 FN 23: Q20 = CDATA Q30 | ; Circle calculation with three points on the circle |
The control checks the values in the Q parameters Q30 to Q35 and determines the circle data.
The control saves the results in the following Q parameters:
- Circle center on the main axis in the Q parameter Q20
For the tool axis Z, the main axis is X
- Circle center on the secondary axis in the Q parameter Q21
For the tool axis Z, the secondary axis is Y
- Circle radius in the Q parameter Q22
NC function FN 24 uses four pairs of coordinate values and thus eight successive Q parameters.
Note
FN 23 and FN 24 not only assign a value to the results variable to the left of the equal sign, but also to the subsequent variables.