rem Commanding the X-motor to find the home switch
rem This program makes the X-motor to find the home position
rem Commands demonstrated; velx, accx, homex, donex?, end
rem Set the velocity
velx -8000
rem Set the acceleration
accx 10000
rem Start homing
homex
rem Wait until the move is completed
donex?
end
$
Copyright © 2002, 2003, 2004, 2005, 2006 Optimal Engineering Systems, Inc.