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:

M135 MPMASTER


DavidB
 Share

Recommended Posts

Guest CNC Apps Guy 1

Hope this helps...

 

 

code:

ptap            #Canned Deep Hole Tap Cycle

pdrlcommonb

#RH/LH based on spindle direction

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

if use_pitch = 0,

[

n, *sm05, e

n, "M29", *speed, e

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

prdrlout, dwell, *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)

n, *sm05, e # Force Turn Off Spindle

n, "M135", *speed, e # Set Rigid Tapping Active

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

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

]

pcom_movea

tapflg = 1

Link to comment
Share on other sites

I will try monday James Thx.

I need...EG:

(TAP M12 FOUR HOLES)

T51 M06 (M12 TAP X 1.75 PITCH)

M97

M56 H1 D2

T70

G54

M11 (UNLOCK)

G00 G90 X-117.5 Y441.75 B270. S400 M03

M10 (LOCK)

G43 H1 Z176.75 M08

M135

G99 G84 Z143.75 R176.75 F700.

Y411.75

Y285.75

Y255.75

G80 M09

M05

G91 G28 Z0.

M01

 

cheers.gifcheers.gif

Link to comment
Share on other sites

James,

This is what my post looks like for Tapping.

 

ptap #Canned Tap Cycle

pdrlcommonb

#tool_typ = 4 - RH, 5 - LH

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

if use_pitch = 0,

[

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)

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

prdrlout, *pitch, !feed, strcantext, e

]

pcom_movea

tapflg = 1

 

I would like to have a M135 on a sepperate line before the G84.

Thanks cheers.gifcheers.gif

Link to comment
Share on other sites

code:

ptap #Canned Tap Cycle

pdrlcommonb

#tool_typ = 4 - RH, 5 - LH

pbld, n, "M135", e <-------Add this line------>

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

if use_pitch = 0,

[

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)

pcan1, pbld, n, *sgdrlref, *sgdrill, pxout, pyout, pfzout, pcout, prdrlout, *pitch, !feed, strcantext, e

]

pcom_movea

tapflg = 1

That should do what you want David.

 

HTH

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