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:

Altering the Post Processor.


jpal20002001
 Share

Recommended Posts

I am a proficient programmer in vb and am currently looking into editing a master post for the CNC dept.

 

Can someone guide me to some resources about post editing, the formats, syntax and available resources within post?

 

I want the post to terminate when if a declaration is not met. In other words, if a specific requirement is not met, then i would want a message to alert the user the reason for termination and then not complete the post process. Is that possible?

 

Please let me know if I should have posted this elsewhere. Thanks

Link to comment
Share on other sites

Don't know what you're trying to get the post to bail on but I used this as an offset check, it will put out a message and exit the post

 

if workofs$ > 29, result = mprint(swcserror), exitpost$

 

 

swcserror : "ERROR - WCS SELECTED IS OUT OF RANGE RESELECT AND REPOST"

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