![]() | |
| 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: I'm a g code rookie. I am trying to cut a hand for a wood gear clock. It basically looks like an arrow. There are a number of g3 moves that look fine until I turn on cutter compensation with a g41 call. On the final g3 move, the Mach3 simulation shows the cutter path not ending where I think it should (line 95). The matching arc created in line 55 looks fine in the simulation. I have not done a dry run on my router yet but I'm wondering if I've misses some obvious thing with g3 or g41 or is this just a graphics glitch in Mach3? I've tried to use the R.75 word instead of the I-J on this line and I get the same result. Here's the code: N5 g90.1 N10 M6 T3 N15 g0 x0 y0 N20 g1 z-.78 N25 g0 z0 N30 g0 x9.1265 y.099 N35 G42 N40 g1 z-.78 F10 N45 g1 x9.1265 y-.0537 N50 g1 x6.7628 y.7115 N55 g3 x6.2738 y.1875 I7 J0 N60 G1 X.4635 Y.1875 N65 G3 X-.4635 Y.1875 I0 J0 N70 G1 X-3.0738 Y.1875 N75 G3 X-3.0738 Y-.1875 I-3.8 J0 N80 G1 X-.4635 Y-.1875 N85 G3 X.4635 Y-.1875 I0 J0 N90 G1 X6.2738 Y-.1875 N95 G3 X6.7628 Y-.7115 I7 J0 N100 G1 X9.1265 Y.099 N105 G1 X9.1265 Y -.0537 N110 G40 N115 G0 Y0 N120 G0 X0 Y0 N125 g91.1 Some help would be greatly appreciated. Steve |
|
#2
| |||
| |||
| Hello, I'm missing some things here. I will give you an example; 0000 (programname) ;the workpiece offset = laying in the left uppercorner ;workpiece length= 130 widht=90 n10 g17 g40 g80 g90 n20 m6 t1 n30 s1500 (spindlespeed) m13 (Spindleturn to the right & cooling on) n40 g54 (workpiece zeropointoffset) n50 g0 x0 y-10 n60 G43 (call tooloffset) z2 (safetydistance above workpiece) h1 (call up toollength from toolmagazine) n70 g01 z-10 f200 (feedrate frees) n80 y90 n90 x130 n100 y0 n110 x-10 n120 g41 x15 y25 d11 (radiuscompensation frees) n130 y65 n140 g02 x25 y75 r10 (radius curve) n150 g01 x105 n160 g02 x25 y75 r10 (radius curve) n170 y25 n180 g02 x115 y65 r10 (radius curve) n190 g01 x25 n200 g02 x15 y25 r10 (radius curve) n210 G01 y35 n220 G40 X-10 n230 z100 n240 m30 (end off program rewind) |
|
#3
| ||||
| ||||
you need to tell the machine to change from arc to line back to arc. To fault find in a program and you are not sure where the error is, use single block, the error has to be from the current block being executed to the control's read ahead buffer setting ( usually 4 to 9 lines ) |
|
#4
| ||||
| ||||
__________________ 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) |
|
#5
| |||
| |||
| you forgot to turn the cutter comp. on block should be g42 x9.125 y-.0537 D3(D3 is ur tool offets this should be included on the cutter comp. block always just make sure the tool diameter matches the diameter entered on ur tool offset table, for instance If T3 is .500 then the offset should read .500, just keep in mind if the offset diameter is less than the diameter of the tool then the tool will cut more if it is more than the tool diameter then it will cut less, this is how u can fine tune ur cut with cutter comp on G41 or G42 especially when tool wears.) |
| Sponsored Links |
|
#6
| ||||
| ||||
#1 or #2 ---- both are pretty old Plus, it is good manners to reply, if your problem is solved or still unresolved. |
![]() |
| 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 |
| Need Help!- HELP ANY ONE HAVE A PART SOMETHING SIMPLE | bobrob | General Metalwork Discussion | 1 | 03-26-2009 11:22 AM |
| Need A Quote- Need a simple part made | beerdrinker301 | Employment Opportunity | 9 | 02-04-2009 03:04 PM |
| Please Help!! Simple 3-D part not so simple for me | eaglegage | Mastercam | 16 | 05-15-2008 10:00 AM |
| simple part program | chevblue2 | G-Code Programing | 3 | 02-10-2008 03:20 PM |
| RFQ on simple part... | nate | Employment Opportunity | 14 | 04-28-2006 01:25 AM |