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:

Min max depth post mod


Recommended Posts

Hello,

 I have used the information on this forum post ' https://www.emastercam.com/forums/topic/64263-max-min-depth/ " to add min max depth to several posts in the past. However this latest post that I have added it to has not gone so smoothly. I am mainly having an issue with the values being spit out i suspect the buffer is not receiving the correct value it always reports max @ z-99999. and min @ z99999. I think this is due to the pwrtt block being missing in my post, I added it to the post but had to remove the "$" symbol else i would get an error about duplicate labels. Any help getting this working would be greatly appreciated.

Link to comment
Share on other sites

Is your Post encrypted? Does it have both a PST portion, and a separate PSB portion?

If the pwrtt$ with the dollar sign ($) being added, is giving you "duplicate Post Block errors", then you've likely got no access to 'pwrtt$'.

Did you attempt searching for 'pwrtt$' in the Post, before adding a new section? It may be located in a different spot from where you are used to seeing it, unless it has been encrypted in the PSB seciton.

If the section has been encrypted, you'll have to go back to whomever supplied you with the Post, to see if they can expose that section of code, or if they can give you a user-defined Post Block Call, that would be called from inside the encrypted 'pwrtt$' section, and thereby give you access to capture the parameter values, before writing them to the Buffer File.

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