Installation manual
CNC 8055
CNC 8055i
CUSTOMIZABLE SCREENS
15.
SOFT: V02.2X
·601·
Arithmetic operations
Other functions:
Example:
Display the value of the X coordinate affected by the active zero offset. To do that, use the
following control variables as an intermediate step: GUP100...GUP255, GUP1000...GUP1255
and GUP2000...GUP2255.
It is possible to write equations like:
;(GUP100 = (PPOSX - ORGX) * 25.4 / 2)
;(W1= GUP100)
To assign a value to a widget, that value must first be assigned to a GUP parameter of the CNC
and, then, assign the value of this parameter to the widget. Otherwise, an error will be issued.
ABS absolute value. GUP101=ABS(-8) GUP101=8
LOG decimal logarithm. GUP102=LOG(100) GUP102=2
SQRT square root. GUP103=SQRT(16) GUP103=4
ROUND rounding up an integer number. GUP104=ROUND(5.83) GUP104=6
FLOOR It rounds down. GUP105=FLOOR(5.423) GUP105=5
CEIL It rounds up. GUP106=CEIL(5.423) GUP106=6