Galil Motion Control optcom Page 191
Optima DMC-1xxx and DMC-18x2 Command Reference
@TAN[n]
i
180
@TAN[n]
FUNCTION: Tangent
DESCRIPTION:
Returns the tangent of the given angle in degrees
ARGUMENTS: @TAN[n] where
n is a signed number in degrees in the range of -32768 to 32767, with a fractional resolution
of 16-bit.
USAGE: DEFAULTS:
While Moving
Yes
Default Value
-
In a Program
Yes
Default Format
-
Command Line
Yes
Controller Usage
ALL
RELATED COMMANDS:
@ASIN
Arc
sine
@COS
Cosine
@ATAN
Arc
tangent
@ACOS
Arc
cosine
@SIN
Tangent
EXAMPLES:
:MG @TAN[-90]
-2147483647.0000
:MG @TAN[0]
0.0000
:MG @TAN[90]
2147483647.0000
: