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

Table of Contents

Advertisement

The clear sequence (CS) command can be used to remove LI segments stored in the buffer prior to the
start of the motion. To stop the motion, use the instructions STS, STT, or AB. The command, ST,
causes a decelerated stop. The command, AB, causes an instantaneous stop and aborts the program,
and the command AB1 aborts the motion only.
The Linear End (LE) command must be used to specify the end of a linear move sequence. This
command tells the controller to decelerate to a stop following the last LI command. If an LE command
is not given, an Abort AB1 must be used to abort the motion sequence.
It is the responsibility of the user to keep enough LI segments in the DMC-18x2 sequence buffer to
ensure continuous motion. If the controller receives no additional LI segments and no LE command,
the controller will stop motion instantly at the last vector. There will be no controlled deceleration.
LM? or _LM returns the available spaces for LI segments that can be sent to the buffer. 511 returned
means the buffer is empty and 511 LI segments can be sent. A zero means the buffer is full and no
additional segments can be sent. As long as the buffer is not full, additional LI segments can be sent at
PC bus speeds.
The instruction _CS returns the number of the segment being processed. As the segments are
processed, _CS increases, starting at zero. This function allows the host computer to determine which
segment is being completed.
Additional Commands
The commands VS n, VA n, and VD n are used to specify the vector speed, acceleration, and
deceleration. The DMC-18x2 computes the vector speed based on the axes specified in the LM mode.
For example, LM XYZ designates linear interpolation for the X,Y and Z axes. The vector speed for
this example would be computed using the equation:
2
2
VS
=XS
+YS
The controller computes the vector speed with the axis specifications from LM.
VT is used to set the S-curve smoothing constant for coordinated moves. The command AV n is the
'After Vector' trippoint which halts program execution until the vector distance of n has been reached.
An Example of Linear Interpolation Motion:
#LMOVE
DP 0,0
LMXY
LI 5000,0
LI 0,5000
LE
VS 4000
BGS
AV 4000
VS 1000
AV 5000
VS 4000
EN
In this example, the XY system is required to perform a 90
the corner, we use the AV 4000 trippoint, which slows the speed to 1000 count/s. Once the motors
reach the corner, the speed is increased back to 4000 cts / s.
DMC-18x2
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
2
2
+ZS
, where XS, YS and ZS are the speed of the X,Y and Z axes.
label
Define position of X and Y axes to be 0
Define linear mode between X and Y axes.
Specify first linear segment
Specify second linear segment
End linear segments
Specify vector speed
Begin motion sequence
Set trippoint to wait until vector distance of 4000 is reached
Change vector speed
Set trippoint to wait until vector distance of 5000 is reached
Change vector speed
Program end
°
turn. In order to slow the speed around
Chapter 6 Programming Motion • 73

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

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

Table of Contents