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:

X3 Rigid tap...


?Mark
 Share

Recommended Posts

Mark,

 

First thing make sure the use_pitch variable is set in the post

 

If it is and it's not working then you have to do 1 of two things, either code your post to calculate for metric taps or save your metric tap to the inch library and calculate the TPI.

 

I've done this to read it out of the metric library

 

code:

pdrlcommonb

pbld, n$, "G95", e$

pbld, n$, "M29", *speed, e$

pitch = (feed / sav_ss)

#if met_tool, pitch = n_tap_thds #Tap pitch (mm per thread)

#else, pitch = 1/n_tap_thds #Tap pitch (inches per thread)

pcan1, pbld, n$, *sgdrlref, *sgdrill, pxout, pyout, pfzout,

prdrlout, *pitch, !feed, strcantext, e$

pcom_movea

I create the sav_ss variable and plug it in in the tool change section

 

sav_ss = speed

 

right undert he G43 line.

 

code:

pbld, n$, "G43", ptlngno, pfzout, scoolant, e$

sav_ss = speed

if you use it don't forget to format the sav_ss vaibale

 

code:

sav_ss   : 0

I added it to the drill variables section

Link to comment
Share on other sites

quote:

I've done this to read it out of the metric library


Something has changed with the way mc is calculating/reading the numbers from the metric tool library.

It worked well for me before and I thought switching to fpr messed it up for me, but just now switched back to ipm and the output is still wrong.

 

John, thanks very much for the help. I'll play with the post when I have some breathing room here hopefully later today.

Regards, Mark

cheers.gif

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