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:

Forcing Long Hand Drilling Cycles


Mick
 Share

Recommended Posts

I have a C Axis VTL lathe post, with a Fanuc control. The drill cycles are limited, and as a result, we want to force the peck drilling cycle to be output longhand.

 

I've tried setting the Peck Drilling cycle enable to off in the Control Definition, and have also set the "usecannedpeck" or whatever variable it is ( smile.gif ), but it still forces out the peck drill cycle. Is there something I am missing here?

 

I tried forcing all the drill cycles to off, but they still output.

Link to comment
Share on other sites

Ok, scrub that last query. It helps to check which post you are editing, and which post you are using......

 

ARRGGH...LOL

 

Interestingly though, when I disabled it in the control definition, it didn't disable the drill cycles. They were still output as cycles. However, when I edited the post, they were output as longhand.

Link to comment
Share on other sites

The Control Definition simply sets the initial value of various predefined variables (such as usecanpeck$). These values are then occasionally overwritten in the post processor inside of a post block.

 

An example of this would be in MPLFAN:

code:

pdrill0$         #Pre-drill postblock call

if cuttype = five, #Don't allow 5 axis, rests at toolchange

[

usecandrill$ = zero

usecanpeck$ = zero

usecanchip$ = zero

usecantap$ = zero

usecanbore1$ = zero

usecanbore2$ = zero

usecanmisc1$ = zero

usecanmisc2$ = zero

]

In this case, canned cycle output is disabled no matter what the CD setting is if you are doing a 5-axis toolpath.

 

This is not really tied to whether the post is an "X" post or an updated pre-X post. It is simply due to the fact that in the end, the code in the post determines the output.

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