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:

Rigid tapping


Mark C
 Share

Recommended Posts

Good evening all.

I need to modify my post to allow for rigid tapping. Machines are Kitamura verticals with Fanuc 0M controls. What I need to do is force it into high range with a S3000 (M3 optional) in the command line with the x & y move and then a M54 and the commanded spindle speed before the G84. I can do the m54, but how do I get the S3000?

Am currently using a slightly massaged version of MPFAN.

I am new at this shop and MasterCam is new for them as well

Any ideas would really help as i don't have the time to go in and try to figure it out myself and I'm getting tired of editing it all the time. Use the technology I always say

Thanks in advance

Mark smile.gif

[ 12-12-2001: Message edited by: Mark C ]

Link to comment
Share on other sites

Thank you for your response

What I have now:

T4

M6

G54G0G90X1.Y0.S640M3

G43Z.2H4M8

G98G84Z-.5R.2F20.

G80

and so on

What I need is:

T4

M6

G54G0G90X1.Y0.S3000(M3 here optional)

G43Z.2H4M8

m54s640

G98G84Z-.5R.2F20.

G80

It's probably not too dificult to do but I just can't figure out how to get a different speed in the G54 line.

Thanks again for any help

Mark C

smile.gif

  • Like 1
Link to comment
Share on other sites

Here's a couple of ideas. You could use a conditional branch to flag the alternate speed at the g54 line in your psof and ptlchg postblocks. If you allways want S3000 then you could use "drillcyc" variable to flag this. Such as

(code below shorteded for example)

if drillcyc=3, n, *sgwcs, "S3000", *spindle, e

else, n, *sgwcs, *speed, *spindle, e

or you could use a misc. real and set up a spindle speed override.

eg.

fmt S 4 m_speed # override spindle speed

m_speed = mr5

if mr5>0, n, sgwcs, m_speed, *spindle, e

else, n, sgwcs, *speed, *spindle,e

Hope this helps.

 

cool.gif

  • Like 2
Link to comment
Share on other sites

It's possible that your first move and spindle commands occur at the start of file and toolchange (like all posts based on V7 Mpfan and up). If this is the case, the type of drill cycle is not yet availalbe at that point. You'll have to use the 'next drill cycle' variable - nextdc:

if opcode = 3 & nextdc = 3, ...

getnextop needs to be initialized to 1.

For the M54, check out the use_pitch variable and associated logic in the Mpmaster post available on this site.

[ 12-14-2001: Message edited by: Dave Thomson ]

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