DMC-40x0 Command Reference TB • 225
TB
FUNCTION: Tell Status Byte
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):
BIT STATUS
Bit 7 Executing application 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
ARGUMENTS:
TB ? returns the status byte
USAGE: DEFAULTS:
While Moving Yes Default Value -
In a Program Yes Default Format 3.0
Command Line Yes
Controller Usage
ALL CONTROLLERS
OPERAND USAGE:
_TB Contains the status byte
EXAMPLES:
TB?
:65 Data Record Active and Echo is on (26 + 20 = 64 + 1 = 65)