The result is shown in Figure 6.6: Linear Interpolation.
Figure 6.6: Linear Interpolation
Example - Multiple Moves
This example makes a coordinated linear move in the XY plane. The Arrays VX and VY are used to store 750
incremental distances which are filled by the program #LOAD.
#LOAD
Load Program
DM VX [750],VY [750]
Define Array
COUNT=0
Initialize Counter
N=0
Initialize position increment
#LOOP
LOOP
VX [COUNT]=N
Fill Array VX
VY [COUNT]=N
Fill Array VY
N=N+10
Increment position
COUNT=COUNT+1
Increment counter
JP #LOOP,COUNT<750
Loop if array not full
#A
Label
LM XY
Specify linear mode for XY
COUNT=0
Initialize array counter
#LOOP2;JP#LOOP2,_LM=0
If sequence buffer full, wait
JS#C,COUNT=500
Begin motion on 500
th
segment
LI VX[COUNT],VY[COUNT]
Specify linear segment
COUNT=COUNT+1
Increment array counter
JP #LOOP2,COUNT<750
Repeat until array done
LE
End Linear Move
AMS
After Move sequence done
MG “DONE”
Send Message
EN
End program
#C;BGS;EN
Begin Motion Subroutine
Vector Mode: Linear and Circular Interpolation Motion
The DMC-42x0 allows a long 2-D path consisting of linear and arc segments to be prescribed. Motion along the
path is continuous at the prescribed vector speed even at transitions between linear and circular segments. The
Chapter 6 Programming Motion ▫ 66
DMC-42x0 User Manual
POSITION Z
0
0
40000
FEEDRATE
0
0.1
0.5
0.6
4000
36000
30000
27000
3000
VELOCITY
Z-AXIS
VELOCITY
W-AXIS
POSITION W
TIME (sec)
TIME (sec)
TIME (sec)
Summary of Contents for DMC-42 0 Series
Page 195: ...ICM 2900 PCB Layout Appendices 191 DMC 42x0 User Manual...
Page 205: ...CB 50 100 Drawings Appendices 201 DMC 42x0 User Manual...
Page 206: ...Appendices 202 DMC 42x0 User Manual...
Page 207: ...Appendices 203 DMC 42x0 User Manual...
Page 208: ...Appendices 204 DMC 42x0 User Manual...
Page 209: ...Appendices 205 DMC 42x0 User Manual...
Page 210: ...Appendices 206 DMC 42x0 User Manual...
Page 211: ...Appendices 207 DMC 42x0 User Manual...
Page 214: ...CB 50 80 Drawing Appendices 210 DMC 42x0 User Manual...