Galil DMC-1400 Manual De Usuario

Descargar
Página de 235
DMC-1400  Series Command Reference MC 
● 137   
MC     
 
 
 
 
FUNCTION:  Motion Complete - "In Position" 
DESCRIPTION: 
The MC command is a trippoint used to control the timing of events.   This command will 
hold up execution of the following commands until the current move is completed and 
the encoder  reaches or passes the specified position.  TW sets the timeout to declare an 
error if the encoder is not in position within the specified time.  If a timeout occurs, the 
trippoint will clear and the stopcode will be set to 99.  An application program will jump 
to the special label #MCTIME. 
 
When used in stepper mode, the controller will hold up execution of the proceeding 
commands until the controller has generated the same number of steps as specified in the 
commanded position.  The actual number of steps that have been generated can be 
monitored by using the interrogation command TD.  Note:  The MC command is useful 
when operating with stepper motors since the step pulses can be delayed from the 
commanded position due to the stepper motor smoothing function, KS. 
ARGUMENTS:  MC  
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: 
Begin 
After Move 
Timeout 
EXAMPLES: 
#MOVE  
Program MOVE  
PR 5000  
Position relative moves  
BG   
Start the axis  
MC  
After the move is complete  
SB1 
Set output 1 to logic 1  
EN 
End of Program   
Hint:  MC can be used to verify that the actual motion has been completed.