Galil COMMAND REFRENNCE DMC-1400 Manual De Usuario

Descargar
Página de 235
DMC-1400  Series Command Reference RP 
● 175   
 
RP  
FUNCTION:  Reference Position 
DESCRIPTION: 
This command returns the commanded reference position of the motor.  
ARGUMENTS:  RP 
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: 
 
_RP contains the commanded reference position. 
RELATED COMMAND: 
TP
Tell Position 
TE
Tell Error 
Note:  The relationship between RP, TP and TE is that the position error, _TE, equals the 
difference between the reference position, _RP and the actual position, _TP. 
EXAMPLES: 
:PF 7 
Position format of 7 
0:RP  
0000200 
Return reference position 
PF-6.0 
Change to hex format 
RP  
$0000C8 
Return in hex  
Position=_RP 
Assign the variable, Position, the value of RP 
 
 
HINT: RP command is useful when operating step motors since it provides the commanded 
position in steps when operating in stepper mode.