214
●
SC
DMC-40x0 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
10
Stopped after homing (HM)
1
Motors stopped at commanded
independent position
11
Stopped by Selective Abort
Input
2
Decelerating or stopped by FWD
limit switch or soft limit FL
12
Decelerating or stopped by
encoder failure (OA1)
3
Decelerating or stopped by REV
limit switch or soft limit BL
15 Amplifier
Fault
4
Decelerating or stopped by Stop
Command (ST)
16
Stepper Position Maintenance
Mode error exceeded (QS)
6
Stopped by Abort input
50
Contour running
7
Stopped by Abort command (AB)
51
Contour Stop
8
Decelerating or stopped by Off on
Error (OE1)
99 MC
timeout
9
Stopped after Finding Edge (FE)
100
Motors are running, vector
sequence
101
Motors stopped at commanded
vector
ARGUMENTS:
SC nnnnnnnnnn
where
n is A,B,C,D,E,F,G or H or any combination to specify the axis or axes
USAGE: DEFAULTS:
While Moving
Yes
Default Value
-
In a Program
Yes
Default Format
3.0
Command Line
Yes
Controller Usage
ALL CONTROLLERS
OPERAND USAGE:
_SCn contains the value of the stop code for the specified axis.
RELATED COMMANDS:
Update
EXAMPLES:
Tom =_SCD
Assign the Stop Code of D to variable Tom
Summary of Contents for DMC-40x0 Series
Page 2: ......
Page 4: ......
Page 10: ...vi i Table of Contents DMC 40x0 Command Reference This Page is Left Blank Intentionally ...