Galil COMMAND REFRENNCE DMC-1400 Manual De Usuario

Descargar
Página de 235
#MCTIME 
 
FUNCTION: MC command timeout automatic subroutine 
DESCRIPTION:   
#MCTIME runs when the MC command is used to wait for motion to be complete and the 
actual position TP does not reach or pass the target _PA + _PR within the specified 
timeout TW. 
USAGE:     
While Moving 
Yes 
 
 
In a Program 
Yes 
 
 
Command Line 
No 
 
 
Controller Usage 
ALL 
RELATED COMMANDS: 
Wait for motion complete trip point 
MC timeout 
End routine 
EXAMPLES: 
#BEGIN
              ;
'Begin main program 
  
TW
X
=1000          ;
'Set the time out to 1000 ms 
  
PR
X
=10000         ;
'Position relative 
  
BG
X
               ;
'Begin motion 
  
MC
X
               ;
'Motion Complete trip point 
EN
                  ;
'End main program 
 
#MCTIME
             ;
'Motion Complete Subroutine 
  
MG
 
"X fell short"
 ;
'Send out a message 
EN
1                 ;
'End subroutine
 
 
NOTE: An application program must be executing for the automatic subroutine to function, which 
runs in thread 0. 
 
NOTE: Use EN to end the routine 
138 ● #MCTIME 
        
 
 
DMC-1400 
Series 
Command 
Reference