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:

JParis

Verified Members
  • Posts

    2,353
  • Joined

  • Days Won

    102

Everything posted by JParis

  1. In a case as such, while it "can" be done the way I do thing, the dynamic fixture offsetting is EASILY the appropriate and easier way to do it...IF you have a control with that functionality..you'll get no argument from me on that point. Honestly, it I was doing that kind of work, I'd look into pin locations, stop blocks in known locations....it "would" then be a lot easier to do what I am doing...but out in speace, here sits the part...no, not really going to work well. yup, becasue I set it up that way Never used to be like that here..... Now that build fixtures to the sizes I give them, they set the program to run a single part...run it off, many times parts are in tolerance and can be 1st piece'd....then theu turn on either OP1 or Face 1, run it, prove it...turn on face 2/op2, rinse and repeat.... A lot of work went in to getting to this point.
  2. Tell you what. I learned at first simply becasue I wanted to...nothing more, nothing less. Doing so has served my exceedingly well. Any place I went to work in a shop, I was able to get the posts dialed in the way they needed to be...it served me well in my years working for a Reseller between edits that would come in and going out on the road to people's places and get them dialed in... It has left me for the most part 100% self-sufficient. In my current employ, I have bought several posts for machines I "could" have done myself, if, I had the time to do so....but even then, changes that I can make to my purchased post, I handle myslef. I not only did it to learn a skill but it has helped me be vastly more successful than I would otherwise have been. Knowledge is power
  3. It works..4 parts down a single tombstone face....straight from the post (G54.1P1 - B90. - PART - ) (X0 CENTER OF LOCATING PIN) (Y0 CENTER OF LOCATING PIN) (Z0 TOP OF PART) G90G10L20P1X0.Y-6.2173Z-19.2175 (G54.1P4 - B90. - PART - ) (X0 CENTER OF LOCATING PIN) (Y0 CENTER OF LOCATING PIN) (Z0 TOP OF PART) G90G10L20P4X0.Y-11.0973Z-19.2175 (G54.1P7 - B90. - PART - ) (X0 CENTER OF LOCATING PIN) (Y0 CENTER OF LOCATING PIN) (Z0 TOP OF PART) G90G10L20P7X0.Y-15.9773Z-19.2175 (G54.1P10 - B90. - PART - ) (X0 CENTER OF LOCATING PIN) (Y0 CENTER OF LOCATING PIN) (Z0 TOP OF PART) G90G10L20P10X0.Y-20.8573Z-19.2175 (TOTAL NUMBER OF OFFSETS 4)
  4. I did. I gave you a link to the same file I started with...
  5. Your center of rotation for the machine should be the basis for everything you build.... It will calculate from the Center of Rotation, location and angle of your part origins...
  6. It needs to be added into your post.. It doesn't matter how big your machine is. All that matters is how you set everything up in the CAM
  7. It's a z2g file...rename the z2g to zip and unzip it
  8. There was a G10 post that someone had shared years ago, though I forget who did it but copy the logic out of that and done deal.. I saved it to my Dropbox...I don't take credit for the original work https://www.dropbox.com/s/7acw1y4rzuakm7d/G10_HMC.Z2G?dl=0 I build all my models and parts in "real world" space based on the WCS origin...
  9. I calculate and post mine right out of Mastercam
  10. Yeah Colin, I boned it...I was likely thinking of the prv_ series of pre-defined variables...
  11. I think you need to be a Reseller to have access to that feature
  12. Myself, I use internal subs, they are posted at the bottom of my programs, after the M30...as such, every program can have the exact sames used again and again becasue you're going to call an external sub....my 1st sub is always N40001, N40002, N40003...etc... I have programs that have 150 subs in there....the question method could work but in some case, no one is going to want to answer the same question over and over and over, when you can automate it and never worry about it again. JM2C YMMV
  13. yeah, looking further up in your post, if strh isn't defined, go ahead and define it The others will guide you as to what it should look like What that line is doing is setting the address for the main_prg_no$ variable to be different that it is assigned further up in the post.
  14. Try this instead...in this section, psub_call_trans #Translate level calls from toolchange, user if mi1$ <= one, result = mprint(shomeserror) sav_absinc = absinc$ pindex #Mirror or Rotate Coord's if sub_trnstyp$ = zero, mr_rt_actv = three #Mirror if mr_rt_actv, [ if sub_trnstyp$ = zero, [ #The original pattern is not mirrored if sub_chn_no$ <> one, [ absinc$ = zero psub_mirror ] ] else, [ #The original pattern is not rotated, calculate the rotation incremental angle for G68 rt_csav = atan2(sub_m2$, sub_m1$) if sub_sec_no$, [ rt_cinc = prv_rt_csav - rt_csav while rt_cinc > 180, rt_cinc = rt_cinc - 360 while rt_cinc < -180, rt_cinc = rt_cinc + 360 if rot_ccw_pos = one, rt_cinc = -rt_cinc !rt_csav absinc$ = zero psub_rotate ] else, [ !rt_csav ] ] #Set restore flag and sign mr_rt_actv to indicate active mr_rt_rst = one mr_rt_actv = -abs(mr_rt_actv) ] else, #Translate all, Rotate toolplane [ if sub_mny_t$, [ if mi1$ > one, absinc$ = zero if convert_rpd$, pconvert_rpd pbld, n$, [if gcode$, *sgfeed], *sgcode, *sgabsinc, pwcs, pfxout, pfyout, pfzout, pfcout, [if gcode$, *feed], e$ pe_inc_calc ps_inc_calc ] ] absinc$ = sav_absinc #result = nwadrs(strp, main_prg_no$)<-----------------------------------------------------------------------------Alter here result = nwadrs(strh, main_prg_no$) #altered to get H output, 02/10/2020, jmp <--------------------------------Alter here main_prg_no$ = main_prg_no$ + 40000 #alter to push subprograms #'s into the 40000 range, 02/10/2020, jmp #if progno$ = main_prg_no$, result = mprint(sprgnerror) pbld, n$, "M98", *main_prg_no$, e$ result = force(feed) # Force output of feed next time it's called for output (in sub) and here psub_st_m$ #Header in main level #result = nwadrs(stro, main_prg_no$)<----------------------------------------------HERE result = nwadrs(strn, main_prg_no$)<-----------------------------------------------HERE if first_sub & subs_before, first_sub = zero #suppress blank line before first sub with subs before main else, " ", e$ *main_prg_no$, e$ #G51/G68 requires absolute position on first move if mr_rt_rst, [ sav_absinc = absinc$ if absinc$ = one, [ absinc$ = zero prv_absinc$ = m_one prv_xabs = m_one prv_yabs = m_one ] ] else, pbld, n$, sgabsinc, e$
  15. I would make certain of 2 things...if there are "on-board" graphics, disable them. and Make sure the full driver from Ati is installed, not the Dell provided drivers...those are crap
  16. Make a stock model of your material and use Area Roughing with DOC's???
  17. and for machines that don't like the WHILE statement #100=1. N2000 IF[#100LE60.]GOTO2001 GOTO2010 N2001 (DO THE THINGS) #100= [#100+1.] GOTO2000 N2010
  18. When you want to save a value like that, it is typically done becasue it may also get called and used in a different post block or it maybe be updated along the way...it is saved to make sure the original value is what is captured.
  19. Internally within MP most variables have available a sav_*variable" name
  20. Copying in the same file or importing to a new file? If you are importing to a new file and the driving geometry is from a solid, it will not come with the path...
  21. I do a ton of this kind of stuff AND deeper....no..the Mazaks we can use Contour Control and we do, A LOT!
  22. No, I just logged in... Make sure you use your email address now for the login name Mind you though, it runs slower than sh!t and constantly puts up errors...so you might have caught one of those times as well

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...