Galil DMC-1400 Manuale Utente

Pagina di 235
DMC-1400  Series Command Reference AR 
● 25   
AR  
FUNCTION:  After Relative Distance 
DESCRIPTION: 
The After Relative (AR) command is a trippoint used to control the timing of events.  This 
command will hold up the execution of the following command until one of the following 
conditions have been met:  
1.  The commanded motor position crosses the specified relative distance from either 
the start of the move or the last AR or AD command. 
2.  The motion profiling on the axis is complete. 
3.  The commanded motion is in the direction which moves away from the specified 
position. 
The units of the command are quadrature counts.  The motion profiler must be on or the 
trippoint will automatically be satisfied. 
ARGUMENTS:  ARn  
where  
n is unsigned integer in the range 0 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 absolute position 
EXAMPLES: 
#A;DP 0 
Begin Program 
JG 50000 
Specify speed 
BG Begin 
motion 
#B Label 
AR 25000 
After passing  25000 counts of relative distance on X-axis 
MG "Passed_X";TP 
Send message  
JP #B 
Jump to Label #B 
EN End 
Program 
 
HINT: AR is used to specify incremental distance from last AR or AD command. Use AR if multiple 
position trippoints are needed in a single motion sequence.