NOVA electronics Inc. MCX514 -
135
-
135
-
(1) Interpolation Axis Setting
Interpolation axis can be set by interpolation mode setting command (2Ah). As shown below, set D0~D3 bits of WR6 register, set
1 to the bit corresponding to the axis that interpolation is performed.
・
After starting interpolation, interpolation axis cannot be changed.
・
The other bits (D15
~
D4) of WR6 register are the setting bit related to interpolation. Please refer to 7.3.8, and set appropriate
values.
(2) Interpolation Speed Setting
It sets the drive speed for interpolation to the main axis among interpolation axes. The drive speed can be set up to 4MPPS at a
maximum. When the user performs continuous interpolation at constant speed during all segments, set the same speed to initial
speed as drive speed.
(3) Write Drive start holding command
It writes drive start holding command (77h) to the main axis. Once drive start holding command (77h) is write, driving cannot be
started by issuing interpolation driving command. This enables to set interpolation data of 8 segments to pre-buffer at a maximum
before starting interpolation.
(4) Write the 1st segment data and interpolation command
When the 1st segment is linear interpolation, write a finish point to each interpolation axis and then write linear interpolation
driving command. When is circular interpolation, write the center point of a circular arc and a finish point to each interpolation
axis and then write circular interpolation driving command.
When writing one segment information, any of a finish point, center point or interpolation axis can be written first; however,
interpolation driving command must be written last.
(5) Write up to the 8th segment data and interpolation command
It writes data and interpolation driving command from the second up to the 8th segment as the 1st segment.
Pre-buffer is composed of 8 stages. While checking the value of the stack counter displayed in D12
~
D15 bits of RR0 register, the
user can write data up to 8 segments before starting interpolation.
(6) Write Drive start holding release command
After writing interpolation data of segments that is necessary for pre-buffer, write drive start holding release command (78h) to the
main axis. Interpolation driving starts at this timing.
(7) Error check
D4
~
D7 bits (X
~
UERR) of RR0 register displays the error status of the interpolation axis. When an error occurs, the
corresponding bit becomes 1 and interpolation driving stops. These bits are checked and if an error does not occur, it will proceed
to next procedure. For more details of the error bit of RR0 register, see chapter 6.13.
X-DRV
D7
D6
D5
D4
H
L
D15
D14
D13
D12
D11
D10
D9
D8
D3
D2
D1
D0
RR0
Y-DRV
Z-DRV
U-DRV
X-ERR
Y-ERR
Z-ERR
U-ERR
ZONE0
ZONE1
ZONE2
CNEXT
HSTC0
HSTC1
HSTC2
HSTC3
(8) Check termination of interpolation
Check whether all segments are written or not, and if not, it will proceed to next procedure.
WR6
D15
D14
D13
D12
D11
D10
D9
D8
D7
D6
D5
D4
D3
D2
D1
D0
H
L
X
-EN
Y
-EN
Z
-EN
U
-EN