I have recently purchased a mazak lathe that has been retro-fitted with a fagor 8025 control. I am trying to teach myself to program in fagor format but I am getting stuck with a canned cycle problem.
I have extensive experience with okuma and fanuc, but fagor is very new to me.
The program I have written is:
N05 G90 G95 G71 (1ST TEST)
N20 G92 X358.6 Z0. S500
N25 T1. M43
N30 G97 S500 M03
N35 G00 X143. Z0. T1.1 M08
N40 G01 X30. F0.25
N50 G00 X143. Z5.
N55 G01 X140. Z1. F.25
N60 G68 P0 = K65.5 P1 = K0.2 P5 = K2.5 P7 = K1. P8 = K.2 P9 = K.25 P10 = K0 P13 = K65 P14 = K100
N65 G01 X65.5 Z0. F.25
N70 G01 X69.5 Z -1. F0.23
N75 Z -15.75
N80 X71.5 Z -16.25
N85 Z -19.55
N90 G02 X79.9 Z -23.75 I0 K -2.1
N95 G01 X138.
N100 X140. Z -27.75
N105 G00 X358.6 Z100. T1. M09
For some reason when it gets to the canned cycle I always get the error message 021 refer to manual.
Can anyone help point me in the right direction??
Many thanks in advance.
From my understanding of the cycle in the manual, your start point in X is wrong. You need to define a start point as large or larger than your billet (EG. 140), otherwise the machine can not calculate the number of cuts required.
Also P10 can't be zero. If you want a final roughing pass before finishing, set an amount greater than 0, otherwise leave out the P10.
Thanks for your assistance.
I have got it pretty well sorted out, the format needs to be exactly right before it's happy.
Sorry for the delay getting back. I have been very busy putting my new toy through it's paces.