I am drilling multiple parts on horizontal milling machine with pallet changer. I have one program for both pallets, just loading work offsets on beginning of program.
I am using bolt hole macro. My macro call is:
G65 P9100 X0 Y0 Z-2.1 D2.378 R.1 C81. A90. H9 F12.5
Parts are the same, but we need sometimes adjust a pattern of holes by adjusting pattern start angle. There is
a six parts on each fixture, and we need to control start angle for each part.
I want a modify program and my macro call will be:
G65 P9100 X0 Y0 Z-2.1 D2.378 R.1 C81. A[#121+90.] H9 F12.5
#121 will be loaded together with work offsets on beginning of the program.I use local variable #1 in macro program
I just wondering it will work this way. Thanks for any reply.
080106-2120 EST USA
tommy2002:
Looks like it should work. Might be machine dependent. You could also put the 90. in the #121 along with whatever else is normally in #121 if the machine does not like [#121+90.]. Answer your question with a dry run or a graphics mode if you have one.
It should run or complain.
.