190 TB DMC-1400 Series Command Reference
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 program
Bit 6 DMA Active (when available)
Bit 5 Contouring
Bit 4 Executing error or limit switch routine
Bit 3 Input interrupt enabled
Bit 2 Executing input interrupt routine
Bit 1 0 (Reserved)
Bit 0 Echo on
ARGUMENTS: None
USAGE:
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
Controller Usage ALL
OPERAND USAGE:
_TB contains the status byte.
EXAMPLES:
TB Tell status information from the controller
65 Executing program and echo on (26 + 20 = 64 + 1 = 65)