have single part program that is somewhat long and complex, was looking for any suggestions/help on how to run this program for multiple parts on one set up, using macros, thank you.
have single part program that is somewhat long and complex, was looking for any suggestions/help on how to run this program for multiple parts on one set up, using macros, thank you.
Why not just use subs and a different work coordinate system for each part? You shouldn't need to bother with macros.
%
O100 (MAIN PROG)
N1 T01 M06
G00 G54 X0 Y0 S5000 M3
G43 Z0.1 H01 M08
M97 P101 (MACHINE PART #1)
G00 G55 X0 Y0 (POSIT TO PART #2)
M97 P101 (MACHINE PART #2)
G00 G56 X0 Y0 (POSIT TO PART #3)
M97 P101 (MACHINE PART #3)
N2 T2 M06
G00 G54 X0.25 Y0.25 S5000 M03
G43 Z0.1 H2 M08
M97 P102 (MACHINE PART #1)
G00 G55 X0 Y0 (POSIT TO PART #2)
M97 P102 (MACHINE PART #2)
G00 G56 X0 Y0 (POSIT TO PART #3)
M97 P102 (MACHINE PART #3)
...
...
M30
N101 (T1 MACHINING SUB)
G01 Z-0.2 F20.
Y1.
X1.
Y0.
X0.
G00 Z0.1
M99 (RETURN TO MAIN PROG)
N102 (T2 MACHINING SUB)
...
...
...
M99
%
I hope it is M98. Not M97.. Is it so in Hass Machine?
yes true, but wanted to see if there are options using macros to cut down size of program.......using probe updates, tool checks and multiple work offsets on the single part program.....HAAS VF 4 with 5 axis trunion.