if you are mounting 4 parts on the table just do each operation with the current tool on each part in order. use G54 G55 G56 G57 to shift the workshift to the X0 Y0 of each part then run the program again. You can do that with a main and sub program.
%
O1000 (MAIN PROGRAM)
G54 (workshift X0 Y0 for 1st part)
M98 P1001
G55 (workshift X0 Y0 for 2nd part)
M98 P1001
G56 (workshift X0 Y0 for 3rd part)
M98 P1001
G57 (workshift X0 Y0 for 4th part)
M98 P1001
G54
M30
%
%
O1001 (SUB PROGRAM)
(put here all of the program to machine the part)
...
.....
........
...........
G91 G28 X0 Y0 Z0
G90
M99
%
if you don't have multiple workshifts (G54-G59) you can use G92 X... Y.... instead


LinkBack URL
About LinkBacks




