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:
MDC Mode Current (Commutation Mode) (see page 536)
MDE Mode Enhanced (Commutation Mode) (see page 538)
MDH Mode Hybrid (Commutation Mode) (see page 540)
MDHV Mode Hybrid Velocity (Commutation Mode) (see page 542)
MDS Mode Sine (Commutation Mode) (see page 544)
MDT Mode Trap (Commutation Mode) (see page 546)
Part 2: Commands: MDB