![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| Fanuc Discuss Fanuc controllers here! |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
Hello, boys and girls. I really need help here. We have a Dah-Lih lathe with fanuc manual 0-MC software. How is the best way to program an elliptic toolpath? Is there a function for this, or can i use a mathematical expression? Or do i simply have to use a CAM-software for this? Best regards Daniel |
|
#3
| |||
| |||
| If the control has the optional macro B this bit of code will do it. Code: #100= 2 (X AXIS RADIUS) #101= 0.25 (Y SCALE, 1.0 FOR A CIRCLE) #102= 1 (STEP ANGLE) (----------------------) #103= 0 (CURRENT ANGLE) G1X[#100*COS[0]]Y[#101*#100*SIN[0]] WHILE [#103 LT 360] DO1 G1X[#100*COS[#103]]Y[#101*#100*SIN[#103]]F10.0 #103=#103+#102 END1 G1X[#100*COS[360]]Y[#101*#100*SIN[360]] G0X0.0Y0.0 |
|
#7
| ||||
| ||||
| without cam, macro is a good way to do it. But an ellipse approximated with line of a constant angular increment won't have the same tolerance all along the profile, especially if there is a big difference between X and Y radius. I wrote a macro trying to solve that using an increment inversely proportional to the distance from the center to the current point on the ellipse. It's a mill macro but like Geof said, it is not to hard to convert in lathe macro. More detail here: http://www.cnczone.com/forums/508047-post9.html |
|
#10
| |||
| |||
| You are right, only the center of the tool is moving in an ellipse, disregarding the cord error. The part that is cut will be distorted some by the radius of the tool. Turning on radius compensation should take care of that. But keep the end mill small relative to the minor diameter and for many jobs it is not going to make a measurable difference. |
| Sponsored Links |
|
#11
| ||||
| ||||
| An ellipse is one of those curves you can't really 'measure' so it's not usually that important if it's not perfect as long as it is smooth. Our hacky programmers in the office don't have a clue and draw an ellipse in Autocad then manually best-fit 3 or 4 curves per quadrant with close-enough tangents then dimension the start/end points and center points to get the coordinates then use that data to program the part. Depending on how knowledgeable your quality control people are that method can normally be used with impunity. |
![]() |
| Tags |
| ellipse, fanuc, programming |
| 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!- FACETED ELLIPSE | cncstephen | Mastercam | 12 | 06-15-2011 04:23 AM |
| ELLIPSE | BOBINETTE | Mach Wizards, Macros, & Addons | 11 | 07-04-2009 06:34 PM |
| Newbie- Wrapped Ellipse | TZ250 | BobCad-Cam | 1 | 05-22-2009 03:07 AM |
| Need Help!- super ellipse | Solgaard | Commercial CNC Wood Routers | 2 | 01-30-2009 01:11 AM |
| Milling an Ellipse | Dave4x4 | General CAM Discussion | 2 | 02-28-2008 03:24 PM |