DMC-18x6 Command Reference
180
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 decelerating or 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
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
9
Stopped after Finding Edge (FE)
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.
EXAMPLES:
Tom =_SCD
Assign the Stop Code of D to variable Tom