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:

forced m08 in mpmaster


Beardog
 Share

Recommended Posts

Beardog,

 

Go to a postblock in MpMaster called ptlchg_com look for this line of code -

 

pbld, n$, "G43", *tlngno$, pfzout, scoolant, next_tool$, e$

 

change scoolant to "M08"

remember to use the open quotes then close quotes this will hard code the information

 

The one issue is though if you have the coolant turned on in the toolpath you will get double coolant output and you won't get an M09 output to turn the coolant off, you will need toi hard code that as well

 

Possibly a better solution would be to select all the toolpaths in the operations manager and do an edit selected operations / edit common parameters then do a mass edit turning on the coolant

Link to comment
Share on other sites

Beardog,

 

I should have read that before I hit "send it", if the coolant is turned on in the toolpath it will result in double coolant codes if you're using the X-Style coolant.

 

I you do not have the coolant turned on in the toolpath there will be no M09 output to turn the coolant off "M09" would need to be hard coded as well in the pretract post block

 

There is a scoolant command in the line associated with the G91 G28 Z0. line

Link to comment
Share on other sites

Maybe a better way to hardcode coolant on.

 

If you look at pretact, 'coolant$ = zero' is what turns off the coolant.

 

Add 'coolant$ = one' right before scoolant is called in ptlchg_com.

 

From MPMASTER:

code:

ptlchg_com

 

coolant$ = one #<--------Add this to hardcode coolant on

pcan1, pbld, n$, *sgcode, sgplane, [if not(index), sgabsinc, pwcs], pfspeedout, scoolant, pfcout, strcantext, e$

 

 

 

pretract

 

coolant$ = zero #<--------This should already be here

pbld, n$, strcantext, scoolant, e$

This will eliminate double coolant code output and allow you to use M00 before an operation at a null toolchange (mi10$).

eg. tool check, move clamps, remove slug, etc.

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