Axis functions
Identifier Return value Parameter
1. 2. 3. 4. Explanation
MODAXVAL REAL:
modulo value
AXIS:
Axis identifier
REAL:
Axis position
From the entered axis
position, calculates the
modulo rest
If the specified axis is
not a modulo axis, the
axis position is returned
unchanged.
POSRANGE BOOL:
Position set‐
point within
the position
window
(TRUE) or not
(FALSE)
AXIS:
Axis identifier
REAL:
Reference po‐
sition in the
coordinate
system
REAL:
Position win‐
dow width
INT:
Coordinate
system
Determines whether
the position setpoint of
an axis is located in a
window at a predefined
reference position
Tool management
Identifier Return value Parameter Explanation
1. 2. 3.
CHKDM INT:
Status: Result
of the check:
INT:
Magazine num‐
ber
INT:
D number
Checks the uniqueness of the D
number within a magazine
CHKDNO INT:
Status: Result
of the check:
INT:
T number of the
1st tool
INT:
T number of the
2nd tool
INT:
D number
Checks the uniqueness of the D
number
GETACTT INT:
Status
INT:
T number
STRING [32]:
Tool name
Determines the active tool from
a group of tools with the same
name
GETACTTD INT:
Status: Result
of the check:
VAR INT:
T number found
(return value)
INT:
D number
Determines the T number asso‐
ciated with an absolute D num‐
ber
GETDNO INT:
D number
INT:
T number
INT:
Cutting edge
number
Determines the D number of the
cutting edge of tool T
GETT INT:
T number
STRING [32]:
Tool name
INT:
Duplo number
Determines the T number for the
tool name
NEWT INT:
T number
STRING [32]:
Tool name
INT:
Duplo number
Sets up a new tool (provides the
tool data)
The duplo number can be omit‐
ted.
TOOLENV INT:
Status
STRING:
Name
Stores the tool environment with
the specified name in the static
NC memory
Tables
4.6 Predefined functions
NC programming
Programming Manual, 12/2019, 6FC5398-2EP40-0BA0 1297