Ts (tell switches), Status, Bit 7 – Yaskawa LEGEND-MC User Manual
Page 238: Axis in motion if high, Bit 6, Error limit exceeded if high, Bit 5, Motor off if high, Bit 4, Amplifier ok if high

228
LEGEND-MC User’s 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
CN 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: TS XYZW or ABCDEFGH
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
Amplifier OK if high
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
Distributed Control
Specific Axis