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:

Blum Laser Tool Break Detection in post


peon
 Share

Recommended Posts

Please see attached pic.  I finally decided to add "Tool Breakage Detection" to the post, although the H value is posting incorrectly with multiple tools in the program.  I turned off tool staging in the control definition and it made no difference, therefore I turned the tool staging back on.  Perhaps someone can lead me in the right direction :)

 

post-9955-0-67532300-1487260128_thumb.jpg

Link to comment
Share on other sites

You need to create a sav_tool logic and call it before you do the tlngno$ call on that line. Problem is because the last tool begin called is the next tools and you have not wrote logic to go back to the first tool called in the operation and saved it out for using it later you are getting the results you are getting. Go the mpmaster or another post that uses the sav_tool logic and use it to help you roadmap what you need.

Link to comment
Share on other sites

I got it!!!  Thanks to Ron Branch along with  Bsmith and Ben Wood from the Mastercam forum leading me in the correct direction.  I added the following to my post:

 

Section =  # Common User-defined Variable Initializations (not switches!)sav_toollogic: 0     #Save tool height offset value for Blum Tool Break Detection

 
 

Section = # Toolchange / NC output Variable Formats

fmt  "H" 4  sav_toollogic #Saved tool height offset value for Blum Tool Break Detection
 
Section = psof$            #Start of file for non-zero tool number 
sav_toollogic = tlngno$  #Added for Blum Tool Break Detection
 
Section = ptlchg$          #Tool change 
sav_toollogic = tlngno$  #Added for Blum Tool Break Detection
 
Section = pretract        #End of tool path, toolchange
"G65P9608", sav_toollogic, "X0.M1.Q.01","(TOOL BREAK DETECTION)", e$ ### DETECTS TOOL BREAKAGE
 
 
 
  • Like 1
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...