![]() | |
| 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
| |||
| |||
Hello, Sorry I posted the original in the wrong forum I am having troubles... I have been CNC turning parts for years. I buy a used small CNC lathe, 1998 Femco with a Fanuc O-T control. I score a small first job. Now I try and run the machine for the first time and it doesn't like the canned cycles. Please help... Could it be the a turned off parameter?? The alarm reads 010 P/S. My books says "unusable G code commanded" It bombs out when it reads the G71 line and the G76 line. I can work around the G71 rough cycle but I need to be able to thread the part. Here is the code (ROUGH OD PROFILE) G00X1.Z.03 G71U.1R.015 **G71P1000Q1001U.01W.005F.007 N1000G00X.6794 G01Z-.0059F.02 X.784Z-.044 Z-.465 X.8072 G03X.8892Z-.506R.041 G01Z-.975 X.938 N1001X1. G0Z1. and the threading cycle too (FINISH THREAD) T0303 G97S1000M03 G00G99X1.Z.25M08 G0X.984Z.2 G76P011060Q0010R0010 **G76X.744Z-.4095R0P0200Q0047F.059 G00X.968Z.2577 G0Z1. I am drowning.. please help __________________
__________________ _____________ teamjnz |
|
#2
| |||
| |||
| Just a shot in the dark whats the g99 on the lathe used for, could the alarm be because of the g99. The g99 is return to R level for fixed caned cycle . I have never seen a lathe that uses g99. Take out the g99 and see what happens reboot the machine sence g99 is modal. The R in the g76 code needs a . point
__________________ Tim |
|
#3
| |||
| |||
| Thanks for the input Tim. G99 for the lathe is feed per revolution and G98 is feed inches per minute. These codes are different for the mill in the canned drilling cycles. I was able to produce a G92 thread cycle. I am confused why this the G92 cycle works and the G76 does not. The thread relief is small and the G92 starts retracting to soon and doesn't give me full thread before the shoulder. Any other input would be nice.
__________________ _____________ teamjnz |
|
#5
| |||
| |||
O1000(Program number) N1 G50 S2500(Max speed) N2 T0101 N3G96 S600 M3(Speed in SFM for 1018 Steel) N4 G0 X4.0 Z.1 M8(Rapid to OD of part, .1" away from face, turn coolant on) N5 G71 U.15 R.02(U=cutting depth, R= pullaway distance after each cut) N6 G71 P7 Q9 U.05 W.005 F.015(P7 tells the control to look at N7 and Q9 to look at N9, this is how we give the motions describing the part. U is the amount of stock left for finishing on the OD, W is the amount left on the shoulder. N7 G0 X2.0 N8 G1 Z-1.0 N9 X4.0 N10 G0 X6.0 Z6.0 M9(Rapid back to a position clear of the part, turn coolant off) N11 M30( End of program) Notes: The 6T version has a single line and so do various Yasnac controls, they look like this: N5 G71 P7 Q9 U.05 W.005 D1500 F.015(D= depth of each pass and has to be given as a value without a decimal point) This cycle is normally followed by G70( Finish Cycle) after tool change to a finish tool. Rapid to the same position for the start of the G71, then program G70 P7 Q9. |
| Sponsored Links |
|
#8
| ||||
| ||||
|
Since "unusable G code" alarm, I have a feel the machine don't has option G71 to G76. Long hand program is only choice.
__________________ The best way to learn is trial error. |
|
#9
| ||||
| ||||
G71 P1000 Q1001 U.01 W.005 D0.03 F.007 What kind of material are you cutting? And the OD tolerance? If its a critical part dimensionally speaking (tenths), I'd run at least two or more passes across the OD, cutting the same amount on each pass. This can be done when you call up the G70 and set your 'U' and 'W' values accordingly. Example with 3 passes with the G71 U0.009 and W0.003: G70 P1000 Q1001 U0.006 W0.002 F0.004 G70 P1000 Q1001 U0.003 W0.001 G70 P1000 Q1001 (final dimension, no need to use U or W) I'll assume that you already know this bit of knowledge but I'll state it anyway for those who are reading this post and may not know... You can put several G70 lines below each other and the machine will not alarm out. This is because it will start at the G71 lap starting point (X1.0 Z0.03) when it reads each G70 line. Hence, no crash. Now to the threading... M24 (THREAD TAPER OUT OFF) (M23 = THREAD TAPER OUT ON) G76 X0.744 Z-0.4095 K0.000 D0.002 F0.059 (K = MAJOR DIA MINUS MIN DIA / 2) (D = THREAD DEPTHS OF CUT) (FEEDRATE = 1 / # OF THREADS) Hope this helps you out. Let me know how it goes for you. Patrick |
|
#10
| |||
| |||
|
| Sponsored Links |
|
#11
| |||
| |||
| simply switch off your tool nose radius command ( G40 ), then use G33 thread cutting. G76 is a tapping code not threading you must use G33.Let me know if this was any help as i have encountered this myself,and redited the programme with G33. |
|
#12
| |||
| |||
| You have too switsh off your tool nose radius compensation command, which is G40 and but also acctivate it at the beginning of your roughing cycle, which is G41, as for the treading cycle try using G33 thread cuttting this is a more stable thread cutting command as G76 is commonly used as a tapping command,please let me know if this was useful. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| canned cycle for lathe with fanuc control | JPann | G-Code Programing | 6 | 09-27-2011 12:45 PM |
| Canned OD cycle? | VWbmx | Haas Mills | 7 | 06-05-2009 12:17 PM |
| G76 Canned cycle | Stebedeff | Fanuc | 1 | 02-07-2008 11:42 AM |
| Lathe drilling canned cycle | cijunet | GibbsCAM | 4 | 12-08-2007 04:38 PM |
| Canned cycle output in Gibbs lathe | naytep | GibbsCAM | 2 | 08-30-2007 02:38 PM |