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 #261 background imageLoading...
Page #261 background image
Part 2: Commands
Moog Animatics SmartMotor Developer's Guide,Rev. L
Page 261 of 909
af[index]=formula
Array Float [index]
APPLICATION: Variables
DESCRIPTION: Floating-point array variables
EXECUTION: Immediate
CONDITIONAL TO: Index values 0 to 7
LIMITATIONS: Index limited to two values with single operator; index values
may be a constant or variables a-zzz
READ/REPORT: Raf[index]
WRITE: Read/write
LANGUAGE ACCESS: Assignment, formulas and conditional testing
UNITS: Signed floating-point number
RANGE OF VALUES:
Very large:more than ±10
300a,b
TYPICAL VALUES:
Depends on required precision (approximate):
To maintain integer precision:
-4503599627370496 to +4503599627370496
b
To maintain 3 decimal digits:
-4503599627370.496 to +4503599627370.496
b
DEFAULT VALUE: 0
FIRMWARE VERSION:
5.x and later
COMBITRONIC: af[0]:3=1234.0
where ":3" is the motor address use the actual address or a
variable
a
Use of full range is not recommended because precision of the number is lost. At this
extreme range, precision is worse than a whole number.
b
Entering and reporting values through user commands is limited to the range:
-2147483648.0 to 2147483647.0
DETAILED DESCRIPTION:
The floating-point array variables meet IEEE-754 specifications. Therefore, they are true
floating-point variables the location of the decimal point can vary with the exponent from
very small (approximately 1x10
-300
) to very large (approximately 1x10
300
). The user is
encouraged to make use of floating-point variables in equations where a typical 32-bit integer
might overflow (see examples).
While floating-point numbers seem to have nearly limitless range from large to small, the
user must exercise caution. The precision of the number is limited to approximately 15
decimal digits. The number is stored in a base-2 format, including the fractional part. This can
result in subtle issues with precision and representation of base-10 values. This is generally
Part 2: Commands: af[index]=formula

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