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:

Dual feeds rigid tap cycle


Recommended Posts

Hello folks,

 

So, I've seen this before, and for the life of me cannot remember where

in the post I need to make the change...

 

Here's the output:

 

-----------------------------------

(CUT TAP 16X 8-32 HOLES)

( 8-32 TAP .164 DIA 32IPM 1024RPM)

N15M19

G0G17G40G80G90

T15M6

(MAX | Z.5)

(MIN | Z-.4658)

S1024M5

M8

G0G90G54X16.Y-1.5

G43H15Z.5T6

Z.3

G84.2G99X16.Y-1.5Z-.4658R.3F.0313S1024

X16.Y-2.F32.

X16.Y-3.

G80

Z.5 M9

G0M5

G91G28Z0.

G28Y0.

G0G91G30X0Y0Z0M19

M30

----------------------------------

 

As you can see there are two feeds, one on the G84.2 line

and the second on the very next line.

They're different values.

The correct value is the first feed of .0313

The second stops the machine.

 

Using an mpmaster post...

 

All help appreciated.

Thanks!

 

Tala

415 902-4794

Link to comment
Share on other sites

ptap_2$

 

Mine does not have a feed call in it, if yours does I would remove it. Can't think of any instance I would ever want to change feedrates in the middle of a tap cycle.

 

Hello,

 

This is the old code from mpmaster:

-----------------------------

ptap_2$ #Canned Tap Cycle

tap_feed = abs(speed / n_tap_thds$)

pdrlcommonb

pcan1, pbld, n$, pfxout, pfyout, pzout, pcout, prdrlout, dwell$,

tap_feed, strcantext, e$

pcom_movea

-----------------------------

 

This is the revised code:

It solves the problem...

-----------------------------

ptap_2$ #Canned Tap Cycle

tap_feed = abs(speed / n_tap_thds$)

pdrlcommonb

pcan1, pbld, n$, pfxout, pfyout, pzout, pcout, prdrlout, dwell$,

strcantext, e$

# pcan1, pbld, n$, pfxout, pfyout, pzout, pcout, prdrlout, dwell$,

# tap_feed, strcantext, e$

# previous two lines contains tap_feed which places an additional

# feed rate into the rigid tap cycle... removed Tala 5/23/12

pcom_movea

------------------------------------

 

 

Here's the correct output:

----------------------------------

T15M6

(MAX | Z.5)

(MIN | Z-.7188)

S1024M5

M8

G0G90G54X15.8175Y-4.6033

G43H15Z.5

G84.2G98X15.8175Y-4.6033Z-.7188R.2F.0313S1024

X15.8175Y-5.2352

X12.5752Y-5.3593

X8.7957Y-4.6268

----------------------------

 

Notice,only a single feed rate...

 

Thanks!!!!!!!!!!!!

 

Tala

Link to comment
Share on other sites

 

# pcan1, pbld, n$, pfxout, pfyout, pzout, pcout, prdrlout, dwell$,

# tap_feed, strcantext, e$

# previous two lines contains tap_feed which places an additional

# feed rate into the rigid tap cycle... removed Tala 5/23/12

 

 

 

Done this before you have....

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