Expressions and functions – ACU-RITE CNC 3500i User Manual
Page 419
ACU-RITE 3500i
393
1
1
.4 A
d
v
a
nced Pr
ogr
a
mming
Expressions and Functions
You can program some values as expressions. Parentheses enclose
expressions. The 3500i displays an error message if the expression is
incorrectly entered. Expressions follow the standard mathematics
order of operations (multiplication, division, addition and subtraction).
An expression must contain an operator or use a function.
Operators and Functions
Ref.
Expression
Function
a)
()
Expression function (parenthesis)
b)
*/&
Multiplication, division, modification
c)
+/-
Addition, subtraction
d)
><
Relation greater than, less than
e)
=, !=
Relation equal, not equal
f)
tomm
Convert to mm
g)
toin
Convert to inch
h)
tode
Convert to inch if inch, mm if mm
i)
tonu
Force to current modal
j)
round
Round up or down, automatically
k)
fix
Discard fraction less than 1
l)
fup
Raise fraction 1
m)
var
True if defined, false otherwise
n)
sin
Sine
o)
cos
Cosine
p)
tan
Tangent
q)
asin
Arcsine
r)
acos
Arccosine