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 edit


jason martin
 Share

Recommended Posts

It depends on the post you are using. If its just a vanilla mpmaster post, look for the section pheader there you will see the date, time, file etc output. Add this in there somewhere:

 

n$, "M470", e$

 

As for the tool change stuff someone else will have to help you. You are gonna need to provide examples of what you get now, and how you want it to look and i'm sure someone will help ya.

Link to comment
Share on other sites

I would like toolchange to post like this

 

M36

T28

M37

T28

M06

 

currently is

 

T15

M06

 

 

post reads

 

ptlchg_com #Tool change common blocks

pcom_moveb

c_mmlt$ #Multiple tool subprogram call

#ptoolcomment

comment$

spaces$=0

if swcsplname <> snull, pbld, n$, pspc, "(WCS NAME - ", swcsplname, ")", e$

#if swcsplcomm <> snull, pbld, n$, pspc, "(WCS COMMENT - ", swcsplcomm, ")", e$

if rot_on_x & stoolplname <> snull, pbld, n$, pspc, "(TOOLPLANE NAME - ", stoolplname, ")", e$

#if rot_on_x & stoolplcomm <> snull, pbld, n$, pspc, "(TOOLPLANE COMMENT - ", stoolplcomm, ")", e$

#if rot_on_x & sconstplname <> snull, pbld, n$, pspc, "(CPLANE NAME - ", sconstplname, ")", e$

#if rot_on_x & sconstplcomm <> snull, pbld, n$, pspc, "(CPLANE COMMENT - ", sconstplcomm, ")", e$

#if stpgrpname <> snull, pbld, n$, pspc, "(TOOLPATH GROUP - ", stpgrpname, ")", e$

spaces$=sav_spc

pcan

if plane$ < 0, plane$ = 0

if stagetool >= zero, pbld, n$, *t$,e$

"M06", ptoolcomm, e$

spaces$=0

if use_op_cnt, n$, "

Link to comment
Share on other sites

change this

 

code:

 if plane$ < 0, plane$ = 0

if stagetool >= zero, pbld, n$, *t$,e$

"M06", ptoolcomm, e$


and add this

 

code:

 if plane$ < 0, plane$ = 0

pbld, n$, "M36", e$

pbld, n$, *t$, e$

pbld, n$, "M37", e$

if stagetool >= zero, pbld, n$, *t$,e$

"M06", ptoolcomm, e$


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