Galil Motion Control DMC-1000 User Manual page 71

Table of Contents

Advertisement

_AV
_CS
_LE
_LM
_VPm
To illustrate the ability to interrogate the motion status, consider the first motion segment of our
example, #LMOVE, where the X axis moves toward the point X=5000. Suppose that when X=3000,
the controller is interrogated using the command 'MG _AV'. The returned value will be 3000. The
value of _CS, _VPX and _VPY will be zero.
Now suppose that the interrogation is repeated at the second segment when Y=2000. The value of
_AV at this point is 7000, _CS equals 1, _VPX=5000 and _VPY=0.
Make a coordinated linear move in the ZW plane. Move to coordinates 40000,30000 counts at a
vector speed of 100000 counts/sec and vector acceleration of 1000000 counts/sec 2 .
Instruction
#TEST
LM ZW
LI,,40000,30000
LE
VS 100000
VA 1000000
VD 1000000
BGS
AMS
EN
Note that the above program specifies the vector speed, VS, and not the actual axis speeds VZ and
VW. The axis speeds are determined by the DMC-1000 from:
=
VS
VZ
The resulting profile is shown in Figure 6.2.
52 • Chapter 6 Programming Motion
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Return distance traveled
Segment counter - returns number of the segment in the sequence, starting at zero.
Returns length of vector (resets after 2147483647)
Returns number of available spaces for linear segments in DMC-1000 sequence buffer.
Zero means buffer full. 512 means buffer empty.
Return the absolute coordinate of the last data point along the trajectory.
(m=X,Y,Z or W or A,B,C,D,E,F,G or H)
Example - Linear Move
Interpretation
Label
Specify axes for linear interpolation
Specify ZW distances
Specify end move
Specify vector speed
Specify vector acceleration
Specify vector deceleration
Begin sequence
After motion sequence ends
End program
+
2
2
VW
DMC-1000

Advertisement

Table of Contents
loading

Table of Contents