beautypg.com

Sc (stop code), Status – Yaskawa SMC–4000 User Manual

Page 215

background image

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,

LT (Latch Target)

41

Stopped due to limit switch or

stop command in

LT (Latch

Target)

mode

3

Decelerating or stopped by REV limit

switch or software limit,

BL (Backward

Limit)

42

Stopped short of

LT (Latch

Target)

distance

4

Decelerating or stopped by

ST (Stop)

command

50

Contour running

6

Stopped by Abort input

51

Contour Stop

7

Stopped by

AB (Abort)

command

99

MC (Motion Complete)

timeout

8

Decelerating or stopped by Off-on-Error

(OE1)

100

Motors are running, vector

sequence

9

Stopped after

FE (Find Edge)

101

Motors stopped at commanded

vector

10

Stopped after

HM (Home)

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