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 #440 background imageLoading...
Page #440 background image
Part 2: Commands
Moog Animatics SmartMotor Developer's Guide,Rev. L
Page 440 of 909
EPTR=formula
EEPROM Pointer
APPLICATION: EEPROM (Nonvolatile Memory)
DESCRIPTION: Set user data EEPROM pointer
EXECUTION: Immediate
CONDITIONAL TO: N/A
LIMITATIONS: N/A
READ/REPORT: REPTR
WRITE: Read/write EPTR auto incremented as used
LANGUAGE ACCESS: Assignment, formulas and conditional testing
UNITS: EEPROM address pointer (bytes)
RANGE OF VALUES: 0 to 32767
TYPICAL VALUES: 0 to 32767
DEFAULT VALUE: 0
FIRMWARE VERSION: 5.x and later
COMBITRONIC: N/A
DETAILED DESCRIPTION:
EPTR sets the address location (pointer) within the nonvolatile, user-data EEPROM for the
data-retrieval read VLD(variable, number) function, and data-storage write VST(variable,
number) function. EPTR auto-increments by 1, 2 or 4 with each read or write access to the
physical EEPROM device according to the current data type.
EXAMPLE:
EPTR=4000'Set EPTR = 4000
VST(hh,1) 'Store a 32-bit value; EPTR is now 4004
VST(ab[7],1) 'Store an 8-bit value; EPTR is now 4005
VST(aw[7],1) 'Store a 16-bit value; EPTR is now 4007
VST(x,3) 'Store three consecutive variables: x, y, z
'EPTR is now 4007+(3*4) or 4019
VST(x,4) 'INVALID !!! EPTR remains 4019 !!!
NOTE: You cannot store consecutive variables past their group range (i.e.,
consecutive variables a-z, aa-zz or aaa-zzz must be stored within their groups).
VST(aa,26)'Perfectly valid !!!
VST(aa,27) 'INVALID !!!
RELATED COMMANDS:
VLD(variable,number) Variable Load (see page 780)
VST(variable,number) Variable Save (see page 784)
Part 2: Commands: EPTR=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