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 error trapping


JG
 Share

Recommended Posts

I've done a search with no matches, but I'm sure this has been covered.

I'm looking for a way to check for errors when posting, for example if I forget to specify a speed or a feed I would like the post to stop and display a error, kind of like when you try to post 5 axis w/o the post set-up to.

 

thanks,

Link to comment
Share on other sites

Usually if you dont have a feed or speed for a tap mine will have a crap fit. Now if you want it to read your mind and know if you got the right speeds and feeds for the job that si a horse of a different color. You would needto put a USB port in the back of your head and then tie that to the computer and away you go. biggrin.gifbiggrin.gifbiggrin.gifbiggrin.gifbiggrin.gifbiggrin.gif

 

Sorry just my attempt at being funny.

 

C r a z y M i l l m a n

Link to comment
Share on other sites

If set up you default speed feed to 0 then you can test ss for 0 and fr_pos for 0.

 

upon encountering that go to user defined questi

 

#format vars and quests

feed_qu : 0

speed_qu :0

fq 1 feed_qu "No feed specified, please enter value"

fq 2 speed_qu "No speed specified , please enter value"

 

#----add trap

if fr_pos = 0,[

 

q1

fr_pos = feed_qu

feed = feed_qu

]

if speed = 0,[

 

q2

speed = speed_qu

ss = speed_qu

]

 

 

I tried this with mpfan. It would be good to have a "pfr" post block so you could do it in one place in post

 

Jimmy

Link to comment
Share on other sites

I've done this a little bit but most of it's in our setup sheets. I've found this is a little easier since setup sheets have a simpler layout than a full blown post. Also we have a different setup sheet for each machine so it allows me to tweak the checks for that particular machine.

 

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