- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi, i have edited/adapted a post processor (Mach3) for my 5 axis CNC machine (A+C rotary table-table), and it is working fine apart for a minor detail that i am trying to fix since it results in more working steps to get a part done.
Basically this problem happens when i am using 3+2 cutting strategies. Since i do not have features like dynamic work offset, what i do for 3+2 is that i create a workoffset on Mach3 for each face i intend to machine, and in Fusion each offset corresponds to a different setup.
Now when i generate the G-code of the entire program, only after the first setup i get the order A0 B0. To try and explain this better lets consider that i am going to machine 2 faces that are opposite to each other (180 degree appart), i would create a G54 for the first face and a G55 for the second face, and my code would start with the G54 and be immediately followed by A0 B0 to get the correct part orientation, but when it comes the G55 i do not have the A0 B0, which means my part will not rotate the 180 degrees needed before start machining.
However if i generate the G-code separately (one G-code file for each setup), i get the G54 A0 B0 and also the G55 A0 B0.
I know i can just go to my G-code file and had the A0 B0 line, or even just generate each setup G-code separately, but i have the opinion that one should never change the G-code files manually if there are other ways to do it (just for safety reasons) and also because i would like to optimize and simplify my work flow has much had possible.
Solved! Go to Solution.
