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 02-24-2009, 09:48 PM
Fluxion's Avatar  
Join Date: Aug 2006
Location: USA
Posts: 29
Fluxion is on a distinguished road
How can I cut an arc in the Z axis?

Ok, I am new to all this but I'm trying to learn. I am wanting to cut a concave sanding block with a 20" radius. I am not sure how to go about it. I was thinking I could cut an arc along the Y axis in the vertical plane the step over something like 25% of the diameter of the cutter then cut the arc again then repeat over and over until I make a concave surface in a block of wood. Is there a G code for cutting an arc in the z axis along the y axis something like the G2 or G3 command for cutting in the x and y axis? Is this where the G19 command comes into play? Is it as simple as using the G19 command to switch to the Y-Z plane then cut the arc using the G3 command?

I am sure this is simple but Like I said, I'm new to all this.

Thanks in advance for any help, Bryan
Reply With Quote

  #2   Ban this user!
Old 02-24-2009, 10:12 PM
 
Join Date: Feb 2009
Location: usa
Posts: 26
hawkburger is on a distinguished road

Yes, it is that simple, try laying down on your side and program it the same as g17 g02 etc. Ha Ha just kidding, but it really works, I and J and all that good stuff. Try using a ball or rounded tip end mill for best finish.
Reply With Quote

  #3   Ban this user!
Old 02-24-2009, 10:16 PM
 
Join Date: Jul 2005
Location: Canada
Posts: 11,565
Geof will become famous soon enough

Originally Posted by Fluxion View Post
...Is this where the G19 command comes into play? Is it as simple as using the G19 command to switch to the Y-Z plane then cut the arc using the G3 command?..
That is it.

Your 25% step over is probably too much; you need to use a ball nose cutter which is as large as possible and step over something like 10% of the cutter diameter, or less.
__________________
An open mind is a virtue...so long as all the common sense has not leaked out.
Reply With Quote

  #4   Ban this user!
Old 02-24-2009, 10:50 PM
 
Join Date: Aug 2005
Location: USA
Posts: 1,622
One of Many is on a distinguished road

On some controls when switching to G19, you may need to also use I and K rather than I and J.

DC
__________________
Learn cause and effect through experience. Mastering those relationships is the "Common Sense" ability within the art of any trade.
Reply With Quote

  #5   Ban this user!
Old 02-25-2009, 12:30 PM
Fluxion's Avatar  
Join Date: Aug 2006
Location: USA
Posts: 29
Fluxion is on a distinguished road

Thanks Guys! I'll give it a try here in a little while, I have a couple of things to do first. I was planning on using a 1" core box bit and I was thinking about the 25% and I agree 10% or less would definitely be better.

Thanks again, Bryan
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 02-25-2009, 10:53 PM
Fluxion's Avatar  
Join Date: Aug 2006
Location: USA
Posts: 29
Fluxion is on a distinguished road

Ok, this worked beautifully! I do have another question though. I was wondering if there was a way to just enter some code like this:

G3 x0 y3 r20 z0 f50
G2 x0.030 y0 r20 z0f50

then have it move the x axis 0.030" then cut the same radius again. I was thinking there must be a way to do this as opposed to having to input all the lines to get it to cut something like 12" long.
Reply With Quote

  #7   Ban this user!
Old 02-25-2009, 11:05 PM
 
Join Date: Jul 2005
Location: Canada
Posts: 11,565
Geof will become famous soon enough

Yes, use incremental and subroutines; can your machine handle subroutines?

You put the arcs in a subroutine which is called after an incremental move of .03 on the X axis.

If you cannot figure it out from this meager description you will have to wait until tomorrow, I have had too much wine to come up with the code at this time of night. Were are you located? You should probably be in bed by now.
__________________
An open mind is a virtue...so long as all the common sense has not leaked out.
Reply With Quote

  #8   Ban this user!
Old 02-25-2009, 11:14 PM
Fluxion's Avatar  
Join Date: Aug 2006
Location: USA
Posts: 29
Fluxion is on a distinguished road

Thanks Geof, I think it will run subroutines, I am running Mach 3. I might be able to figure it out tomorrow because I have had too much beer and It is past my bedtime.
Reply With Quote

  #9   Ban this user!
Old 02-25-2009, 11:32 PM
 
Join Date: Jul 2005
Location: Canada
Posts: 11,565
Geof will become famous soon enough

I just checked your location...Topeka!!! There is (or was) a fantastic Italian restaurant in Topeka down in a basement on a street that runs ninety degrees to the main drag. There is (or was) also a nice Brewhouse and Restaurant down the opposite end of the main drag.

Or at least that is what I remember froma busines trip there back in 1997 or so.

I also remember the drive from Topeka back to the airport at Kansas City, MO was nerve wracking with thunderstorms every direction as far as the eye could see.

EDIT: corrected my geography, I hope.
__________________
An open mind is a virtue...so long as all the common sense has not leaked out.
Reply With Quote

  #10   Ban this user!
Old 02-26-2009, 05:28 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?
Thumbs up

I agree with using a sub-routine

As a suggestion , program to the centre of the ball and you will get a true rad
ie required rad = 20. tool rad =0.5 --- tool centreline rad = 20.5 ---
(Using 1" Ball-nose)( tool length set to ball centre )

O0001 (sub start)
G0 G90 Y-21. ( absolute, Y clearance )
Z-20. ( ball centre on quadrant line of semicircle )
G1 G41 D1 Y-20.5 ( take-up comp onto arc )
G19 G2 Y20.5 R20.5 ( do arc on YZ plane)
G40 G1 Y21. ( cancel comp )
G0 Z22. ( retract to clearance plane )
G91 X.1 ( incremental step )
G90 ( absolute for safety )
RTS (sub end)

(in program)
T1 M6
G0 X-.5 Y-21. ( initial start of sub)
S2000 M3
G43 Z22. H1 ( take-up tool length)
M8
CALL O0001 Q105( Okuma is Q for repeat count )( 105 will cover 10" @ 0.1 pitch )
G0 Z22.
M9
M5
M30
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 02-26-2009, 01:54 PM
Fluxion's Avatar  
Join Date: Aug 2006
Location: USA
Posts: 29
Fluxion is on a distinguished road

Geof,

I know the restaurant you are talking about, I can't remember the name but i do know the Brewhouse well. Its called the Blind Tiger Brewery I live about 4 blocks to the west and I will probably meet my wife there for dinner after work! As far as those thunderstorms go, that's Kansas weather. Its normal.

Superman,
Thanks for the code. I'll give it a try later today. BTW Since Geof has been to my little town I guess I should mention I was in Melbourne a few months ago. My wife is from Sydney, actually she was born in Broken Hill, and we try to go back to Australia as much as possible. If you have read my other posts in this thread I mentioned I had been drinking beer last night, I was actually drinking the last of my VB stash.
Reply With Quote

  #12   Ban this user!
Old 02-26-2009, 03:22 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?

So you scored an Aussie girl, myself, born and raised at Hay NSW, not far from fron Broken Hill ( bloody and flat out that way )
Got a couple of VB in the fridge, I'll be thinking of you as I drink 'em
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
the Difference of 2-Axis and 3-Axis of Vertical Mill Machine begacon Knee Vertical Mills 6 07-30-2009 06:31 AM
New Machine Build- post for 2 axis ez trak versus 3 axis ez vision tooolman G-Code Programing 0 11-28-2008 03:33 PM
Compare Catia and MCX2 for multi axis lathe/4 axis mill bob1112 General CAM Discussion 0 10-10-2008 07:15 PM
One axis (z-axis?) computer controlled testing device TsThorsell Stepper Motors and Drives 3 02-07-2008 12:38 PM
New Design - Hybrid 3-Axis Router/4-axis Foam Hot Wire Cutter the__extreme CNC Wood Router Project Log 3 02-26-2007 02:58 PM




All times are GMT -5. The time now is 12:12 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