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:

Canned drill cycle wont output Q


Recommended Posts

Hi all!

I'm trying to get my post to ouput depth of cut on a canned drill cycle, I've not been successful in doing so.

 

Here's my postblock for my canned drilling cycle:

ldrill$          #Canned drill cycle, lathe
      #Use this postblock to customize lathe drilling cycles 0 - 7
      pdrlcommonb
      pcan1, pbld, n$, *sgdrlref, pgdrlout, pxout, pyout, pzout,
      prdrlout, dwell$, pffr, strcantext, e$
      pcom_movea
      pcanceldcl

 This is the result code:

G98 G83 Z-.052 R.1 F.01
Link to comment
Share on other sites
Guest MTB Technical Services

 

Hi all!

I'm trying to get my post to ouput depth of cut on a canned drill cycle, I've not been successful in doing so.

 

Here's my postblock for my canned drilling cycle:

ldrill$          #Canned drill cycle, lathe
      #Use this postblock to customize lathe drilling cycles 0 - 7
      pdrlcommonb
      pcan1, pbld, n$, *sgdrlref, pgdrlout, pxout, pyout, pzout,
      prdrlout, dwell$, pffr, strcantext, e$
      pcom_movea
      pcanceldcl

 This is the result code:

G98 G83 Z-.052 R.1 F.01

 

 

You aren't getting the proper output because you don't have the variable for the peck amount.

The required variable used to be peck1 .

Link to comment
Share on other sites

Grafdude

 

Look for these lines:
fs2 16  0 4 0 3t    #No decimal, absolute, 4 trailing

fmt  "Q" 16  peck1$     #First peck increment (positive)

 

 

I would create a new fs2 so that nothing else is effected.

 

 

fs2 xx  0 5 0 4t    #No decimal, absolute, 5 trailing               add this line, use the next available number in your fs2 definitions for xx

 

fmt  "Q" xx  peck1$     #First peck increment (positive)        change your peck1 format,  xx to match the xx number assigned in your format statements

Link to comment
Share on other sites

ipr_actv$ = 0

 

Add this into the beginning your peck drilling post block for IPM.  1 is for IPR.

 

mpeck$         #Canned peck drill cycle, mill

      ipr_actv$ = 0
      pdrlcommonb
      pcan1, pbld, n$, *sgdrlref, pgdrlout, pxout, pyout, pzout,
        pcout, pindexdrl, prdrlout, *peck1$, dwell$, pfr, strcantext, e$   #pfclampon,
      pcom_movea
 

Link to comment
Share on other sites
Guest MTB Technical Services

Thank you bd41612, that did the trick! Right now my post outputs feed on my peck drill cycle in inch per rev, I need them to be in inch per minute, any ideas?

 

That's actually controlled by the operation parameter itself.

You can force it in the post to be either way but I would check your op data.

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