![]() | |
| 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 never used sub programs on a lathe before, and I want to use it on the lathe. I am making a bunch of thin plastic seals out of a Teflon tube, I want to run 5 then dig them out of the chips. The sub call up works perfectly, but just cuts air over the same spot. What code is best for offsetting my G54 z-.31 with each pass? I have been looking at G10, but am not very familiar with it. I know a lot of you must be running subs and know a fix for my little problem. I have never used a Mitsu before (fanuc about 6 years ago) and haven't done any lathe programing in about 16 months.
__________________ Live free or die |
|
#2
| ||||
| ||||
| you can try G10 L2 P1 W-.31 after every part off, this should shift your G54 incrementaly -.31 after every part At the end of your 5 pc run insert G10 L2 P1 W1.55 which sets your G54 Z coordinates to the original # Or you can use G10 L2 P1 Z****** This Z value should be your original G54 Z coordinate. or the other format M98P#### G10 L2 P1 W-.31 M98P#### G10 L2 P1 W-.31 M98P#### G10 L2 P1 W-.31 M98P#### G10 L2 P1 W-.31 M98P#### G10 L2 P1 W-.31 M98P#### G10 L2 P1 W1.55 lots of CNC machinist do not like to use G10's to set offset, they think it's evil, one of the main reason for that is understanding the concept, once G10's is understood it becomes a powerful too to register tool and work offsets. my 2 cents
__________________ If you can ENVISION it I can make it |
|
#3
| ||||
| ||||
| Thanks for the help, I ended up putting G10 L2 P2 W-.310 on the second last line line of the sub program right before the M99. Now depending on how much length I have left I just change the L value in the G98 to how ever many pieces that I have. It works like a charm. Can I use a G10L2p1UXX.XX to change all the diameters and create a larger seal of the same profile without having to write a new program? G10 is the best thing since solid carbide, as far as I am concerned.
__________________ Live free or die |
|
#4
| ||||
| ||||
| G10L2P1Uxxxx M98P#### G10L2P1U-xxxx
__________________ The best way to learn is trial error. |
|
#5
| ||||
| ||||
|
It is tube stock, there is no drill cycle. I will try to figure out if I have macros or not. Never even known anyone who uses them befor, but I am always up for a challange.
__________________ Live free or die |
| Sponsored Links |
![]() |
| 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 |
| Daewoo Puma 700 LM - Lathe | Kim | Daewoo/Doosan | 2 | 04-18-2008 01:18 PM |
| Any Sample programs with live tooling for Daewoo 700 with Fanuc 18i | bdyenter | Daewoo/Doosan | 2 | 11-02-2007 08:55 PM |
| Mazak lathe vs Daewoo | Steelydan | Daewoo/Doosan | 21 | 03-12-2007 07:21 PM |
| daewoo puma 450 lathe | gokulkavin | Daewoo/Doosan | 3 | 04-07-2005 06:18 AM |
| Daewoo Lathe Post Help | MONKEYBOY621 | Post Processors for MC | 1 | 02-25-2005 06:34 AM |