Galil DMC-3425 Manual De Usuario

Descargar
Página de 210
118 • Chapter 7 Application Programming 
 
DMC-3425 
 
Instruction Interpretation 
#INPUT Program 
Label 
AI-1 
Wait for input 1 low 
PR 10000 
Position command 
BGA Begin 
motion 
EN End 
program 
Example - Set Output when At Speed 
Instruction Interpretation 
#ATSPEED Program 
Label 
JG 50000 
Specify jog speed 
AC 10000 
Acceleration rate 
BGA Begin 
motion 
ASA 
Wait for at slew speed 50000 
SB1 
Set output 1 
 EN 
End program 
Example - Change Speed along Vector Path 
The following program changes the feedrate or vector speed at the specified distance along the vector.  
The vector distance is measured from the start of the move or from the last AV command. 
Instruction Interpretation 
#VECTOR Label 
VMAB;VS 5000 
Coordinated path 
VP 10000,20000 
Vector position 
VP 20000,30000 
Vector position 
VE End 
vector 
BGS Begin 
sequence 
AV 5000 
After vector distance 
VS 1000 
Reduce speed 
EN End 
Example - Multiple Move with Wait 
This example makes multiple relative distance moves by waiting for each to be complete before 
executing new moves. 
Instruction Interpretation 
#MOVES Label 
PR 12000 
Distance 
SP 20000 
Speed 
AC 100000 
Acceleration 
BGA Start 
Motion 
AD 10000 
Wait a distance of 10,000 counts 
SP 5000 
New Speed 
AMA 
Wait until motion is completed 
WT 200 
Wait 200 ms