First off my lathe is an okuma with OSP-U10L controller. I want to get three parts out of a length of material. My question is how to do it. I've been through the programming manual and I believe this is what needs doing.
N1 part program
N20 position to the start point of the next piece z-.354 in this case
N21 G50 Z0
N22 ???
How do I make it repeat 3 times. Do I need to make the part program a sub and just call it three times?
So? Amazing how typing something out and studying the manual some more makes you think. How about this
N1 CALL O1000
N2 G00 X4 Z-.345
N3 G50 Z0
N4 CALL O1000
N5 G00 X4 Z-.345
N6 G50 Z0
N7 CALL O1000
N8 G00 X20 Z20
N9 M30
Have I missed something here or will this work? Is the G50 zero shift incremental off of the tools current position or absolute based on the original offset. The manual implies that it is incremental but doesn't say specifically, hence the G50 Z0's.
Thanks for your help
Jordy
N1 part program
N20 position to the start point of the next piece z-.354 in this case
N21 G50 Z0
N22 ???
How do I make it repeat 3 times. Do I need to make the part program a sub and just call it three times?
So? Amazing how typing something out and studying the manual some more makes you think. How about this
N1 CALL O1000
N2 G00 X4 Z-.345
N3 G50 Z0
N4 CALL O1000
N5 G00 X4 Z-.345
N6 G50 Z0
N7 CALL O1000
N8 G00 X20 Z20
N9 M30
Have I missed something here or will this work? Is the G50 zero shift incremental off of the tools current position or absolute based on the original offset. The manual implies that it is incremental but doesn't say specifically, hence the G50 Z0's.
Thanks for your help
Jordy