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:

Craig-B

Verified Members
  • Posts

    437
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Craig-B

  1. Did you get the cad models with the machine to use on Vericut/machine simulation?
  2. Just curious if any of you have added sub-programming support to the Generic five axis post, that will take advantage of the transform function for multiple loading's in 3+2 machining, Or do you just run duplicate G-code. I’m curious of how much work it would be, or is it possible. I think it would be a nice feature if you have multiple loading's and wanted to transform them and do sub-programming like in 3 and 4 axis post.
  3. Does anyone know if CNC software plans to get onboard with it, in there tool manager.
  4. Nice, good video I use a lot of their tools.
  5. What is the Alarm code on the machine and what is your posted code?
  6. what type of probe operation are you trying to do? I sure that we can help you if you can provide more info.
  7. Kurt DJ6 DoveLock Quick Change Jaw System is designed for fast set-up if you use vise for most stuff.
  8. I see the need but, I'm not sure if its high on the list as of being a reality with any cam vendor as a new feature. I would love to see it on both mills and lathe, I think it would be a plus and a good selling point for whoever doses it first in the industry.
  9. Good information to know on keeping up your machine as far as coolant.
  10. I would try using a .250 or .125 diameter 45 degree rotary file and program it on a VMC using 3 axis this can be done very fast. Works well for me here. but it depends on what your print calls for
  11. Not knowing what your post looks like I hope this will point you in the right direction. Note: save a copy of your post and move the (pccdia) to a line by itself in (prapidout, plinout, pcirout1, and phelout) you may also need to move the (sccomp) to a line by itself in (pretract).
  12. Mastercam Is not in the cloud right now may be in the future, Get with your Mastercam re-seller.
  13. Can you try doing a string select like the g-codes (*sgcode,)in the post something like the following. Then just use (*sgmodal) # -------------------------------------------------------------------------- # Macro modal codes sgmodal0 : "G66" #Modal Call sgmodal1 : "G67" #Modal Cancle sgmodal : "" fstrsel sgmodal0 gmodal sgmodal 2 -1 gmodal : 999 # --------------------------------------------------------------------------
  14. LOL Note: I can do some basic custom macro B stuff, but I'm no expert. I'm still failing on my pipe dream of trying to get Mastercam to post a parametric lathe program for part families in Fanuc Custom Macro B. for a 4 axis lathe. (HEAD 1) N8G0G28U0.(TOOL - 8 OFFSET - 8) M100 G0T0899 M26 G50S#119 G96S#120M3 G0G54Z[9.3+#132]M8 X3. X.4148 G1Z[8.63+#132]F#121 X.5296 Z[8.73+#132] G0Z[9.3+#132] X.3 G1Z[8.63+#132] X.4348 Z[8.73+#132] G0Z[9.3+#132] X.27 G1Z[8.615+#132] X.5296 Z[8.715+#132] G0X.8236 Z[8.6+#132] G1X-.0313 G0Z[8.7+#132] X3. M9 G0G28U0.M5 G0T0888 M101 /M01 M102 (HEAD 2) N8(TOOL - 8 OFFSET - 8) (STEADYREST UNCLAMP/CLAMP) M61(UNCLAMP) G04P500 G0G30U0. G0G54Z[#141-1.0] M60(CLAMP) G04P500 N203(END) M100 M101 /M01 M102
  15. Steve, I hate them to, you are doing a lot better than me, I wish I can get that good with it. I'm trying to do something similar with the tplane origin, but output as a sub segregated by the rotations in the program for my HMC post.
  16. I hope this helps, To get your machine to work like the HMC Front in machine sim, you will have to build your machine just like CNC has theirs built and include the (A axis) or it will not work. Note: all the machines are built with the axis in the correct orientation with the exception of the HMC Front the (A axis) allows the machine sim simulate the HMC Front being in the wrong view. However If you program your HMC in the Top view you can build your machine without the (A axis) and just have (X,Y,Z,B axis) it will work. The best way to see how they built their machines is to import the STL's of the HMC Front and shade them and print it for a reference, then build yours the same.
  17. Note: changing the dia_mult from 2 to -2 in the post could cause you problems later on depending on what you are machining. The post has switches just for that as you will see bellow. For changing the sign, save a copy of your post, look for this section and edit the section you need. for (X plane 0 is the letter I) and (X plane 1 is the letter L) and (X plane 2 is the letter O) I would only change one at a time and test. Note: make sure you count toe places for each letter because the editor could have shifted the the spaces. I would test each turret and spindle with some simple toolpaths to setup your post. Its a little work up front but a lot of time saved down the road. # -------------------------------------------------------------------------- #Machining position turret/spindle settings # Switch strings based on turret position top/bottom-left/right and cut type. # Turret position is based on the Mastercam settings (see lathtype). # Strings are re-assigned for output in the routine psw_str_mult. # The string variable sw_string holds the place position value to determine # how to assign the strings. Planes are relative to the view from Mastercam. # Assign the 17 digit string following the alpha columns below: # A - C axis, 1 = axis winds, 2 = axis signed, 3 = indexer, 4 = shortest direction # B - Spindle direction, 0 = normal, 1 = reverse # C - Plane 0 arc/comp, 0 = normal, 1 = switch # D - Plane 1 arc/comp, 0 = normal, 1 = switch # E - Plane 2 arc/comp, 0 = normal, 1 = switch # F - Plane 0, 0 = G17, 1 = G19, 2 = G18 # G - Plane 1, 0 = G17, 1 = G19, 2 = G18 # H - Plane 2, 0 = G17, 1 = G19, 2 = G18 # Decimal (required) # I - Plane 0, X axis, 0 = normal, 1 = switch sign from basic # J - Plane 0, Y axis, 0 = normal, 1 = switch sign from basic # K - Plane 0, Z axis, 0 = normal, 1 = switch sign from basic # L - Plane 1, X axis, 0 = normal, 1 = switch sign from basic # M - Plane 1, Y axis, 0 = normal, 1 = switch sign from basic # N - Plane 1, Z axis, 0 = normal, 1 = switch sign from basic # O - Plane 2, X axis, 0 = normal, 1 = switch sign from basic # P - Plane 2, Y axis, 0 = normal, 1 = switch sign from basic # Q - Plane 2, Z axis, 0 = normal, 1 = switch sign from basic use_only_tl : 1 #Use only Top turret/Left spindle settings (below) for #all Mastercam turret/spindle selections #When configuring for multi-spindle/turret set to 0 #Columns- ABCDEFGH.IJKLMNOPQ #Turret/Spindle #Path Type scase_tl_c1 : "10000222.000000000" #Top turret/Left spindle, Turning cut scase_tl_c2 : "11000012.000000000" #Top turret/Left spindle, Right Face cut scase_tl_c_2 : "11110012.000000000" #Top turret/Left spindle, Left Face cut scase_tl_c3 : "10010102.000000000" #Top turret/Left spindle, Cross cut scase_tl_c4c : "10000111.000000000" #Top turret/Left spindle, Y axis subs. Cycle scase_tl_c4 : "10000222.000000000" #Top turret/Left spindle, Y axis subs. scase_tl_c5 : "10000222.000000000" #Top turret/Left spindle, Multisurf Rotary #Columns- ABCDEFGH.IJKLMNOPQ scase_bl_c1 : "10000222.000000000" #Bottom turret/Left spindle, Turning cut scase_bl_c2 : "11000012.000000000" #Bottom turret/Left spindle, Right Face cut scase_bl_c_2 : "11110012.000000000" #Bottom turret/Left spindle, Left Face cut scase_bl_c3 : "10010102.000000000" #Bottom turret/Left spindle, Cross cut scase_bl_c4c : "10000111.000000000" #Bottom turret/Left spindle, Y axis subs. Cycle scase_bl_c4 : "10000222.000000000" #Bottom turret/Left spindle, Y axis subs. scase_bl_c5 : "10000222.000000000" #Bottom turret/Left spindle, Multisurf Rotary #Columns- ABCDEFGH.IJKLMNOPQ scase_tr_c1 : "10000222.000000000" #Top turret/Right spindle, Turning cut scase_tr_c2 : "11000012.000000000" #Top turret/Right spindle, Right Face cut scase_tr_c_2 : "11110012.000000000" #Top turret/Right spindle, Left Face cut scase_tr_c3 : "10010102.000000000" #Top turret/Right spindle, Cross cut scase_tr_c4c : "10000111.000000000" #Top turret/Right spindle, Y axis subs. Cycle scase_tr_c4 : "10000222.000000000" #Top turret/Right spindle, Y axis subs. scase_tr_c5 : "10000222.000000000" #Top turret/Right spindle, Multisurf Rotary #Columns- ABCDEFGH.IJKLMNOPQ scase_br_c1 : "10000222.000000000" #Bottom turret/Right spindle, Turning cut scase_br_c2 : "11000012.000000000" #Bottom turret/Right spindle, Right Face cut scase_br_c_2 : "11110012.000000000" #Bottom turret/Right spindle, Right Face cut scase_br_c3 : "10010102.000000000" #Bottom turret/Right spindle, Cross cut scase_br_c4c : "10000111.000000000" #Bottom turret/Right spindle, Y axis subs. Cycle scase_br_c4 : "10000222.000000000" #Bottom turret/Right spindle, Y axis subs. scase_br_c5 : "10000222.000000000" #Bottom turret/Right spindle, Multisurf Rotary # -------------------------------------------------------------------------- For change the approach and retract change the following in (ltlchg$, mtlchg$, and pl_retract, pm_retract ) For the approach Change from this, pcan1, pbld, n$, psccomp, *sgcode, pwcs, pfxout, pyout, pfzout, pscool, strcantext, e$ Change to this, pcan1, pbld, n$, psccomp, *sgcode, pwcs, pfzout, pscool, strcantext, e$ pfxout, pyout, e$ For the retract Change from this, pcan1, pbld, n$, *sgcode, pfxout, pfyout, pfzout, *toolno, e$ Change to this, pcan1, pbld, n$, *sgcode, pfxout, pfyout, *toolno, e$ pcan1, pbld, n$, pfzout, e$ Hope this helps you out.
  18. The Tplane name is 20012 in the NCI, the work offset is pwcs, I think you will need to write a buffer to hold the information then merge it back in the NC file.
  19. we will need more information in order to help you, what version are you running and where are you wanting to retrieve that information from in Mastercam.
  20. Look in your Machine Simulation folder. if you are using X7
  21. In my experience "before" option works the "with" will not. Try using the "before" option instead of the "with" and see if it works with just one operation. Then select two operations and see if it still works. you have to single out where the problem is. Check this section of your post as well. pcant_out #Canned text - build the string for output #Assign string select type outputs if cant_pos < three, #cant_pos indicates canned text output [ if cantext$ = three, bld = one if cantext$ = four, bld = zero #Build the cantext string if cantext$ = one, strcantext = strcantext + sm00 if cantext$ = two, strcantext = strcantext + sm01 if cantext$ > four, [ strtextno = no2str(cantext$) strcantext = strcantext + strm + strtextno ] ] else, #cant_pos indicates coolant output [ coolant_bin = flook (two, cantext$) #Create binary value for each coolant using lookup table if frac(cantext$/two), # coolant off [ if all_cool_off, [ if coolant_on, pbld, n$, sall_cool_off, e$ coolant_on = zero ] else, [ if coolant_on > 0, [ coolant_on = coolant_on - coolant_bin/2 #Odd = off command, subtract appropriate binary value. coolantx = cantext$ - 50 #Create a coolantx value for string select pbld, n$, *scoolantx, e$ ] ] ] else, #Even = on command [ #Determine if this coolant is already on local_int = zero coolantx = zero suppress = zero while local_int < 20 & coolant_on > 0, [ result2 = and(2^local_int, coolant_on) local_int = local_int + one if result2 = coolant_bin, suppress = one ] if suppress <> 1, #Don't output an on code for a coolant that is already on [ coolant_on = coolant_on + coolant_bin #Maintain binary sum of all coolants currently on coolantx = cantext$ - 50 #Create a coolantx value for string select if cant_pos = four, *scoolantx #Coolant "With" else, pbld, n$, *scoolantx, e$ #Coolant "Before" or "After" ] ] ]

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