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:

Chris Wichlaz @ lpmachine

Verified Members
  • Posts

    52
  • Joined

  • Last visited

    Never

Everything posted by Chris Wichlaz @ lpmachine

  1. i can't believe I asked this question when it was sitting in front of my face the entire time. Thanks Chris
  2. Good Afternoon all In Mpmaster for X3 how do I get the sub programs to start counting from the program # +1 example O1234 M98P1235 M98P1236 sub programs O1235 O1236 code: psub_call_s$ #Call to sub level result = nwadrs(strp, sub_prg_no$) sub_prg_no$ = sub_prg_no$ + progno$ #Add sub number offset if sav_progno = sub_prg_no$, result = mprint(sprgnerror) pbld, n$, "M98", *sub_prg_no$, e$ this comes from mpmaster and has been modified already to drop the +1000 but I need to get it to be progno$ + 1 and to count the subs from there
  3. bump anybody else have an idea. I can send the file in the morning if somebody wants to look at it Thanks CHris
  4. Tony thank you for the response I added an old post from x2 to the machine def and it works fine (this post was updated from v9) The machine def is definded with a rotary axis. I have done a lot of B axis positioning with this post just never a axis sub. Is there an area that I should eb looking at in MPmaster? Is this a Machine def problem still?
  5. When I post a file using Axis Substitue X axis in X3 MU1 using X3mpmaster i get code: N1 T112 M06 ( 1/16 FLAT ENDMILL) M79 (UNLOCK) G00 G17 G90 G540 B0. S9168 M03 M31 X0. Y0. G43 H112 Z0. M08 G94 G01 F36.67 G41 D112 F73.34 G40 G41 D112 G40 G41 D112 G40 G41 D112 G40 G41 D112 G40 G41 D112 G40 G41 D112 G40 G41 D112 G40 G41 D112 G40 G41 D112 G40 G41 D112 G40 G41 D112 G40 G41 D112 G40 G41 D112 G40 G41 D112 G40 G41 D112 G40 G41 D112 G40 G41 D112 G40 G41 D112 G40 G41 D112 G40 G08 P0 M09 M05 G00 M09 G80 G90 G103 Z.01 J99. G91 G00 G28 Z0. M79 (UNLOCK) G28 X0. Y0. B0. M78 (LOCK) G90 M30 % if I use a version 9 post with the same machine def i get the correcet code code: T112 M6 G0 G90 G54 X0. Y-.5741 B180.113 S9168 M3 G43 H112 Z1.71 M8 Z.725 G1 Z.585 F36.67 G41 D112 Y-.5671 B179.464 F73.34 Y-.5638 B179.265 Y-.56 B179.196 Y-.4988 Y-.4928 B179.158 F461.38 Y-.4895 B179.128 F668.11 Y-.4868 B179.095 F896.92 Y-.4844 B179.058 F1118.35 Y-.4821 B179.016 F1328.49 is there something that I'm missing? I just don't know where to look to fix this one. I tried a fresh copy of mpmaster and I got the same G41G40 with no Y or B moves in it Thank you in advance Chris
  6. We use a lot of Mitsubishi Carbide VP10RT in the lathe dept doing 300 series stainless and vardex V12K for aluminium work
  7. try unchecking "update Cplane and Tplane when changing Gview" in Settings, Config, Cad settings. THis was suggested by John Paris a week or two ago. Chris
  8. John and Simtech thank you for the responce. Sorry it took me so ling to get back to you guy's. Thank you John - I have the fbuf set to 5 1 1 0 and have opened the opened the *.tx5 file and have this code: 1001. 99999. -99999. 1002. -0.5 2. 1002. -0.1 0.1 0. -0.5 2. I did fix the rbuf line per Simtech suggestion code: size5=rbuf(5,1) now reads size5=rbuf(5,0) code: pwritbuf5 # Write Buffer 1 b5_gcode = gcode$ b5_zmin = z_min$ b5_zmax = z_max$ b5_gcode = wbuf(5, wc5) preadbuf5 # Read Buffer 1 size5 = rbuf(5,0) b5_gcode = 1000 min_depth = 99999 max_depth = -99999 while rc5 <= size5 & b5_gcode = 1000, [ if rc5 <= size5, b5_gcode = rbuf(5,rc5) if b5_zmin < min_depth, min_depth = b5_zmin if b5_zmax > max_depth, max_depth = b5_zmax ] question #1 would be the wc5 : 1 be changed to wc5 :-1 and the the while statement would be changed from "while rc5 <= size5 & b5_gcode = 1000," to this "while rc5 < wc5," Thanks again for the help. If need be I can email the file over. Chris
  9. This is a zmin/zmax post tooltable post question. I'm using buffer #5 as per the orignal mpmaster and what i'm getting when I added min_depth and max_depth to the code: ( T4 - 3/8 FLAT ENDMILL - H4 - D4 - D0.3750 " - CONTOUR.... Z99999. Z-99999. ) <= this is where the problem is ( T2 - 3/32 FLAT ENDMILL - H2 - D2 - D0.0938 " - CONTOUR.... Z-.5 Z2. ) <= this s/b tool 4 ( T3 - 1/2 FLAT ENDMILL - H3 - D3 - D0.5000 " - CONTOUR.... Z-.1 Z.1 ) <= this s/b tool 2 Question - in the file the buffer outputs can I skip the first line? code: 1001. 99999. -99999. <= skip this line 1002. -0.5 2. <= this be tool 4 1002. -0.1 0.1 <= this be tool 2 0. -0.5 2. <= this be tool 3 The min/max in the program is good code: T4 M06 ( 3/8 FLAT ENDMILL) N130 (MAX - Z2.) N140 (MIN - Z-.5) code: # -------------------------------------------------------------------------- # Tooltable Output # -------------------------------------------------------------------------- pwrtt$ # Write tool table, scans entire file, null tools are negative if rotaxis$ > 0 | rotary_type$ > 0 | mill5$ <> 0, [ sav_rot_on_x = rot_on_x output_z = no$ ] if vmc = 0 & tlplnno$ <> 2, sav_rot_on_x = rot_on_x if vmc = 1 & tlplnno$ > 1, sav_rot_on_x = rot_on_x #sav_rot_on_x = rot_on_x #Uncomment this line to output rotary axis value even when it's not used t$ = wbuf(4,wc4) #Buffers out tool number values if tool_table = 1, ptooltable if tool_table = 2, ppredtool if tool_table = 3, pmetatool if t$ >= zero, tcnt = tcnt + one ptravel pwritbuf5 ptooltable # Write tool table, scans entire file, null tools are negative tnote = t$ toffnote = tloffno$ tlngnote = tlngno$ min_depth = z_min$ max_depth = z_max$ spaces$=1 if t$ >= zero, [ if output_z = yes$, if tcr$>0, scomm_str, *t$, ptspace, " - ", plistcomm, " - ", *tlngno$, phspace, " - ", *tloffno$, pdspace, " - ", *tldia$, punit, pdiamspc, " - ", *tcr$, punit, " - " popnote, *min_depth, *max_depth, scomm_end, e$ if tcr$=0, scomm_str, *t$, ptspace, " - ", plistcomm, " - ", *tlngno$, phspace, " - ", *tloffno$, pdspace, " - ", *tldia$, punit, pdiamspc, " - " popnote, *min_depth, *max_depth, scomm_end, e$ ] # -------------------------------------------------------------------------- # Buffer 5 Read / Write Routines # -------------------------------------------------------------------------- pwritbuf5 # Write Buffer 1 b5_gcode = gcode$ b5_zmin = z_min$ b5_zmax = z_max$ b5_gcode = wbuf(5, wc5) preadbuf5 # Read Buffer 1 size5 = rbuf(5,1) b5_gcode = 1000 min_depth = 99999 max_depth = -99999 while rc5 <= size5 & b5_gcode = 1000, [ if rc5 <= size5, b5_gcode = rbuf(5,rc5) if b5_zmin < min_depth, min_depth = b5_zmin if b5_zmax > max_depth, max_depth = b5_zmax ] fmt Z 2 min_depth # Tool z_min fmt Z 2 max_depth # Tool z_max I can get any additional info if required. Thank you for any and all help
  10. set your clearance to .1 absolute and DO NOT check the box that says to use clearance at the start and end of the operation. What this will do is output a G98 in your post. So you will see the machine stop at.1 above your part then in the G81 command it would drop into the pocket drill. Once it is done drill it will come out of the pocket and return to the inital plane that was set the z move before the G81. Try this I think my memory is correct. I would back up the Z run a couple of holes first then dive in to the part HTH Chris
  11. look under coordinates under parameters in your operation in the operation menu hth
  12. jdmeyer294 there are a lot of great MasterCam programers here that will be able to help you in the morning. One thing I would do right of the bat is post the file to the FTP site if you are able to, and people will be able to help you directly. Unfortunaly I can't help you on this. Welcome to the forum Chris
  13. how about a mitshibishi 3" ajx cutter. We cut 316 at .050 doc, .025 feed per tooth at approximently 800 rpms which equals 80 ipm. I know we have ran this at 100 ipm in 316 with out any problems, I just can't remember what the spindle speed was at that at that feed rate. We ran dry on a Matsura 630 with a bt40 taper. I hope this helps. I do know the insert life was good we were using a grade vp30rt cutting dry. WHen I get in tommarrow if I can find some of my notes I will post them
  14. In X2 isn't this in the MD under the a axis, in the lower right hand corner. I'm try to recall this from memory. I don't know about the previous versions. hth Chris
  15. link On the page 2 at the bottom there is a chart
  16. Colin I looked in the drill dwell setting, then clicked the help icon, field definitions, stated that dwell was in sec. So at that point I figured the post shloud out put in sec, so if it goes to another machine we would get the same dwell w/o updates Thanks thou Chris
  17. thank you John I have been re-reading this and finaly I got over my brain fart, it works out just fine. Thanks
  18. If I type in 3000 in that statement, then wouldn't it force out 3000 every time? I will give it a try, that is what they make backups for. I guess I stated my question wrong. In drill statement we would like a dwell of 3 secs. When I post the file I should see a G82 Z-1.000 P3000 R.1 F10 right now I'm getting G82 Z-1.000 P3 R.1 F10. I would like to not lock my self into a hard number a keep it a varable. Chris
  19. I'm using the Generic Fanuc 4axis post that comes with X2. We want to drill and add a dwell to the bottom of the hole which is already coded in to the post. The problem I'm having is I need to out put a p3000 instead of a p3. I have tried to change code: fmt P 4 dwell$ #Dwell code: fs2 4 1 0 1 0 #Integer, not leading I would think that I need to change/add a new fs2 statemne to appear something simular to this fs2 23 3 0 3 0t # interger, force three trailing. and change the dwell fmt P 23 dwell$ #Dwell would this work? Since I'm adding a line to the format statments do I need to change something else? Thank you in advance Chris

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