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 11-30-2009, 10:49 AM
 
Join Date: Dec 2008
Location: UNITED STATES
Posts: 6
DEAN-O is on a distinguished road
Need help on some Fanuc 0T lathe code

Hello everybody!

I'm new to lathe programming and was hoping someone could point me in the right direction on the G-code for this. I'm using a Fanuc 0T on a Daewoo. Basically the part looks like a giant trailer hitch ball. What would the code look like, what would be the ideal tool, and would there have to be a tool change. I've got the easy end figured out and done, just need to flip it around and do the ball end now.

Thanks
Attached Thumbnails
Click image for larger version

Name:	DSC04531 (2).JPG‎
Views:	73
Size:	47.7 KB
ID:	94246  
Reply With Quote

  #2   Ban this user!
Old 12-01-2009, 02:18 AM
 
Join Date: Jun 2005
Location: us
Posts: 210
timlkallam is on a distinguished road

Yep thats 2 tool job I would use right and left hand tool with vbmt 332 inserts.

http://desc.shop.ebay.com/i.html?_nk...t=11804&_rdc=1
__________________
Tim
Reply With Quote

  #3  
Old 12-01-2009, 04:10 AM
tobyaxis's Avatar
Moderator
 
Join Date: Jan 2006
Location: USA
Posts: 4,396
tobyaxis is on a distinguished road

Originally Posted by DEAN-O View Post
Hello everybody!

I'm new to lathe programming and was hoping someone could point me in the right direction on the G-code for this. I'm using a Fanuc 0T on a Daewoo. Basically the part looks like a giant trailer hitch ball. What would the code look like, what would be the ideal tool, and would there have to be a tool change. I've got the easy end figured out and done, just need to flip it around and do the ball end now.

Thanks
Dean your going to have to start with the first 90 degrees of the Radius on the Ball.

Then Rough the Neck where the Ball meets the back side of the radius all the way to the flange.

To write code without dimensions is a bit difficult, so do you have a print that we can see?? Also, what is the Material and How Old is the Machine.

If you have a Full Radius Groove Turn you can do the whole thing. If not you will need 2 Tools, possibly 3.

1 Front Turn
1 Groove
1 Back Turn

You'll have to watch your DOC's and F&S if you only have one of each. If you have 2 of each Rough with one set then Finish with the other.
Watch your Blends on the Full Radius, Groove, and Back Turn.

Do you have any experience programming a G-Code Mill or is this your first time Programming??
__________________
Toby D.
"Imagination and Memory are but one thing, but for divers considerations have divers names"
Schwarzwald

(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)

www.refractotech.com
Reply With Quote

  #4   Ban this user!
Old 12-01-2009, 03:48 PM
 
Join Date: Dec 2008
Location: UNITED STATES
Posts: 6
DEAN-O is on a distinguished road
Fanuc 0T Lathe Programming

The material is 4140. I wrote the program below and ran it in mid-air but it didn't work quite right. It roughed the end of the ball and then profiled the entire piece without roughing the back side.

%
O7780
N1T0202
G50 S1500
G96 S1000 M03
G00 X5.1 Z.25
M08
G01 Z0. F.01
X0.
G00 W.1
X5.1
G71 U.05 R.15
G71 P10 Q110 U.02 W.02 F.012
N10 G42 G00 X1.925
N20 G01 Z0.
N30 G03 X3.99 Z-1.7475 R1.995
N40 G03 X2.875 Z-3.131 R1.995
N50 G01 X2.875 Z-3.55
N60 G02 X3.375 Z-4.05 R.5
N70 G01 X4.935 Z-4.05
N80 G01 X4.975 Z-4.09
N90 G01 X4.975 Z-4.39
N100 G00 G40 X5.1
N110 G00 X5.5 Z.25
G70 P10 Q110 F.006
M09
G00 G28 U0.
G00 G28 W0.
M30
%

To answer your question Toby, I have some basic mill programming experience but really not much on the lathe. The lathe that I am using is probably mid to late 80's

Here is a picture of the tool I plan to use and also a crude print.

Thanks for your help!!

Dean
Attached Thumbnails
Click image for larger version

Name:	DSC_0915 (2).JPG‎
Views:	68
Size:	88.6 KB
ID:	94328   Click image for larger version

Name:	DSC_0916 (2).JPG‎
Views:	54
Size:	124.9 KB
ID:	94329  
Reply With Quote

  #5   Ban this user!
Old 12-01-2009, 09:32 PM
 
Join Date: Oct 2009
Location: USA
Posts: 118
leggazoid is on a distinguished road

You need G71 type II to do the ball in one shot. If you have that option you could add a Z # in line N10. I have a couple of suggestions about your program. The W.02 in the G71 will cut too much off the backside of the ball. G42 works so much better on the G70 line then just add G40 on the next line. With cutter comp. I would recommend starting X- twice the radius of the insert(X1.925-.0313=1.8937 or smaller then feed to X1.925 in line N20). G71 type I does not allow non-monotonous movements in X.


%
O7780(TYPE II EXAMPLE PROGRAM)
T202
G50 S1500
G96 S1000 M3
G0 X5.3 Z.1 M8
G94 X0 Z0 F.01
G0 X5.1 Z.1
G71 U.05 R.15
G71 P10 Q20 U.02 W0 F.012
N10 G0 X1.83 Z.1
G1 X1.925 Z0 F.006
G3 X2.875 Z-3.131 R1.995
G1 Z-4.05 R-.5
X4.935
X4.975 Z-4.09
Z-4.39
N20 X5.1
G70 G42 P10 Q20
G0 G40 G28 U0 W0 M9
M30
%


http://www.cnczone.com/forums/archiv...p/t-49785.html

There are a couple of ways to approach this with multiple repetitive cutting cycle type I by breaking it up into a few operations. The backside of the ball would need grooved out for clearance from Z-3.133 to 3.55 first.

Hope that helps.
Ken

Last edited by leggazoid; 12-01-2009 at 10:14 PM.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 12-02-2009, 09:13 PM
 
Join Date: Dec 2008
Location: UNITED STATES
Posts: 6
DEAN-O is on a distinguished road

Thanks for your reply Ken. I tried it like you said but my machine doesn't like the Z value on the N10 line. I may have to resort to an alternate plan as you said with grooving out behind the ball. If anyone has any other suggestions please advise.

Thanks,

Dean
Reply With Quote

Reply

Tags
cnc haas




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
CNC Lathe G code G73 / G83 nelsonrb4 G-Code Programing 7 12-30-2011 05:50 PM
Need Help!- My Milling OKK with fanuc 6M can't recognize G-code & M-code nessei Fanuc 4 03-29-2011 08:39 AM
G-Code Problem on my Fanuc Oi Hardinge Lathe Josh-PTP Fanuc 11 07-10-2007 05:42 PM
cam to g-code for cnc lathe slow_rider General CNC (Mill and Lathe) Control Software (NC) 0 10-21-2006 01:16 PM
fanuc 11 lathe g-code bobcor Fanuc 3 08-20-2006 02:16 PM




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