Does any one know much about subprogramming, l will explain more on what I am doing if someone know how to do it (multiple part turning then jumping to a single part turning to finish bar to minimize the bar end length) I need know how to get back to main program so it reads M99; at the moment it jumps to barload subprogram and then alarm with a error (quadruple nesting M98 G65 G66)
well I gave a brief description about what I am doing, do you know anything?
Well you added a bit about your machine alarming out because you nested too deep. If you are trying to go outside the limits of what your machine will allow you will have to reconfigure your program to stay within these limits. I use mostly G97 and my machines allow at least nine deep nesting so I have needed to reach the limit.