teamjnz
Plastic
- Joined
- Mar 26, 2007
- Location
- near Sacramento, CA
I wanted to share this trick I recently learned. I have a 1998 Femco HL15 CNC lathe with a Fanuc O-T control. I often pull bar stock in this machine. Long time ago I learned how to used the L command for repeating a sub routine, something like this. M98 P1000 L10 but my machine would not except this command and would give and alarm. So I would create a main program with many M98 P1000 lines for puling bar. I would have for example 10 lines with M98 P1000 to pull the bar run the program 10 times BUT I recently learned this command and it worked in my machine. Here is the trick for sub jumping without having to copy and paste a whole bunch of M98 lines.
M98 P101000
The first 2 numbers is the times to repeat and the last 4 numbers is the jump to program. Nice and simple. I wanted to share this if anyone else was doing what I was doing. One of the sub jump programs I used had 95 M98 sub jump lines. I am glad to have learned this simple new trick.
-teamjnz
M98 P101000
The first 2 numbers is the times to repeat and the last 4 numbers is the jump to program. Nice and simple. I wanted to share this if anyone else was doing what I was doing. One of the sub jump programs I used had 95 M98 sub jump lines. I am glad to have learned this simple new trick.
-teamjnz