CNCzone.com-The Largest Machinist Community on the net!



Home Page Mark Forums Read Today's Posts My Replies Classifieds Reviews Photo Gallery Web Links Share Files Advertise With Us Ad List
Go Back   CNCzone.com-The Largest Machinist Community on the net! > Machine Controllers Software and Solutions > G-Code Programing


G-Code Programing Discuss G-code programing and problems here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 04-13-2009, 01:23 PM
 
Join Date: Jun 2007
Location: usa
Posts: 13
slkret is on a distinguished road
Rookie g41 problem simple part

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
Reply With Quote

  #2   Ban this user!
Old 04-30-2009, 04:51 PM
 
Join Date: Apr 2009
Location: Netherlands
Posts: 4
Ghallow is on a distinguished road

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)
Reply With Quote

  #3   Ban this user!
Old 05-02-2009, 07:31 PM
Superman's Avatar  
Join Date: Dec 2008
Location: Krypton
Age: 51
Posts: 1,555
Superman is on a distinguished road
Buy me a Beer?

n170 y25
Alter to n170 G1 y25

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 )
Reply With Quote

  #4  
Old 05-03-2009, 12:21 AM
ger21's Avatar
Community Moderator
 
Join Date: Mar 2003
Location: Shelby Twp, MI....USA
Posts: 20,455
ger21 is on a distinguished road
Buy me a Beer?

Originally Posted by slkret View Post
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?
What version of Mach3 are you using? There are some comp bugs in Mach3. Version 3.43 fixes them, but may have some other problems. Your code looks fine in 3.43.
__________________
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)
Reply With Quote

  #5   Ban this user!
Old 05-31-2009, 12:01 AM
 
Join Date: May 2009
Location: USA
Posts: 3
xEstrnDrgnx is on a distinguished road

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.)
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 05-31-2009, 01:41 AM
Superman's Avatar  
Join Date: Dec 2008
Location: Krypton
Age: 51
Posts: 1,555
Superman is on a distinguished road
Buy me a Beer?
????

Originally Posted by xEstrnDrgnx View Post
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.)
Which post are you amswering ?
#1 or #2 ---- both are pretty old

Plus, it is good manners to reply, if your problem is solved or still unresolved.
Reply With Quote

Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


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




All times are GMT -5. The time now is 12:15 AM.





Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO
Template-Modifications by TMS

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361