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 03-26-2011, 12:02 AM
 
Join Date: Feb 2009
Location: USA
Posts: 2
washintonian is on a distinguished road
Radius turning questions

I start a new job on monday that will include more programing than I have done before. I am good enough in programing to do chamfers tapers etc...
but I have never fully understood g02/g03 programing. I have spent the last week reading in these forums a couple hours each night but all i have gained is more confusion...

Could someone walk through programing these two examples step by step using g02/g03 without using R please?

Cut a full .5" radius on the end of a 1" part

and

Put blend radius on a chamfered end of a 1" rod
Ex: to do a .032" by 45 deg chamfer on a 1.5" diameter part with the parts face at 1" using a .016 TNR I would use:
G00 Z1.0 X1.436
G01 Z.9586 X1.5
I get those numbers using this spreadsheet I setup working out tnr comp.

How would I put a .005 blend radius at each end of the chamfer? I cannot find a working formula that I can make sence out of. So any help would be greatly appriciated.
Desmond
Attached Files
File Type: xls Dad's work xfer.xls‎ (15.0 KB, 40 views)
Reply With Quote

  #2   Ban this user!
Old 03-26-2011, 12:33 AM
dcoupar's Avatar  
Join Date: Mar 2003
Location: USA
Posts: 2,312
dcoupar is on a distinguished road

Just out of curiosity, what kind of control are you going to be programming? Fanuc?

Rather than spend time calculating intersections and compensation amounts, you might want to learn to use the control's tip nose radius comp function (G41/G42) if it's so equipped. Also, some controls have the option of Chamfering and Rounding built in. And some have a feature called Direct Drawing Dimensions Programming, which makes life real easy for manual programmers.
Reply With Quote

  #3   Ban this user!
Old 03-26-2011, 10:44 AM
 
Join Date: Sep 2010
Location: Australia
Posts: 733
angelw is on a distinguished road

Originally Posted by washintonian View Post
I start a new job on monday that will include more programing than I have done before. I am good enough in programing to do chamfers tapers etc...
but I have never fully understood g02/g03 programing. I have spent the last week reading in these forums a couple hours each night but all i have gained is more confusion...

Could someone walk through programing these two examples step by step using g02/g03 without using R please?

Cut a full .5" radius on the end of a 1" part

and

Put blend radius on a chamfered end of a 1" rod
Ex: to do a .032" by 45 deg chamfer on a 1.5" diameter part with the parts face at 1" using a .016 TNR I would use:
G00 Z1.0 X1.436
G01 Z.9586 X1.5
I get those numbers using this spreadsheet I setup working out tnr comp.

How would I put a .005 blend radius at each end of the chamfer? I cannot find a working formula that I can make sence out of. So any help would be greatly appriciated.
Desmond
The following formulae will get you the tool rad comp values for X and Z. Note that the X value is multiplied by 2 to get a diameter value. Accordingly, the formula shown in the attached picture can be modified as shown in the following formula to get a diameter value.

X = 2 * (tnr - (tnr * Tan(45 - (angle / 2))))
Z = tnr - (tnr * Tan(angle / 2))

Regards,

Bill
Click image for larger version

Name:	TRC1.JPG
Views:	96
Size:	16.4 KB
ID:	129908
Reply With Quote

  #4   Ban this user!
Old 03-26-2011, 11:03 AM
 
Join Date: Feb 2009
Location: USA
Posts: 2
washintonian is on a distinguished road

ya will be done using a fanuc controller

Also I setup the cheat sheet for calculating the tnr comp before I wrote the program into my ti-89 I carry with me. It's how to put the blend radius onto a chamfer I am having trouble with since it's a partial arc it includes more trig than I can do on my own. Not all of the controls at the new plant will use g41/42 I want to understand it well enought tor write the program for my calc to solve blend radius on the floor. The problem I have is that I have not been able to find a acutual equasion to solve the problem.
Thanks

Last edited by washintonian; 03-26-2011 at 01:48 PM.
Reply With Quote

  #5   Ban this user!
Old 04-02-2011, 10:51 AM
 
Join Date: May 2007
Location: USA
Posts: 913
g-codeguy is on a distinguished road

Full radius from OD

X1.Z-(.5 + TNR)
G2X-(2 * TNR) Z0 R(.5 + TNR)

Full radius from centerline

X-(2 * TNR) Z0
G3X1.Z-(.5 + TNR) R(.5 + TNR)

In your example of a .032 x 45 deg. it should be

X1.4172 Z1.
X1.5 Z.9586

in order to be a 45 deg. chamfer.

The math is:

1-.9586=.0414
1.5-2*.0414=1.4172

Also I would never rapid to the face of a part.

Putting a .005R on the part using a .016R tool requires more math than I am willing to explain here. What I did was make myself a little chart. I almost always use a .003 or .005 radius on the part using either a .008R, .016R or .031R insert. These 6 values were soon memorized.

TAN[22.5] * .005 = .0021

Starting position for the criteria you specified is:

1.5 - (2 * .032) - (2 * .0021) - (2 * .016) = 1.3998

so X1.3998 Z1.

Moves from the face are X.0148 (radial) Z-.0062

so 1.3998 + 2 * .0148 = 1.4294
1. - .0062 = .9938

so far we have

X1.3998 Z1.
G3 X 1.4294 Z.9938 R.021

The neat thing about 45 deg. angles is the previous values for X & Z moves are reversed for the upper section (at 1.5). From here work backwards. Figure the ending position first.

1- (.032 + .0021 + .016) = .9499

So ending position is

G3 X1.5 Z.9499 R.021

Now work backwards.

1.5 - 2 * .0062 = 1.4876

.9499 + .0148 = .9647

so putting it all together we get:

X1.3998 Z1.
G3 X 1.4294 Z.9938 R.021
G1 X1.4876 Z.9647
G3 X1.5 Z.9499 R.021


I still have the chart for the different values for part radii and insert radii if you'd like me to email you a copy. I think I have even have an example of how to use the chart.

I had to be careful figuring your example because the face of my part is always Z0.
Reply With Quote

Sponsored Links
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
Newbie- Turning with different radius Wolf Pack Haas Lathes 1 10-26-2010 09:24 AM
Problem- Vinyl-optimized CAM softw? To compensate for blade orientation, turning radius etc? FXC Printing, Scanners, Vinyl cutting and Plotters 0 02-25-2010 05:59 PM
Radius and Circle Questions sodfarmer DIY-CNC Router Table Machines 6 01-31-2010 06:17 PM
Some questions about radius compensation KKamel Mach Software (ArtSoft software) 9 09-21-2008 01:14 PM
Need Help!- Questions on turning jroma1 Mini Lathe 10 05-06-2008 07:57 AM




All times are GMT -5. The time now is 07:55 PM.





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