P
ar
t
2: C
omman
d
s
Moog Animatics SmartMotor™ Developer's Guide, Rev. L
Page 568 of 909
MFMUL=formula
Mode Follow Multiplier
APPLICATION:
Motion control
DESCRIPTION:
Multiplier for external encoder mode follow with ratio
MFMUL/MFDIV
EXECUTION:
Buffered until a G command is issued or a profiled move
restarts through MFSDC
CONDITIONAL TO:
MFR, MSR or MC mode
LIMITATIONS:
N/A
READ/REPORT:
RMFMUL
WRITE:
Read/write
LANGUAGE ACCESS:
Assignment, formulas and conditional testing
UNITS:
N/A
RANGE OF VALUES:
-32767 to 32767
TYPICAL VALUES:
-32767 to 32767
DEFAULT VALUE:
N/A
FIRMWARE VERSION:
5.x and later
COMBITRONIC:
MFMUL:3=1234
where ":3" is the motor address — use the actual address or a
variable
DETAILED DESCRIPTION:
The MFMUL command specifies the multiplier for use with the MFR, MSR or MC command. For
more details about how this ratio is applied, see the MSR on page 587.
MFMUL/MFDIV specifies the ratio for the MFR or MSR mode. The MC mode is also affected. To
use the MFR or MSR command, you will need to define the specific relationship (ratio) of the
encoder count input to outgoing requested encoder counts of motion.
Both MFMUL and MFDIV may be positive or negative; this controls the resulting direction of
shaft rotation.
EXAMPLE:
(Shows use of MF0, MFDIV and MFMUL)
EIGN
(
W
,0)
'Make all onboard I/O inputs
ZS
'Clear errors
MF0
'Reset CTR(1)
MFDIV
=-10
'Divisor = -10
MFMUL
=21
'Multiplier = 21
MFR
'Calculate Ratio, input -10 external counts
'Resulting motion 21 counts
G
'Start following external encoder
END
Part 2: Commands: MFMUL=formula
Содержание SmartMotor
Страница 1: ...Developer s Guide Class 5 Later SmartMotor Technology with TM ...
Страница 909: ...PN SC80100003 002 Rev L ...