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 #197 background imageLoading...
Page #197 background image
Part 1: Programming
Moog Animatics SmartMotor Developer's Guide,Rev. L
Page 197 of 909
VLD(variable,number)
Load Variables
Use the VLD command to load a series of variables starting at the pointer. In the "variable"
space of the command, put the name of the variable; in the "number" space, put the number
of sequential variables to be loaded. Enter a one if just the variable specified needs to be
loaded. Again, the actual sizes of the variables are recognized automatically.
Math Expressions
Variables can be used in mathematical expressions with: math operations, logical operations
and integer operations, as described in the following sections.
Math Operations
All variables can be used in mathematical expressions assuming standard hierarchical rules
and using any of the mathematical operations:
+ Addition
- Subtraction
* Multiplication
/ Division
Logical Operations
The previous mathematical operations can be combined with the following logical operations:
> Less than
< Greater than
== Equal to
!= Not equal to
<= Less than or equal to
>= Greater than or equal to
Integer Operations
The following integer operations are also supported:
^ Raise to an integer power <=4
& Bit wise AND (see ASCIICharacter Set on page 860)
| Bit wise OR (see ASCIICharacter Set on page 860)
!|
Bit wise exclusive OR (see ASCIICharacter Set on
page 860)
% Modulo
SQRT (x) Integer Square Root (x = integer, where x>=0)
ABS (x) Integer Absolute Value (x = integer)
Floating Point Functions
The following floating point functions are also supported:
Part 1: Programming: VLD(variable,number)

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