Tb (tell status byte), Status, Tb contains the status byte – Yaskawa LEGEND-MC User Manual

Page 224

Advertising
background image

214

LEGEND-MC User’s Manual

TB (Tell Status Byte)

[Status]

DESCRIPTION:

The TB command returns status information from the controller as a decimal number. Each bit of the status
byte denotes the following condition when the bit is set (high):

ARGUMENTS: None

USAGE:

OPERAND USAGE:

_TB contains the status byte.

EXAMPLES:

BIT

STATUS

Bit 7

Executing program

Bit 6

N/A

Bit 5

Contouring

Bit 4

Executing error or limit switch routine

Bit 3

Input interrupt enabled

Bit 2

Executing input interrupt routine

Bit 1

N/A

Bit 0

Echo on

While Moving

Yes

Default Value

---

In a Program

Yes

Default Format

1.0

Command Line

Yes

Can be Interrogated

Yes

Used as an Operand

Yes

Distributed Control

No, Local

TB

Tell status information from the controller

65

Executing program and echo on (2

6

+ 2

0

= 64 + 1 = 65)

Advertising