Several controllers out there have internal sub routines but I haven't seen Fanuc with one either. GOTO's are about the only way. Cumbersome though. I'd rather use subs. Also, depending on the control and version, this could actually increase your cycle, especially with really large programs, because the control is constantly searching for the 'N' block. Newer ones are barely noticeable if at all. |