rem Demonstrating how to stop the X-motor
rem This program makes the X-motor to jog
rem Commands demonstrated; velx, accx, jogx, stopx, end
rem Set the velocity
velx 8000
rem Set the acceleration
accx 10000
rem Start jogging
jogx
100
rem Wait until the trip point
if X < 50000 then goto 100
stopx
end
$
Copyright © 2002, 2003, 2004, 2005, 2006 Optimal Engineering Systems, Inc.