Recently acquired a Takisawa TC-203j, with a Fanuc control (not really sure which one, I think it's a Fanuc OiT, but correct me if I'm wrong.). I'm writing my programs by hand, and having a lot of fun with it. Anyhow, I'm getting the following error, which from my understanding, means that I cannot have undercuts (I can't go z-negative, and then reverse direction and go Z-positive). I don't see where in my code I change directions in the Z or the X axis, except right in the beginning. Also, if I disable tool nose radius compensation (by changing G42 to G40), the program runs without errors. The relevant code that I think is relevant is below (and the full version is here: http://pastebin.com/Ufz2ajYV):
So as I single step through this program, I get the PS0329 error message after it enters the G71 cycle. Also in the geometry offsets, the tool nose radius is set to 0.0315", and the tool type is set to "3". The values in the wear registers are all zeroed out. I drew out the program in SolidWorks and it looks exactly like it should. I'm a bit stuck, please advise!
Thanks,
Matt
Code:
(OD Turning)
M0
M22
G40 G28 U0 W0
T0707 M16
G96 S1000
G0 X3.0 Z3.0 M3
G42 Z1.419 X2.8 /M8
G71 U0.04 R0.05
G71 P1 Q2 U0.005 W0.003 F0.020
N1 G0 X1.72
G1 Z1.319
X1.92 Z1.219
(G2 X1.9200 Z1.2190 R0.1)
G3 X2.0000 Z1.1790 R0.04
G1 Z0.5253
G2 X2.2600 Z0.3402 R0.1969
G1 X2.4942 Z0.2855
G3 X2.5000 Z0.2810 R0.005
G1 Z0.1000
N2 X2.5500
G70 P1 Q2 F0.004
G0 Z3.0 X3.0
So as I single step through this program, I get the PS0329 error message after it enters the G71 cycle. Also in the geometry offsets, the tool nose radius is set to 0.0315", and the tool type is set to "3". The values in the wear registers are all zeroed out. I drew out the program in SolidWorks and it looks exactly like it should. I'm a bit stuck, please advise!
Thanks,
Matt