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 editing


Recommended Posts

I want to have my clearance in my program before my first x,y move. Here's what code I'm getting,

 

:G0G90G17G70G94G40

G99

T1M6

G0G90H1X-5.9049Y-3.156S2000M3

Z2.M8

G81Z-.2R0.W2.F1.5

Y-5.656W2.

X-3.4049Y-6.906W2.

 

And here's what I want,

:G0G90G17G70G94G40

G99

T1M6

Z2.M8

G0G90H1X-5.9049Y-3.156S2000M3

G81Z-.2R0.W2.F1.5

Y-5.656W2.

X-3.4049Y-6.906W2.

 

 

 

Here's a section in my post,

":G99", e$

ptoolcomment

comment$

pcan

if stagetool >= zero, ":", *t$, "M6", e$

pindex

if mi1$ > one, absinc$ = zero

if nextdc$ = 7, pcan1, pbld, n$, *sgcode, *sgabsinc, pwcs, pfxout, pfyout,

pfcout, pgear, strcantext, e$

else, pcan1, pbld, n$, *sgcode, *sgabsinc, pwcs, pfxout, pfyout,

pfcout, *speed, *spindle, pgear, strcantext, e$

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

absinc$ = sav_absinc

pcom_movea

toolchng = zero

c_msng$ #Single tool subprogram call

 

I'm pretty sure that the line/ pbld, n$, pfzout, scoolant, next_tool$, e$ is what I want to move, but I don't know where to move it to or how much of it to move. Please help, thanks.

Link to comment
Share on other sites

Try this instead

 

":G99", e$

ptoolcomment

comment$

pcan

if stagetool >= zero, ":", *t$, "M6", e$

pindex

if mi1$ > one, absinc$ = zero

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

if nextdc$ = 7, pcan1, pbld, n$, *sgcode, *sgabsinc, pwcs, pfxout, pfyout,

pfcout, pgear, strcantext, e$

else, pcan1, pbld, n$, *sgcode, *sgabsinc, pwcs, pfxout, pfyout,

pfcout, *speed, *spindle, pgear, strcantext, e$

absinc$ = sav_absinc

pcom_movea

toolchng = zero

c_msng$ #Single tool subprogram call

Link to comment
Share on other sites

I am just beginning to play with posts, I have saved my original post and made another copy in a safe place. I made a single edit to the copy and now i want to change from the original to the new post, but I cant seem to bring it in. Any help would be appreciated.

Link to comment
Share on other sites

After you do the "add files" thing in the control def, don't forget to select the new 1 from the drop down list in the control def (next to the post processors button) after you close the "add files" window and before you save & exit the control def. I can post pics if you need.

Link to comment
Share on other sites

Ray, you need to go into the control definition and pick the copy post to use for posting. Until you assign it in the control def as a post to use it will not be used. You can look on the web site here for the xxxx about the control definition and machine definition. Linky:

Thanks Brother, took a little bit but i got it.

Link to comment
Share on other sites

You will also want to make sure that you import all or some of the pages from the settings for the other post location if you had made any changes from the default control definition settings. This is required because when you add a new post, it will automatically set everything to the default settings. Common changes are arc types, stage tooling, and NC file extensions. Also, make sure you reload the files into the MCX file before posting or the changes will not take effect.

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