Galil DMC-1400 Manuale Utente

Pagina di 235
194 ● TD 
 
 
 
 
 
 
   DMC-1400 Series Command Reference 
 
TD  
FUNCTION:  Tell Dual Encoder 
DESCRIPTION: 
This command returns the current position of the dual (auxiliary) encoder.  The auxiliary 
encoder is not available if the controller is set up for stepper. 
 
When operating with stepper motors, the TD command returns the number of counts that have 
been output by the controller. 
ARGUMENTS:  TD 
USAGE:    
While Moving 
Yes 
Default Value 
In a Program 
Yes 
Default Format 
Position Format 
Command Line 
Yes 
 
 
Can be Interrogated 
No 
 
 
Used as an Operand 
Yes 
 
 
Controller Usage 
ALL  
OPERAND USAGE: 
 
_TD contains the dual encoder position. 
RELATED COMMANDS: 
 Dual Encoder 
EXAMPLES: 
:PF 7 
Position format of 7 
:TD Return 
Dual 
encoder 
0000200  
DUAL=_TD 
Assign the variable, DUAL, the value of TD