Ts (tell switches), Status – Yaskawa SMC–4000 User Manual

Page 238

Advertising
background image

228

SMC–4000 User Manual

TS (Tell Switches)

[Status]

DESCRIPTION:

TS returns the state of the Home switch, Forward and Reverse Limit switch, error conditions, motion
condition and motor state. The value returned by this command is decimal and represents an 8 bit value
(decimal value ranges from 0 to 255). Each bit represents the following status information.

*Note The value for bits 1, 2 and 3 depend on the limit switch and home switch configuration (see

the

CN (Configure Limit Switches)

command). For active low configuration (default), these

bits are ‘1’ when the switch is inactive and ‘0’ when active. For active high configuration,
these bits are ‘0’ when the switch is inactive and ‘1’ when active.

ARGUMENTS: _TSx XYZW or ABCD

USAGE:

OPERAND USAGE:

_TSX contains the current status of the switches.

Bit

Status

Bit 7

Axis in motion if high

Bit 6

Error limit exceeded if high

Bit 5

Motor off if high

Bit 4

Undefined

Bit 3

Forward Limit inactive if high

Bit 2

Reverse Limit inactive if high

Bit 1

State of home switch

Bit 0

Latch not armed if high

While Moving

Yes

Default Value

---

In a Program

Yes

Default Format

3.0

Command Line

Yes

Can be Interrogated

Yes

Used as an Operand

Yes

Advertising