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:

Fanuc M29 Before G84 Tap?


machinetec
 Share

Recommended Posts

Here is what I did to my mpmaster.pst to put the M29 into the .NC program:

 

 

ptap #Canned Tap Cycle

pdrlcommonb

#RH/LH based on spindle direction

if use_pitch, pbld, n, "G95", e

if use_pitch = 0,

[

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

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

prdrlout, *feed, strcantext, e

]

else,

[

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

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

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

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

prdrlout, *pitch, !feed, strcantext, e

]

pcom_movea

tapflg = 1

 

This works good for me.

 

edit: by making this change, I believe that I only have option for rigid tap now. If for some reason (haven't found one in 3 1/2 years) I would like to post code without rigid tap I would have to edit my post.

 

[ 09-17-2003, 10:02 PM: Message edited by: Matthew ]

Link to comment
Share on other sites

I read my fanuc book and G84 is the standard tapping cycle.M29 The synchronous tap is such that the feed rate during tapping is synchronous with the spindle rotating speed for tapping.The spindle during tapping rotates normally and reversly in synchronism with Z-axis.Accordingly,when this functionis used,a tapping holder for tapping may not be used,and even a milling chuck or slim chuck can also be used for this purpose.

Note:The feed rate at tapping is "F"=Rotating speed x pith.

 

Learn something everyday 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...