Galil DMC-1400 Manuale Utente

Pagina di 235
DMC-1400  Series Command Reference TI 
● 197   
TI  
FUNCTION:  Tell Inputs 
DESCRIPTION: 
This command returns the state of all 7 general digital inputs or 3 inputs for the DMC-1425.  
Response is a decimal number which when converted to binary represents the status of all 
7 digital inputs. 
BIT TI 
 Bit 6 
Input 7 
 Bit 5 
Input 6 
 Bit 4 
Input 5 
 Bit 3 
Input 4 
 Bit 2 
Input 3 
 Bit 1 
Input 2 
 Bit 0 
Input 1 
 
ARGUMENTS:  TI  
USAGE:     
While Moving 
Yes 
Default Value 
--- 
In a Program 
Yes 
Default Format 
3.0 
Command Line 
Yes 
 
 
Can be Interrogated 
Yes 
 
 
Used as an Operand 
Yes 
 
 
Controller Usage 
ALL  
OPERAND USAGE: 
_TI contains the status byte of the input block.  Note that the operand can be masked to return 
only specified bit information - see section on Bitwise operations 
EXAMPLES: 
TI  
08 
Input 4 is high, others low 
TI  
00 
All inputs low 
Input =_TI 
Sets the variable, Input, with the TI value 
TI  
127 
All inputs high