182 SC DMC-1400 Series Command Reference
SC
FUNCTION: Stop Code
DESCRIPTION:
The SC command allows the user to determine why a motor stops. The controller responds
with the stop code as follows:
CODE MEANING CODE MEANING
0 Motors are running, independent
mode
9 Stopped after Finding
Edge (FE)
1 Motors decelerating or stopped at
commanded independent position
10 Stopped after Homing
(HM)
2 Decelerating or stopped by FWD
limit switch or software limit, FL
11 Stopped by selective
Abort Input
3 Decelerating or stopped by REV
limit switch or software limit, BL
50 Contour running
4 Decelerating or stopped by Stop
Command (ST)
51 Contour Stop
6 Stopped by Abort input 99 MC timeout
7 Stopped by Abort command (AB) 100 Motors are running,
vector sequence
8 Decelerating or stopped by Off-on-
Error (OE1)
101 Motors stopped at
commanded vector
ARGUMENTS: SC
USAGE:
While Moving Yes Default Value ---
In a Program Yes Default Format 3.0
Command Line Yes
Can be Interrogated No
Used as an Operand Yes
Controller Usage ALL
OPERAND USAGE:
_SC contains the value of the stop code.
EXAMPLES:
Tom=_SC Assign the Stop Code to variable Tom