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:

Sub Numbers


Recommended Posts

Ive got 4 ops using subs.

All 4 are going to be in the same machine and the operator needs to be able to switch between them as needed.  

I'd like the subs to be

OP 1 Sub 1-6

OP 2 Sub 7-15

OP 3 Sub 16-20 

OP 4 Sub 21-30

of course i can maunally do this but I'd like to be able to post any of these Ops seperately and get the correct sub #'s 

Can i tie the sub#'s to a misc value? or something else?

So I can dictate them from MC

I would like this to be fool (me) prof. Something that's pretty obvious.  

Link to comment
Share on other sites

I forgot to say I'm using transform to run multipule parts.

This is what I came up with

In transform there is a Custom Parameters button. Bottom Right

I added trans_mi1$ (Custom integer #1) to the program number in psub_call_trans

 

 

main_prg_no$ = main_prg_no$ + trans_mi1$

 

and then changed the text on Custom integer #1 to say " Last Used Sub #"

 

So if you don't use them, it defauts to +0 and nothing changes, the 1st Sub will be P0001/O0001

If you put 6 as the last used sub # then you get P0007/O0007 as ur 1st Sub.

 

Seems to work. If anyone can see a conflict that I'm missing please post it.

:spell:  

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