ADTECH9 Series CNC Programming Manual
#i=ACOS[#k]
#i=SQRT[#k]
#i=ABS[#k]
#i=ROUND[#k]
#i=FIX[#k]
#i=FUP[#k]
#i=LN[#k]
#i=EXP[#k]
Arc cosine
Square root
Absolute value
Rounding
Abandon the decimal point
Carry the decimal point
Natural logarithm
e(=2.718…) is exponent of the base
Note:
The values without decimal point are considered same as the values with decimal point (1=1.000)
The expression after the function must be bracketed with [ ].
Expression calculation priority:
Smaller number indicates higher priority
Calculation symbol
1
#
2
[ ]
3
Function (SIN,COS,EXP…)
4
*,/,MOD
5
+,-
6
GE,GT,LE,LT
7
EQ,NE
8
AND,XOR,OR
9
=
Note:
The calculation expression of the same level follows the sequence from left to right.
The calculation expression has more priorities; if the expression is too long, please enforce the priority with
[ ].
[ ] can be embedded in the calculation for up to five levels. As below:
Example of calculation commands:
Summary of Contents for CNC9640
Page 1: ...ADTECH9 Series CNC Programming Manual ...
Page 21: ...ADTECH9 Series CNC Programming Manual Workpiece Coordinate System Diagram ...
Page 44: ...ADTECH9 Series CNC Programming Manual 2 Occasions that inner corner rotates ...
Page 45: ...ADTECH9 Series CNC Programming Manual ...
Page 62: ...ADTECH9 Series CNC Programming Manual Manual insertion ...
Page 65: ...ADTECH9 Series CNC Programming Manual Tool radius compensation start and axis Z cut in action ...
Page 117: ...ADTECH9 Series CNC Programming Manual ...
Page 118: ...ADTECH9 Series CNC Programming Manual ...
Page 142: ...ADTECH9 Series CNC Programming Manual ...
Page 143: ...ADTECH9 Series CNC Programming Manual ...