Galil Motion Control optcom Page 186
Optima DMC-1xxx and DMC-18x2 Command Reference
@SIN[n]
i
175
@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:
@ASIN
Arc
sine
@COS
Cosine
@ATAN
Arc
tangent
@ACOS
Arc
cosine
@TAN
Tangent
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
: