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-11-2006, 12:14 PM
 
Join Date: Feb 2006
Location: England
Age: 40
Posts: 9
carla is on a distinguished road
Exclamation Help Required With Part Programme

Hi everyone

I am an engineering student here in the UK and have been given a CNC part program assignment. I have never had anything to do with CNC's before, so was hoping someone might be able to help or point me in the right direction.


Please see attachment 1) CNC part drawing attachment 2) CNC part programme.


The outside profile does not need to be machine and the part will be held in a machine vice. Although one would not normally start with machining the holes, I decided to write the second part of the program, first, so I could become accustom to writing a CNC program.

For the centre hole and inner profile, I assume that I will need to use an end mill and the codes G02 and G03, but I just don’t know what methods should be used to machine the part and how to write this part of the program. For example, will I need to machine the hole using ramp in/ramp out circular interpolation and for the inner profile, where should I start and do I need to use I, J and K? etc, etc, etc.

(All dimensions are in mm)

Any help would be very much appreciated

carla
Attached Files
File Type: doc CNC part drawing attachment.doc‎ (62.5 KB, 135 views)
File Type: doc CNC part programme attachment.doc‎ (122.5 KB, 116 views)

Last edited by carla; 02-11-2006 at 12:25 PM. Reason: Dimensions not included
Reply With Quote

  #2  
Old 02-11-2006, 02:49 PM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,825
HuFlungDung is on a distinguished road

Wow, you need to take a course to understand all that needs to be done. Oops, you are taking the course

Do they let you run your code on a real machine, even cutting air? That is the best way to learn.

With regard to your hole drilling routines, I've never used polar coordinates but I can kind of see the logic to it, and suppose it would work.

Some of your feedrates are a bit extreme. The chipload is how far the cutting edge can progress for each revolution of the spindle. This would be in the order of .05 to .1 mm/rev, per tooth. A drill has two edges, so at 1160 rpm the feedrate should be .05 * 2 * 1160 = 116mm/min. Don't confuse the depth of cut with the depth of the hole. They are not related.

When tapping threads, the feedrate is calculated differently. The tap must be fed at such a rate that it advances at the same rate as its thread pitch. So a .05" pitch tap turning at 1326rpm, must be fed at a rate of .05 * 1326 = 66.3 inches/min which equals 1684mm/min.

G28 is not mirror image. It is "return to reference position".

So far as doing the center hole, I think drilling would be useful to open the hole. Drill undersize by a mm or two. Then, and get this, use tool radius compensation to interpolate the circle with an endmill in a second operation. This will get you an A+ on your report card

The actual profile of the hole can be programmed using G03 CounterClockwise arcs and G41 tool radius comp Left. Typically, plunge position the tool safely inside the arc (by the amount of its radius, plus a few thousandths radial clearance (because the hole is rough), make a linear movement from the plunge point to the profile calling the G41 on the same line, and then use G03 arcs round the hole. Be sure to move back to the start plunge point as you cancel tool radius compensation with a G40.
__________________
First you get good, then you get fast. Then grouchiness sets in.

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

  #3   Ban this user!
Old 02-11-2006, 03:06 PM
 
Join Date: Feb 2005
Location: U.S.ofA.
Posts: 91
Bear is on a distinguished road

Welcome, to C.N.C.Zone ,
I cant help much,but,what kind of machine is this you are programing,
what kind of tooling do you have.With those speeds and feeds it must
be quite a productive machine.What kind of studies are you taking?
Bear
Reply With Quote

  #4   Ban this user!
Old 02-13-2006, 08:05 AM
 
Join Date: Feb 2006
Location: England
Age: 40
Posts: 9
carla is on a distinguished road

Hi there Guys.

Thank you for the help.

My course is a "BTEC Higher National Certificate in engineering Manufacture" and the subjects covered this year, are Mechanical principles (science), Computer Aided Engineering, Quality Assurance and Management, Materials, Project, and Business Management Techniques. This is a part-time course, that is, I attend college one day a week, but in reality, I spend most of the week studying. Also in reality, most of us students are self-taught, some of our lessons lack any real tutoring, which is a sad state of affairs really.

I will be required to input the part program, but do not believe I will be machining any material. Unfortunately I do not get the opportunity to practice on a real machine, infact I have not even seen it. I will ask the tutor what machine this is, and let you guys know.

Polar co-ordinates, I used this method as I am requires to create a part program to maximum efficiency and found this method slightly shortens the part program. As for the feedrates, yes, they are wrong and did think they where somewhat high at the time, but I am now in the process of correcting this, and a couple of other bits and pieces, such as the G28, Mirror image, which was stated in the G-codes given to me by my tutor, this sheet has now been filed, under rubbish, he, he.

As you stated in your advice, I have started to write the part-program for the large centre circle and the inner profile, so will see how I get on with this, although I still have a couple of questions:

How do I calculate feedrate for an M6, I assume this is a British method of describing a thread. I understand TPI, but don’t know how this works for an M6?

I also wanted to know, as the inner profile has short flats between each arc, I assume that I will need to use G02/G03 circular interpolation for the arcs then use liner interpolation for the straights and so on?

So again, many thanks for your help.

carla

PS: As part of the Computer Aided Engineering, I will be receiving an assignment soon, where I will be required to use the program called "Camtek, PEPS V5.3, Milling Module" so wondered if any one had a demo version of this software that I could use at home?
Reply With Quote

  #5  
Old 02-13-2006, 08:34 AM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,825
HuFlungDung is on a distinguished road

M6 has a pitch of 1mm, I believe, so this makes the feedrate calculation really easy. Just spindle rpm * 1mm = feedrate.

Yes, your inner profile will need to be programmed exactly for what it is. I could not see any flats, but you are correct in your plan. If it helps, the usage of G02 or G03 is subjective, because it is relative to the direction you plan to send the tool around the profile. The same thing applies to selecting G41/G42 tool radius compensation. The preferred technique is to have the cutter "climb milling". So when profiling inside a hole, the tool should orbit within the hole in a CCW (counter-clockwise) direction. On the outside of a profile, the tool would go round the profile in a CW direction.
__________________
First you get good, then you get fast. Then grouchiness sets in.

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

Sponsored Links
  #6   Ban this user!
Old 09-06-2006, 05:38 PM
 
Join Date: Apr 2006
Location: Ireland
Posts: 26
Navigator is on a distinguished road

As by me programm should be changed. Don't need G20 for each tool,don't need G54 for each tool,if your clamps go above the part use G98... after each tool work put M00,or even better M01,it depends...
Reply With Quote

  #7   Ban this user!
Old 09-06-2006, 08:12 PM
 
Join Date: Aug 2006
Location: US
Posts: 244
cdlenterprises is on a distinguished road

With a metric thread, the first number is the O.D. of the thread and the second number is the pitch of the thread in mm. For example, an M12 X 1.75 thread would have a major dia. (O.D.) of approx. 12 mm and pitch (distance between two threads) of 1.75 mm. The way to program this on an machine using inch units would be to convert the metric pitch(in this case the 1.75) to inches. A common method is to multiply the metric value by .03937. This would equal .06889 inches which could be used for the feedrate in the program. As far as the mirror image goes, most machines I have seen use G51. It's optional on some machine controls so it may vary by machine. Hope this helps.
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





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