
B-63944EN-1/02 PROGRAMMING 5.COMPENSATION FUNCTION
- 211 -
- Starting compensation and cutting along the Z-axis
It is usually used such a method that the tool is moved along the Z
axis after the cutter compensation (normally XY plane) is effected at
some distance from the workpiece at the start of the machining. In
the case above, if it is desired to divide the motion along the Z axis
into rapid traverse and cutting feed, follow the procedure below.
Let us consider the following program, assuming the number of blocks
to read in cutter compensation mode (parameter (No. 19625)) to be 3.
N1 G00 G41 U500.0 V500.0 T0101 ;
N3 G01 W-300.0 F100 ;
N6 V1000.0 F200 ;
N1
N3:Move command in Z axis (one block)
N6
fter compensation
In the program example above, when executing block N1, blocks N3
and N6 are also entered into the buffer storage, and by the relationship
among them the correct compensation is performed as in the figure
above.
Then, suppose that the block N3 (move command in Z axis) is divided
into N3 and N5.
N1 G00 G41 U500.0 V500.0 T0101 ;
N3 G01 W-250.0 ;
N5 G01 W-50.0 F100 ;
N6 V1000.0 F200 ;
N3, N5:Move command for the Z axis (two blocks)
fter compensation
N1
N6
Workpiece
At this time, because the number of blocks to read is 3, blocks up to
N5 can be read at the start of N1 compensation, but block N6 cannot
be read. As a result, compensation is performed only on the basis of
the information in block N1, and a vertical vector is created at the end
of the compensation start block. Usually, therefore, overcutting will
result as shown in the figure above.