I'm doing a lot of rotary 4th milling and my A axis needs to unwind a few times in long jobs. I'm using a HAAS TM -3P and the exported Bobcad code is below. This unwind takes a few minutes but I can go in manually and use the commands:
G91 G28 G00 A0.
G90
G92 A(Whatever value I need).
In place of the unwinding process. Is there a way to make the post processor do this for me?
You can make the post output that reset code, but it wont be usable in "The middle" of code, because the A would resume at the next rotation value.
You could do the calcs with length and stepover to realize "how much 4th you can rotate before an unwind is needed" then use the start and end points in the rotary feature to "only do what 1 go will allow". Then the post can output the reset, then the next feature starts off with the next start and end points?
You can also go into the machine definition under current settings and set the proper limit of the rotary axis, and the posting engine wont let you post out past the rotary limits.
Not what you were looking for but that's all I got...
I was thinking along the same line as far as the machine limits. I'll see where I get. I have another question about rotary leads out, maybe you'll be able to answer that one too