![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| Haas Mills Discuss Haas machinery here! |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| ||||
| ||||
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 % 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 |
|
#4
| |||
| |||
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 |
|
#6
| |||
| |||
| 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. |
|
#7
| ||||
| ||||
| 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 |
|
#9
| ||||
| ||||
| 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 |
|
#10
| |||
| |||
| 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. |
| Sponsored Links |
|
#11
| ||||
| ||||
| 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 |
|
#12
| |||
| |||
| 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. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |
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 |