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 #245 background imageLoading...
Page #245 background image
Part 2: Commands
Moog Animatics SmartMotor Developer's Guide,Rev. L
Page 245 of 909
ab[index]=formula
Array Byte [index]
APPLICATION: Variables
DESCRIPTION: User signed 8-bit variables
EXECUTION: Immediate
CONDITIONAL TO: Index values range 0 to 203
LIMITATIONS:
An expression used as an index within the [] brackets is limited
to no more than one operator (two values).
No Combitronic requests or functions with parenthesis are
supported within the [] brackets.
This data space is shared with Cam motion (MC) if a RAM table
location is selected. However, the aw command must not be
used to access this space during that time.
READ/REPORT: Rab[index]
WRITE: Read/write
LANGUAGE ACCESS: Assignment, formulas and conditional testing
UNITS: Signed 8-bit number
RANGE OF VALUES: -128 to 127
TYPICAL VALUES: -128 to 127
DEFAULT VALUE: 0
FIRMWARE VERSION: 5.x and later
COMBITRONIC: ab[0]:3=34
where ":3" is the motor address use the actual address or a
variable
DETAILED DESCRIPTION:
The SmartMotor™ has 8, 16 and 32-bit arrays. The 8-bit array takes the form of the variables
ab[index]. These are general-purpose, 8-bit, signed-integer variables that can be reported,
used on either side of an equation, and mixed in an expression with variables other than 8-bit.
Like all user variables, they are always lowercase, and are automatically initialized to zero at
power up or reset.
The syntax of the 8-bit array is ab[index], which stands for "array byte", and accepts an index
value between 0 and 203. This index can be specified explicitly or through another variable.
For example, ab[4] refers to the fifth element in the 8-bit array, while ab[n] refers to an
element of the array where the variable "n" must be between 0 and 203.
The value of any array variable is reported with the R, PRINT() or PRINT1() functions.
Part 2: Commands: ab[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