
PROGRAMMING
B–63534EN/02
22. RISC PROCESSOR
677
Vector calculation at the end point (Q) of block N2
– The tool vector (V
T
) and coordinate conversion matrix (M
N2
) are
calculated using the coordinates (B = 0, C = 0) of the rotation axis at
point Q.
– The cutter compensation vector (V
N2
) is calculated using the resultant
coordinates into which three points, P, Q, and S, are converted by
matrix M
N2
.
Vector calculation at the end point of block N3
– The coordinate conversion matrix (M
N3
) is calculated using the
coordinates (Br, Cr) of the rotation axis at point R.
– The cutter compensation vector (V
N3
) is calculated from the following
expression :
V
N3
= M
N3
–1(M
N2
–V
N2
)
O
P
N1
N2
Q=R(N3)
N4
S
P’
Q’=R’
S’
V
N2
=V
3
Fig. 22.5.1 (m) When a rotation axis is specified alone
An interference check is made when the compensation plane (plane
perpendicular to a tool direction vector) is changed.
<Example>
If the program below is executed, a PS0272 alarm (overcutting due to
offsetting) is issued from N4.
O100 F3000
N1 G90 G00 X0 Y0 Z0 A–46 C180
N2 G41.2 D1
N3 G01 X100
N4 Y–200 Z–200
N5 A45
N6 Y–400 Z0
N7 X0
N8 Y–200 Z–200
N9 A–46
N10 Y0 Z0
N11 G40
M30
D Interference check made
when the compensation
plane is changed