Galil Motion Control manc 18x 6 Page 23
DMC-18x6 Command Reference
15
AB
FUNCTION: Abort
DESCRIPTION:
AB (Abort) stops a motion instantly without a controlled deceleration. If there is a program
operating, AB also aborts the program unless a 1 argument is specified. The command, AB,
will shut off the motors for any axis in which the off on error function is enabled (see
command OE).
AB aborts motion on all axes in motion and cannot stop individual axes.
ARGUMENTS: AB n
where
n = 0 The controller aborts motion and program
n = 1 The controller aborts motion only
No argument will cause the controller to abort the motion and program
USAGE: DEFAULTS:
While Moving
Yes
Default Value
---
In a Program
Yes
Default Format
---
Command Line
Yes
Controller Usage
ALL CONTROLLERS
OPERAND USAGE:
_AB gives state of Abort Input, 1 inactive and 0 active.
RELATED COMMANDS:
motor
Specifies Off On Error
EXAMPLES:
AB Stops
motion
OE 1,1,1,1
Enable off on error
AB
Shuts off motor command and stops motion
#A
Label - Start of program
JG 20000
Specify jog speed on X-axis
BGX
Begin jog on X-axis
WT 5000
Wait 5000 msec
AB1
Stop motion without aborting program
WT 5000
Wait 5000 milliseconds
SH Servo
Here
JP #A
Jump to Label A
EN
End of the routine
Hint: Remember to use the parameter 1 following AB if you only want the motion to be aborted.
Otherwise, your application program will also be aborted.