P
ar
t
2: C
omman
d
s
Moog Animatics SmartMotor™ Developer's Guide, Rev. L
Page 529 of 909
EXAMPLE:
(Routine exercises each Cam User Bit during the programmed cam profile)
EIGN
(W,0)
ZS
CTA
(7,0,0)
'Add table into RAM al[0]-al[8].
CTW
(0,0,1)
'Add 1st point, Cam User Bit 0 ON.
CTW
(1000,4000,1)
'Add 2nd point, Cam User Bit 0 ON.
CTW
(3000,8000,2)
'Add 3rd point, Cam User Bit 1 ON.
CTW
(4000,12000,132)
'Add 4th, Spline Mode, Cam Bit 2 ON.
CTW
(1000,16000,136)
'Add 5th, Spline Mode, Cam Bit 3 ON.
CTW
(-2000,20000,16)
'Add 6th point, Cam Bit 4 ON.
CTW
(0,24000,32)
'Add 7th point, Cam Bit 5 ON.
MC
'Select Cam Mode.
SRC
(2)
'Use the virtual master encoder.
MCE
(0)
'Force Linear interpolation.
MCW
(0,0)
'Use table 0 in RAM from point 0.
MFMUL
=1
'Simple 1:1 ratio from virtual enc.
MFDIV
=1
'Simple 1:1 ratio from virtual enc.
MFA
(0)
MFD
(0)
'Disable virtual enc. ramp-up/ramp-
'down sections.
MFSLEW
(24000,1)
'Table is 6 segments * 4000 encoder
'counts each. Specify 1 for the second
'argument, which forces this number as
'the output total of the virtual master
'encoder into the cam.
MFSDC
(-1,0)
'Disable virtual master (gearing) repeat.
G
'Begin move.
END
'Required END.
RELATED COMMANDS:
Mode Cam (Electronic Camming) (see page 524)
Part 2: Commands: MCE(arg)
Содержание SmartMotor
Страница 1: ...Developer s Guide Class 5 Later SmartMotor Technology with TM ...
Страница 909: ...PN SC80100003 002 Rev L ...