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:

Run Subprograms on a Haas


Jim at Gentex
 Share

Recommended Posts

I was wondering if there was a way to string together sub-programs on a Haas control.

I don't know much about the Haas control, which is why I am asking.

 

For example, on the Deckel I can do this:

 

N1 (Part #######; Left and Right Sides)

N2 G23 N=12345 (Call left side sub-program 12345)

N3 G23 N=56789 (Call right side sub-program 56789)

N4 M30

 

As long as the sub-programs reside in the same directory as the main program it's all good.

Is there a G code similar to that for a Haas control?

Link to comment
Share on other sites

local subs can be inside the main program just stacked up under the m30.they are called with an m97 instead of an m98 and they start with an "n" like n1000 ,n2000 etc. i like this much better because it can all be loaded in as 1 program and you dont have to worry about anyone editing a sub that you are not actually in because you are in the main. hope this makes sense.

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