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:

Change drill cycle into broaching operation?


McLaren
 Share

Recommended Posts

Greetings everyone. I was wondering if someone could help me modify a drill cycle to broach. My problems so far are changing the M03 into an M19, right now I just force it back inside the cycle, and making it call the g91 loop line at each position. This is what I have so far..

 

code:

fmt  X  2   peck_size   #Broaching shift amount

fmt K 4 peck_qty #Broaching steps

code:

pmisc2          #Canned Misc #2 Cycle (User Option) (Broach)

peck_size = peck1

peck_qty = shftdrl

n, "M19", e

pdrlcommonb

pcan1, pbld, n, *sgdrlref, *sgdrill, pxout, pyout, prdrlout,

pfzout, pcout, *feed, strcantext, e

n, "G91", peck_size, peck_qty, e

pcom_movea

And this is what it posts out..

 

code:

N6G0G17G40G80G90S50

T6M6(0.1300 BROACH )

G8P1(FEED RAMPS ON)

G0G90G54X1.126Y-2.452M3

G43H6Z5.241M8T1

M19

G99G81R5.241Z4.467F30.

G91X.002K49

X3.126

X5.126

X7.126

G80

M9

M5

Thank you in advance for any and all replies.

Link to comment
Share on other sites

Assuming you're looking to output "G91 X.002 K49" at each position, you'll need to add your code to pmisc2_2 postblock.

 

pmisc2 outputs for the first point and pmisc2_2 outputs for each subsequent point.

 

*Note that broaching in a CNC is not a good idea. Your spindle will suffer. Rotary broaching is the method of choice.*

Link to comment
Share on other sites

Thanks for the info guys. I mentioned to the bosses what you said and they didn't believe me. Anyone else want to chime in with your thoughts on M19 broaching on a vertical mill?

Almost forgot, I talked to Slater Tools and they said they can't do a rotary broach for my application. It's a single slot through the edge of a threaded hole.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.

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