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:

need help adding misc. integer


knicol
 Share

Recommended Posts

Bryan's right, add the code in as shown where you want the output in the post.

 

If you don't always want an output, you'd set the output to:

 

if mi3$ = 1, pbld, n$, "M919", e$

if mi3$ = 2, pbld, n$, "M919 S2", e$

 

If you give us more information on where you would like the code to output and what post you are using, we could steer you closer to a solution.

 

I'm not sure if you've done this yet or not, but you also need to add the string to appear on the misc values screen.

 

You can add the string through the control def by opening the control def and going to the Text menu, and select the misc int/real page.

 

Alternatively, if you go to the bottom of the post you'll see something like this:

 

[misc integers]
1. ""
2. "Absolute or Incremental [0=ABS, 1=INC]"
3. ""

 

Put the text you want to see in your misc values window in the third string, so:

[misc integers]
1. ""
2. "Absolute or Incremental [0=ABS, 1=INC]"
3. "Tool Life Counter [1=M919,2=M919 S2]"

 

Make sure when adding this that the header for the text is either default (if there's only one) or the name of your control def:

 

So for Mill:

[CTRL_MILL|DEFAULT]

or

[CTRL_MILL|XYZ] (where XYZ is your control def name.

 

HTH!

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