Galil DMC-1400 Manual De Usuario

Descargar
Página de 235
DMC-1400  Series Command Reference IN 
● 109   
EXAMPLES:  Operator specifies length of material to be cut in inches and speed in inches/sec (2 
pitch lead screw, 2000 counts/rev encoder). 
#A Program 
CI -1 
Clear Input Buffer* 
IN "Enter Speed(in/sec)",V1  Prompt operator for speed 
IN "Enter Length(in)",V2 
Prompt for length 
V3=V1*4000 
Convert units to counts/sec 
V4=V2*4000 
Convert units to counts 
SP V3 
Speed command 
PR V4 
Position command 
BGX;AMX 
Begin motion; Wait for motion complete 
MG "MOVE DONE" 
Print Message 
EN End 
Program 
*NOTE:  It is a good practice to clear the input buffer before executing the IN command