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 #622 background imageLoading...
Page #622 background image
Part 2: Commands
Moog Animatics SmartMotor Developer's Guide,Rev. L
Page 622 of 909
PI
Pi Constant
APPLICATION: Math function
DESCRIPTION: Gets the mathematical value pi
EXECUTION: Immediate
CONDITIONAL TO: N/A
LIMITATIONS: Accurate to six digits (single-precision float)
READ/REPORT: RPI
WRITE: Read only
LANGUAGE ACCESS: Formulas and conditional testing
UNITS: N/A
RANGE OF VALUES: 3.141592
TYPICAL VALUES: 3.141592
DEFAULT VALUE: 3.141592
FIRMWARE VERSION: 5.x and later
COMBITRONIC: N/A
DETAILED DESCRIPTION:
The PI(pi constant) command gets the mathematical value of pi (3.141592).
The trigonometric functions SIN, COS and TAN require degrees as input. The functions ASIN,
ACOS and ATAN return values in units of degrees. Therefore, this constant is useful, especially
in cases where you need to convert radians to degrees.
EXAMPLE:
af[7]=ATAN(af[6])*180/PI 'Set af[7] to arctan result converted to radians
RELATED COMMANDS:
R
af[index]=formula Array Float [index] (see page 261)
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)
R
TAN(value) Tangent (see page 736)
Part 2: Commands: PI

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