Galil Motion Control optcom Page 192
Optima DMC-1xxx and DMC-18x2 Command Reference
TB
i
181
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
Data Record Active
Bit 5
Contouring
Bit 4
Executing error or limit switch routine
Bit 3
Input interrupt enabled
Bit 2
Executing input interrupt routine
Bit 1
Secondary FIFO Polling active
Bit 0
Echo on
ARGUMENTS:
TB ? returns the status byte
USAGE: DEFAULTS:
While Moving
Yes
Default Value
-
In a Program
Yes
Default Format
1.0
Command Line
Yes
Controller Usage
ALL CONTROLLERS
OPERAND USAGE:
_TB Contains the status byte
EXAMPLES:
65
Data Record Active and Echo is on (2
6
+ 2
0
= 64 + 1 = 65)