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:

MP master toolchange code post help


Roger D
 Share

Recommended Posts

I,m using an older Yang mill with a Fanuc Om control.I would like the code to put the M6 on the line after the tool call,I would also like to change the dia wear offset from D to H,also how do you stop the P in dwell outputting a decimal point?

Thanks for any help I'm a post novice so your not dealing with the sharpest knife in the drawer.

 

Roger

Link to comment
Share on other sites

Look for this line in your post and change the D to H.

 

code:

fmt  D  4   tloffno$    #Diameter offset number 

If your using Mpmaster look for this line in ptlchg_com

 

code:

if tseqno = 2, n$ = t$

pbld, *n$, *t$, "M06", ptoolcomm, e$

]

else, pbld, n$, *t$, "M06", ptoolcomm, e$

]

and change it to look like this

 

code:

if tseqno = 2, n$ = t$

pbld, *n$, *t$, e$

pbld, "M06", ptoolcomm, e$

]

else, pbld, n$, *t$, e$

pbld, "M06", ptoolcomm, e$

]

but is you have an older X post look for the ptlchg$ block and change this

code:

pbld, n$, *t$, sm06, ptoolcomment, e$ 

to this

 

code:

pbld, n$, *t$, e$

pbld, n$, sm06, ptoolcomment, e$

Link to comment
Share on other sites

Hi Roger,

 

Your Dwell statements are setup to use Format Statement 11, which is 'absolute 3 place decimal'.

 

How is your machine setup with regards to dwell? Most machines can read dwell increments down to one thousandth of a second (.001)...

 

Why do you want to dwell for an entire second at the bottom of the hole? Or more importantly, why does the decimal point bother you?

 

What do you want the code output to look like if you only want to dwell for a quarter of a second? Right now you would enter .25 and be done with it. That would give you a P.25 value.

 

Does your machine use different dwell notations?

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