Hi Guys,
Having a bit of a problem trying to machine a part using just the C axis in a Okuma LB2000 Space Turn lathe with an Okuma OSP P200L control. I have a stationary cutter that is mounted in the turret which I want to move down into the part (while it is at a certain rotation in the spindle) and then I want to rotate the C axis back and forth while moving the turret into the part in the Z axis. This will shave a one sided chamfer on some lugs inside the part. The problem is that unless the spindle is rotating the linear moves are not allowed. Not sure how to disable this spindle interlock. I have designated my M110 to put the machine into C Axis Joint (allow C axis control) but don't know how to get the particular sequence of G or M codes to allow the spindle to rotate back and forth. It will turn the C axis into position in the G00 mode, but once a G01 move is made it just stops. It shows the current rotation, shows that it has a certain rotation it wants to go to, shows the destination it wants to go to but won't move as it is waiting for a code to allow this to happen.
I have attempted to use G140, but that is to be used with a sub spindle, I have tried M153 but that doesn't have any affect. Searching through the book, I can't find any M or G codes that will apply, or appear to apply.
Here is the code so far:
IF[ABS[V1]GT.003]N803
IF[ABS[V2]GT.003]N804
/IF[ABS[V3]GT.01]N805
TLID
G90G0X[0.+V1]Y[0.+V2]T0101
M8
M110
M141
C9.25(ORIENT TO ALLOW BROACH TO PASS THRU BROACHED SLOTS IN THREADS)
Z.5
G0Z.1F100.
()
V4=.035(STOCK AMOUNT TO BE REMOVED)
Z[-.905+.051+V4+V3]F100.
N101
G1Z[-.905+.051+V4+V3]F100.
IF[[V4]LT 0]N102
C[[V5]-5.]F3000.
Z[-.905+.021+V4+V3]F100.
C[V5]F3000.(ORIENT TO START CUTTING)
G4F.1
G1C[[V5]+15.]Z[-.905-.0746+V4+V3]F3000.
G4F.1
V4=V4-.00122
GOTO N101
M109
()
N102
C9.25F3000.(ORIENT TO ALLOW BROACH TO RETRACT THRU BROACHED SLOTS IN THREADS)
G4F.2
V6=V6+1
G1Z1.F100.
()
N999
M9
G0Y7.Z2.C-22.5
M109
()
GOTO N9999
(ERROR MESSAGES)
N803 M0(V1 IS GREATER THAN +-.003)
N804 M0(V1 IS GREATER THAN +-.003)
N805 M0(V3 GREATER THAN +/-.010)
N9999
M30
It stops at the C rotation in the N101 sequence, changing the C value to a numerical value and removing the feedrate, have no affect, does the same thing. Variable V5 is -8.5
Any help or suggestions would be appreciated,
Thanks
Tom