Galil Motion Control DMC-18 2 Series User Manual page 130

Table of Contents

Advertisement

#INPUT
AI-1
PR 10000
BGX
EN
Event Trigger - Set output when At speed
#ATSPEED
JG 50000
AC 10000
BGX
ASX
SB1
EN
Event Trigger - 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.
#VECTOR
CAS
VMXY;VS 5000
VP 10000,20000
VP 20000,30000
VE
BGS
AV 5000
VS 1000
EN
Event Trigger - Multiple Move with Wait
This example makes multiple relative distance moves by waiting for each to be complete before
executing new moves.
#MOVES
PR 12000
SP 20000
AC 100000
BGX
AD 10000
SP 5000
AMX
WT 200
PR -10000
SP 30000
AC 150000
BGX
DMC-18x2
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Program Label
Wait for input 1 low
Position command
Begin motion
End program
Program Label
Specify jog speed
Acceleration rate
Begin motion
Wait for at slew speed 50000
Set output 1
End program
Label
Identify coordinate system
Coordinated path
Vector position
Vector position
End vector
Begin sequence
After vector distance
Reduce speed
End
Label
Distance
Speed
Acceleration
Start Motion
Wait a distance of 10,000 counts
New Speed
Wait until motion is completed
Wait 200 ms
New Position
New Speed
New Acceleration
Start Motion
Chapter 7 Application Programming • 119

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dmc-1812Dmc-1822Dmc-1832Dmc-1842

Table of Contents