I've programed Fanuc controls for a while now and I was asked a question the other day by a new guy that ran Okuma's before. He asked me if Fanuc's could run "subs" that are attached to the bottom of the main program like Okuma's can.
One reason I ask is we were running a program using a standard sub and the control would hesitate when switching between the main program and sub. When we run a sub that repeats (M98 P1000 L20) it also hesitates.
I think the hesitation is because the control can't read fast enough to make a reasonably smooth motion but that is just my guess. I was thinking that if the control would allow a sub in the main it would not hesitate as much.
Thanks
Steve