Galil Motion Control manc 18x 6 Page 196
DMC-18x6 Command Reference
188
@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:
sine
tangent
cosine
EXAMPLES:
:MG @TAN[-90]
-2147483647.0000
:MG @TAN[0]
0.0000
:MG @TAN[90]
2147483647.0000
: