Galil Motion Control manc 18x 6 Page 191
DMC-18x6 Command Reference
183
@SIN[n]
FUNCTION: Sine
DESCRIPTION:
Returns the sine of the given angle in degrees
ARGUMENTS: @SIN[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 @SIN[0]
0.0000
:MG @SIN[90]
1.0000
:MG @SIN[180]
0.0000
:MG @SIN[270]
-1.0000
:MG @SIN[360]
0.0000
: