BASIC commands
PROGRAMMING MANUAL 102
Revision 1.0
3.2.136 FORWARD
/i
fig. 28/i
Type Axis command
Syntax FORWARD
FO
Description The FORWARD command moves an axis continuously forward at the speed
set in the SPEED axis parameter. The acceleration rate is defined by the
ACCEL axis parameter.
FORWARD works on the default basis axis (set with BASE) unless AXIS is
used to specify a temporary base axis.
Note: The forward motion can be stopped by executing the CANCEL or
RAPIDSTOP command, or by reaching the forward limit. If stopped by execu-
tion of the CANCEL or RAPIDSTOP command, the axis decelerates to a stop
at the programmed DECEL rate.
Arguments N/A
IN(12)
NC
AXIS 0
Example Move an axis forward until it hits the end limit switch, then move it in the
reverse direction for 25 cm.
BASE(3)
FWD_IN=7 limit switch connected to input 7
FORWARD
WAIT IDLE ' wait for motion to stop on the switch
MOVE(-25.0)
WAIT IDLE