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! > MetalWorking > General Metalwork Discussion


General Metalwork Discussion Discuss everything relating to metal work.


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 02-07-2010, 02:22 PM
 
Join Date: Apr 2003
Location: usa
Posts: 242
kdoney is on a distinguished road
ER16 taper gcode

This may sound like beginners class but I am trying to turn or mill an internal shape to hold an er16 collet. I know it's just an 8 degree taper from start to finish but I don't know how and can't find a taper canned cycle.
Reply With Quote

  #2   Ban this user!
Old 02-07-2010, 03:26 PM
RotarySMP's Avatar  
Join Date: Mar 2004
Location: Vienna, Austria
Posts: 1,048
RotarySMP is on a distinguished road

Here is a short program I wrote to cut internal ER tapers. It is written for Turbo CNC, so you might need to change the syntax a little for Machs commands. It will cut any ER taper ( Actually it will cut any taper if you change the angle in line N200)...

It assumes the stock face is at Z0, and is written for a diameter mode, metric lathe, and has been tested cutting an ER-32 internal taper.

;Cutting ER Tapers
N100 Ask #1 ; Which ER size?
N110 Ask #2 ; Starting bore size?
N120 Ask #6 ; Depth of roughing cuts?
N130 Ask #7 ; Roughing Feedrate?
N140 Ask #12; Depth of finishing cuts?
N145 Ask #8 ; Finishing feedrate?
N150 Ask #10; Finishing allowance?
N160 Ask #11; Number of Spring cuts?
;
N200 #4 = 8 ; Taper angle of ER 32 Collet
N210 #5 = [#2 + #6] ; Initial X target
;
N500 G0 Z1 X[#5+1] ;Start outside cut to take out backlash
N510 M00 ; Clear chips
N520 #9 = [-(((#5 - #2) /2 ) / tan (#4))] ;Calculate Z target.
N530 SAY #9 ; Z target
N535 G01 Z0 X[#5] F[#7] ; Feed onto start point
N540 G01 Z[#9] X [#2] ; Cut Taper
N560 G01 X[#2-1] ; Clear Part
N570 G00 Z1 ; Retract
N580 #5 = [#5 + #6]; Increment DOC
N590 IF #5 GE [#1 - #10] M97 O1000 ; Check if finished roughing
N600 M97 O500
;
N1000 M00;Finishing - Set up tools and speeds.
N1010 #5 = [ #1 - #10]; Set to take a pass at the Finish allowance
N1015 G0 Z1 X[#5+1] ;Start outside cut to take out backlash
N1020 #9 = [-(((#5 - #2) /2 ) / tan (#4))] ;Calculate Z target.
N1030 SAY #9 ; Z target
N1035 G01 Z0 X[#5] F[#7] ; Feed onto start point
N1040 G01 Z[#9] X [#2] ; Cut Taper
N1050 G01 X[#2-1] ; Clear Part
N1060 G00 Z1 ; Retract
N1070 #5 = [#5 + #12]; Increment DOC
N1080 IF #5 GE [#1] M97 O1500; Check if finished cutting
N1090 M97 O1020
;
N1500 M00; Spring Cuts
N1510 #5 = #1
N1515 SAY #11 ; Remaining spring cuts
N1520 G0 Z1 X[#5+1] ;Start outside cut to take out backlash
N1530 #9 = [(((#5 - #2) /2 ) / tan (#4))] ;Calculate Z target.
N1540 G01 Z0 X[#5] F[#7] ; Feed onto start point
N1550 G01 Z[#9] X [#2] ; Cut Taper
N1560 G01 X[#2-1] ; Clear Part
N1570 G00 Z1 ; Retract
N1580 #11 =[ #11-1]; Start counting down.
N1590 If #11 LE 0 M97 O2000
N1600 M97 O1515
;
N2000 M02 ; End Program
__________________
Regards,
Mark
www.wrathall.com
Reply With Quote

  #3   Ban this user!
Old 02-08-2010, 08:37 PM
 
Join Date: Apr 2003
Location: usa
Posts: 242
kdoney is on a distinguished road

Wow. Thanks
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!- NPT Taper-to-Straight-to-NPT-Taper Thread bdyenter General Metalwork Discussion 2 09-16-2009 08:10 AM
Need Help!- ER16 Collets **INCH** cnciam Benchtop Machines 5 12-07-2008 12:03 PM
ER16 collets Astroguy Benchtop Machines 5 05-26-2007 02:05 PM
ER16 8* taper = OK to use for QTC (ATC)? nicad General Metal Working Machines 6 08-24-2005 10:05 AM
looking for ER16 collet specs nicad Benchtop Machines 1 08-15-2005 08:20 AM




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