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 next tool in mpmaster


Darin
 Share

Recommended Posts

Hello,

 

How do I edit the mpmaster post to post like below... It is for a Mazak horizontal and a okuma vertical.. Needs to post the next tool to have the machine ready..

 

 

Post this way for Okuma

 

N130 T1 M6

N135 T12 <------------------------- Next tool for Okuma --------------------------->

N140 S2800 M03 (SPINDLE TOOL JUMP)

N150 (MAX - Z4.)

N160 (MIN - Z-1.025)

N170 M08

N180 G00 G17 G90 G54 X8.665 Y.5 S2800 M03

 

Post this way for Mazak

 

N130 T1 T12 M6 <---------------------- Next tool for Mazak ----------------------------->

N140 S2800 M03 (SPINDLE TOOL JUMP)

N150 (MAX - Z4.)

N160 (MIN - Z-1.025)

N170 M08

N180 G00 G17 G90 G54 X8.665 Y.5 S2800 M03

 

Thanks

Link to comment
Share on other sites

Hi Darian,

 

As far as I remember Mpmaster has that optoin built into it already, so you need to set it in the control definition. Go to "Settings" -> "Machine definition manager", click the "Edit the control defintion" icon, select the "Tool" page and check the "Enable staged tool routines" checkbox.

 

If that doesn't do it, then the variable you need to output is next_tool$. That is also the variable you have to move if the next tool is coming out in the wrong location.

 

I hope that helps.

Link to comment
Share on other sites

Check the Stage Tools box on the Tools page of the Conrol definition

 

 

Thanks but that puts the next tool in the wrong spot for our Mazak.. Below is how it posts now.

 

 

N140 T69 M06 (6.0" FACEMILL)

N150 (MAX - Z3.04)

N160 (MIN - Z0.)

N170 G00 G17 G90 G54 B0. X-7.55 Y1.2999 S4000 M03

N180 G43 H69 Z3. M08 T71 <--------------------------------------------- This is how it posts now ------------------------------------>

 

 

I need it to post like this

 

N140 T69 T71 M06 (6.0" FACEMILL) <--------------------------- This is how I need it to post ------------------------------------------>

N150 (MAX - Z3.04)

N160 (MIN - Z0.)

N170 G00 G17 G90 G54 B0. X-7.55 Y1.2999 S4000 M03

N180 G43 H69 Z3. M08

 

 

 

 

Thanks

Link to comment
Share on other sites

Hi Darian,

 

As far as I remember Mpmaster has that optoin built into it already, so you need to set it in the control definition. Go to "Settings" -> "Machine definition manager", click the "Edit the control defintion" icon, select the "Tool" page and check the "Enable staged tool routines" checkbox.

 

If that doesn't do it, then the variable you need to output is next_tool$. That is also the variable you have to move if the next tool is coming out in the wrong location.

 

I hope that helps.

Link to comment
Share on other sites

Hi Darian,

 

As far as I remember Mpmaster has that optoin built into it already, so you need to set it in the control definition. Go to "Settings" -> "Machine definition manager", click the "Edit the control defintion" icon, select the "Tool" page and check the "Enable staged tool routines" checkbox.

 

If that doesn't do it, then the variable you need to output is next_tool$. That is also the variable you have to move if the next tool is coming out in the wrong location.

 

I hope that helps.

Link to comment
Share on other sites

 

Ok thanks.. Do you know where to move the next_tool$, in the post for it to come out like below. I have tried by the M06 lines and I get nothing...

 

 

N140 T69 M06 (6.0" FACEMILL)

N150 (MAX - Z3.04)

N160 (MIN - Z0.)

N170 G00 G17 G90 G54 B0. X-7.55 Y1.2999 S4000 M03

N180 G43 H69 Z3. M08 T71 <--------------------------------------------- This is how it posts now ------------------------------------>

 

 

I need it to post like this

 

N140 T69 T71 M06 (6.0" FACEMILL) <--------------------------- This is how I need it to post ------------------------------------------>

N150 (MAX - Z3.04)

N160 (MIN - Z0.)

N170 G00 G17 G90 G54 B0. X-7.55 Y1.2999 S4000 M03

N180 G43 H69 Z3. M08

Link to comment
Share on other sites

You need to find out what it is in the G43 line that outputs the next tool. It might not be the next_tool$ variable itself, if might be a call to another postblock. You then need to move that to the M06 line.

 

You should also keep in mind that you might need to make the change in two places, you probably have to make the change in both the psof$ and ptlchg$ postblocks.

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