Galil Motion Control optcom Page 25
Optima DMC-1xxx and DMC-18x2 Command Reference
@ACOS[n]
i
14
@ACOS[n]
FUNCTION: Inverse cosine
DESCRIPTION:
Returns in degrees the arc cosine of the given number.
ARGUMENTS: @ACOS[n] where
n is a signed number in the range -1 to 1.
USAGE: DEFAULTS:
While Moving
Yes
Default Value
-
In a Program
Yes
Default Format
-
Command Line
Yes
Controller Usage
ALL
RELATED COMMANDS:
@ASIN
Arc
sine
@SIN
sine
@ATAN
Arc
tangent
@COS
Cosine
@TAN
Tangent
EXAMPLES:
:MG @ACOS[-1]
180.0000
:MG @ACOS[0]
90.0000
:MG @ACOS[1]
0.0001
: