Moog Animatics SmartMotor™ Developer's Guide,Rev. L
Page 140 of 909
for inverted encoder signal direction.
SRC(0) Null (pauses master counts).
SRC(1) (Default) Sets motor to follow the external encoder.
SRC(2) Use one count per PIDcycle (default is 8.0 kHz).
CAUTION: MFMUL must not be set excessively higher than MFDIV. Doing so
will result in small changes in master counts and large changes in
slave-gearing counts. This may cause motor harmonic distortion or following
errors.
SRC(2) 'Set signal source to internal 8K counts/sec
MFMUL=100 'Default is 1
MFDIV=100 'Default is 1
MFR 'Calculate ratio, set mode
G
Follow Incoming Encoder Signal With Ramps Example
This example shows a profile driven by an incoming encoder signal. In addition to following
the incoming encoder, the SmartMotor performs an acceleration (ascend or ramp up) into the
following relationship (slew), and after a prescribed distance, performs a deceleration
(descend or ramp down) back to rest. Refer to the following figures.
Part 1: Programming: Follow Incoming Encoder Signal With Ramps Example