![]() | |
| 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
| ||||
| ||||
Ok, I'm just a little tired of programing Keyways....fanuc 18i MACRO TIME!!! - this will be my first macro I'm on a FTV (fixed table vertical) made by Cinncinatti Lamb (British???), X 145", Y 32.09", Z 30.5". It seems like a fairly good machine, but Cinncinatti really buggered the 18i controller... we bought all the bells and whistles... for it, and i'd like to try out the Macro's... So, G65 A1 B0.5 C7.0 P9501.... I THINK?!?!?!???? I have most of the stuff figured out, But,?... is it possible to tell the machine to move to X(32-A/2+0.01)???? OR do I have to make a variable(lets say R) R = 32-A/2 + 0.01 then tell Y to move "G0 YR" ??? ..... I've already written out (in my own eyes) ...on paper ... an "acceptable" program... My company requires radii at the the bottom of all keyways, so my macro "roughs" the keyway, leaving a square shoulder at the bottom, then the "finish/testcut" i use diameter comp. and the finish cutter provides the radius. So, the Main program would have two tools, the - Rougher (indexable) no corner radius , doing multiple passes, then leaving an acceptable amount in the corners for a corner radius, and then the - Finisher, (solid carbide, with suitable radius). my ruffer would use a G65 A B C D E F (without G41/G42) my finisher would use G65 A B C D (cutter radius provided in tool table) A= Keyway width (+value) B= Keyway depth (-value) C= Keyway length (+value) D= Cutter Diameter...used to determine how far to stay off of shaft before cutting (+ val), also, during roughing determines Y +/- and R values E= Maximum Depth of Roughing Cut (+ val) F= Bottom of Keyway corner radius, used during roughing, if rougher does not have a radius. (+val) If ANYbody has any helpfull hints as to using "macros" in Fanuc 18i, I will buy U drinks In Saskatoon, ..till the cows come home.....honest...See U there... Thanks for any help, I would also like to look at ANY other Macro that works with fanuc 18, ... , I'm not even sure how a 18i does math.... exept from the crappy CD, that my company won't even print.... they won't print the 2000 page manual, but they will print any page I need... Dammit... by the time i read the page, ... I don't need it printed...ArrrGGG.. Oh well.. anyways... Thanks again, I know how much effort goes into this stuff... !!! Last edited by BeanO; 02-25-2007 at 07:28 AM. |
|
#2
| ||||
| ||||
I printed out the macro part of the CD manual. "A" equals variable "#1" etc.. use [] instead of () -Oh, btw, we "never" cut a keyway with the "correct" size cutter, we always program with a smaller cutter... my original macro is crap, but now i have the book printed... it shouldn't be a problem to make the macro -I hope. (I'll be back tommorow asking for help...) |
![]() |
| 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 |
| Sample Fanuc Tool change macro | dpuch | G-Code Programing | 6 | 06-01-2011 08:13 PM |
| fanuc macro | nutty | Fanuc | 6 | 12-22-2010 10:34 AM |
| Fanuc Macro and G-Code Programming | kilogulf59 | Fanuc | 3 | 11-01-2006 11:02 AM |
| Macro help FANUC 16 I mb | Bluesman | General CNC (Mill and Lathe) Control Software (NC) | 4 | 02-07-2006 03:05 PM |