EasyManuals Logo

Moog SmartMotor User Manual

Moog SmartMotor
909 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #701 background imageLoading...
Page #701 background image
Part 2: Commands
Moog Animatics SmartMotor Developer's Guide,Rev. L
Page 701 of 909
Although the floating-point variables and their standard binary operations conform to
IEEE-754 double precision, the floating-point square root and trigonometric functions only
produce IEEE-754 single-precision results. For more details, see Variables and Math on page
195.
EXAMPLE:
af[0]=SIN(57.3) 'Set array variable = SIN(57.3)
Raf[0] 'Report value of af[0] variable
RSIN(57.3) 'Report SIN(57.3)
af[1]=42.3 '42.3 degrees
af[0]=SIN(af[1]) 'Variables may be put in the parenthesis
Raf[0]
END
Program output is:
0.841510772
0.841510772
0.673012495
RELATED COMMANDS:
R
ACOS(value) Arccosine (see page 253)
R
ASIN(value) Arcsine (see page 278)
R
ATAN(value) Arctangent (see page 282)
R
COS(value) Cosine (see page 366)
R
TAN(value) Tangent (see page 736)
Part 2: Commands: SIN(value)

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Moog SmartMotor and is the answer not in the manual?

Moog SmartMotor Specifications

General IconGeneral
BrandMoog
ModelSmartMotor
CategoryServo Drives
LanguageEnglish

Related product manuals