Tool management
Identifier Return value Parameter Explanation
1. 2. 3.
DELTOOLENV INT:
Status
STRING:
Name
Deletes the tool environment
with the specified name in the
static NC memory
Deletes all tool environments if
no name is specified.
GETTENV INT:
Status
STRING:
Name
VAR INT:
T number [0]
D number [1]
DL number [2]
Determines the T number, D
number, and DL number from a
tool environment with the speci‐
fied name
Arithmetic
Identifier Return value Parameter Explanation
1. 2. 3.
SIN REAL REAL Sine
ASIN REAL REAL Arc sine
COS REAL REAL Cosine
ACOS REAL REAL Arc cosine
TAN REAL REAL Tangent
ATAN2 REAL REAL REAL Arc tangent 2
SQRT REAL REAL Square root
POT REAL REAL Square
TRUNC REAL REAL Integer component
ROUND REAL REAL Round down
ROUNDUP REAL REAL Round up
ABS REAL REAL Absolute value
LN REAL REAL Natural logarithm
EXP REAL REAL Exponential function e
x
MINVAL REAL REAL REAL Determines the smaller value
of two parameters
MAXVAL REAL REAL REAL Determines the larger value of
two parameters
BOUND REAL:
Check status
REAL:
Lower limit
REAL:
Upper limit
REAL:
Reference value
Determines whether the refer‐
ence value is within the limits.
Note:
The arithmetic functions can also be programmed in synchronized actions. These arithmetic functions are calculated and
evaluated in the main run. The synchronized action parameter $AC_PARAM[<n>] can also be used for calculations and as
buffer.
Tables
4.6 Predefined functions
NC programming
1298 Programming Manual, 12/2019, 6FC5398-2EP40-0BA0