![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| Post Processor Files Discuss post processor files here! |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
i want to add spindle speed in my tool list at the begining of my program.any one that can help? it is my own post that i have modified from the original mpmastersub.pst post reads: ptooltable # Write tool table, scans entire file, null tools are negative #tnote = t #toffnote = tloffno #tlngnote = tlngno spaces=0 if t >= zero & tcr>0, "(", *t, ptspace, " | ", plistcomm, " |", *tloffno, phspace, " | ", *tldia, 34, " | ", *tcr, " | ", popnote, ")" if t >= zero & tcr=0, "(", *t, ptspace, " | ", plistcomm, " | ", *tlngno, phspace, " | ", *tloffno, pdspace, " | ", *tldia, 34, " | ", " | ", popnote, ")" #if t >= zero & tcr>0, "(", *tnote, " ", *toffnote, " ", *tlngnote, " ", *tldia, " ", *tcr, " ", popnote, ")" #if t >= zero & tcr=0, "(", *tnote, " ", *toffnote, " ", *tlngnote, " ", *tldia, " ", popnote, ")" if t >= zero, tcnt = tcnt + one spaces=spaces_sav out put= (PROGRAM NAME - POSTTEST.NC) pheader (DATE - MAR-11-05 TIME - 00:00) pheader (T1 | .500 ENDMILL | H1 | D21 | D0.5000" | | CONTOUR....) pwrtt (T2 | #76 DRILL | H2 | D22 | D0.0200" | | DRILL/CBORE) pwrtt (T3 | 7/8 FLAT ENDMILL | H3 | D23 | D0.8750" | | CONTOUR....) pwrtt |
|
#2
| ||||
| ||||
| If I'm not mistaken, you'd have to read thru the NCI and write all the speeds to a buffer file, then spit them out in the tool table. (More complicated than it sounds if you've never done it.) You might be able to piggy-back the buffer for the tool callouts, but I'm not sure.
__________________ Matt San Diego, Ca ___ o o o_ [l_,[_____], l---L - □lllllll□- ( )_) ( )_)--)_) (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management) |
|
#3
| |||
| |||
| +1 Rekd, I had a post a couple years back that did this but I do remember it becoming a problem for speed changes and if the same tool was used again later in the program. The end result was I quit adding that info to the tool table. Too much info in my opinion. Sometimes durring a set up (especially first runs) the speed was changed at the machine (especially on some of the hell hangers I use, its sometimes a geuss for optimum speeds). Or the job would move to a spindle where the speed range was different. Either way, this made the 'speed' info in the tool table useless. Sorry, this doesn't answer the original question. For an answer, yes it can be done. How? I don't remember and I'm not in front of a workstation. JM2C.... |
|
#4
| ||||
| ||||
| Agreed psychomill. The variables involved make it more of a pain than a help. The info I have in my header are things that likely won't change. I used to put RPM into one of my setup sheets, but that became more of a burden than it was worth as well. IMNSHO, RPM are typically not needed in this dialog. At most I might consider Surface Feet, but even that is likely to change.
__________________ Matt San Diego, Ca ___ o o o_ [l_,[_____], l---L - □lllllll□- ( )_) ( )_)--)_) (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management) |
|
#5
| ||||
| ||||
| depending on what version of software you have it really isn't that hard. I notice you are using Ptooltable instead of pwrtt. ptooltable is an older version of creating the tool table output and is not a flexable as pwrtt. the pwrtt postblock can be called and output prior to the code (table at top of program) or it can be called and the end of the file. This is done by switching the "tooltable" option the lines are as follow. tooltable :0 - off tooltable :1 - on output for beginning of program tooltable :3 - on ouptut for end of program (this might be 2 not 3) Now if you create a pwrtt postblock (if your post doens't already have one) then copy all your code from ptooltable into the pwrtt postblock you will get the same output as you have so far with tooltable set to 1. Now if you want to access the spindle speed then use the "ss" variable to get it. If this isn't used in your post then you need to format it 1st. the ss variable will hold the spindle speed for each tool that is output in the tool table. I hope this helps. NOTE : I created this based on V9 of the mastercam system. This should also work for the V8 systems and also mabe V7 but I am not sure. Alex |
| Sponsored Links |
![]() |
| 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 |
| mazak v5/fanuc 6mb tool changer mastercam post edit | wild01 | Post Processor Files | 1 | 10-26-2006 09:44 AM |
| Cost of Cimco DNC Max 4 and Cimco Edit | CBNDude | CNCzone Club House | 5 | 03-10-2005 03:44 PM |