P
ar
t
1: P
rog
ra
m
ming
Moog Animatics SmartMotor™ Developer's Guide, Rev. L
Page 138 of 909
Electronic Gearing Commands
The following are related commands. For more details on these commands, see Part 2:
SmartMotor Command Reference on page 238.
SRC(enc_src)
Select the input source used in Follow and Cam modes
The SRC() command can allow the SmartMotor to use the many advanced following and
camming functions even without an external encoder input. Values for enc_src:
0
Null (pauses master)
1
External encoder (-1 inverts direction)
2
Time-base at PID rate (-2 inverts direction)
NOTE:
SRC() can be updated while the motor is running. However, sudden speed
changes may occur.
MFR
Configure A & B inputs to Quadrature mode and select Follow mode
The Mode Follow Ratio (MFR) command configures the A and B inputs of the motor to be read
as standard quadrature inputs and puts the SmartMotor in Follow mode.
MSR
Configure A & B inputs to Step/Direction mode and select Follow mode
The Mode Step Ratio (MSR) command configures the A and B inputs of the motor to be read as
standard Step and Direction inputs and puts the SmartMotor in Follow mode.
MF0
Reset external quadrature encoder
MS0
Exit Step/Direction Follow mode
When using the ENC1 command, be careful that you do not inadvertently change the operation
of the encoder with the MF0 or MS0 command. If you must use an alternate encoder source
for Follow mode and at the same time use ENC1, then choose the version of the above
commands to match your encoder type for the ENC1 command.
MFMUL=formula, MFDIV=formula
Set Follow mode ratio
The internal mathematics work best by describing the follow ratio in terms of a fraction of two
integers. Choose MFMUL and MFDIV to create the following ratio if it is not 1:1. Note that MFR
or MSR must be issued after any changes to MFMUL or MFDIV.
Part 1: Programming: Electronic Gearing Commands
Содержание SmartMotor
Страница 1: ...Developer s Guide Class 5 Later SmartMotor Technology with TM ...
Страница 909: ...PN SC80100003 002 Rev L ...