DMC-18x6 Command Reference
130
LM
FUNCTION: Linear Interpolation Mode
DESCRIPTION:
The LM command specifies the linear interpolation mode and specifies the axes for linear
interpolation. Any set of 1 thru 8 axes may be used for linear interpolation. LI commands are
used to specify the travel distances for linear interpolation. The LE command specifies the
end of the linear interpolation sequence. Several LI commands may be given as long as the
controller sequence buffer has room for additional segments. Once the LM command has
been given, it does not need to be given again unless the VM command has been used.
It should be noted that the controller computes the vector speed based on the axes specified in the
LM mode. For example, LM ABC designates linear interpolation for the A,B and C axes.
The speed of these axes will be computed from VS
2
=AS
2
+BS
2
+CS
2
, where AS, BS and CS
are the speed of the A,B and C axes. In this example, If the LI command specifies only A and
B, the speed of C will still be used in the vector calculations. The controller always uses the
axis specifications from LM, not LI, to compute the speed.
The LM command will apply to the selected coordinate system, S or T. To select the coordinate
system, use the command CAS or CAT.
ARGUMENTS: LM nnnnnnnnnn
where
n is A,B,C,D,E,F,G or H or any combination to specify the axis or axes
n = ? Returns the number of spaces available in the sequence buffer for additional LI
commands.
USAGE: DEFAULTS:
While Moving
Yes
Default Value
-
In a Program
Yes
Default Format
-
Command Line
Yes
Controller Usage
ALL CONTROLLERS
OPERAND USAGE:
_LMn contains the number of spaces available in the sequence buffer for the 'n' coordinate system,
S or T.
RELATED COMMANDS:
Linear end
Linear Distance
Vector acceleration
Vector Speed
Vector deceleration
distance
_CS - Sequence counter
EXAMPLES:
LM ABCD
Specify linear interpolation mode
VS 10000; VA 100000;VD 1000000
Specify vector speed, acceleration and deceleration
LI 200,300,400,500
Specify linear distance
LE; BGS
Last vector, then begin motion