Hi everyone, longtime lurker, first time poster. Lurking has answered many questions, but not this one
Is there a way to enable a fanuc mill control to repeat a single line with a L number? I tried this on a old mid 80s fanuc 10m, it wouldnt take it. Tried it at my new job on both a oi-mf and a 31i fanuc controls and still nothing.
Haas, native fadal, sinumerik 810 will all do it, just the fanuc says fuck off and runs 1 repeat no matter how many repeats you have commanded with the L line. Picture of code is attached
For reference, im trying to helix bore a hole that will arrive at depth with 172 repeats of .5mm a helix. Its in G91 so it will helix. Cutter comp is no issue. Just something I’ve never been able to get a fanuc to do, to loop that one line of code 172 times as commanded by L172
I get around this by writing m98 Q100 L172 instead of g3 j-number z-number Lloop counter, and going to a 2nd level of internal subprograms where N100 has a g91 g3 j-number Z-number, followed by a m99 to kick me back up 1 level. Works perfect, but in a typical fanuc fashion, it dwells for a split second every single repeat leaving a witness line in my bore. Fine for the work I do, just annoying to have to call up a sub with 1 line of code instead of looping a line of code in the main. Especially because every other control out there that runs on G code will do it no problem
Anyone ever figure out how to get around this and make the control accept a single line loop?
This is on a Toyoda stealth 1165, but a doosan DBC130 acts the same way and at my last job a Mori Seiki MV55 all behaved the same exact way, completely ignoring the L loop counter
Thanks in advance
-Roman
Is there a way to enable a fanuc mill control to repeat a single line with a L number? I tried this on a old mid 80s fanuc 10m, it wouldnt take it. Tried it at my new job on both a oi-mf and a 31i fanuc controls and still nothing.
Haas, native fadal, sinumerik 810 will all do it, just the fanuc says fuck off and runs 1 repeat no matter how many repeats you have commanded with the L line. Picture of code is attached
For reference, im trying to helix bore a hole that will arrive at depth with 172 repeats of .5mm a helix. Its in G91 so it will helix. Cutter comp is no issue. Just something I’ve never been able to get a fanuc to do, to loop that one line of code 172 times as commanded by L172
I get around this by writing m98 Q100 L172 instead of g3 j-number z-number Lloop counter, and going to a 2nd level of internal subprograms where N100 has a g91 g3 j-number Z-number, followed by a m99 to kick me back up 1 level. Works perfect, but in a typical fanuc fashion, it dwells for a split second every single repeat leaving a witness line in my bore. Fine for the work I do, just annoying to have to call up a sub with 1 line of code instead of looping a line of code in the main. Especially because every other control out there that runs on G code will do it no problem
Anyone ever figure out how to get around this and make the control accept a single line loop?
This is on a Toyoda stealth 1165, but a doosan DBC130 acts the same way and at my last job a Mori Seiki MV55 all behaved the same exact way, completely ignoring the L loop counter
Thanks in advance
-Roman
Last edited: