![]() | |
| 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 am trying to program some face milling code on a fanuc Oi-tc. The book refers to the use of the g12.1 and g13.1 when using the c-axis. I make a basic program to test the idea, and it throws the 224 error (return to reference point) what ref point? Can someone help, can a I get a snipit of code that works for an Oi-TC. FYI I am programming a Johnford SL-650A+C (fanuc Oi-tc) Thx, Matt |
|
#3
| |||
| |||
| Here is a sample of the code % O1000 G53 X-4. Z-42. G28H0 (homes c-axis(spindle)) G97G99 S1200 M91 (M91 enters milling mode) T0101 M08 M3 G00 X-4. Z.1 G12.1X2.798 Z.1 C43.841 G01 X2.798 Z.1F.012 X2.798 Z0 X2.8256 Z0 C48.857 X2.8472 Z0 C53.842 __ __ X2.7652 Z0 C98.59 X2.7264 Z0 C103.695 G13.1 X2.7264 Z.1 M09 G53 X-4. Z-42. M5 M90 (end mill mode) M30 % |
|
#9
| ||||
| ||||
| where did you get alarm at? I think M3 could be the problem too, since it mainly used for Main spindle not for live, just my guess since I don't know where about the alarm is kick in.
__________________ The best way to learn is trial error. |
|
#10
| |||
| |||
|
Our Nakamura TW-20 uses M91 to initialize live tooling. M3/M4 are the correct codes for starting the live tooling spindle. M4 runs standard drill, endmills, etc. in the right direction. You must cancel the M91 in order to run the main spindle. |
| Sponsored Links |
|
#12
| |||
| |||
% 01016G30U0W0 G54G28B0 T0404M54 G28H0 (homes c-axis(spindle)) G0C0 G97G99 S1200M43 M13S2420M8 G0 X4. Z.1C0. G12.1X2.798 Z.1 C43.841 G1 X2.798 Z.1F.012 X2.798 Z0 X2.8256 Z0 C48.857 X2.8472 Z0 C53.842 __ __ X2.7652 Z0 C98.59 X2.7264 Z0 C103.695 G13.1 X2.7264 Z.1 M9 G0X4. Z.5 M15 M40 M30 % |
![]() |
| 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 |
| I Need GENERIC FANUC 2X LATHE.LMD file for lathe? | manish2912 | Post Processor Files | 1 | 01-16-2010 04:08 PM |
| POST FOR FANUC LATHE WITH C AXIS | modulus | EdgeCam | 0 | 12-29-2009 06:47 AM |
| Need Help!- FANUC 0i for Johnford lathe 2 axis | Arsalan Ahmad | General CNC (Mill and Lathe) Control Software (NC) | 3 | 05-21-2009 03:13 AM |
| Compare Catia and MCX2 for multi axis lathe/4 axis mill | bob1112 | General CAM Discussion | 0 | 10-10-2008 07:15 PM |