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 03-24-2008, 02:35 PM
Donkey Hotey's Avatar  
Join Date: Nov 2007
Location: USA
Posts: 1,636
Donkey Hotey is on a distinguished road
Helical pocketing?

I've got a problem with my Mastercam post. Before I can try to fix it, I have to figure out what a helical move should look like.

This is a simple, helical bore with a 0.5" endmill. It's basically opening up a counterbore for a SHCS.

Here is the output:
Code:
%
O0000 (Helical Bore)
N100 G20
N110 G0 G17 G40 G49 G80 G90
( TOOL - 3  DIA. OFF. - 3  LEN. - 3  DIA. - .5 )
N120 T3 M6
N130 G0 G90 G55 X-.1237 Y-.1237 S10000 M3
N140 G43 H3 Z.7 M8

N150 G3 Z.62 R.1749 F40.
N160 Z.54 R.1749
N170 Z.46 R.1749
N180 Z.38 R.1749
N190 Z.3 R.1749
N200 X0. Y.175 Z.25 R.1749
N210 R.175 F12.
N220 Y0. R.0875

N230 G0 Z.7 M9 N240 G91 G28 Z0.
N250 G28 Y0.
N260 M30
%
I know that the Haas wants a negative R value if it's going to track a 360 degree arc. If I read the manual correctly, to use the XYZ method, one of the values has to change. In this case, the move is ending at the same XY but different Z. I get the following error:

Invalid X, Y OR

I changed all of the moves above to be negative R. It still gives the same error. What should the output look like for those helical moves? I'm stumped.
__________________
Greg
Reply With Quote

  #2   Ban this user!
Old 03-24-2008, 02:50 PM
 
Join Date: Aug 2005
Location: USA
Posts: 578
PBMW is on a distinguished road

Send me the file and I'll have a look at it...Emails in the profile
Reply With Quote

  #3   Ban this user!
Old 03-24-2008, 03:16 PM
 
Join Date: Jul 2007
Location: USA
Posts: 195
JROM is on a distinguished road

first off all your z values are positive......that's not right
And I think you need an end point for the arcs in x&y.
Just my two cents Good luck
__________________
Be carefull what you wish for, you might get it.
Reply With Quote

  #4   Ban this user!
Old 03-24-2008, 04:00 PM
 
Join Date: Feb 2008
Location: usa
Age: 35
Posts: 40
littlerobb is on a distinguished road
donkey

You are way brighter than I am but, I have done this before. Move your tool to the center of the pocket, and use a g12 or g13.

Example (maybe)
G0 x0 y0 z.1
G1 Z-.1
G91(incremental)
G12 X0 R Q L(loops) D F
G90(absolute)
g1 z.i
Reply With Quote

  #5   Ban this user!
Old 03-24-2008, 04:11 PM
 
Join Date: May 2007
Location: US
Posts: 779
Andre' B is on a distinguished road

You can not do a full 360 degrees with a radius specified arc. The start and end points are the same so there is no way for the control to calculate the center of the arc.
You need to us I J type arcs.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 03-24-2008, 05:22 PM
 
Join Date: Jul 2005
Location: Canada
Posts: 11,565
Geof will become famous soon enough

N130 G0 G90 G55 X-.1237 Y-.1237 S10000 M3
N140 G43 H3 Z.7 M8

N150 G91 G3 I-.1237 J0.1237 Z-.08 F40. L5
N170 G90 G3 I-.1237 J.1237 Z-.45 F40. L2

N230 G0 Z.7 M9
N240 G91 G28 Z0
__________________
An open mind is a virtue...so long as all the common sense has not leaked out.
Reply With Quote

  #7   Ban this user!
Old 03-24-2008, 08:07 PM
Donkey Hotey's Avatar  
Join Date: Nov 2007
Location: USA
Posts: 1,636
Donkey Hotey is on a distinguished road

From the look of things, it's safe to say that I have to rewrite that portion of the post to output IJ moves. I'll see if I can figure it out. Maybe a post in the MC post forum will net some answers.

I don't know if Mastercam posts all arcs the same way or if there is a special case for doing helical pocketing. My fear is that all arc moves will have to be changed to IJ and I'll hate trying to read the output at the control.

Thanks for all the suggestions guys. I knew this bunch would have an answer.
__________________
Greg
Reply With Quote

  #8   Ban this user!
Old 03-24-2008, 10:03 PM
 
Join Date: Feb 2008
Location: usa
Age: 35
Posts: 40
littlerobb is on a distinguished road
Red face my mistake

Andre b is correct we can cut 359.999 degrees with an R command but it will leave a little mark.
Reply With Quote

  #9   Ban this user!
Old 03-24-2008, 10:12 PM
Donkey Hotey's Avatar  
Join Date: Nov 2007
Location: USA
Posts: 1,636
Donkey Hotey is on a distinguished road

I didn't understand why IJK even existed or why XYZ wasn't good enough--until I tried to solve the problem myself (so I could edit the post). Without declaring the arc center (IJK), you have no anchor for the arc.

Less than 360 degrees, G02 or G03, and there is only one solution. Draw a line between the two points, bisect it, move down the bisector by the 'R' value and you have a center point.

Once it becomes a full circle, the arc center could be anywhere. I'm not sure why that wasn't more obvious to me in the beginning.

I'm going to check the post and see if there is a switch to output IJK arcs. I seem to remember seeing that somewhere.
__________________
Greg
Reply With Quote

  #10   Ban this user!
Old 03-24-2008, 10:13 PM
 
Join Date: Jul 2005
Location: Canada
Posts: 11,565
Geof will become famous soon enough

If you insist on doing it the hard way see if you can configure it to output sequential semicircles.
__________________
An open mind is a virtue...so long as all the common sense has not leaked out.
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 03-24-2008, 10:24 PM
Donkey Hotey's Avatar  
Join Date: Nov 2007
Location: USA
Posts: 1,636
Donkey Hotey is on a distinguished road

That's a very good suggestion.

I have almost zero experience with MC posts and my last programming was Visual Basic for Applications about 9 years ago (and I was not ever that good).

Semi-circles or IJK may depend on how much I can learn from the existing code.

All of these challenges just hone my skills for when I want to do something really cool with the mill/MC/post.
__________________
Greg
Reply With Quote

  #12   Ban this user!
Old 03-24-2008, 10:32 PM
 
Join Date: Jul 2005
Location: Canada
Posts: 11,565
Geof will become famous soon enough

Originally Posted by Donkey Hotey View Post
.....for when I want to do something really cool with the mill/MC/post.
When you are using CAM 'cool' is somebody else's cool; namely whoever made the CAM program capable of doing what is considered cool.

When you hand code and do something cool, you have done something cool.

Am I a killjoy.
__________________
An open mind is a virtue...so long as all the common sense has not leaked out.
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 with pocketing! wdp67 BobCad-Cam 4 01-18-2008 03:41 PM
help with pocketing on MCX genexis Mastercam 9 06-29-2007 10:35 AM
pocketing signIT DIY-CNC Router Table Machines 7 06-06-2006 09:04 AM
Pocketing CNCadmin GRZ Software- MeshCAM 5 05-11-2006 08:44 PM
Pocketing dneisler BobCad-Cam 4 12-18-2005 10:57 PM




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