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:

niwrad

Verified Members
  • Posts

    8
  • Joined

  • Last visited

Everything posted by niwrad

  1. I haven't done CNC Mahining program for a while. I am so busy with Sheetmetal Programming that I just forgot this one certain thing. I usually do pocket or circle mill when programming and saw this in a forum, tried it and it works with overlap and arc sweep. I am going through all my programs hoping I'll find at one.
  2. I want to start and exit at the center of a circle on contouring a counterbore. I saw how this is done before but I couldn't remember it. In lead in and lead out, someone posted the formula, length %, radius % and angle sweep. I tried to draw and back figure it but I couldn't get it done.
  3. Thank you guys. We were able to generate NC code the way we want it. I guess I can start tool number from 500 as most of you suggested, I assigned variable before tool changes and don't use macro on our NC codes. Here is sample. O2961(100088296 REV 0) (DATE - 24-07-17 TIME - 09:57) (PROGRAMMER - DARWIN) (MATERIAL - FULLY WELDED PART) ( T#1 | 3/4 FLAT EM | FLT:4 | LOC:2.000 | SO:2.750 | H#1 | D#1 | WEAR COMP | DIA - .75 ) ( T#2 | 1/2 SPOTDRILL | FLT:2 | LOC:2.000 | SO:2.500 | H#2 ) ( T#3 | LTR. Q DRILL | FLT:2 | LOC:2.000 | SO:4.000 | H#3 ) ( T#4 | 3/8-24 TAPRH | FLT:1 | LOC:2.000 | SO:4.000 | H#4 ) ( T#5 | 1/2 FLAT EM | FLT:4 | LOC:1.000 | SO:3.000 | H#5 | D#5 | WEAR COMP | DIA - .5 ) G20 G0 G17 G40 G49 G80 G90 ( G54 XY IS PER PRINT, Z IS TOP OF MATERIAL ) ( OFFSET Z 11.237" FROM THE BOTTOM ) N1 ( SHAVING 5.6875 PLANE, -2.312 DEEP ) #1 = 1 ( T#1 | 3/4 FLAT EM | FLT:4 | LOC:2.000 | SO:2.750 | H#1 | D#1 ) T#1 M6 ( T#1 | 3/4 FLAT EM | FLT:4 | LOC:2.000 | SO:2.750 | H#1 | D#1 ) ( MAX: Z2. ) ( MIN: Z-2.312 ) G0 G90 G54 X-15.75 Y1.1025 S2000 M3 G43 H#1 Z2. M8 Z-2.15 G1 Z-2.312 F15. G41 D#1 Y.9775 G3 X-15.625 Y.8525 I.125 J0. G1 X-15.25 X-11.75 X-11.7 G3 X-11.575 Y-1.1875 I0. J.125 G1 G40 Y-1.0625 G0 Z2. M5 G91 G28 Z0. M9 M01 N2 ( SPOT DRILL ) #2 = 2 ( T#2 | 1/2 SPOTDRILL | FLT:2 | LOC:2.000 | SO:2.500 | H#2 | D#2 ) T#2 M6 ( T#2 | 1/2 SPOTDRILL | FLT:2 | LOC:2.000 | SO:2.500 | H#2 | D#2 ) ( MAX - Z2. ) ( MIN - Z-2.375 ) G0 G90 G54 X-14.181 Y-.4019 S1500 M3 G43 H#2 Z2. M8 G98 G81 Z-2.375 R-2.15 F5. G80 M5 G91 G28 Z0. M9 M01 N3 ( .332 HOLE FOR 3/8-24 TAP ) #3 = 3 ( T#3 | LTR. Q DRILL | FLT:2 | LOC:2.000 | SO:4.000 | H#3 | D#3 ) T#3 M6 ( T#3 | LTR. Q DRILL | FLT:2 | LOC:2.000 | SO:4.000 | H#3 | D#3 ) ( MAX - Z2. ) ( MIN - Z-3.65 ) G0 G90 G54 X-14.181 Y-.4019 S1000 M3 G43 H#3 Z2. M8 G98 G83 Z-3.65 R-2.15 Q.15 F5. G80 M5 G91 G28 Z0. M9 M01
  4. For each variable will be the station number. #1 = 5 (station/tool 5) #2 = 8 (station/tool 8) #3 = 15 (station/tool 15)
  5. I really appreciate all your response. I am not sure the best way to explain this. English is my second language so bear with me. So, here is the story. Our shop is not enforcing to saved mastercam files in our network. Our Programmers, comes and go. Ending up with just NC files in our network. The way we are setup is, we load an old/new program. We will found out that tools already in the machine but in wrong station. So, Op usually changes T, the H and all Ds for each station. That's takes time. And if Op missed one D, which happened quite a few time. So, I, who's acting as a substitute programmer think that this will work. So, yes, I want to assign different variable for each tool that Operator will changes to whatever tool load in their machines. That's all. I hope that this clear all up. Here is sample of my programs. (MATERIAL - 3.50W X 3.50L X .625H ALUM 6061-T6) ( T#1 | 2" FACE MILL | FLT:2 | LOC:1.575 | SO:2.100 | H#1 ) ( T#2 | 1/2 FLAT EM | FLT:3 | LOC:1.000 | SO:1.500 | H#2 | D#2 | WEAR COMP | DIA - .5 ) ( T#3 | 3/16 FLAT EM | FLT:3 | LOC:.438 | SO:1.000 | H#3 | D#3 | WEAR COMP | DIA - .1875 | XY STOCK TO LEAVE - .0073 | Z STOCK TO LEAVE - .01 ) ( T#4 | 3/32 FLAT EM | FLT:4 | LOC:.375 | SO:1.000 | H#4 | D#4 | WEAR COMP | DIA - .09375 | XY STOCK TO LEAVE - .011 | Z STOCK TO LEAVE - 0. ) G20 G0 G17 G40 G49 G80 G90 #1 = 1 ( T#1 | 2" FACE MILL | FLT:4 | LOC:.375 | SO:1.000 | H#1 | D#1 ) ------ OP will make this #1 = 8 (IF 2" FM is in Station 8) N1 ( SHAVING ) T#1 M6 ( T#1 | 2" FACE MILL | FLT:4 | LOC:.375 | SO:1.000 | H#1 | D#1 ) ( MAX - Z2. ) ( MIN - Z0. ) G0 G90 G54 X-5.45 Y-.5001 S7500 M3 G43 H#1 Z2. T#2 Z.1 G1 Z0. F75. X1.2 Y-1.25 X-4.45 Y-2. X1.2 Y-2.7499 X-5.45 G0 Z2. M5 G91 G28 Z0. M01 #2 = 2 ( T#2 | 1/2 FLAT EM | FLT:4 | LOC:.375 | SO:1.000 | H#2 | D#2 ) N2 ( FINISHING AROUND ) T#2 M6 ( T#2 | 1/2 FLAT EM | FLT:4 | LOC:.375 | SO:1.000 | H#2 | D#2 ) ( MAX - Z2. ) ( MIN - Z-.52 ) G0 G90 G54 X-3.625 Y.5 S7500 M3 G43 H#2 Z2. M8 T#3 Z.1 For each variable will be the station number. #1 = 5 (station/tool 5) #2 = 8 (station/tool 8) #3 = 15 (station/tool 15)
  6. I am not sure if this where this post should be. Anyway, I am trying to use macro/variable on my T, D offset and H offset. So, my programs will look like this, and this is without subprograms. #1 = 1 T#1 M6 G.. H#1 .. .. G01 G41 D#1 .. #2 = 2 .. This is so operator will only changes one thing on each Tool instead of going through T, then H and all D of that same Tool. From what I understand is that I can only use variable 1-33. I've tested a program on the machine and it runs. Dry run. My concern is that will it run on every program and won't crash the machine?
  7. A lot happened since I posted this. Our Mastercam vendor sent me NCI parameter list and able to get the Tool table the way we want it. Now, our operators still want to see the Tool comment after M6 but I every tools getting the same Flute #, Stick Out and Length of cut of the first Tool. I've downloaded the MPMaster but getting an error loading the machine or the post.
  8. Hello guys, this site is awesome. I use to do CNC programming using other software. Now, being involve again in CNC using Mastercam is new learning experience. I've been spending a lot of my time here and trying to apply most thing that I want. I am using 2018 version and only have MPFAN.pst, able to put MAX Z and MIN Z. But it would be great to have Number of Flute, Length of Cut and Stick Out in my tool table and tool comment. I love the padding but I need to make programs too. Anyway this is what I got so far. (DATE - 16-07-17 TIME - 17:44) (MATERIAL - 10.50L X 5.25W X 3.25H ALUM 6061-T6) ( T#322 | 2" FACE MILL | SO:0. | H#322 ) ( T#294 | 3/4 EM, 3FLT, 3LOC, .062 TIP RAD | SO:0. | H#294 | D#294 | WEAR COMP | DIA - .75 ) ( T#1286 | 5/16 EM, 3FLT, .75LOC, 3SO | SO:0. | H#1286 | D#1286 | WEAR COMP | DIA - .3125 ) ( T#23 | 3/8 SPOTDRILL, 3.25 STICK OUT | SO:0. | H#23 ) ( T#124 | 1/4 DRILL, 3.25 STICK OUT | SO:0. | H#124 ) G20 G0 G17 G40 G49 G80 G90 #322 = 322 ( 2" FACE MILL | SO:0. | DIA - 2. ) ( G54 IS LEFT BACK TOP CORNER ) N1 ( FACING ) T#322 M6 ( 2" FACE MILL | SO:0. | DIA - 2. ) ( MAX - Z2. ) ( MIN - Z0. ) G0 G90 G54 X-2.2 Y-.5001 A0. S6000 M3 G43 H#322 Z2. M8 T#294 I couldn't get the right tool length stick out right. fmt "SO:" 2 oa_len # Tool Stick Out if prmcode$ = 20007, oa_len = rpar(sparameter$,12)

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