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

Table of Contents

Advertisement

The operands _VPX and _VPY can be used to return the coordinates of the last point specified along
the path.
Example:
Traverse the path shown in Fig. 6.3. Feedrate is 20000 counts/sec. Plane of motion is XY
VM XY
VS 20000
VA 1000000
VD 1000000
VP -4000,0
CR 1500,270,-180
VP 0,3000
CR 1500,90,-180
VE
BGS
The resulting motion starts at the point A and moves toward points B, C, D, A. Suppose that we
interrogate the controller when the motion is halfway between the points A and B.
The value of _AV is 2000
The value of _CS is 0
_VPX and _VPY contain the absolute coordinate of the point A
Suppose that the interrogation is repeated at a point, halfway between the points C and D.
The value of _AV is 4000+1500
The value of _CS is 2
_VPX,_VPY contain the coordinates of the point C
C (-4000,3000)
R = 1500
B (-4000,0)
Figure 6.3 - The Required Path
DMC-18x2
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Specify motion plane
Specify vector speed
Specify vector acceleration
Specify vector deceleration
Segment AB
Segment BC
Segment CD
Segment DA
End of sequence
Begin Sequence
π
+2000=10,712
D (0,3000)
A (0,0)
Chapter 6 Programming Motion • 81

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

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

Table of Contents