Moog Animatics SmartMotor™ Developer's Guide,Rev. L
Page 796 of 909
EXAMPLE: (Change commanded speed and acceleration)
O=0 'Set current position to zero
MP 'Set to position mode (required if currently
'in another mode)
VT=100000 'Set velocity to 100000
ADT=1000 'Set accel/decel to 1000
PT=1000000 'Set commanded absolute position to 1000000
G 'Go (Start moving)
WAIT=8000 'Wait about 8 seconds
VT=800000 'Set new velocity of 800000
ADT=500 'Set new accel/decel of 500
G 'Initiate change in speed and acceleration
RELATED COMMANDS:
R
CLK=formula Millisecond Clock (see page 363)
R
TMR(timer,time) Timer (see page 743)
TWAIT(gen#) Trajectory Wait (see page 750)
Part 2: Commands: WAIT=formula