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:

Custom Drilling Cycles


JoeyW
 Share

Recommended Posts

While the variable drillcyc set to 0 (simple drill) branches to pdrill, and drillcyc = 7 branches to pmisc2, drillcyc values from 8 to 19 (Custom cycles 9-20) will branch to the pdrlcst post block for the first point and pdrlcst_2 for subsequent points.

If your post uses a string table for drilling G-Codes (e.g. sgdrill table), you could add entries to the table, and then simply use an output block like you would find under pdrill in your post:

n, *drillref, *sgdrill, pdrlxyrot, *depth, *refht, pdwell, *frplunge

If you have different parameters for each custom cycle, vary the output with a logic statement based on the drillcyc variable:

if drillcyc = 8 , n, *drillref, "G8?", pdrlxyrot, *depth, *refht, pdwell, *peck1, *peck2, *frplunge

These examples assume your post is V6-era Mpfan-based.

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