![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| Coding Post your Coding for opensource projects here. |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| ||||
| ||||
I'm learning G code and have come across a problem that I cannot solve. I am cutting a simple profile on my home made turning machine. I'm cutting a tube with a flange on the end of it. My tool goes from home to the small OD then goes along to the flange, goes up and across the larger OD. It then goes back to the far end of the small OD to part it off then up bigger than the large OD and down to the other side of the flange to part off then return to home. Problem is I want to offset the tool width when coming back to the flange for parting off but it will not acknowledge the offset. I'm using the G41 D1 code with my #1 tool referenced. I use Flashcut. Here's a copy of my code to look at. Any help would be appreciated. Thanks N100 G00 G91 (set highspeed, incremental) N110 M06 T1 N120 X-0.5 (Move half of Initial Travel distance along X) N130 Y-3.277 (Move Y to within 0.5" of cutting diameter [CHANGE OD HERE]) N140 G01 F20 Y-0.5 (Change to low speed, begin cutting in to Initial Diameter) N150 X-0.5 (Move again half of Initial Travel distance along X to shank end of ferrule) N150 X-3.862 (Cut straight section of OD) N170 G00 Y0.386 (cut vertical segment) N180 G01 (return to slow after rapid feed out) N190 X-0.387 (Cut straight section of OD) N200 X-0.25 (Cut straight section of OD) N210 G00 Y0.25 (Move to 0.25" larger than largest OD) N220 X4.499 (Move to X position of cutoff at Shank end) N230 Y-0.706 (Move quickly to within .200" of cutoff) N240 G01 F3 Y-0.200 (Finish cutoff slowly) N250 G04 X1 (Pause at cutoff for manual clean) N260 G00 Y0.906 (Move to 0.25" larger than largest OD) N262 G41 D1 N270 X-4.249 N280 Y-0.200 (Move quickly to within .200" of cutoff) N290 G01 F3 Y-0.706 (Finish cutoff slowly) N300 G04 X1 (Pause at cutoff for manual clean) N310 G00 Y0.906 (Move to 0.25" larger than largest OD) N320 G90 X0.0 Y0.0 (Return to Home on Completion) N325 G40 N330 G27 (Find limit switches) N340 M30 (End Program) Last edited by Step by Step; 10-22-2008 at 03:38 PM. |
|
#3
| |||
| |||
|
Post the question in the 'G-code programming' forum and it will probably be answered. The g-code gurus aren't looking here. Would like to help but I'm a mill guy. edit/ Noticed you have already posted there. Sorry for the interuption.
__________________ Anyone who says "It only goes together one way" has no imagination. Last edited by cyclestart; 10-24-2008 at 11:08 PM. |
![]() |
| 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 |
| simple python g-code generators | Dan Falck | OpenSource Software | 0 | 11-26-2007 05:37 PM |
| simple start up code needed | jrick | CNCzone Club House | 0 | 02-08-2007 01:05 AM |
| Simple G-Code program? | N4NV | G-Code Programing | 10 | 03-24-2006 07:35 PM |
| Simple G-code commands... | WilliamD | G-Code Programing | 5 | 01-12-2006 01:27 PM |
| Perhaps a bug in simple one line code?? | thuffner3 | TurboCNC | 3 | 02-02-2004 09:21 PM |