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 help please


SLJ
 Share

Recommended Posts

Hope not everyone is into the eggnog too much yet. I've got a post problem on a Horiz. mill, modified MPFan. The machine has a toolchange macro that takes over whenever it sees a t#m6 callout. Problem is it leaves the control in incremental mode. When I have a table index, it usually comes after a toolchange and the post is just putting out the B#. I need it to put a G90 in front of the B#. I realise we can edit the macro to go back to absolute, but would like to have the post put it in for a safety factor.

Below is how the post reads now.

 

pindex #Index output

if index & rot_on_x,

[

pbld, n$, `sindx_mc, indx_out, e$

!cabs, !cinc

]

 

I've tried putting a "G90", after the n$, but got a G90 after every G2-G3 in the part as well.

Is this where I should be looking, or am I way off base here?

Have a great weekend folks!

Link to comment
Share on other sites

this is at the index and tool change

 

pindex

#if lock_codes = one & not(index) & rot_on_x, pbld, n$, *sunlock, sunlockcomm, e$ #move up for cycle time

pcan1, pbld, n$, *sgcode, [if not(index), sgabsinc, *sgplane, pwcs], pfxout, pfyout,

pfcout, [if gcode$ = 1, `feed], *speed, *spindle, pgear, strcantext, e$

if lock_codes = one & not(index) & rot_on_x & cuttype = 0, pbld, n$, *slock, slockcomm, 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...