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:

Post wont Output Metric Peck Drilling Values


Adam
 Share

Recommended Posts

Hello,

 

My machine only works in metric and the company I work for only works in Standard. I have setup the post to mulitply the XYZ movements and Feed by 25.4.

 

But I cant figure out why the Post still outputs Inch values for peck drilling cycles. So when I want to peck 1in down it only pecks 1mm instead of 25.4 mm! ughh her is the Drilling Def.

 

quote:

# --------------------------------------------------------------------------

# Drilling Definition Section

# --------------------------------------------------------------------------

 

pdrillref # Determine G98 or G99

n$, psg00, *x$, *y$, e$

if initht$ <> refht$, drillref = 98

if initht$ = refht$, drillref = 99

 

pdwell # Determine whether to output dwell

if dwell$ <> 0, *dwell$

 

pdrill$ # Canned Drill Cycle

pcanrap,e$

n$, *sgdrill, pdwell, "Y",*initht$, *depth$, *peck2$, pcanned,e$

 

ppeck$ # Canned Peck Drill Cycle

 

pcanrap,e$

n$, *sgdrill, pdwell, "Y", *initht$, *depth$, *peck2$, *peck1$, pcanned,e$

 

pchpbrk$ # Canned Chip Break Cycle

 

pcanrap,e$

n$, *sgdrill, pdwell, "Y", *initht$, *depth$, *peck2$, *retr$, *peck1$, pcanned,e$

 

ptap$ # Canned Tap Cycle

 

pcanrap,e$

n$, *sgdrill, pdwell, "Y", *initht$, *depth$, *peck2$, pcanned,e$

 

pbore1$ # Canned Bore #1 Cycle

 

pcanrap,e$

n$, *sgdrill, pdwell, "Y", *initht$, *depth$, *peck2$, pcanned,e$

 

pbore2$ # Canned Bore #2 Cycle

 

pcanrap,e$

n$, *sgdrill, pdwell, "Y", *initht$, *depth$, *peck2$, pcanned,e$

 

pmisc1$ # Canned Misc #1 Cycle (User Option)

pdrill$

 

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

pdrill$

 

pdrill_2$ # Canned Drill Cycle

n$, x$, y$, depth$,e$

 

ppeck_2$ # Canned Peck Drill Cycle

pdrill_2$

 

pchpbrk_2$ # Canned Chip Break Cycle

pdrill_2$

 

ptap_2$ # Canned Tap Cycle

pdrill_2$

 

pbore1_2$ # Canned Bore #1 Cycle

pdrill_2$

 

pbore2_2$ # Canned Bore #2 Cycle

pdrill_2$

 

pmisc1_2$ # Canned Misc #1 Cycle

pdrill_2$

 

pmisc2_2$ # Canned Misc #2 Cycle

pdrill_2$

 

pcanceldc$ # Cancel canned drill cycle

# n, "G80"

 

pcancelcc$ # Cancel cutter comp.

ccomp$ = ccomp$ # dummy line to quiet 'blank line' message

n$, "G40",e$

Is it something in there?

 

Thanks for the help.

 

Adam

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