AP  abort program 
 
  
IMM PGM  MIP  
USAGE  ♦    ♦    ♦   
 
SYNTAX   AP 
 
PARAMETERS    none     
 
 
DESCRIPTION  This command is used to interrupt a motion program in execution. It will not stop 
a motion in progress. It will only stop the program after the current command 
line finished executing.  
 
        It can be used as an immediate command or inside a program. 
 
Inside a program it is useful in conjunction with program flow control 
commands. It could, for instance, terminate a program on the occurrence of a 
certain external event, monitored by an I/O bit. 
 
 
RETURNS     none 
 
 
REL. COMMANDS    EX  -    execute a program 
 
 
EXAMPLE     3EX  | execute program  # 3 
           
•         
           
•         
           
•         
 AP   | stop program execution 
3-28          Section 3 – Remote Mode