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:

parameters


gary dunn
 Share

Recommended Posts

have any of you guys been able to get the post processor to pull out any parameters such as

10010 and 10068, etc. i've tried everything in the book and can't get it to work. MPMaster

does it but i haven't been able to figure out why.

it has to be something small that i am missing

but it just hasn't dawned on me yet.

any ideas ? frown.gif

Link to comment
Share on other sites

Hi,

 

Well Gary, I can tell you what I did for the posts we have down here: First you gotta build your parameters tables like such:

# ------------------------------------------------------------------------

# Parameter Tables

# ------------------------------------------------------------------------

fprmtbl 4 1 # Pocket

10350 pocketcomp

 

fprmtbl 13 2 # Multisurf Finish

10010 stock # Amount of stock to leave on drive surfs

10227 check # Amount of stock to leave on check surfs

 

fprmtbl 14 2 # Multisurf Rough

10010 stock # Amount of stock to leave on drive surfs

10227 check # Amount of stock to leave on check surfs

 

Then yous need to go on the pparameter section of the post and add your operation code in there like that:

pparameter # Run parameter table

if opcode = 4 | opcode=13 | opcode=14, result = fprm (opcode).

 

Hope this will help you. P.S. I am using a Mpmaster derivative.

Link to comment
Share on other sites

did all that, and then added "stock test ", *stock down in there and the answer is always 0.

it's gotta be something i'm missing. maybe the

place i put it in the processor.

the pparameter is the first thing it hits in the

post block area, the fprmtbl is right after the opcode stuff, stock is defined and formatted, along with result. and the numbered questions are at the bottom ...

1501. Insert parameter information in the ascii NCI? n

1502. Write operation information to binary file (.ops)? y

 

etc. it just isn't reading it.

Link to comment
Share on other sites

Hello Gary,

 

I forgot to add that for my stock, I also have this post block in my post processor:

 

---------------------------------------

 

pstock # Comment amount of stock to leave

spaces=0

if (opcode=13 | opcode=14), pbld, n," ", pspc, "(TOOLPATH - ", *stoper, ")", e

if (opcode=13 | opcode=14), pbld, n," ", pspc, "(STOCK LEFT ON DRIVE SURFS = ", *stock, ")", e

if (opcode=13 | opcode=14) & check<>0, pbld, n," ", pspc, "(STOCK LEFT ON CHECK SURFS = ", *check, ")", e

spaces=sav_spc

---------------------------------------

 

And in the post I add the pstock where I want to output these lines (in the psof post block in my case).

 

Hope this helps you further more

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