ADTECH9 Series CNC Programming Manual
4.6
Calculus instruction
The variables allow various calculus expressions.
Format:
#i
=
[expression]
The variables allow various calculus expressions.
In the table below, #j, #k can be replaced with constants.
Calculation
method
#i=#j
Definition/replacement
Addition
and
subtraction
#i=#j+#k
#i=#j-#k
#i=#j OR #k or #i=#j|#k
#i=#j XOR #k or #i=#j^#k
Addition
Subtraction
32-bit OR calculation (logical AND)
32-bit XOR calculation
Multiplication
and division
#i=#j*#k
#i=#j/#k
#i=#j MOD #k
#i=#j AND #k or #i=#j & #k
Multiplication
Division
Remainder
32-bit AND calculation (logical product)
Function
calculation
#i=SIN[#k]
#i=COS[#k]
#i=TAN[#k]
#i=ASIN[#k]
#i=ATAN[#k]
Sine
Cosine
Tangent tanθ equals to sinθ/cosθ
Arcsine
Arctangent
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 ...