14. FUNCTIONS TO SIMPLIFY
G45X100.Y10.P20.Q10.R1 D-5. ;
By setting the width of a micro-joint, j, the dimension of the punched
portion can be changed at the punch start and end points to compensate
for the punch error.
The following punch procedure is used:
Width - dx
1 The first portion is punched.
2 The punch interval is 95% of the tool width dx in the direction along
which the punch moves.
3 Obtain the number of times (n) a workpiece is punched.
n = (width of portion to be punched–dx)/(0.95 dx)
When n is less than or equal to 1, the interval is (width–dx). When n
is an integer, the interval is (0.95 dx).
When n is not an integer, the number of times a workpiece is punched
changes to n’ = [n] + 1, where [n] is n rounded off to the nearest integer.
The interval (P) is (width–dx)/n’. The last interval changes to
(width–dx)–P (n’–1) so that the final punch operation is performed
at the specified position.
4 The interval calculated above always falls within the following range.
The distance from the start point to the end point must be greater than
or equal to 1.5dx.
1 If the distance from the start point to the end point is less
than 1.5dx or the end point is not specified with a G45
command, alarm No. 4510 is issued.
2 If the dimension of a tool in the direction along which the
punch moves is not specified, alarm No. 4510 is issued. If
the dimension of a tool in the direction perpendicular to that
in which the punch moves is not specified, the tool tip is
assumed to be square.