BackHomeContact Us

rem Moving the W-motor relative to its last point

rem This program makes the W-motor to move back and forth
rem Commands demonstrated; velw, accw, posw, movrw, rem, wait, goto

rem Set the velocitw
velw 2000

rem Set the acceleration
accw 20000

rem Set the position to move to
posw 5000

rem Start the relative move

rem Wait until the move is completed

rem Wait for 250 msec
wait 250

rem Move again
goto 200

Copyright   2002, 2003, 2004, 2005, 2006 Optimal Engineering Systems, Inc.