![]() ![]() ![]() |
rem Illustrating the usage of the Y-motor step counter
rem This program makes the Y-motor to jog
rem Commands demonstrated; vely, accy, jogy, stopy, eposy
rem Set the velocity
vely 8000
rem Set the acceleration
accy 10000
rem Start jogging
jogy
100
rem Wait until the trip point
if Y < 50000 then goto 100
stopy
eposy
end
$
Copyright © 2002, 2003, 2004, 2005, 2006 Optimal Engineering Systems, Inc.