![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| G-Code Programing Discuss G-code programing and problems here! |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
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: %00001 N05 G90 G95 G71 (1ST TEST) N15 M47 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 N45 Z1. 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 N110 M05 N115 G74 N120 M48 N125 M30 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. |
|
#2
| |||
| |||
| 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. regards, Oz |
|
#3
| |||
| |||
| 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. Thanks again. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |