Galil Motion Control manc 18x 6 Page 197
DMC-18x6 Command Reference
189
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
DPRAM 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
3.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)