Galil Motion Control optcom Page 38
Optima DMC-1xxx and DMC-18x2 Command Reference
@ATAN[n]
i
27
@ATAN[n]
FUNCTION: Inverse tangent
DESCRIPTION:
Returns in degrees the arc tangent of the given number.
ARGUMENTS: @ATAN[n]
n is a signed number in the range -2147483647 to 2147483647
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
@ACOS Arc
cosine
@COS Cosine
@TAN Tangent
EXAMPLES:
:MG @ATAN[-10]
-84.2894
:MG @ATAN[0]
0.0000
:MG @ATAN[10]
84.2894
: