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:

a post question


Barry
 Share

Recommended Posts

I am pretty green at altering posts. I have done pretty well though so far. The problem I am having, and I dont run in to this often, but I have found that if I have a program with only one tool in it, the post does not include an M6 at the beginning. If there is more than one tool it is fine. This becomes a huge problem if I need to trim something that i overlooked. My operator does not always read my mind in those situations...the nerve!!! confused.gif

Barry

Link to comment
Share on other sites

You should look for the following in your post (assuming you are using a Fanuc style MPFAN post:

psof #Start of file for non-zero tool number

...

if ntools = one,

[

#skip single tool outputs, stagetool must be on

stagetool = m_one

!next_tool

]

...

if stagetool >= zero, pbld, n, *t, "M6", e

this means that if the number of tools (variable ntools) is equal to 1 then the stagetool variable will be set to -1.

then, the if stagetool >= zero, means that if the variable stagetool is greater than or equal to 0, then output the n, *t, "M6", e line (N10 T01 M6).

If you had only 1 tool, the variable stagetool was set to -1, which is less than 0 meaning the toolchange line wouldn't output.

You could do the following:

before:

if stagetool >= zero, pbld, n, *t, "M6", e

after:

pbld, n, *t, "M6", e

in other words, just remove the condition for outputting the toolchange.

Oh yeah, you should look at the stagetool settings to see if they are on or not and take a look also at the ptlchg section of your post.

Hope this helps!

Luc

Link to comment
Share on other sites

Sorry I took so long to get back, i didnt have a chance to try it till today. Micheal, that didnt work for me. But Luc your solution did the trick..I thought about trying that before, but i guess i thought maybe it could be worded differnt to get same affect. I also wasnt sure if it was tied to staging in a way that it would screw that up. But in the end it works great. Once again thanks for the responses!!

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