Programming manual
20
CNC 8070
1.
CREATING A PROGRAM
Parameters, constants and expressions
(SOFT V02.0X)
18
Other functions
In the "EXIST" function, programming "$IF EXIST[P1] == TRUE" is the
same as programming "$IF EXIST[P1]".
INT[...] Returns the integer P1 = INT[4.92] P1 = 4
FRACT[...] Returns decimal portion P2 = FRACT[1.56] P2 = 0.56
ROUND[...] Rounds up or down to
the nearest integer
P3 = ROUND[3.12]
P4 = ROUND[4.89]
P3 = 3
P4 = 5
FUP[...] Returns the integer plus
one. (If the number is an
integer, it returns it)
P5 = FUP[3.12]
P6 = FUP[9]
P5 = 4
P6 = 9
EXIST[...] It checks whether the
selected variable or
parameter exists or not
$IF EXIST[P1]
$IF EXIST[P3] == FALSE