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:

Post Question


MachineSMMC
 Share

Recommended Posts

Good Afternoon

 

I am using the MPMaster Post as a base. I have one problem. Sometimes I will forget to put a height offset number in a tool I create. It defaults to 0 in Mastercam. When I post it out it puts an H0 in my program. This causes my Haas to crash, obviously. I would like to change that so it will out put something that will make the machine alarm out, Possibly an HA or something.

 

Not sure where and how I need to do this in the post.

 

Thanks

Chris

Link to comment
Share on other sites

It's easy enough to manipulate the height offset value. In mpmaster (which is what you said you are using), they use a common toolchange postblock. In it, look for this line:

code:

      pbld, n, "G43", *tlngno, pfzout, scoolant, next_tool, e


and add something like this above it:

code:

      if tlngno = 0, tlngno = 99999

That will work as long as your control chokes on it. On the other hand, you want to put in a test prior to that line something like:

code:

       if tlngno = 0, "M00", "(PROGRAM HALTED - NO TOOL HEIGHT OFFSET DEFINED - YOU ARE ABOUT TO BLOW UP OUR $250,000 MACHINE)", e

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