thunderskunk
Cast Iron
- Joined
- Nov 13, 2018
- Location
- Middle-of-nowhere
Hey gents,
I'm glad I did a few searches on this, pretty much found what I need, but there's hundreds of threads on macros. I could use some help figuring out which general direction I should be looking.
Our horizontal mill doesn't have many offsets. Kind of annoying having 16 faces across 4 tombstones, but barely enough offsets to get one for every face. I just made a fixture to mill 12 parts at once requiring 36 offsets.
Here's my theory;
One program links macro parameters to G10 offset changes, so you have every offset listed in this program to be called up via M98. This makes it so I can use one offset without disturbing the rest, and change the offsets in said program like I would any G54 or greater.
A master program that calls up the work offset from said offset program, then calls up the milling program like a canned cycle.
Last, splitting each tool into its own program with a zero-return to a G53 point.
Am I doing things the hard way? I'm using Inventor to post the code, so having different program numbers is a band-aid fix to not having developed a post to do all this G10 craziness; Modifications can be posted just as easily as any other code, since the master program makes all the offsets and simply calls up said code.
Thanks for the help,
I'm glad I did a few searches on this, pretty much found what I need, but there's hundreds of threads on macros. I could use some help figuring out which general direction I should be looking.
Our horizontal mill doesn't have many offsets. Kind of annoying having 16 faces across 4 tombstones, but barely enough offsets to get one for every face. I just made a fixture to mill 12 parts at once requiring 36 offsets.
Here's my theory;
One program links macro parameters to G10 offset changes, so you have every offset listed in this program to be called up via M98. This makes it so I can use one offset without disturbing the rest, and change the offsets in said program like I would any G54 or greater.
A master program that calls up the work offset from said offset program, then calls up the milling program like a canned cycle.
Last, splitting each tool into its own program with a zero-return to a G53 point.
Am I doing things the hard way? I'm using Inventor to post the code, so having different program numbers is a band-aid fix to not having developed a post to do all this G10 craziness; Modifications can be posted just as easily as any other code, since the master program makes all the offsets and simply calls up said code.
Thanks for the help,