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:

G54 problem-Work offsets


romer
 Share

Recommended Posts

When using multiple work coodinates with the same tool, if G54 is the first w.c., using G55, G56, etc.,in any order, will output the proper sucessive w.c. code. However if anything other than G54 is used as the first w.c., when G54 is called, it is output as whatever was the first w.c.

I am using MPfan post processor.I have also tried MPEZ and MPmaster from this site. They all do the same thing.

I assume it must be in the post processor.

Has anyone run into this?

 

Link to comment
Share on other sites

That did the trick. Thank you.

However, now I am curious as to how I can change the default from "-1" to "0". Would there be any reason not to?

Changing in the defaults.df8 using operations manager did not make a difference.

I also had a chance to try V7 mpfan from dealer that worked fine but no sub-progam support. Comparing the "pwcs" parts of the post processor, they are written differently but I can't figure the specific logic statement that would cause one to work fine with "-1" and the other not to.

Any additional help would be appreciated.

Link to comment
Share on other sites

I have run across the same problem with the work offset in the Defaults.df8 file. Even though you save the work offset in the Defaults.df8, it is not read in to your toolpath. Maybe Mastercam can fix that in its next release.

I’m sure there’s a reason why someone would use the work offset = -1 over the work offset = 0, but I haven’t found a use for it. I figure someone went through some trouble to put it in, so it must have some purpose. wink.gif

As for the V7 versus the V8 mpfan.pst pwcs logic, and its just a guess, but it’s possible that the reason it works in one and not the other is that it is the MP.DLL that handles the work offset “workofs” differently and its not the pwcs logic.

[This message has been edited by Mark H (edited 01-23-2001).]

Link to comment
Share on other sites

OIC

So if toolpath #1's work offset = 2

and toolpath #2's work offset = -1

then toolpath #2 will use toolpath #1's work offset.

(Assuming they are posted in the same NC file.)

Good, now I dont have to remember to set the work offset for each subsequent toolpath that has the same work offset. You can never stop learning. cool.gif

Now where the confusion came about was that mpfan.pst outputted a G54 for the first toolpath even though the work offset was = -1, you would think that it wouldn't output any wcs.

So for the mpfan.pst, when the work offset is -1 then the last wcs will be used, unless its the first toolpath, then the wcs will be G54. Got it!

[This message has been edited by Mark H (edited 01-23-2001).]

Link to comment
Share on other sites

In the Mpmaster post on this site I did away with mi1, because people tend to use a single WCS method. We like to essentially lock it in the post.

Instead I use a 'wcstype' switch in the post that acts in the same manner as mi1, with the exception of being able to shut the WCS off altogether with a value of 3. This is documented in the post itself.

[This message has been edited by Dave Thomson (edited 01-24-2001).]

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