Jump to content

Welcome to eMastercam

Register now to participate in the forums, access the download area, buy Mastercam training materials, post processors and more. This message will be removed once you have signed in.

Use your display name or email address to sign in:

volsfan

Verified Members
  • Posts

    25
  • Joined

  • Last visited

volsfan's Achievements

Newbie

Newbie (1/14)

  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

0

Reputation

  1. Ok Never Mind again I figured out Rename but now just looking for how to remove the Header Info
  2. Ok never mind I found my old post but It don't help. I guess to ask a ? how can I edit the Available Fields names or better yet how do I edit the Selected Fields names. In X3 I had the labels custom like instead of like "Z-Min" I have it called "Depth Of Cut" and I don't want the NC-Header showing up on the Setup Sheet. The Config files in X3 were .XSS files but still look the same as the .Template files look like when opened with notepad or any other editor. Anyone have any Ideas to point me in the right Direction?
  3. I use Excel because I edit the list after I post it. I was able to get the X3 ver working without much issue and its been so long I really can't rem how I did it and I did come here for help but I can't find my old posts but I think they had been del due to age. I need to start working with the new ver just can't get a tool list to work that my ppl would understand easy.
  4. I have just updated my mastercam from ver X3 to ver 18 and what a difference it is. I had used and loved X+ in Ver X3 and want to use it in 2018 however, I can't seem to get my excel sheets to work like they do in X3 and I can't seem to figure out how to edit the templates or get my data to look like it did before. Can Anyone point me in the right direction?
  5. Well thanks to everyone's help and I thought I had it before but just needed to get rid of the s0m5 but I was wrong. Im about to just give up cause I have tried every example here and other places. I tried combining diff things and even tried editing the mpmaster post where again, I could get all my other edits to work but just cant get this dowel pin stop to work to save my life. I understand the logic and how it should work but it just don't for me and I'm sure its prob something dirt simple I'm over looking somewhere. I'm sure I will revisit it again but just wanted to thank those who tried to help.
  6. OK Ran in to my first issue I dont have a "nextdc$" of any sort I do have "drillcyc$" and the "getnextop$" that you stated. I'm guessing I need to use "drillcyc$" so im going to try it until I hope to hear back from someone but thanks for everyones help I have been working on this a while as you can see and no our dealer wont help because they want us to buy the newest ver and the owner wont do it due to $$ and what we have works for what we do in his eyes. He hates software as much as insurance companys.
  7. ok thanks for the info Colin I will give it a shot and see if I can get it to work. I tried one of the "if" statements as shown in an example above from someone else ( along with a few other things) but I couldn't get it to work and not saying it won't but just wasn't given enuff info to figure it out.
  8. Update..... I have been able to get the post to almost work. I just need to know how to keep from posting out S0M5 because HAAS control don't like that and reason I need to do all this so if others post out programs if Im not here they work because no one here really knows how to edit or hand write programs but me but they can pull up programs and post that I have written.
  9. Anyone have any thoughts on this? I have tried so many ways based off the help already given and there must be something I am missing or my post dont have.
  10. OK I know this is a bit old but I am revisiting this because last time I could never get this to work. I got busy and kind of forgot about it but now I could really use it again so maybe I can understand how to edit my post to get it to work if someone would be so kind to explain it or show an example that I can just cut and paste. What I want to do is have a programmable stop where I can get this code to post out G0 G17 G40 G49 G80 G90 ( 3/8 DOWELL | ) T19 M6 G0 G90 G54 X-1.3939 Y.1561 G43 H19 Z2. G1 Z-.5 F110. M00 G91 G28 Z0. Here is the drill part of my post now ( the part about dowel I added but could not get to work): # -------------------------------------------------------------------------- # Drilling # -------------------------------------------------------------------------- pdrill0$ #Pre-process before drill call sav_dgcode = gcode$ #Capture gcode for 5 axis drill pdrlcommonb #Canned Drill Cycle common call, before if initht$ <> refht$, drillref = zero else, drillref = one if sav_dgcode = 81, [ result = newfs(two, zinc) if drillcyc$ = three | drillcyc$ = 7, drlgsel = fsg1(-ss$) + drillcyc$ * two else, drlgsel = fsg2(dwell$) + drillcyc$ * two prv_refht_a = c9k prv_refht_i = c9k prv_dwell$ = zero prv_shftdrl$ = zero ] if cuttype = three, sav_dgcode = gcode$ else, z$ = depth$ if cuttype = one, prv_zia = initht$ + (rotdia$/two) else, prv_zia = initht$ pcom_moveb feed = fr_pos$ comment$ pcan #5 axis must map the true Z, correct Z calculation here if cuttype = three, [ prv_zia = zabs + (-depth$) + initht$ zia = fmtrnd(zabs) zinc = zia - prv_zia ] prdrlout #R drill position if cuttype = one, refht_a = refht$ + (rotdia$ / two) else, refht_a = refht$ refht_i = refht$ - initht$ if cuttype = three, refht_a = w$ if absinc$ = zero, refht_a, !refht_i else, refht_i, !refht_a pdrill$ #Canned Drill Cycle pdrlcommonb if dowelchk <> 0, [ "(postblock pdrill$, dowelchk =", *dowelchk, ")", e$ pcan1, pbld, n$, "M00", e$, # Insert Code For Dowel Pin dowelchk = 0 ] else, [ pcan1, pbld, n$, *sgdrlref, *sgdrill, pxout, pyout, pfzout, pcout, prdrlout, dwell$, *feed, strcantext, e$ pcom_movea ] ppeck$ #Canned Peck Drill Cycle pdrlcommonb pcan1, pbld, n$, *sgdrlref, *sgdrill, pxout, pyout, pfzout, pcout, prdrlout, *peck1$, *feed, strcantext, e$ pcom_movea pchpbrk$ #Canned Chip Break Cycle pdrlcommonb pcan1, pbld, n$, *sgdrlref, *sgdrill, pxout, pyout, pfzout, pcout, prdrlout, *peck1$, *feed, strcantext, e$ pcom_movea ptap$ #Canned Tap Cycle pdrlcommonb pcan1, pbld, n$, *sgdrlref, *sgdrill, pxout, pyout, pfzout, pcout, prdrlout, *feed, strcantext, e$ pcom_movea pbore1$ #Canned Bore #1 Cycle pdrlcommonb pcan1, pbld, n$, *sgdrlref, *sgdrill, pxout, pyout, pfzout, pcout, prdrlout, dwell$, *feed, strcantext, e$ pcom_movea pbore2$ #Canned Bore #2 Cycle pdrlcommonb pcan1, pbld, n$, *sgdrlref, *sgdrill, pxout, pyout, pfzout, pcout, prdrlout, *feed, strcantext, e$ pcom_movea pmisc1$ #Canned Fine Bore (shift) Cycle pdrlcommonb pcan1, pbld, n$, *sgdrlref, *sgdrill, pxout, pyout, pfzout, pcout, prdrlout, shftdrl$, dwell$, *feed, strcantext, e$ pcom_movea pmisc2$ #Canned Rigid Tapping Cycle pdrlcommonb #RH/LH based on spindle direction result = newfs(12, feed) pcan1, pbld, n$, *sgdrlref, *sgdrill, pxout, pyout, pfzout, pcout, prdrlout, *feed, strcantext, e$ pcom_movea #********************************************************************************************************************************************************************************************* pdrlcst$ #Custom drill cycles 8 - 19 (user option) if drillcyc$ = 9, [ numpeck = peck2$, [ peck_cnt = numpeck initial_calc = (depth$ - tosz$) / peck_cnt strt_depth = (tosz$ + initial_calc) calc_depth = (depth$ - tosz$) calc_peck = calc_depth / numpeck "(PECK tapping CYCLE)", e$ pcan1, pbld, n$, *sgdrlref, *sg84, pdrlxy, *strt_depth, pcout, prdrlout,*refht_a, *feed, strcantext, e$ count = peck_cnt ] pass = 1 WHILE count > 1, [ sub_depth = strt_depth + (calc_peck * pass) pbld, n$, *sg84, *sub_depth, *refht_a, e$ pass = pass + 1 count = count - 1 ] #pbld, n$, sg84, pfzout, *refht_a, e$ pcom_movea ] pdrlcst8 #Canned Descending Peck Drill Cycle pdrlcommonb result = nwadrs(stri, peck1$) pcan1, pbld, n$, *sgdrlref, *sgdrill, pxout, pyout, pfzout, pcout, prdrlout, *peck1$, *peck2$, *peckclr$, *feed, strcantext, e$ pcom_movea # ADDITIONAL HOLES pdrill_2$ #Canned Drill Cycle, additional points pdrlcommonb pcan1, pbld, n$, pxout, pyout, pzout, pcout, prdrlout, feed, strcantext, e$ pcom_movea ppeck_2$ #Canned Peck Drill Cycle pdrill_2$ pchpbrk_2$ #Canned Chip Break Cycle pdrill_2$ ptap_2$ #Canned Tap Cycle pdrill_2$ pbore1_2$ #Canned Bore #1 Cycle pdrill_2$ pbore2_2$ #Canned Bore #2 Cycle pdrill_2$ pmisc1_2$ #Canned Fine Bore (shift) Cycle pdrill_2$ pmisc2_2$ #Canned Rigid Tapping Cycle pdrlcommonb pcan1, pbld, n$, pxout, pyout, pzout, pcout, prdrlout, strcantext, e$ pcom_movea #************************************************************************************************************************************************************************************************* pdrlcst_2$ #Custom drill cycles 8 - 19, additional points (user option) if drillcyc$ = 9, [ numpeck = peck2$, if stepeck = 0, [ peck_cnt = numpeck initial_calc = (depth$ - tosz$) / peck_cnt strt_depth = (tosz$ + initial_calc) calc_depth = (depth$ - tosz$) calc_peck = calc_depth / numpeck "(PECK tapping CYCLE)", e$ pdrlcommonb *SG00 pcan1, pbld, n$, pfxout, pfyout, e$ *sg84, pcout, *strt_depth, prdrlout, *refht_a, *feed, strcantext, e$ count = peck_cnt ] pass = 1 WHILE count > 1, [ sub_depth = strt_depth + (calc_peck * pass) pbld, n$, *sg84, *sub_depth, *refht_a, e$ pass = pass + 1 count = count - 1 ] #pbld, n$, sg84, pfzout, *refht_a, e$ pcom_movea ] pcanceldc$ #Cancel canned drill cycle result = newfs(9, feed) result = newfs(three, zinc) result = nwadrs(strq, peck1$) z$ = initht$ if cuttype = one, prv_zia = initht$ + (rotdia$/two) else, prv_zia = initht$ pxyzcout !zabs, !zinc prv_gcode$ = zero pcan pcan1, pbld, n$, sg80, strcantext, e$ pcan2
  11. Ex-programmer I see the concept and how your code should work and I like how it can be use for so many dif things but for some reason I cant get it to work for me I have put DOWEL in every comment place there is with nothing, now I'm not 100% what the code should be to have the dowel come down and stop but I used a combo of a few suggestions above and no joy, it just posts out a normal G81 drill cycle.
  12. That is something like I am looking to do. I could do what FNMI said but then I would have to use one of my canned cycles and mod one of those but I was really hoping to use a custom cycle. Could you show me some examples of your post that looks for a dowel?
  13. Is there a way to have the drill cycle remove the Spindle speed and the g81 and g80 and just put a g1 where the g81 goes without messing up my simple drill no peck cycle? because the haas alarms out with zero spindle speed
  14. Yes I want it to post M00 every time but I want it for a part stop not for my tapping cycle, I just put that in my last form post showing what I have now as my first custom drill cycle and how do I add a 2nd custom drill cycle to that and still have both to work, I need something to post out a code that looks like this: G0 G17 G40 G49 G80 G90 ( 3/8 DOWELL | ) T19 M6 G0 G90 G54 X-1.3939 Y.1561 G43 H19 Z2. G1 Z-.5 F110. M00 G91 G28 Z0. I use a 3/8 Dowel pin to come down ( not turning) and stop at my zero location, I put the part against the dowel, tighten vise and press cycle start that the z rapids up to start the next tool. Thanks, Brian mastercam x3 (yes its old) Haas VF3 2013

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.

Follow us

×
×
  • Create New...