Moog Animatics SmartMotor™ Developer's Guide,Rev. L
Page 839 of 909
C123 'Set up and run cam table.
O=0
MC
MFSDC(cc,1)
CTA(3,0,0) ' 3-point table, segment base defined with the following points:
CTW(0,0) ' Master == 0
CTW(nn,cc) ' Master == 4000
CTW(n,c) ' Master == 8000
MCW(0,0)
MCE(0) ' Linear cam interpolation (straight lines like true chevron).
'MCE(1) ' Spline cam interpolation (most likely never needed).
'MCE(2) ' Spline cam interpolation periodic (sine wave, arc motion).
'Angle of the winding pattern is determined by the cam table points,
' not MFMUL and MFDIV.
MFMUL=1
MFDIV=1
'MCMUL and MCDIV affect cam table. Changing this will change angle of
' winding and chevron shape.
MCMUL=1
MCDIV=1
SRC(2) 'This is for demo. Change to SRC(1) for external encoder
' from master spool.
MFA(0,1) 'No ascend into motion.
MFD(0,1) 'No descend out of motion.
MFSLEW(s,1) 'Slew distance is width of spool in slave motor counts.
G 'Start moving.
MFMUL=-1
RETURN
Part 3: Examples: Chevron Traverse & Takeup