Moog Animatics SmartMotor™ Developer's Guide,Rev. L
Page 283 of 909
EXAMPLE:
af[0]=ATAN(50.5) 'Set array variable = ATAN(50.5)
Raf[0] 'Report value of af[0] variable
RATAN(50.5) 'Report ATAN(50.5)
af[1]=0.4332
af[0]=ATAN(af[1]) 'Variables may be put in the parenthesis
Raf[0] 'Output in degrees
END
Program output is:
88.865577697
88.865577697
23.422260284
RELATED COMMANDS:
R
ACOS(value) Arccosine (see page 253)
R
ASIN(value) Arcsine (see page 278)
R
COS(value) Cosine (see page 366)
R
SIN(value) Sine (see page 700)
R
TAN(value) Tangent (see page 736)
Part 2: Commands: ATAN(value)