Sc (stop code), Status – Yaskawa SMC–4000 User Manual
Page 215
205
SMC–4000 User Manual
SC (Stop Code)
[Status]
DESCRIPTION:
The SC command allows the user to determine why a motor stops. The controller responds with the stop
code as follows:
ARGUMENTS: SC XYZW or ABCD
USAGE:
OPERAND USAGE:
_SCn contains the value of the stop code where n is an axis letter.
EXAMPLES:
CODE
MEANING
CODE
MEANING
0
Motors are running, independent mode
11
Stopped by selective Abort Input
1
Motors stopped at commanded independent
position
40
Topped by latch target
2
Decelerating or stopped by FWD limit
switch or software limit,
41
Stopped due to limit switch or
mode
3
Decelerating or stopped by REV limit
switch or software limit,
42
Stopped short of
distance
4
Decelerating or stopped by
command
50
Contour running
6
Stopped by Abort input
51
Contour Stop
7
Stopped by
command
99
timeout
8
Decelerating or stopped by Off-on-Error
(OE1)
100
Motors are running, vector
sequence
9
Stopped after
101
Motors stopped at commanded
vector
10
Stopped after
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
Virtual Axis
Yes
Tom=_SCX
Assign the Stop Code to variable Tom