Ab (abort), Motion – Yaskawa SMC–4000 User Manual
Page 60
![background image](https://www.manualsdir.com/files/819559/content/doc060.png)
50
SMC–4000 User Manual
AB (Abort)
[Motion]
DESCRIPTION:
AB (Abort) stops motion instantly without controlled deceleration by freezing the profiler. If there is a
program executing, AB also aborts the program unless a 1 argument is specified. The command, AB, will
shut off the motors (disable the amplifier) for any axis in which the off-on-error function is enabled (see the
command). AB aborts motion on all axes in motion and cannot stop individual axes.
ARGUMENTS: AB n
where
n = 0 aborts motion and program
n = 1 aborts motion without aborting program
USAGE:
OPERAND USAGE:
_AB returns the state of the Abort Input
RELATED COMMANDS:
: Turns servos back on if they were shut-off by Abort and OE1.
EXAMPLES:
Hint: Use parameter 1 following AB if you want the motion to be aborted or application program will be aborted.
While Moving
Yes
Default Value
n/a
In a Program
Yes
Default Format
n/a
Command Line
Yes
Can be Interrogated
Yes
Used as an Operand
Yes
OE 0,0,0,0
Disable OFF/ON error for all axes
AB
Aborts motion unconditionally, motors remain
enabled
OE 1,1,1,1
Enable off-on-error
AB
Shuts off amplifier enable and aborts 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
Abort motion without aborting program
WT 5000
Wait 5000 milliseconds
SH
Servo Here
JP #A
Jump to Label A
EN
End of the routine