DMC-100/1500 Command Reference
LM
•
87
DMC-1000
DMC-1500
LM
FUNCTION:
Linear Interpolation Mode
DESCRIPTION:
The LM XYZW command specifies the linear interpolation mode where XYZW denote the
axes for linear interpolation. Any set of 1,2,3 or 4 axes may be used for linear
interpolation. LI x,y,z,w 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 XYZ designates linear interpolation for the X,Y and Z
axes. The speed of these axes will be computed from VS
2
=XS
2
+YS
2
+ZS
2
, where XS,
YS and ZS are the speed of the X,Y and Z axes. If the LI command specifies only X and
Y, the speed of Z will still be used in the vector calculations. The controller always uses
the axis specifications from LM, not LI, to compute the speed.
ARGUMENTS:
LM XYZW LM ABCDEFGH
where
XYZW denote X,Y,Z or W axes
LM? will return 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
Can be Interrogated
Yes
Used as an Operand
Yes
OPERAND USAGE:
_LM contains the number of spaces available in the sequence buffer for additional LI
commands
RELATED COMMANDS:
LE Linear
end
LI Linear
Distance
VA Vector
acceleration
VS Vector
Speed
VD Vector
deceleration
AV Vector
distance
CS
_CS - Sequence counter
EXAMPLES:
LM XYZW
Specify linear interpolation mode
VS 10000; VA 100000;VD 1000000
Specify vector speed, acceleration and deceleration
LI 100,200,300,400
Specify linear distance