Dustin S.
Verified Members-
Posts
75 -
Joined
-
Last visited
Never
Content Type
Profiles
Forums
Downloads
Store
eMastercam Wiki
Blogs
Gallery
Events
Everything posted by Dustin S.
-
I don't wanna xxxxe up the forum but I want to get this post worked out... we have a big job getting ready to be posted out and the less editing we have to do to the finished code would be great. If youd rather I didn't post multiple let me know ill wait my turn ------------------------------------------------- ok problem is i edited the post to only out put the tool number and tool name like so: code: ( T1 | 1/4 3-FL ISCAR ) ( T2 | 1/8SHANK .125DIA .0313CR E.M. ) but it turns out like so code: ( T6 | 1/8 2-FLUTE E.M. ( T9 | 1/4 X .02R BULL E.M. ) ( T3 | 1/4 X 90 DEG SPOTDRILL ( T10 | #38 .1015 JOBBER DRILL ( T11 | 2-56 STI FORMER ( 1/8 2-FLUTE E.M. ) and heres the part of the post i edited code: ptoolcomment #Comment for tool tnote = t$, toffnote = tloffno$, tlngnote = tlngno$ if tool_info = 1 | tool_info = 3, sopen_prn, pstrtool, sclose_prn, e$ # sdelimiter, tnote, sdelimiter, toffnote, sdelimiter, tlngnote, sdelimiter, tldia$, sclose_prn, e$ #PUT SCLOSE_PRN THEN COMMENT TO TURN OFF TOOL GIBERISH ptooltable #Tooltable output sopen_prn, *t$, sdelimiter, pstrtool,# sdelimiter, tlngno$, [if comp_type > 0 & comp_type < 4,# sdelimiter, tloffno$, sdelimiter, scomp_type, sdelimiter, tldia$], [if xy_stock <> 0 | z_stock <> 0, sdelimiter, xy_stock, sdelimiter, z_stock], sclose_prn, e$ pstrtool #Comment for tool if strtool$ <> sblank, [ strtool$ = ucase(strtool$) *strtool$ ]
-
to edit the coolant i moved code around this is what it was code: prapidout #Output to NC of linear movement - rapid pcan1, pbld, n$, sgplane, `sgcode, sgabsinc, pwcs, pccdia, pxout, pyout, pzout, pcout, strcantext, scoolant, e$ #Modify following line to customize output for high-speed toolpath #tool inspection/change points if rpd_typ$ = 7, pbld, n$, "M00", "(TOOL INSPECTION POINT - POST CUSTOMIZATION REQUIRED)", e$ then edited it so it looked like this code: prapidout #Output to NC of linear movement - rapid pcan1, pbld, n$, sgplane, `sgcode, sgabsinc, pwcs, pccdia, pxout, pyout, pzout, pcout, strcantext, e$ scoolant, e$ #Modify following line to customize output for high-speed toolpath #tool inspection/change points if rpd_typ$ = 7, pbld, n$, "M00", "(TOOL INSPECTION POINT - POST CUSTOMIZATION REQUIRED)", e$
-
This is the part of the post ive edited to get what I want: code: psof$ #Start of file for non-zero tool number prv_tloffno$ = c9k pcuttype toolchng = one if ntools$ = one, [ #skip single tool outputs, stagetool must be on stagetool = m_one !next_tool$ ] #pbld, n$, *smetric, e$ #pbld, n$, *sgcode, *sgplane, scc0, sg49, sg80, *sgabsinc, e$ sav_absinc = absinc$ if mi1$ <= one, #Work coordinate system [ absinc$ = one # pfbld, n$, sgabsinc, *sg28ref, "Z0.", e$ # pfbld, n$, *sg28ref, "X0.", "Y0.", e$ # pfbld, n$, sg92, *xh$, *yh$, *zh$, e$ absinc$ = sav_absinc ] pcom_moveb pcheckaxis c_mmlt$ #Multiple tool subprogram call ptoolcomment comment$ pcan " ", e$ pbld, n$, *t$, sm06, e$ pbld, n$, "G0", "G40", sg43, *sgabsinc, pwcs, e$ pindex if mi1$ > one, absinc$ = zero #pcan1, pbld, n$, *sgcode, *sgabsinc, pwcs, pfxout, pfyout, pfcout, # *speed, *spindle, pgear, strcantext, e$ pbld, n$, pfxout, pfyout, pfcout, *spindle, *speed, E$ pfzout, *tlngno$, e$ #pbld, n$, sg43, *tlngno$, pfzout, pstagetool, e$ pbld, n$, scoolant, e$ absinc$ = sav_absinc pcom_movea toolchng = zero c_msng$ #Single tool subprogram call ptlchg0$ #Call from NCI null tool change (tool number repeats) pcuttype pcom_moveb pcheckaxis !op_id$ c_mmlt$ #Multiple tool subprogram call comment$ pcan pbld, n$, sgplane, e$ pspindchng pbld, n$, scoolant, e$ if mi1$ > one & workofs$ <> prv_workofs$, [ sav_absinc = absinc$ absinc$ = zero pbld, n$, sgabsinc, pwcs, pfxout, pfyout, pfzout, pfcout, e$ pe_inc_calc ps_inc_calc absinc$ = sav_absinc ] if cuttype = zero, ppos_cax_lin if gcode$ = one, plinout else, prapidout pcom_movea c_msng$ #Single tool subprogram call ptlchg$ #Tool change pcuttype toolchng = one if mi1$ = one, #Work coordinate system [ pfbld, n$, *sg28ref, "X0.", "Y0.", e$ pfbld, n$, sg92, *xh$, *yh$, *zh$, e$ ] if prog_stop = 1, pbld, n$, *sm01, e$ if prog_stop = 2, pbld, n$, *sm00, e$ pcom_moveb pcheckaxis c_mmlt$ #Multiple tool subprogram call pbld, " ", e$ ptoolcomment comment$ pcan pbld, n$, *t$, sm06, e$ pbld, n$, "G0", "G40", sg43, *sgabsinc, pwcs, e$ pindex sav_absinc = absinc$ if mi1$ > one, absinc$ = zero #pcan1, pbld, n$, *sgcode, *sgabsinc, pwcs, pfxout, pfyout, pfcout, #*speed, *spindle, pgear, strcantext, e$ pbld, n$, pfxout, pfyout, pfcout, pfzout, *tlngno$ *spindle, *speed, e$ #pbld, n$, sg43, *tlngno$, pfzout, pstagetool, e$ pbld, n$, scoolant,e$ absinc$ = sav_absinc pcom_movea toolchng = zero c_msng$ #Single tool subprogram call I edited the psof$ section and copied it to the ptlchg$ section just the part pertaining to this output of code: G0 G40 G43 G90 X.2628 Y.0433 A0. M3 S4000 Z2. H1 Z.1
-
The coolant code for tool 1 is: T1 M6 G0 G40 G43 G90 X.2628 Y.0433 Z2. H1 M3 S4000 Z.1 M8 then for all following tools: T2 M6 G0 G40 G43 G90 X.1161 Y-.185 Z2. H4 M3 S10000 Z.1 G1 Z-.03 F50. I changed the post for my liking and all the changes worked for tool one but not the rest of the tools in my program
-
Heres the section of the post Im using... psof$ #Start of file for non-zero tool number prv_tloffno$ = c9k pcuttype toolchng = one if ntools$ = one, [ #skip single tool outputs, stagetool must be on stagetool = m_one !next_tool$ ] #pbld, n$, *smetric, e$ #pbld, n$, *sgcode, *sgplane, scc0, sg49, sg80, *sgabsinc, e$ sav_absinc = absinc$ if mi1$ <= one, #Work coordinate system [ absinc$ = one # pfbld, n$, sgabsinc, *sg28ref, "Z0.", e$ # pfbld, n$, *sg28ref, "X0.", "Y0.", e$ # pfbld, n$, sg92, *xh$, *yh$, *zh$, e$ absinc$ = sav_absinc ] pcom_moveb pcheckaxis c_mmlt$ #Multiple tool subprogram call ptoolcomment comment$ pcan " ", e$ pbld, n$, *t$, sm06, e$ pbld, n$, "G0", "G40", sg43, *sgabsinc, pwcs, e$ pindex if mi1$ > one, absinc$ = zero #pcan1, pbld, n$, *sgcode, *sgabsinc, pwcs, pfxout, pfyout, pfcout, #*speed, *spindle, pgear, strcantext, e$ pbld, n$, pfxout, pfyout, pfzout, *tlngno$, *spindle, *speed, e$ # A axis = pfcout, absinc$ = sav_absinc pcom_movea toolchng = zero C_msng$ #Single tool subprogram call ptlchg0$ #Call from NCI null tool change (tool number repeats) pcuttype pcom_moveb pcheckaxis !op_id$ c_mmlt$ #Multiple tool subprogram call comment$ pcan pbld, n$, sgplane, e$ pspindchng pbld, n$, scoolant, e$ if mi1$ > one & workofs$ <> prv_workofs$, [ sav_absinc = absinc$ absinc$ = zero pbld, n$, sgabsinc, pwcs, pfxout, pfyout, pfzout, pfcout, e$ pe_inc_calc ps_inc_calc absinc$ = sav_absinc ] if cuttype = zero, ppos_cax_lin if gcode$ = one, plinout else, prapidout pcom_movea c_msng$ #Single tool subprogram call ptlchg$ #Tool change pcuttype scoolant, e$ toolchng = one if mi1$ = one, #Work coordinate system [ pfbld, n$, *sg28ref, "X0.", "Y0.", e$ pfbld, n$, sg92, *xh$, *yh$, *zh$, e$ ] if prog_stop = 1, pbld, n$, *sm01, e$ if prog_stop = 2, pbld, n$, *sm00, e$ pcom_moveb pcheckaxis c_mmlt$ #Multiple tool subprogram call pbld, " ", e$ ptoolcomment comment$ pcan pbld, n$, *t$, sm06, e$ pbld, n$, "G0", "G40", sg43, *sgabsinc, pwcs, e$ pindex sav_absinc = absinc$ if mi1$ > one, absinc$ = zero #pcan1, pbld, n$, *sgcode, *sgabsinc, pwcs, pfxout, pfyout, pfcout, #*speed, *spindle, pgear, strcantext, e$ pbld, n$, pfxout, pfyout, pfzout, *tlngno$, *spindle, *speed, e$ # A axis = pfcout, absinc$ = sav_absinc pcom_movea toolchng = zero c_msng$ #Single tool subprogram call
-
Ive changed what I need to for the first tool and it post the way I want but the 2nd, 3rd,.... etc aren't following suite: notice tool 1 and tool 2 are exactly the same: T1 M6 psof$ psof$ 72. G0 G40 G43 G90 psof$ psof$ 72. X.2628 Y.0433 Z2. H1 M3 S4000 psof$ psof$ 72. Z.1 pzrapid$ prapidout 74. M8 pzrapid$ prapidout 74. G1 Z-.144 F50. plin$ plinout 76. G41 D1 X.2344 Y-.0315 F8. plin$ plinout 78. G3 X.2308 Y-.0441 I.0701 J-.0266 pcir$ pcirout 80. G2 X.0786 Y-.17 I-.1522 J.0291 pcir$ pcirout 82. G1 X-.0786 plin$ plinout 84. G2 X-.2308 Y-.0441 I0. J.155 pcir$ pcirout 86. G3 X-.2344 Y-.0315 I-.0737 J-.014 pcir$ pcirout 88. G1 G40 X-.2628 Y.0433 plin$ plinout 90. G0 Z2. pzrapid$ prapidout 94. M01 ptlchg$ ptlchg$ 164. ptlchg$ ptlchg$ 164. ( 1/8SHANK .125DIA .0313CR E.M. ) ptlchg$ ptoolcomment 164. ( TOOL COMMENT2 ) pcomment$ pcomment2 164. T2 M6 ptlchg$ ptlchg$ 164. G0 G40 G43 G90 ptlchg$ ptlchg$ 164. X.1161 Y-.185 Z2. H4 M3 S10000 ptlchg$ ptlchg$ 164. Z.1 pzrapid$ prapidout 166. G1 Z-.03 F50. plin$ plinout 168. G41 D4 Y-.145 F20. plin$ plinout 170. G3 X.0786 Y-.1075 I-.0375 J0. pcir$ pcirout 172. G1 X-.0786 plin$ plinout 174. G2 X-.1694 Y-.0323 I0. J.0925 pcir$ pcirout 176. X-.1725 Y0. I.1694 J.0323 pcir$ pcirout 178. X0. Y.1725 I.1725 J0. pcir$ pcirout 178. X.1725 Y0. I0. J-.1725 pcir$ pcirout 178. X.1694 Y-.0323 I-.1725 J0. pcir$ pcirout 180. X.0786 Y-.1075 I-.0908 J.0173 pcir$ pcirout 182. G3 X.0411 Y-.145 I0. J-.0375 pcir$ pcirout 184. G1 G40 Y-.185 plin$ plinout 186. G0 Z2. pzrapid$ prapidout 190. G28 Y0. peof$ peof$ 192. M30 peof$ peof$ 192. % peof$ peof$ 192.
-
I got it all figured out now... I did the ole' trial and error method I can now take stuff out of a post using # < that wonderful character! I used the debugging feature to find the sections in the post I wanted to edit made one change at a time posting results till I got what I wanted... This topic is wrapped up Thanks for the help
-
the debugging option helped ALOT and am using # to kill code i don't want... worken great and back-up saving every time I hit a benchmark Still can't figure out how to kill the tool offset # diameter offset# workoffset# and such as listed above
-
Not sure I want to post my whole machine post here so let me know what you might need to help me out... Thanks again
-
Well that was fast :-p im tryingto get rid of all the tool information after 1/4 3-fl iscar and the / g91... /g28.... /g92.... thought that was debug related information ?! but it doesn't turn off... ( T1 | 1/4 3-FL ISCAR | H1 | D1 | WEAR COMP | TOOL DIA. - .25 ) pwrtt$ ptooltable 68. ( T2 | 1/8SHANK .125DIA .0313CR E.M. | H2 | D2 | WEAR COMP | TOOL DIA. - .125 ) pwrtt$ ptooltable 68. / G91 G28 Z0. psof$ p__4:830 70. / G28 X0. Y0. psof$ p__4:830 70. / G92 X10. Y10. Z10. psof$ p__4:830 70. ( 1/4 3-FL ISCAR | TOOL - 1 | DIA. OFF. - 1 | LEN. - 1 | TOOL DIA. - .25 ) psof$ ptoolcomment 70. psof$ psof$ 70. T1 M6 psof$ psof$ 70. G0 G40 G43 G90 psof$ psof$ 70. X.1536 Y-.325 A0. Z2. H1 M3 S4000 psof$ psof$ 70. Z.1 pzrapid$ prapidout 72. G1 Z-.144 F50. plin$ plinout 74. G41 D1 Y-.245 F8. plin$ plinout 76. G3 X.0786 Y-.17 R.075 pcir$ pcirout 78. G1 X-.0786 plin$ plinout 80. G2 X-.2308 Y-.0441 R.155 pcir$ pcirout 82. X.235 Y0. R.235 pcir$ pcirout 84. X.2308 Y-.0441 R.235 pcir$ pcirout 86. X.0786 Y-.17 R.155 pcir$ pcirout 88. G3 X.0036 Y-.245 R.075 pcir$ pcirout 90. G1 G40 Y-.325 plin$ plinout 92. Z.1 F500. plin$ plinout 96. G0 Z2. pzrapid$ prapidout 98. G91 G28 Z0. ptlchg1002$ p__9:934 164. M01 ptlchg$ ptlchg$ 166.
-
You are all correct... I knew about the debugger but wasn't sure how it worked Im gonna try to do a little more myself but Ill post it if I can't figure it out. The little bit of information here helped me get out of my rut! Thank you to everyone
-
After researching on here and fiddling with the posts myself I called my reseller and got a copy of the "POST cd" but its all just kinda thrown on there not sure where to start... I can list whats on the CD but ill start by asking for a suggestion? Hand outs folder (printed these out) Control Def. review Power point (watched it) Machine Def. review power point (watched it) 5 axis generic post power point (don't need to watch) Examples folder MD CD FAQ folder MD CD Over View folder Modules folder Basic Post 2007 power point (watched it) Mcamx_post_parameter_reference PDF MC Definitions PDF whats new x2 post PDF X2_post_installation_setup .exe let me know maybe i'm missing something but i watched the basic Post 2007 and it didn't go sequentially I have a basic understanding but like right now I want to edit start-up codes and NO CLUE where to start
-
that worked... Thanks guys
-
An ERROR: Write NC operation information must be enabled in the control definition. keeps popping up when I got to post anything I went into the control definition and under files checked "write NC operation information" and "source ops peramiters only" is checked any reason else that would keep popping up? Thanks guys
-
got it now i changed: fstrsel sm04 spdir2 spindle 3 -1 to fstrsel sm03 spdir2 spindle 3 -1 thanks guys
-
looks right I opened a new file and drilled a hole its comen out m4 as well can someone tell me where in the post it reads it i may have messed something up there
-
All my speeds are positive its posting an M4 i want an M3... hmmm
-
Ive been playen with my post and been fairly succesful thanks to this forum *thanks guys* BUT today I went to post out and all my M3s are M4s i specified a CW direction on all my toolpaths but its posting M4's and changing the tool spindle direction has no affect so im thinken i did something in the post...? thanks in advance
-
Ok my tombstone and WCS is set-up as instructed *p.s. i have been searching still no help* but my question is when i go to say dril a hole it drills to center. example it says my depth is a positive 4" how do I get it to set the Z0 at the face of my part aka stock? or am i supposed to pull all my numbers from the center of the tombstone? we try to put out x0y0 at the corner of a part so all of our numbers match print... how is every one else doing this?
-
yeah sorry will do let this one fall down thru
-
Ive drawn a tombstone and all the parts on it and I read that the vmc = 1 (vertical machine) uses the top toolplane as the base machine # view. # vmc = 0 (horizontal machine) uses the front toolplane as the base machine # view. so do I need to change my VMC to 0 and set the front as my base view and Im assuming Base is looking at the tombstone from the top down on it? then how do i get my tools to cut a part? change the WCS? cause when I change my views it cuts from the center... never done HMC programming but I need to
-
learning to edit post. don't want A-axis in programs
Dustin S. replied to Dustin S.'s topic in Industrial Forum
lol incase it wasn't obviouse I can program but thats about it I turned it off in the machine def. works great !! Thanks again -
Today Im working on editing a post to make it do what I want... I put in a call to my dealer but it takes some time for a reply. I have a generic Haas VMC post but it has the A-axis enabled meaning it post A values to my program I don't need and the machine errors generaly I edit the program before it hits the floor but the less editing I do the quicker it can hit the floor. I did a search but couldn't find anything useful. Basicly I don't use an A-axis how can I keep from posting it? p.s. ill try not to flood the boards with post questions today would it be better to just keep posting under this same title?
-
countour with ramping enabled... post issue or inexperience
Dustin S. replied to Dustin S.'s topic in Industrial Forum
Helix support was NOT turned on... thats what Im looking for: X.6085 Y-.734 I.7585 J-.734 X.86 Y-.9855 Z-.0207 I.86 J-.734 X1.1115 Y-.734 Z-.0414 I.86 J-.734 X.86 Y-.4825 Z-.0621 I.86 J-.734 X.6085 Y-.734 Z-.0828 I.86 J-.734 went from 749 lines to 75!! Thanks guys quick response!! -
First off Hello to everyone love the forums! Next comes my first question and Im full of them... Im using Mastercam X2 and trying to use a Contour toolpath with the ramping feature turned on and its out putting point to point movement with .001-.003 moves rather than bigger arcs, looks like this currently: G1 X.6101 Y-.7622 Z-.0005 X.6148 Y-.79 Z-.001 X.6226 Y-.8171 Z-.0015 X.6334 Y-.8431 Z-.002 X.647 Y-.8678 Z-.0025 X.6634 Y-.8908 Z-.003 X.6822 Y-.9118 Z-.0034 X.7032 Y-.9306 Z-.0039 X.7262 Y-.947 Z-.0044 X.7509 Y-.9606 Z-.0049 X.7769 Y-.9714 Z-.0054 X.804 Y-.9792 Z-.0059 X.8318 Y-.9839 Z-.0064 X.86 Y-.9855 Z-.0069 X.8882 Y-.9839 Z-.0074 *thats not the whole thing just a piece* Im only going .188 deep with a 1/2 E.M. and I thought it should be a little neater but I don't know how to clean it up. I tried adjusting the ramping parameters but still don't think it looks right. what can I change to tighten this up im assuming its a post issue but it may be a mastercam experienec issue.
Join us!
eMastercam - your online source for all things Mastercam.
Together, we are the strongest Mastercam community on the web with over 56,000 members, and our online store offers a wide selection of training materials for all applications and skill levels.