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 brain fart


Trevor Bailey
 Share

Recommended Posts

hello all.....i am modifying a haas toolroom lathe post for a customer. they have a 8 station turret on this machine and need to call a sub program to change tools. i have set this up once before, but today and i am drawing a complete blank as to what i did.

 

what i need:

G00 G54 T101

M98 P90001 - P value needs to match called up tool number

G50 S1100

G96 S250 M03

 

 

 

 

what i get now:

 

N101 T0101

M98 T0101

G50 S3600

G97 S153 M03

G96 S200

 

 

what i have done to the post:

 

[

t$ = p$

toolno = p$ * 9000

pbld, n$, "M98", *toolno, e$

]

 

using the mplmaster for this.

 

any thoughts?

Link to comment
Share on other sites

thanks for the kick in the butt fellas:

 

 

fmt T 7 toolno #Tool number

fmt P 7 toolno2 #M98 turret callout

 

[

toolno = t$

toolno2 = toolno + 90000

pbld, n$, "M98", *toolno2, e$

]

 

 

N101 T0101

M98 P90001

G50 S3600

G97 S153 M03

 

 

thanks again guys. been one of those days.

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