
9.ACCURACY COMPENSASION FUNCTION NC FUNCTION B-63942EN/02
- 326 -
9.12 THREE-DIMENSIONAL ERROR COMPENSATION
In ordinary pitch error compensation, compensation is applied to a
specified compensation axis according to the positional information of
that axis. For example, pitch error compensation for the X-axis is
performed based on the X-axis positional information.
In three-dimensional error compensation, compensation is performed
for the current position for up to three compensation axes by
calculating compensation data (for three axes) from the compensation
amounts at eight periphery compensation points based on the internal
ratio in a compensation area (rectangular parallelepiped) including the
current position.
- Compensation calculation
P1
P2
P3P4
P5 P6
P7P8
x
y
z
P
Let three compensation axes be X, Y, and Z (basic three axes), and the
coordinates of the current position be P(Px,Py,Pz).
Suppose a compensation space (rectangular parallelepiped) of which
vertexes are P1, P2, …, and P8. Also, let the compensation values for
the axes at each vertex be Cnx, Cny, and Cnz (n: 1 to 8).
Here, let the internal ratio of the X-, Y-, and Z-axes at P be x,y,z.
Cx, which is the compensation amount for the X-axis at P, is then
obtained for compensation as follows:
yzxxCxyzxC
zyxxCzyxxC
zyxxCzxyxC
zyxxCzyxxCCx
)1(87
)1(6)1)(1(5
)1()1(4)1(3
)1)(1(2)1)(1)(1(1
−⋅+⋅+
−⋅+−−⋅+
−−⋅+−⋅+
−
Similarly, the compensation amounts for the Y-axis and Z-axis, which
are Cy and Cz, are also obtained for compensation.
- Changing a compensation amount by G10
The programmable parameter input function (G10) can also be used to
change data such as compensation data and compensation
magnification data from the part program during machining. This
function is useful for thermal growth compensation and so on.
- Number of compensation points
Up to 15625 compensation points (up to 25 points for each axis) can
be given.