P
ar
t
2: C
omman
d
s
Moog Animatics SmartMotor™ Developer's Guide, Rev. L
Page 535 of 909
EXAMPLE:
(Shows the use of MDB and MDE)
'NOTE: MDE and MDB can help with handling high inertia loads.
EIGN
(
W
,0)
'Make all onboard I/O inputs.
ZS
'Clear errors.
MP VT
=20000
ADT
=100
O
=0
'Mode Position, Velocity, accel/decel,
'zero encoder.
MDE
'Switch to Enhanced Trap Commutation Mode (default is MDT).
MDB
'Turn on Trajectory Overshoot Braking (MDE mode is required for MDB).
PT
=8000
G TWAIT
'Move to Absolute Position 8000.
PT
=0
G TWAIT
'Move to Absolute Position 0.
END
RELATED COMMANDS:
Mode Current (Commutation Mode) (see page 536)
Mode Enhanced (Commutation Mode) (see page 538)
Mode Hybrid (Commutation Mode) (see page 540)
Mode Hybrid Velocity (Commutation Mode) (see page 542)
Mode Sine (Commutation Mode) (see page 544)
Mode Trap (Commutation Mode) (see page 546)
Part 2: Commands: MDB