Galil DMC-1400 Manual De Usuario

Descargar
Página de 235
142 ● MR 
 
 
 
 
 
 
   DMC-1400 Series Command Reference 
MR  
FUNCTION:  Reverse Motion to Position 
DESCRIPTION: 
The MR command is a trippoint used to control the timing of events.   This command will 
hold up the execution of the following command until  the specified motor moves 
backward and crosses the position specified.   The units of the command are in 
quadrature counts.  The MR command can also be used when the encoder  is the master 
and not under servo control. 
ARGUMENTS:  MR n  where  
n is a signed integer in the range -2147483648 to 2147483647  decimal 
USAGE:     
While Moving 
Yes 
Default Value 
--- 
In a Program 
Yes 
Default Format 
--- 
Command Line 
Yes 
 
 
Can be Interrogated 
No 
 
 
Used as an Operand 
No 
 
 
Controller Usage 
ALL  
RELATED COMMANDS: 
Trippoint for after Relative Distance 
Forward motion to position 
Trippoint After absolute position 
EXAMPLES: 
#TEST  
Program B  
DP0  
Define zero  
JG 1000  
Jog mode (speed of 1000 counts/sec)  
BG 
Begin move  
MR -3000  
After passing the position -3000 
V1=_TP 
Assign current position to variable V1.  
MG "Position is", V1 
Print Message  
ST Stop 
EN 
End of Program 
 
HINT:  The accuracy of the MR command is the number of counts that occur in 2 msec.  Multiply the 
speed by 2 msec to obtain the maximum error.  MR  tests for absolute position.    The MR command 
can also be used when the specified motor is driven independently by an external device.