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 #721 background imageLoading...
Page #721 background image
Part 2: Commands
Moog Animatics SmartMotor Developer's Guide,Rev. L
Page 721 of 909
EXAMPLE: (Cam program example; uses virtual encoder)
CTE(1) 'Erase all EEPROM tables.
CTA(7,4000) 'Create 7-point table at each 4K encoder increment.
CTW(0) 'Add 1st point.
CTW(1000) 'Add 2nd point; go to point 1000 from start.
CTW(3000) 'Add 3rd point; go to point 3000 from start.
CTW(4000) 'Add 4th point; go to point 4000 from start.
CTW(1000) 'Add 5th point; go to point 1000 from start.
CTW(-2000) 'Add 6th point; go to point -2000 from start.
CTW(0) 'Add 7th point; return to starting point.
'Table has now been written to EEPROM.
SRC(2) 'Use the virtual encoder.
MCE(0) 'Force linear interpolation.
MCW(1,0) 'Use table 1 from point 0.
MFMUL=1 'Simple 1:1 ratio from virtual encoder.
MFDIV=1 'Simple 1:1 ratio from virtual encoder.
MFA(0) MFD(0) 'Disable virtual encoder ramp-up/
'ramp-down sections.
MFSLEW(24000,1) 'Table is 6 segments * 4000 encoder
'counts each.
'Specify the second argument as a 1 to
'force this number as the output total of
'the virtual encoder into the cam.
MFSDC(-1,0) 'Disable virtual encoder profile repeat.
MC 'Enter Cam mode.
G 'Begin move.
END
RELATED COMMANDS:
G Start Motion (GO) (see page 456)
MFR Mode Follow Ratio (see page 570)
R
MFDIV=formula Mode Follow Divisor (see page 558)
R
MFMUL=formula Mode Follow Multiplier (see page 568)
MSR Mode Step Ratio (see page 587)
Part 2: Commands: SRC(enc_src)

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