Geometry functions
Identifier Return value Parameter Explanation
1. 2. 3.
CALCDAT BOOL:
Error status
VAR REAL [n,
2]:
Table (abscissa,
ordinate) of
points 1 to n
INT:
Number of points
VAR REAL [3]:
Result: Abscis‐
sa, ordinate and
radius of calcula‐
ted circle center
point
Calculates the center point coor‐
dinates and the radius of the cir‐
cle from 3 or 4 points
The points must be different.
INTERSEC BOOL:
Error status
VAR REAL [11]:
First contour ele‐
ment
VAR REAL [11]:
Second contour
element
VAR REAL [2]:
Result vector for
the intersection
coordinates: Ab‐
scissa and ordi‐
nate
Calculates the intersection coor‐
dinates between two contour el‐
ements.
The error status indicates wheth‐
er an intersection was found.
Curve table functions
Identifier Return
value
Parameter Explanation
1. 2. 3. 4. 5. 6.
CTAB REAL:
Follow‐
ing axis
position
REAL:
Leading
axis posi‐
tion
INT:
Table
number
VAR RE‐
AL[ ]:
Pitch re‐
sult
AXIS:
Follow‐
ing axis
for scal‐
ing
AXIS:
Leading
axis for
scaling
Determines the follow‐
ing axis position to the
specified leading axis
position from the curve
table.
If parameters 4/5 are
not programmed, cal‐
culation is with stand‐
ard scaling.
CTABINV REAL:
Leading
axis posi‐
tion
REAL:
Follow‐
ing axis
position
REAL:
Leading
position
INT:
Table
number
VAR RE‐
AL[ ]:
Pitch re‐
sult
AXIS:
Follow‐
ing axis
for scal‐
ing
AXIS:
Leading
axis for
scaling
Determines the lead‐
ing axis position to the
specified following ax‐
is position from the
curve table.
If parameters 5/6 are
not programmed, cal‐
culation is with stand‐
ard scaling.
CTABID INT:
Curve ta‐
ble num‐
ber
INT:
Entry
number
in memo‐
ry
STRING:
Storage
location:
"SRAM",
"DRAM"
Determines the curve
table number entered
under the specified
number in the memory.
Tables
4.6 Predefined functions
NC programming
1292 Programming Manual, 12/2019, 6FC5398-2EP40-0BA0