Galil COMMAND REFRENNCE DMC-1400 Manual De Usuario

Descargar
Página de 235
24 ● 
AP 
       
 
 
DMC-1400 
Series 
Command 
Reference 
AP  
FUNCTION:  After Absolute Position 
DESCRIPTION: 
The After Position (AP) 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 absolute position. 
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:  APn 
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 relative distances 
 
 
EXAMPLES: 
#TEST Program 
DP0 Define 
zero 
JG 1000 
Jog mode (speed of 1000 counts/sec) 
BG Begin 
move 
AP 2000 
After passing the position 2000 
V1=_TP 
Assign V1 X position 
MG "Position is", V1= 
Print Message 
ST Stop 
EN 
End of Program 
 
HINT: The accuracy of the AP command is the number of counts that occur in 2 samples (2 msec for 
TM 1000).  Multiply the speed by the time period of 2 samples to obtain the maximum error.  AP tests 
for absolute position.  Use the AD command to measure incremental distances.