We have seen how the circular copy of the program is done. Now we will see how the linear of the program is copied.
Just like a copy of a program circular is done in a linear copy.
Only a few changes are made in the circular copy, the rest is just like the circular program. So let's see the linear copy of the program.
The programming format is
G72.2...P...L...I...J...R...
L is a no. of program in linear(compulsory)
I is program shift in X direction
J is program shifting in Y direction
%
J is program shifting in Y direction
Main Program
%
O0001
N1 G0 G90 G54 X0 Y0 M3 S200 (Point A)
N2 Z5
N3 G01 Z0 F300
N4 X10 Y25 (Point B)
N5 G72.2 P0002 L3 I50
N6 G90 G01 X180 Y25 F300
N7 G0 Z100
N8 M30
%
Subprogram
O0002
N1 G91 G01 X20 (Point C)
N2 Y30 (Point D)
N3 X30 (Point E)
N4 Y-30 (Point F)
N5 M99
%