Programming instructions
10-10
Variable Assignments and Arithmetic Functions NC Programming 17VRS
DOK-MTC200-NC**PRO*V17-ANW1-EN-P
The operand for the ACOS function must be greater than or equal to -1 or
less than or equal to +1.
When the angle unit “radians” is set:
Value range: -
π
/2 ACOS(x) +
π
/2
Example
ACOS(0.5) 1.047.. (
π
/3)
When the angle unit "degrees" is set:
Value range: -180 ACOS(x) +180
Example
ACOS(0.5) 60
When the angle unit “radians” is set:
Value range: -
π
/2 ATAN(x) +
π
/2
Example
ATAN(-1) -0.785.. (-
π
/4)
When the angle unit "degrees" is set:
Wertebereich: -180 ATAN(x) +180
Example
ATAN(-1) -45
Example
E^(-2.5) 0.082...
Example
10^(3) 1000
^Example
2^(8) 256
The operand for the LN function must be greater than zero.
Example
LN(10) 2.302...
The operand for the LG function must be greater than zero.
Example
LG(100) 2
The operand for the LD function must be greater than zero.
Example
LD(8) 3
The TIME function supplies a reference-free time in seconds accurate to
2 milliseconds. This time can be used to determine time differences.
Inverse cosine - ACOS
Inverse tangent - ATAN
Power to base
- E^
Power to base
- 10 10^
Power to base
- 2 2
Logarithm to base
- e LN
Logarithm to base - 10 LG
Logarithm to base - 2 LD
Time in seconds
- TIME