![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
Greatings fellow chip makers I'm setting up a project to cut 5 slots into .250 inch aluminum my G code goes g20 g90 g64 g54 g41(Tool is a .187 end mill) g00x0y0z0 g01 x1.70 g01z-.010 f3 g01 y3 g01 x1.50 g01 y0 it goes on until it goes through the bottom(.250) Now I want the next slot to be 2.5 inches to the left of the first. My code for this one is g00 x0 y0 z.2 g55(which is set to x 2.5 y0 z0) then on with the rest of the code, BUT heres the problem If I leave the G41, the graphic window shows the blue line where it should be, but the white line where the G41 cut is supposed to be is even further to the left of the second slot. IF i have the machine start the cut, the first slot comes out as programmed, but when it moves to the second slot, instead of moving the 2.5 inches as set in the G55 off set, the bit moves 5.0 inches then wants to start the cut. IF i go into the second cut(G55) and remove the G41 cutter comp, the second slot is cut on the blue graphic line and not inside as I need it. I hope this made sense Thanks ahead of time. Brian |
|
#2
| ||||
| ||||
| Your work coordinates (G54 etc...) are usually used to set the part or fixture location. It would be much easier to just program X to step over to your next location and start over with your code.
__________________ http://www.g0704.blogspot.com/ |
|
#3
| ||||
| ||||
| I think there's a bug when using G41/G42 and G55-G59 offsets. Not sure if it just effects the display, or the actual cutting as well. I'm surprised your code even works, as you don't appear to be using G41 correctly. You should have a lead in move with it, where the comp is applied.
__________________ Gerry Mach3 2010 Screenset http://home.comcast.net/~cncwoodworker/2010.html (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management) |
|
#4
| ||||
| ||||
| Probably little to do with this, but I did find that if I use tool offsets in my Cam as well as in the tool table of Mach, it will set double offsets. This was in Turn, but would likely apply to mill as well depending on what Cam is used. Just thought I would mention it.
__________________ Lee |
|
#5
| |||
| |||
| Thanks for the info I still haven't solved it. true there is no "Lead-in" I'm just trying to get the meat of the code in so as to not run out of space. thank you all
__________________ "If everyone is thinking alike somebody's not thinking!" Shopmaster Eldorado bridge mill(CNC)(Great machine, if you willing to put in the time) |
| 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 |
| Offsets | scottsss | MadCAM | 2 | 08-03-2010 05:19 AM |
| Offsets - How to set | FastFieros | Fadal | 9 | 07-18-2009 12:53 PM |
| M15-M16 AND OFFSETS | littlerob | Okuma | 10 | 03-26-2009 05:50 AM |
| Z offsets | slideleft | Haas Mills | 7 | 12-07-2008 11:53 PM |
| H and D offsets | CNCMike | Fanuc | 11 | 05-27-2008 10:33 AM |