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. This may be some help if you download the example, its's also on youtube http://www.cgtech.com/solutions/interface-showrooms/mastercam/
  2. Hey J Mahon, Can you post some sample code of your problem. I'm going to try some drilling next on multiple planes and see what I get,
  3. I have used it on some 2D tombstone programming and it works good, I think its a good tool to have in the tool box works well for me.
  4. Do a search for probing, It has been covered a lot on the forum.
  5. The posted code is a special type of module works CL commands, totally different than any actual machine post. There are some people that have buffers setup to output the MW-CL file and the G-code simultaneously with there post. Here is some sample G-code. ------------------------------------------------------------- G0 G90 G56 X2.125 Y-.388 S2801 M3 T9007 G43 H99 Z2. Z1.001 G1 Z.635 F33.62 X1.9 X1.7125 X1.6392 Z.6386 X1.5666 Z.6493 X1.4955 Z.6671 X1.4264 Z.6917 X1.36 Z.723 X.4272 X.3125 Z.785 X0. X-.225 G0 Z1.001 This is a Sample of some MW-CL code, ------------------------------------------------------------- MW_OP_START MW_RELMOVE RAPID X+2.125 Y-.388 Z+1.001 F2000 BLK120 #NCI_+98.000 MW_RELMOVE FEED X+2.125 Y-.388 Z+.635 F34 BLK130 #NCI_+100.000 MW_RELMOVE FEED X+1.900 Y-.388 Z+.635 F34 BLK140 #NCI_+102.000 MW_RELMOVE FEED X+1.712 Y-.388 Z+.635 F34 BLK150 #NCI_+104.000 MW_RELMOVE FEED X+1.639 Y-.388 Z+.639 F34 BLK160 #NCI_+106.000 MW_RELMOVE FEED X+1.567 Y-.388 Z+.649 F34 BLK170 #NCI_+108.000 MW_RELMOVE FEED X+1.495 Y-.388 Z+.667 F34 BLK180 #NCI_+110.000 MW_RELMOVE FEED X+1.426 Y-.388 Z+.692 F34 BLK190 #NCI_+112.000 MW_RELMOVE FEED X+1.360 Y-.388 Z+.723 F34 BLK200 #NCI_+114.000 MW_RELMOVE FEED X+.427 Y-.388 Z+.723 F34 BLK210 #NCI_+116.000 MW_RELMOVE FEED X+.313 Y-.388 Z+.785 F34 BLK220 #NCI_+118.000 MW_RELMOVE FEED X+.000 Y-.388 Z+.785 F34 BLK230 #NCI_+120.000 MW_RELMOVE FEED X-.225 Y-.388 Z+.785 F34 BLK240 #NCI_+122.000 MW_RELMOVE RAPID X-.225 Y-.388 Z+1.001 F2000 BLK250 #NCI_+124.000 MW_OP_END
  6. Not to hijack, but I have the same question, but on the NTY3. We just ordered 2 Nakamura Tome NTY3 with bar feeders, and Camplete. I hoping CNC Software can help me with a machine environment for MT. At worse case, I can still program it in regular lathe and do the sync codes at the machine.
  7. And no inspection plus macros for the Renishaw add on, all new macros.
  8. After some thought, Depending on your post you are using, you might be able to append the following, ptoolcomment, ptooltable, psof$, and useing the subout$ function, you can obtain this with very little work this was added to the Generic Fanuc 4X Mill, see the result at the posted bottom. Note: Backup you post before you attempt to edit. # Toolchange / NC output Variable Formats Add in fmt "T" 4 tt #Tool number GOTO #Address string definitions Add in stt : "" srtt : "T" ptoolcomment #Comment for tool Add in after #TOOL RECALL tt = t$ + 1000 "#592=", *tt, e$ #TOOL RECALL ptooltable #Tooltable output Add in after subout$ = 1 #TOOL RECALL tt = t$ + 1000 result = nwadrs(stt, tt) "IF[#592EQ", *tt, "]GOTO", *tt, "(RESTART FOR", [result = nwadrs(srtt, tt)], *tt,"FIRST CALL)", e$ result = nwadrs(stt, tt) #TOOL RECALL subout$ = 0 psof$ #Start of file for non-zero tool number Add in before pbld, n$, *smetric, e$ mergesub$ clearsub$ % O0000(T) (MCX FILE - T) (MATERIAL - ALUMINUM INCH - 2024) ( T237 | 3/8 FLAT ENDMILL | H237 ) ( T239 | 1/2 FLAT ENDMILL | H239 ) ( T232 | 1/8 FLAT ENDMILL | H232 ) IF[#592EQ1237 ]GOTO1237 (RESTART FOR T1237 FIRST CALL) IF[#592EQ1239 ]GOTO1239 (RESTART FOR T1239 FIRST CALL) IF[#592EQ1232 ]GOTO1232 (RESTART FOR T1232 FIRST CALL) G20 G0 G17 G40 G49 G80 G90 #592=1237 (TOOL RECALL) N237 T237 M6 G0 G90 G54 X-.6671 Y-.0023 C0. S1426 M3 G43 H237 Z.25 M8 Z.2 G1 Z0. F6.33 G3 X-.3687 Y-.1502 I.2984 J.2271 G1 X-.0295 Y.0015 X-.7078 Y-.1502 X-.3687 G3 X-.0702 Y-.0023 I0. J.375 G1 Z.2 G0 Z.25 M5 G91 G28 Z0. M9 C0. M01 #592=1239 (TOOL RECALL) N239 T239 M6 G0 G90 G54 X-.8687 Y-1.5877 C0. S1069 M3 G43 H239 Z.25 M8 Z.2 G1 Z0. F6.42 Y-1.0877 G2 X-.3687 Y-.5877 I.5 J0. G1 X.158 G3 X.408 Y-.3377 I0. J.25 G1 Y.189 G3 X.158 Y.439 I-.25 J0. G1 X-.8953 G3 X-1.1453 Y.189 I0. J-.25 G1 Y-.3377 G3 X-.8953 Y-.5877 I.25 J0. G1 X-.3687 G2 X.1313 Y-1.0877 I0. J-.5 G1 Y-1.5877 Z.2 G0 Z.25 M5 G91 G28 Z0. M9 C0. M01 #592=1232 (TOOL RECALL) N232 T232 M6 G0 G90 G54 X-.4937 Y-.0252 C0. S4278 M3 G43 H232 Z.25 Z.2 G1 Z0. F6.16 Y-.1502 G3 X-.3687 Y-.2752 I.125 J0. G1 X.0955 Y.1265 X-.8328 Y-.2752 X-.3687 G3 X-.2437 Y-.1502 I0. J.125 G1 Y-.0252 Z.2 G0 Z.25 M5 G91 G28 Z0. G28 X0. Y0. C0. M30 %
  9. Collin with eapprentice is really good with this stuff, They have a buffer class that is very good and it can help you get started doing this stuff on your own.
  10. Nice I think it would be a good enhancement especially for people who do a lot of different work planes
  11. M47(WORK PIECE EJECTOR OUT) Do you have this option, it can only be used with the sub spindle and the M73 and M74 work loader in and work loader out. Example: O1234(EXAMPLE) ; (MACHINING----------------------------) ; G28U0.V0.W0.M05 M01 G53B#100 (UNLOAD POSITION) M73(WORK OUT) M47(WORK PIECE EJECTOR OUT) M252(AIR ON SUB SPINDLE) G04U2.5 G330 M74(WORK IN) M257(THRU SPINDLE AIR OFF) M252(AIR OFF SUB SPINDLE) G04U2.5 M259(SPINDLE CHUCK AIR OFF) M01 (MACHINING----------------------------) ; ; ; M30
  12. It would be nice if you can Translate, Rotate, and Mirror, and Output sub-programs on 5 axis for multiple loading duplicated on a fixture like you can on a VMC and HMC. Instead of duplicating tuns of code.
  13. Yeah I have a steady rest and a tailstock that open/close advance/retract during the cycle, and I have all the kinematics, and collision working on the steady rest and tailstock, but still working on the machsim post to output the motion for the steady rest because of the diameter change but I should get with trail and error, but the project is on hold now.
  14. If you are using subout you might need to use auxprg. Save a copy of your post and in the following in the appropriate section in the post. Example from made from generic post hope this helps. Format new N number fmt "N" 21 nn #Sequence number at tool change Edit in the following in (start of file after m6, tool change section of post after m6, and end of file after m30) psof$ #Start of file for non-zero tool number auxprg$ = 1 subout$ = 2 nn = t$ + 1000 *smspc, e$ pbld, *nn, "(LASER ROUTINE", *t$, ")", e$ *t$, sm06, e$ "G65P1234(LASER MACRO)", e$ pbld, *sm01, e$ *smspc, e$ subout$ = 0 ptlchg$ #Tool change subout$ = 2 nn = t$ + 1000 pbld, *nn, "(LASER ROUTINE", *t$, ")", e$ *t$, sm06, e$ "G65P1234(LASER MACRO)", e$ pbld, *sm01, e$ *smspc, e$ subout$ = 0 peof$ #End of file for non-zero tool mergeaux$ #Merge non-transform subs clearaux$
  15. Nice work Ron, Do you know how to write a machsim post to drive all the axis and tail stock and chuck jaws, I have been messing around with it, but getting help is not easy.
  16. Do you have any programs that currently run on that machine or from the MTD, if so post an us the example and emastercam guys will be able to help you more with where to make the change.
  17. You have to use the ASCII Character table, look at number 34 it equals " . Try this, pbld, n$, "T0", e$ pbld, 34, "TABU", 34, e$ pbld, ";POINT DE DEPART", e$ pbld, ";X ORIGINE", e$
  18. it depends on what post you are using, First save a copy of your post, then in the pheader or psof section of your post and edit in your code like below. "(BNC,DEB1)", e$ "DEB1", e$
  19. Check out this youtube vid on X8 millturn http://youtu.be/1Rp7FrJL4MI
  20. You will still have to sign the NDA with the machine tool builder, but if you threatened to go with another brand, they will give it to you free. I always hold that over the machine tool builders heads on the purchase of a new machine, if I cant have the dumb solid models, I don't want the machine. Some companies give it to you free and others want payment and a NDA.
  21. I run something like that on my machines, but you have to have a assembly drawing establish the sets length that you are trying to maintain and the tolerance. I hope this helps. Example: Tool Length offset is 6.563 wear offset is -.025 The Set/Gage Length is 6.5 O1234 N13T9013(101235-.500 ENDMILL) M6 G543H6.5(CHECK GL) M11 G0G90G56B225.M8 M10 G0G90G56X-.186Y2.782S1374M3T9060 G43H99Z2. ; Part Program; ; M5 G0G91G30Z0.M9 G0G91G30X0.Y0. M30 % O9010(FANUC GAGE LENTH MACRO) (PROG. G543 H = TOOL GAGE LENGTH) (SET PARAMITERS) (PAR 6050 TO 543) IF[#11EQ0.]GOTO5000(NO H VALUE SET) IF[#4006EQ21]GOTO21(INCH OR METRIC) N20(INCH CHECK) #100=.19685(TOL) #101=[#11+#100] #102=#[2200+#4120]+#[2000+#4120] IF[#[2200+#4120]+#[2000+#4120]GT[#11+#100]]GOTO5001 IF[#[2200+#4120]+#[2000+#4120]LT[#11-#100]]GOTO5001 GOTO22 N21(METRIC CHECK) #100=5.0(TOL) #101=[#11+#100] #102=#[2200+#4120]+#[2000+#4120] IF[#[2200+#4120]+#[2000+#4120]GT[#11+#100]]GOTO5001 IF[#[2200+#4120]+#[2000+#4120]LT[#11-#100]]GOTO5001 N22(END CHECK) M99 N5000(ALARM) G0G91G28Z0. #598=#598+1. #3000=10(NO H VALUE SET G543) N5001(ALARM) G0G91G28Z0. #599=#599+1. #3000=15(GAGE LENTH OUT OF SPEC.) %
  22. Mastercam Renishaw Productivity+ will not output Renishaw Inspection plus macros, I think it’s because Renishaw post will not output Inspection plus macros, only Productivity+. You will have to run two version of the Renishaw probe software on your machines (Productivity+ and Inspection plus). Check with CNC Software/Renishaw to be sure.
  23. Under your offset update, You can activate that window as a switch and do (1.0=X 2.0=Y 3.0=Z) Then in the post check for that value and use if then to select the output for single surface.

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