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:

deep hole drilling...subsequent pecks?


Jammer™
 Share

Recommended Posts

Let's say I am drilling a hole 2" deep with a short drill, then taking it to 5" deep with another drill. I peck drill my first hole at .125 a peck. I want my second drill to start at -2" on the first peck and each subsequent peck to be .125 down to my -5" depth. I can post this with a hurco post and it reads out three different z depths, and works fine. But when I use my okk post it puts in a z-5.000, my reference height value, and a Q2.000 Well that wants to drill 2" deep on the first peck, and 2" deep on every other subsequent peck as well. My okk post reads like this:

fmt Q 2 peck1 #first peck increment (pos)

fmt 2 peck2 #second or last peck (pos)

fmt Q 2 shftdrl #fine bore tool shift

fmt R 2 refht_a #reference height

fmt R 3 refht_i #reference height

 

Do I need to add a letter on that second line (where the Q's and R's are)for it to pick up my second peck increment? And if I do, will the machine read it? I don't know if this can be fixed through Mastercam, or do I need to call OKK? Thanks for any input. confused.gif

Link to comment
Share on other sites

I don't believe that they support subsequent pecking. As far as I can tell from the books and trying dry runs on the machine anyway. I have sent our okk rep an e-mail, but I haven't heard anything yet. If they don't support it, is there a way to make it happen, either thru mastercam or by altering the post? I have used my top of stock parameter, but It wants to rapid to my initial depth, and I don't like that.

Link to comment
Share on other sites

If your Pecking Cycle doesn't support a Subsequent Peck parameter -

you will need to turn off canned cycle output for Peck Drilling.

 

Find in your PST->

usecanpeck : yes #Use canned cycle for Peck

 

Change to ->

usecanpeck : no #Use canned cycle for Peck

 

 

Now the 1st Peck, Subsequent Peck and Peck Clearance values

are used when generating LONG HAND output (using G0 & G1 moves).

 

That may not sound too appealing, ALL your peck drilling in long hand format?

If you sometimes want the G83 canned cycle and sometimes need to go to the

long hand output to use Subsequent Peck, etc - there is a way.

You can add some logic in the PDRILL0 postblock like shown below...

 

Now if you program a Peck Cycle and specify ZERO for the Subsequent Peck value,

you will get a G83 canned drilling cycle call. But if you enter a NON-ZERO value

for the Subsequence Peck the post will change over to long hand output.

 

 

code:

pdrill0         #Pre-process before drill call

sav_dgcode = gcode #Capture gcode for 5 axis drill

 

#Added (2/19/2003) -->>

if drillcyc = 1, # Peck Cycle is programmed

[

if peck2 = 0,

usecanpeck = yes #Use canned cycle for Peck

else,

usecanpeck = no #Use canned cycle for Peck

]

Link to comment
Share on other sites
  • 3 years later...

I've been searching for an easy way to switch between canned cycle and long hand without doing custom drill cycle and looks like I found it...but it's old...

 

 

quote:

Now if you program a Peck Cycle and specify ZERO for the Subsequent Peck value,

you will get a G83 canned drilling cycle call. But if you enter a NON-ZERO value

for the Subsequence Peck the post will change over to long hand output.

Roger, It's a great way of setting conditional long or canned cycle depending on the "Subsequent Peck value".

 

Can it be done in current mpfan post with

pchpbrk$ #Canned Chip Break Cycle

 

???

 

Regards, Mark

Link to comment
Share on other sites

mark,

 

To do the same the ChipBreak you should be able to use the same type of logic.

 

** You'll need to append the '$' sign on all these variables if running X !

code:

      #Added (2/19/2003) -->>

if drillcyc = 1, # Peck Cycle is programmed

[

if peck2 = 0,

usecanpeck = yes #Use canned cycle for Peck

else,

usecanpeck = no #Use canned cycle for Peck

]

 

#Added (11/15/2006) -->>

if drillcyc = 2, # ChipBreak Cycle is programmed

[

if peck2 = 0,

usecanchip = yes #Use canned cycle for Chip Break

else,

usecanchip = no #Use canned cycle for Chip Break

]

-----

Heavy,

 

mpmaster post

 

Sorry, I can't help you there...

Try getting In-House's attention or one of the (many) MPMaster experts on the fourm to assist.

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