Galil DMC-1400 Tablet Accessory User Manual


 
DMC-1400 Series Command Reference AB 13
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").
ARGUMENTS: AB n where
n = no argument or 1
1 aborts motion without aborting program, 0 aborts motion and program
AB aborts motion on all axes in motion and cannot stop individual axes.
USAGE:
While Moving Yes Default Value ---
In a Program Yes Default Format ---
Command Line Yes
Can be Interrogated No
Used as an Operand Yes
Controller Usage
ALL
OPERAND USAGE:
_AB gives the state of the Abort Input
RELATED COMMANDS:
SH Turns servos back on if they were shut-off by Abort and OE1.
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.