DMC-40x0 Command Reference OE • 177
OE
FUNCTION: Off On Error
DESCRIPTION:
The OE command causes the controller to shut off the motor command if a position error TE
exceeds the limit specified by the ER command, an abort occurs from either the abort input or
on AB command, or a limit switch is tripped, or an amplifier error exists.
If a position error is detected on an axis, and the motion was executing an independent move, only
that axis will be shut off. If the motion is a part of coordinated mode of the types VM, LM or
CM, all participating axes will be stopped.
ARGUMENTS: OE n,n,n,n,n,n,n,n or OEA=n where
n = 0 Disables the Off On Error function.
n = 1 Motor shut off (MO) by position error (TE > ER) or abort input
n = 2 Motor shut off (MO) by limit switch
n = 3 Motor shut off (MO) either by position error (TE > ER), limit switch, or abort
input
USAGE: DEFAULTS:
While Moving Yes Default Value 0
In a Program Yes Default Format 1.0
Command Line Yes
Controller Usage
ALL CONTROLLERS
OPERAND USAGE:
_OEn contains the status of the off on error function for the specified axis.
RELATED COMMANDS:
AB Abort
ER Error limit
SH Servo Here
#POSERR Error Subroutine
#LIMSWI Limit switch automatic subroutine
TA Tell Amplifier Error
EXAMPLES:
OE 1,1,1,1 Enable OE on all axes
OE 0 Disable OE on A-axis; other axes remain unchanged
OE ,,1,1 Enable OE on C-axis and D-axis; other axes remain unchanged
OE 1,0,1,0 Enable OE on A and C-axis; Disable OE on B and D axis
Hint: The OE command is useful for preventing system damage.