NOVA electronics Inc.
MCX514 -
112
-
112
-
WR7
←
0000h Write
WR0
←
0106h Write
WR6
←
FF38h Write
;
finish point of Y axis
:
-200
WR7
←
FFFFh Write
WR0
←
0206h Write
WR0
←
0061h Write
;
2-axis linear interpolation driving
■
Example of linear interpolation for 3 axes
Executes linear interpolation for X, Y and Z axes from the current position to the finish position ( X: 15,000, Y: 16,000, Z:
20,000). The initial speed = 500PPS, acceleration / deceleration = 40,000PPS/SEC, drive speed = 5,000PPS.
WR6
←
0007h Write
;
map interpolation axis X, Y, Z
WR0
←
002Ah Write
WR6
←
9C40h Write
;
40,000 PPS/SEC
WR7
←
0000h Write
WR0
←
0102h Write
;
set accel. speed to main axis
WR6
←
01F4h Write
;
500 PPS
WR7
←
0000h Write
WR0
←
0104h Write
;
set initial speed to main axis
WR6
←
1388h Write
;
5000 PPS
WR7
←
0000h Write
WR0
←
0105h Write
;
set drive speed to main axis
WR6
←
3A98h Write
;
finish point of X axis
:
15,000
WR7
←
0000h Write
WR0
←
0106h Write
WR6
←
3E80h Write
;
finish point of Y axis
:
16,000
WR7
←
0000h Write
WR0
←
0206h Write
WR6
←
4E20h Write
;
finish point of Z axis
:
20,000
WR7
←
0000h Write
WR0
←
0406h Write
WR0
←
006Dh Write
;
deceleration enabling
WR0
←
0062h Write
;
3-axis linear interpolation driving
X
Y
Z
15000
20000
16000
0
(15000,16000,20000)