Any help would be appreciated. I have been knocking my head for several days now on this problem. Thanks Walter
Machine: Okuma Lc40 with OSP5000 and a barfeeder
I have attached the G-code if someone would like to look at it.
What I am doing is feeding in 2.5"TS, facing it, feeding, and parting it off. We get 4 pieces and some drop.
The program worked fine until I added the Lower turrett for a parts catcher.
It was kind of funny, it was a race to see which turrett would get done first.
We made a bracket to hold a 3"Dia.x18" piece of pvc pipe and mounted it on the B turrett.
I have tried using P codes and M100 to sync the 2 turrets. The M100 seemed to work the best until the program looped for round 2. The P codes did'nt like the 2nd loop either.
I thought of calling a subroutine at the correct timing but I could'nt get a subroutine to work. Here is what I tried for one of the subroutines.
.
.
CALL OGET1
.
.
CALL OPUT1
.
M02
OGET1
G0X0.0
G0Z6.0
RTS
OPUT1
GOX12.0Z36.0
RTS