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 Machines > Haas Mills


Haas Mills Discuss Haas machinery here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 09-06-2010, 09:51 AM
 
Join Date: Sep 2010
Location: United Kingdom
Posts: 1
jossiR1 is on a distinguished road
Spiral cutting macro

Hi All, Hope someone can help with my little problem.
I'm having trouble trying to m/c a spiral on a flat milled face, what i'm trying to achieve is basically create a turned finish in the form of a continuous spiral using a small pointy engraving tool. I have a macro to generate lots of circles incrementally but with the dwell and the start position being close together it leaves what looks like a line across the face which is not acceptable.
Reply With Quote

  #2   Ban this user!
Old 09-06-2010, 03:14 PM
 
Join Date: Apr 2005
Location: Paradise, Ca, USA
Age: 35
Posts: 533
Matt@RFR is on a distinguished road

Do some research on G12/G13.
Reply With Quote

  #3   Ban this user!
Old 09-06-2010, 03:54 PM
christinandavid's Avatar  
Join Date: Aug 2009
Location: New Zealand
Posts: 573
christinandavid is on a distinguished road

http://www.cnczone.com/forums/showthread.php?t=110522

Take a look at samu's posts #12 & #14 in this thread.

The only other alternative I know of for a precise spiral is many small linear moves - if your control is fast enough to perform calculations. A Heidenhain version of this method was discussed here: -

http://www.cnczone.com/forums/showthread.php?t=105697

DP
Reply With Quote

  #4   Ban this user!
Old 09-06-2010, 10:06 PM
Pondo's Avatar  
Join Date: Apr 2010
Location: USA
Posts: 169
Pondo is on a distinguished road

Mastercam has a nice helix boring feature and Gibbscam has a threading feature that can be used the same way. They post out continuous helical spirals at whatever pitch you'd like, OD or ID. I'd approach it as if it were a very fine pitch thread you're cutting and I think it will turn out better.
__________________
Apparently I don't know anything, so please verify my suggestions with my wife.
Reply With Quote

  #5   Ban this user!
Old 09-07-2010, 01:30 PM
 
Join Date: Apr 2006
Location: usa
Posts: 128
JWK42 is on a distinguished road

Here is a macro I use to mill spiral face grooves in out parts. Maybe you can adapt it to your needs




%
O5555 (SPIRAL GROOVE MACRO)
N30 ( WRITTEN 09-07-2010 08:42:13 )
N40 (MODIFIED 09-07-2010 13:45:59)
N50 #101=1 ( END MILL )
N60 G17 G54 G90
N70 G40 G49 G80
N80 G53 G00 Z0.
N90 G53 G00 X-16.0 Y0.
( TOOL #1 IS A MILL )
N110 G53 G00 Z0.0 ( RESTART TOOL #1 HERE )
N120 G53 G00 X-16. Y0.
N130 T#101 M6
N140 S124 M3
N150 G53 G00 Z4.0
N160 G54 G00 G90 X0. Y0.
N170 G43 Z2. H#101 D#101 M8
N180 #601=.1 ( STARTING RADIUS )
N190 #602=0 ( STARTING ANGLE ZERO = 3 O:CLOCK )
N200 #603=1 ( SET #603 TO -1 TO MINUS RADIUS 1 TO PLUS RADIUS )
N210 #613=-1 ( SET #613 TO -1 FOR CLOCKWISE MILLING 1 FOR C-CLOCKWISE )
N220 #604=.25 ( FULL CIRCLE PITCH OF ONE GROOVE )
N230 #605=90 ( NUMBER OF STEPS PER 360 DEGREE CIRCLE )
N240 #615=4 ( NUMBER OF FULL OR PARTIAL CIRCLES OR GROOVES )
N250 #625=6 ( CUTTING FEED RATE )
N260 #626=3 ( PLUNGING FEED RATE )
N270 ( END OF INPUTS )
N280 #624 =[#615*#605] ( TOTAL NUMBER OF STEPS )
N290 #606=[[#604/#605]*#603] ( STEP RADIUS )
N300 #608=[[360/#605]*#613]( STEP DEGREES )
N310 IF[#613 EQ 1]#623=3 ( MILL C-CLOCKWISE )
N320 IF[#613 EQ -1]#623=2 ( MILL CLOCKWISE )
N330 #610=[COS[#602]*#601]
N340 #611=[SIN[#602]*#601]
N350 G00 X#610 Y#611
N360 Z.1
N370 G01 Z-0.25 F#625
N380 WH[#624 GT 0]DO1
N390 #624=[#624-1]
N400 #601=[#601+#606]( STEP RADIUS )
N410 #602=[#602+#608]( STEP DEGREES )
N420 #610=[COS[#602]*#601]
N430 #611=[SIN[#602]*#601]
N440 #612=[SQRT[[#610*#610]+[#611*#611]]]
N450 G#623 X#610 Y#611 R#612 F#626
N460 END1
N470 G01 Z.1 F50.
N480 G53 G00 Z0. M9
(UNLOAD HERE)
N500 G53 G00 X-16. Y0.
N510 M30 (END OF MAIN PROGRAM)
%

Last edited by JWK42; 09-08-2010 at 09:07 AM. Reason: fixed line N450
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 09-07-2010, 05:32 PM
christinandavid's Avatar  
Join Date: Aug 2009
Location: New Zealand
Posts: 573
christinandavid is on a distinguished road

Originally Posted by JWK42 View Post
N450 G#623 X#610 Y#611 R#612 F#626
%
Sorry - couldn't resist...

DP
Reply With Quote

  #7   Ban this user!
Old 09-08-2010, 08:13 AM
 
Join Date: Apr 2006
Location: usa
Posts: 128
JWK42 is on a distinguished road

DP

By golly you are right. We fixed it at the machine but never in the office. It does work pretty well. I have never used it to mill a round hole. Would have to add a line to make a full circle cut after the final spiral.
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
MACRO FOR HOLE SPIRAL MILLING ALEXCOMO Fanuc 32 06-23-2011 06:37 AM
Cutting a Spiral with G02/G03 CNC88 donl517 Fadal 24 02-15-2010 07:00 AM
Constant cutting speed macro MrWild Dolphin CADCAM 4 06-10-2008 05:18 AM
spiral macro ? cyclestart G-Code Programing 4 03-23-2008 09:42 PM
Convert Fanuc Macro to Fadal Macro bfoster59 Fadal 1 11-08-2007 11:41 PM




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