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:

Brad Lisle

Verified Members
  • Posts

    243
  • Joined

  • Last visited

Everything posted by Brad Lisle

  1. I'm stuck... If I create a drill toolpath in Toolpath Group #1 and post it posts as expected. Now if I create a Toolpath Group #2 and Transform/Translate the previous drill toolpath it does not post out correctly. I think the issue is in the pdrlcommonb section. I know it is not retaining the clearance plane, but I just cant find where. Thank you for your help in advance. How it should look (CENTER DRILL) X-3.525 Y0. Z2. G94 G98 G81 X-3.525 Y0. Z0.73 R1.0051 F10. G80 How it posts (CENTER DRILL) X-3.525 Y0. Z2. G00 Z9999. G94 G98 G81 X-3.525 Y0. Z0.73 R9999. F10. G80 # -------------------------------------------------------------------------- # Drilling # -------------------------------------------------------------------------- pdrill0$ #Pre-process before drill call sav_dgcode = gcode$ #Capture gcode for 5 axis drill pdrlcommonb #Canned Drill Cycle common call, before if sav_dgcode = 81, [ if drillcyc$ = three, drlgsel = fsg1(-ss$) + drillcyc$ * two else, drlgsel = fsg2(dwell$) + drillcyc$ * two if clearflg = one & clearstrt = zero, drillref = zero else, drillref = one if absinc$, result = force(refht_i, refht_i) else, result = force(refht_a, refht_a) ] result = newfs (two, zinc) if drillcyc$ = 3, [ if mi6$, use_pitch = 1 else, use_pitch = sav_use_pitch ] pcom_moveb feed = fr_pos$ comment$ pcan pbld, n$, sgabsinc, e$ #ABSOLUTE if cuttype = one, [ initht_a = initht$ + (rotdia$ / two) #Initial Height Abs refht_a = refht$ + (rotdia$ / two) #Reference Height Abs tosz_a = tosz$ + (rotdia$ / two) #Top of Stock Abs ] if cuttype = three, #W is the current position during Gcode 11, it give refht for drill5ax [ initht_a = w$ + (initht$ - refht$) #Top of Stock Abs refht_a = w$ #Initial Height Abs tosz_a = w$ + (tosz$ - refht$) #Reference Height Abs ] if cuttype = zero | cuttype = two, [ initht_a = initht$ #Initial Height Abs refht_a = refht$ #Reference Height Abs tosz_a = tosz$ #Top of Stock Abs ] if sav_dgcode <> 100 & fmtrnd(initht_a) <> fmtrnd(prv_zabs) & opcode$ = 3, #if using a ref point you need to update the XYZ coord before calling the drill cycle [ #this applies to ref points with opcode 3 only zabs = initht$ zinc = initht$ - prv_zabs sav_gcode = gcode$ if convert_rpd$ = one, [ gcode$ = one feed = maxfeedpm ipr_type = zero ] else, gcode$ = zero pbld, n$, sgabsinc, *sgcode, pxout, pyout, pfzout, e$ gcode$ = sav_gcode ] if cuttype = one, zabs = depth$ + (rotdia$ / two) #Depth Abs if cuttype = three, zabs = w$ + (depth$ - refht$) #Depth Abs if cuttype = zero | cuttype = two, zabs = depth$ #Depth Abs #INCREMENTAL (references absolute calcs) if drillref = 1, #(Inc from refth) [ initht_i = initht_a - refht_a #Initial Height Inc refht_i = 0 #Reference Height Inc tosz_i = tosz_a - refht_a #Top of Stock Inc ] else, #(Inc from initht) [ initht_i = 0 #Initial Height Inc refht_i = refht_a - initht_a #Ref Height Inc tosz_i = tosz_a - initht_a #Top of Stock Inc ] zinc = zabs - refht_a #Depth Inc if haas, [ result = nwadrs(stri,peck1$) result = nwadrs(strj,peck2$) result = nwadrs(strk,peckclr$) ] pbld, n$, sgfeed, e$ prdrlout #R drill position if absinc$ = zero, refht_a, !refht_i else, refht_i, !refht_a pdrlxy #Drill XY coordinates if force_dpts, pfxout, pfyout else, pxout, pyout pdrill$ #Canned Drill Cycle pdrlcommonb pcan1, pbld, n$, *sgdrlref, *sgdrill, pdrlxy, pfzout, pcout, pindexdrl, prdrlout, [if dwell$, *dwell$], *feed, strcantext, e$ pcom_movea ppeck$ #Canned Peck Drill Cycle pdrlcommonb pcan1, pbld, n$, *sgdrlref, *sgdrill, pdrlxy, pfzout, pcout, pindexdrl, prdrlout, *peck1$, [if haas, *peck2$, *peckclr$], *feed, strcantext, e$ pcom_movea pchpbrk$ #Canned Chip Break Cycle pdrlcommonb pcan1, pbld, n$, *sgdrlref, *sgdrill, pdrlxy, pfzout, pcout, pindexdrl, prdrlout, *peck1$, *feed, strcantext, e$ pcom_movea ptap$ #Canned Tap Cycle pdrlcommonb #RH/LH based on spindle direction if rigid_tap, pbld, n$, *sm29, *speed, e$ #Rigid Tapping if use_pitch = 0, [ pcan1, pbld, n$, *sgdrlref, *sgdrill, pdrlxy, pfzout, pcout, pindexdrl, prdrlout, [if peck1$, *peck1$], *feed, strcantext, e$ ] else, [ if metvals, pitch = n_tap_thds$ # Tap pitch (mm per thread) else, pitch = 1/n_tap_thds$ # Tap pitch (inches per thread) pcan1, pbld, n$, *sgdrlref, *sgdrill, pdrlxy, pfzout, pcout, pindexdrl, prdrlout, [if peck1$, *peck1$], *pitch, !feed, strcantext, e$ ] pcom_movea pbore1$ #Canned Bore #1 Cycle pdrlcommonb pcan1, pbld, n$, *sgdrlref, *sgdrill, pdrlxy, pfzout, pcout, pindexdrl, prdrlout, [if dwell$, *dwell$], *feed, strcantext, e$ pcom_movea pbore2$ #Canned Bore #2 Cycle pdrlcommonb pcan1, pbld, n$, *sgdrlref, *sgdrill, pdrlxy, pfzout, pcout, pindexdrl, prdrlout, *feed, strcantext, e$ pcom_movea pmisc1$ #Canned Misc #1 Cycle pdrlcommonb pcan1, pbld, n$, *sgdrlref, *sgdrill, pdrlxy, pfzout, pcout, pindexdrl, prdrlout, shftdrl$, [if dwell$, *dwell$], *feed, strcantext, e$ pcom_movea pmisc2$ #Canned Misc #2 Cycle (User Option) pdrill$ pdrill_2$ #Canned Drill Cycle, additional points pdrlcommonb pcan1, pbld, n$, pdrlxy, pzout, pcout, pindexdrl, prdrlout, dwell$, feed, strcantext, e$ pcom_movea ppeck_2$ #Canned Peck Drill Cycle pdrlcommonb pcan1, pbld, n$, pdrlxy, pzout, pcout, pindexdrl, prdrlout, feed, strcantext, e$ pcom_movea pchpbrk_2$ #Canned Chip Break Cycle ppeck_2$ ptap_2$ #Canned Tap Cycle pdrlcommonb pcan1, pbld, n$, pdrlxy, pzout, pcout, pindexdrl, prdrlout, strcantext, e$ pcom_movea pbore1_2$ #Canned Bore #1 Cycle pdrill_2$ pbore2_2$ #Canned Bore #2 Cycle pdrill_2$ pmisc1_2$ #Canned Misc #1 Cycle pdrill_2$ pmisc2_2$ #Canned Misc #2 Cycle pdrill_2$ pdrlcst$ #Custom drill cycles 8 - 19 (user option) #Use this postblock to customize drilling cycles 8 - 19 pdrlcommonb #if drillcyc = 8, pcan1, pbld, n$, *sgdrlref, *sgdrill, pdrlxy, pfzout, pcout, pindexdrl, # prdrlout, dwell, *feed, strcantext, e$ if drillcyc$ = 8, [ sub_prg_call = peck1$ pcan1, pbld, n$, *sg00, *sgabsinc, pfxout, pfyout, pfcout, pindexdrl, strcantext, e$ pbld, n$, "M98", *sub_prg_call, e$ ] else, "CUSTOMIZABLE DRILL CYCLE ", pfxout, pfyout, pfzout, pfcout, pindexdrl, e$ pcom_movea pdrlcst_2$ #Custom drill cycles 8 - 19, additional points (user option) #Use this postblock to customize drilling cycles 8 - 19 pdrlcommonb #if drillcyc = 8, pcan1, pbld, n$, pdrlxy, pzout, pcout, pindexdrl, prdrlout, dwell, # feed, strcantext, e$ if drillcyc$ = 8, [ sub_prg_call = peck1$ pcan1, pbld, n$, *sg00, *sgabsinc, pfxout, pfyout, pfcout, pindexdrl, strcantext, e$ pbld, n$, "M98", *sub_prg_call, e$ ] else, "CUSTOMIZABLE DRILL CYCLE ", pfxout, pfyout, pfzout, pfcout, pindexdrl, e$ pcom_movea pcanceldc$ #Cancel canned drill cycle result = newfs (three, zinc) if drillref = 0, zabs = initht_a #Make the initht the modal Z value else, zabs = refht_a prv_zia = zabs !zabs ps_inc_calc prv_gcode$ = zero if cool_zmove = yes$ & (nextop$=1003 | (nextop$=1011 & t$<>abs(nexttool))), coolant$ = zero pcan if drillcyc$ <> 8, pcan1, pbld, n$, "G80", scoolant, strcantext, e$ pbld, n$, sgfeed, e$ pcan2
  2. I would suggest upping the RAM in the back of the control, but it will still lack in the video card/processing department. Keep it to minimal use and you should be alright. Also, I would not use Mastercam on the control if the machine is running a program. System crashes do happen and it would suck if you were in a cut when it happens.
  3. Brian, what is your radial value in your tool offset page? You need to have more lead-in than the radial comp value. Not sure if this is the cause but it is a place to start.
  4. 60K parts of any fine particle material containing graphite will cause serious issues with any machine. I sure hope they took that into consideration when quoting. Okuma and many other machine tool manufactures offer a graphite package as an option on many of the machine models. This will double up on the seals and wipers as well as adding extra protection for the spindle bearings. As everyone else is saying, health concerns are also a major issue. Make sure you have some type of HVAC filtration system in place as well as a full face mask. You don't want the fibers getting into you eyes or lungs! It will only be mildly irritating at first but serious health issues will arise many years down the road.
  5. If you really want to go cheap and want to make your own, buy some seamless steel tube with the ID just slightly larger than nominal bar diameter and make donuts to go ever the tube stock. Just use a plastic that will not absorb the coolant and swell.
  6. exactly what they said! set Multi-turn parameter to ineffective (off). For a P100M, P200M or P300M control it is in the rotary axis parameters somewhere or set Parameter 39 bit 3 (A-axis), bit 4 (B-axis) or bit 5 (C-axis) depending on rotary orientation to unchecked. You will also want to set Parameter 69 bit 0 (4th axis) to checked for shortest rotation. Also make sure you have Parameter 15 bit 7 checked if you are running in inch mode. The control will need to cycle power before the parameter change will be effective. You will also want to configure your machine configuration to break rotations into quadrants if using shortest distance or force M15/16 for rotation direction.
  7. They are impressive drills! I am curious what machine they were running this on. Also as to why they ran the competitors drills first at the slower speeds and feeds then stopped the spindle and HP coolant. It looks as if the HP coolant and mostly the spindle never quite get to full RPM before starting the failed drill cycle. I would like to see the competitor drills with a fair chance. Not that I think the others will make it, but at least give them a chance is all. I have seen many tooling tests where they bash the competitors tools when they will perform equally or better in some cases. It's all how you set the demo up to make the others fail.
  8. Also try look for a technical recruiter in the CNC industry. I highly recommend Brian Cerkas. He is based out of Chicago area, I'm not sure if he goes into Canada as well but could probably set you up with someone. Try doing a search for him in the job opportunities forum.
  9. The code looks fine to me. It's going to do the exact same thing. except for the multiple holes, the tool tip will stay down to Z.1 when rapid traversing between hole locations.
  10. Here is the one I was speaking about that I found on here http://www.emastercam.com/board/topic/65330-okuma-horizontal-offset-rotation-macro/?hl=okuma#entry1062179 I noticed this is for a horizontal though. I will have to keep digging for a 5-axis one if there is one available on here.
  11. You can do full 5 axis without the additional options. BUT, there is always a catch right, in order for Mastercam to output proper rotary feedrates. Whether it be in degrees per minute (standard for Okuma) or inverse feed (optional) it needs to know where the part is in relation to the machine rotation pivot points. You will need to program your part, setup your part to find the actual offset value, then possibly and more than likely move the model or geometry for your part, regen and post. With the other options, TCP for full 5-axis all you need to do is post the code, setup and run. The control will dynamically track the location and continuously compensate for the rotation pivot points. If you only do a few parts a year with full 5 axis it might be best to not jump for TCP. Fixture tracking however is very effective for 3+1 or 3+2 positional. Typically programmers use multiple work offsets and possibly different points of origin for different planes. This leaves the setup guy to have to find and set multiple work offsets. Sometimes they face difficulties finding an edge to set from. Using CALL OO88 (similar to TWP) you only need to set the original work offset then use the CALL OO88 cycle to move and/or rotate the planes from the original offset to a new offset. As I mentioned earlier I believe if you do some searching on this forum someone posted a macro capable of doing the same as the paid option. If you cannot find it let me know. I strongly suggest using it. You can also kindly ask the Applications Engineer, as we tend to have other custom macros we might share.
  12. for the Genos M560-V with a 4 or 5 axis rotary CALL OO88 (TWP) and G169 (TCP) are not standard. Unless you purchased those options you will need to know the physical location for center of rotation and move models accordingly. The main question I would ask, are you doing positional 3+2 only or will you be using full 5 axis contouring? A majority of companies that purchase a trunnion table to sit on a 3 axis VMC typically only ever use 3+2 positional moves with maybe the occasional full 5 axis contour. It makes it difficult for them to justify the expense for additional options and usually are not informed enough to make the decision on how important these options are to fully utilize the potential of what they purchased. It's like buying a Sandvik Hydro-grip holder just to put a HSS jobber drill in it. Depending on what your shops actual needs out of the rotary unit will help determine what options, if any you will need to get by. I know there are a few macros out there that can do the same as the CALL OO88 (TWP) if you look hard enough or ask nicely.
  13. When using the Renishaw Productivity Plus you will want to switch over to using Renishaw macros instead of the standard Okuma probing cycles. Please contact your Okuma distributor and they should be able to help you out.
  14. Here's a cool video on the process of making Damascus Steel. Warning!!! this guy is addicting to watch. I'm finally replying to this after 1.5 hours of videos
  15. Thank you, apparently I was not forcing the regen. I don't recall having to do that in previous versions. Thank you!
  16. I also tried the following just to make sure the second comma was not causing an issue if mr4$, [ "test1", e$ ] if mr5$, [ "test2", e$ ]
  17. Hey guys, I started modifying a post to use misc int and misc reals and noticed since I installed 2017, X9 is acting funny and not looking at the misc values. I put the following in multiple locations to see if I could even get it to output anything with no success. Has anyone else noticed this? if mr4$, "test1", e$
  18. My vote is for Interapid. I dial in probe tips on a regular basis for new machine installs. when you make contact only allow the indicator to travel .001 max from a relaxed state. By doing this, the probe will have minimal deflection as well. I actually dialed in a stylus today and had the calibration results show a max deviation of .0003" measured every 30 degrees around the ring gauge.
  19. double sided sticky tape, if vacuum is not an option.
  20. Another way would be to use a schedule program, but you would need to have a little logic to change work offsets.
  21. We have a customer that uses them on their Okuma MB-5000H's with Stevens tombstones. They use Mitee-Bite TalonGrip vise jaws for holding raw stock. I love using those jaws! The clamps work great for them and have never heard any issues so far. http://www.miteebite.com/products/8-talongrip-vise-jaw-system/
  22. Chris, Unfortunately, I have not had enough time on the new Hardinge to give an accurate opinion. I have been told that it is based of a newer beefier design concept and it is much better than before. But for me that is all hearsay until I can prove otherwise.
  23. We distribute both, Okuma and Hardinge. My opinion might be a little bias though since I have spent a great deal on Okuma's. Here are a few things to keep in mind. Pros for the Hardinge Conquest H51-SP: True independent Y-axis, a huge benefit if doing a lot of Y-axis milling built in nose collet, I don't personally see this as an advantage because I would be afraid of someone bumping into the spindle face, then your chuck would not mount proper without regrinding the spindle taper. But some swear by it. saves time in setups Super Precision holds amazing accuracies, partially due to glass scales Great for hard turning applications 8000 rpm live tooling Pros for Okuma LB-3000EX-MYW: OSP control Program size and storage Advanced One touch IGF (optional conversational programming) 40/30 (30 min/cont) HP for Big Bore option or 30/20 for Standard Bore and Super Big Bore 9.5/5.5 (20 min/cont) HP for live tooling Thermally stable Overall both are great machines. You really can't go wrong with either. With glass scales added to the Okuma you could expect same accuracies as the H51-SP, but even without scales, the Okuma holds incredibly tight tolerances. What type of tolerances are you trying to hold? less than .0005"? on a majority of features? We have customers running 24/7 holding +/-.0002 on select features without scales. Personally I would buy the Okuma without even thinking twice.
  24. Mark, I have one exactly like your old one that I have not used in the last few years. $50 and she is yours. I live out of a backpack and laptop so I have gotten use to not having one. I do occasionally use the mobile version (far top right of Jay's pic), but very rarely use that one too. I get tiered of seeing it sit there on my book shelf.

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