![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| Parametric Programing (custom macro b, fadal macro, okuma user task) |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
I have this old girl for a while now and have been using Mastercam all along. I am trying to figure out how to pocket in a small program. With the machines manual it is not like walking in the park. I spat out this program in Mastercam and ran it the tool config is set. Below N58 i think i will be able to change it to the lpx+lpy commands with no problem.N14-N56 is the problem? I will be doing all lengths and widths so using Mastercam sucks if you have to post half your day away. Attachment is in notepad Thanks in Advance Dan |
|
#2
| |||
| |||
Not expecting a freebie,just dont get it (tested working file in prev.post) A Shaker Door 3/4 MDF, 2 1/4 rail all around, 1/4 Deep pocket, Four tools N10 LX=406.30 LY=304.70 LZ=18 HC1 Z-PRK N20 PAN=1 UT=1 L=GCUA N30 PAN=2 UT=2 L=GCUA N40 AA=LPX-66.00 N50 BB=LPY-66.00 N60 cc=(Y-17.150) : stepover amount N70 DD=(LPY-133.2/17.150) :# of passes N80 X66.60 Y=AA Z=PRK TP2 PRF=-!) G40 F3 L=PON N90 G1 ZI11.00 N100 EE=0 :1 N110 EE=EE+1 N110 JM(EE>=DD):2 N120 G1 X66.60 Y=BB N130 G1 Y=CC N140 G1 X66.60 N150 JM:1 N160 G0 ZI-11 :2 N170 AND SO ON........ I know its out a mile ..........Machine thinks so too. |
|
#3
| |||
| |||
| N10 LX=406.30 LY=304.70 LZ=18 HC1 Z-PRK N20 PAN=1 UT=1 L=GCUA N30 PAN=2 UT=2 L=GCUA N71 TD=19/2 ;TOOL DIAMETER/2 N40 AA=LPX-66.00-TD N50 BB=LPY-66.00-TD N60 cc=(TD*1.5)/2 ; stepover amount N70 DD=LPY-(2*AA) ;# of passes N80 X66.60+TD Y=66.6+TD Z=PRK TP2 PRF=0 G40 F3 L=PON N90 G1 ZI 6.00 N100 EE=0 :1 N110 EE=EE+1 N110 JM(EE>=DD):2 N120 G1 X=AA N130 YI=CC N140 G1 X=66.6+TD N141 YI=CC N150 JM:1 :2 ;CLEANUP EDGE PASS N160 G1 X=66.6+TD Y=BB N161 G1 X=AA N162 G1 Y=66.6+TD N163 G1 X=66.6+TD N164 G1 Y=BB
__________________ so much to learn, so much to pass on. |
|
#4
| |||
| |||
| Thanks for replying on my little headache,I studied your output and tried running it. With it, Issues i am having are, N110 to N150 .The JM(EE>=DD):2 Does not count down unless i add JM(EE>=DD/14.25):2 this way i get a full toolpath in work area. Since i have a steppover of 7.125, The program jumps two steps in X in the loop and i can not finish the pocket without being short one tool pass in the X axis. Even if pannel sizes are increased with different stepovers not quite right."Not smooth like Molson Canadian" I could run it like this with two cleanup passes, but that bits. Thanks Dan |
|
#5
| |||
| |||
| i didnt run the code. just altered yours on screen, after a few beers. never expected it to run fully first time :-) i normally would work out number of passes then subtract one every loop, then when its 0 make the jump might work better if i put the /2 on the right line N60 cc=(TD*1.5) ; stepover amount ; 75%tool stepover N70 DD=(LPY-(2*AA)/2)/cc ;# of passes divided by 2 as the toolpath in loop gives 2 passes in x , not 1 hopefully that will get you a bit closer it may still need tweeking and hopefully you can follow what its doing. having a biesse you have to do code like this . its a pain try doing this! YouTube - Biesse "duzzit" cnc . fast oak roughing (love part1)
__________________ so much to learn, so much to pass on. |
| Sponsored Links |
|
#6
| |||
| |||
| Thanks again I was looking only in the box not outside.(loop) I added line N104 to complete the pass after the loop,and "wam" there it was, I will attach final program if you want to try it, just check your tool config depths. The reason i posted was that i didn't do a (loop) for at least ten years,didn't know if it was right since all i use is Mastercam and it will "Not" do parametric. Thanks again for your help Dan |
![]() |
| 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 |
| Biesse rover 316 controller ID question | 67barracuda | CNC Machining Centers | 9 | 11-13-2011 11:16 AM |
| Parametric programming question. | chrisryn | Parametric Programing | 12 | 05-27-2008 12:04 PM |
| parametric question | PaintItBlue | Haas Mills | 5 | 01-05-2008 07:05 PM |
| parametric programs | DaveN | Deckel, Maho, Aciera, Abene Mills | 4 | 11-22-2007 06:55 AM |
| Parametric Programming | widgitmaster | BobCad-Cam | 7 | 05-04-2006 01:04 PM |