![]() | |
| 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
| |||
| |||
Hi, im new to the site. Im getting an what appears to be an overcut and its doing my head in. Im trying simply to put a 5mm chamfer on the ends of a 47x20 block, 0/0 ref about center, but on the first chamfer im getting a scallop. Im starting at X-45, Y-50 just to make sure out of any radius interference. Feed to depth then using G1 G41 X-18.5 D11 (correct tool number and radius offsets); Y-10; X-23.5 Y-5; Y5; X-18.5 Y10; G40...... Please could anyone show me what silly mistake im making or point me in the right direction if its a little bit more involved. Thanks. Ian. Last edited by LPE Ltd; 09-16-2010 at 09:58 AM. Reason: incorrect size |
|
#2
| |||
| |||
| Ian, I didn't go thru the actual dimensions you gave but most G41 issues are caused by a few factors. The first move that incorporates the cutter comp MUST come to its end off the part and the last move where the G40 kicks off the CC must also end off the part. In the begin and end the CC must be effective before the cutter touches the part since the move onthe G41 line is a mixture of the programmed move and some extra movement to account for half the cutter or its wear value whichever your offset contains. Said another way, write your code with two lead in lines and two lead out lines. They can be lines end to end. Make sure they are at least as long a move as the cutter diameter (you may be able to shorten this later- the machine will fault if it is too small - its usually faluts at cutter diameter or cutter radius or at the wear comp value (.006 or so)). Then with your two lead in lines and two lead out lines, put the G41 D11 on the FIRST of the two lead in lines and G40 on the second (or last) lead out line. |
|
#4
| |||
| |||
| Hi Underdog, Sinha, Thanks, ive just changed it slightly to start well away +1.5x cutter diameter just to be sure, unfotunateley i cant finish so far due to the jaws, but i have changed the G40 to mirror the in path. Double checked the offsets and they are correct. Now i have a scallop on both chamfers. Verbally my program feeds to depth in a -X and -Y quadrant, applies cutter comp G41 in +X direction moves towards the first corner of the chamfer, OH!, what a muppet, i see what you mean now, im trying to cut a sharp 'internal' corner with a round cutter as it were? Its never going to work.. Ill extend the chamfer to start in air and that should solve it. Thanks again, I have another problem or rather bad understanding which involves applying cutter comp in the Z (G19) plane but i need to get my head around it again first and it may well be similar mistake as i have made above. Ian. |
|
#5
| |||
| |||
| Do the same at the end point also. |
| Sponsored Links |
|
#8
| |||
| |||
| Ill remember that, the 2 works ok on this due to the small part being in the centre of soft jaws and its only a small number off. Ill try and have a look at the other problem over the weekend if i get chance, its one that i have tried many different ways but failed to get it right or work out why. The one you have have just made clear i had manually got round it without cutter comp but still didnt make the now obvious connection. |
|
#9
| |||
| |||
| In radius compensation, take care of a few things: 1. The machine will not do something which is mathematically not possible (Make a sketch of the toolpath to observe any inconsistency) 2. For compensation in XY-plane (say), there should not be two (or more) consecutive non-movement commands in XY-plane (macro statements are not counted for this purpose). 3. You cannot switch compensation plane without first cancelling the current compensation mode. |
|
#12
| |||
| |||
| Ok, I was trying to mill a simple slot with a radius in and out in the z plane ie for example say a 30mm long slot with a 30mm radius either end using a 10mm ball nose. Like a stretched 1/2 pipe. I used a simple program starting without cutter comp (in the air). i.e T..... G1 Z0 F100 G91; G1 X10; G02 X30 Z-30 R30; ( i think its G2 not G3 for the ZX) G1 X30; G02 X30 Z30 R30; G90; G0..... This produced movement in the Y axis as well (all 3 axis) and linear motion in Z&X during the G02 part, I then tried it using the G18 command and this seemed to cure it. However when i tried appling cutter comp in a vertical motion ( as per a reference book example, Peter Smid) it applies it in the Z axis as well so i would end up being 5mm above or below depending on G42 or G41 where i need to be. I tried reading up on it and understood it that it should work in the G18 plane as long as the G02/03 command states the movement in the X and Z axis only. I tried my usual method of trying different combinations to work it out but i couldnt get it right and ended up fudging it with no comp. In the tool selection (Fanuc Oi-m) i selected Ball nose and used 5mm as the cutter radius, but im not sure if thats correct because if i change it to an F end mill it seems makes no difference to the actual resulting positions after each block., Ive tried it also with arc modifiers and the results are the same. When a ball nose is selected, should i enter the complete cutter diameter in the geometry 10mm or 5mm? Ill try it again when the machines free but i would appreciate any guidance. Thanks Ian. |
![]() |
| 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 |
| Loading cutter comp from PGM. on fanuc 16i | PCCDon | General CNC (Mill and Lathe) Control Software (NC) | 1 | 07-26-2009 12:23 AM |
| Fanuc 0-M cutter comp | ytb | General Metal Working Machines | 0 | 01-14-2009 09:16 PM |
| manual cutter comp on lathe with fanuc control | madmachinist77 | General Metalwork Discussion | 0 | 01-08-2009 09:37 AM |
| Fanuc Tip code 8 cutter comp question | demeyert | Fanuc | 10 | 04-04-2008 08:03 AM |
| CUTTER COMP FANUC 18M? | PICMAN | Fanuc | 1 | 12-07-2007 11:53 AM |