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 #737 background imageLoading...
Page #737 background image
Part 2: Commands
Moog Animatics SmartMotor Developer's Guide,Rev. L
Page 737 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]=TAN(45.7) 'Set array variable = TAN(45.7)
Raf[0] 'Report value of af[0] variable
RTAN(45.7) 'Report TAN(45.7)
af[1]=78.3 '78.3 degrees
af[0]=TAN(af[1]) 'Variables may be put in the parenthesis
Raf[0]
END
Program output is:
1.024738192
1.024738192
4.828816413
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
SIN(value) Sine (see page 700)
Part 2: Commands: TAN(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