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:

WCS = 1 instead of -1


Leandro
 Share

Recommended Posts

  • 5 months later...

I've set up my posts so 1 outputs G54, 2-G55 etc. 7 outputs G54.1P1. For me it makes more sense to count how many positions I'm using and put that number in the tool. I even have 1 machine that the guys on the floor (for whatever twisted reason) want it to be G54.1P1 G54.1P2 etc and all I do is put 1, 2, or 3 in there and it outputs the correct work coordinate system. This way I could move a part from 1 machine to another and have it output the right WCS numbers without having to change them in the program. But all that didn't answer the original question. I hope it makes me sound smarter though. biggrin.gif

Link to comment
Share on other sites

Well Steve you can set the post up to do it that way. You just to go into the pwcs part of the post and take out this:

code:

pwcs            #G54+ coordinate setting at toolchange

if mi1$ > one,

[

sav_frc_wcs = force_wcs

if sub_level$, force_wcs = zero

if workofs$ <> prv_workofs$ | (force_wcs & toolchng),

[

if workofs$ < 6 , ##<-- This is what sets the condition to use this part.

[

g_wcs = workofs$ + 54 ##<-- This is what add 54 to the offet.

*g_wcs

]

else,

[

p_wcs = workofs$ - five ##<-- This is what make extra offset.

"G54.1", *p_wcs

]

]

force_wcs = sav_frc_wcs

!workofs$

]

So change each one with the arrow like below:

code:

 

if workofs$ > 53

g_wcs = workofs$

p_wcs = workofs$


So know when you put 1 you get G54.1 P1 and if you put 54 you get G54.

 

HTH

Link to comment
Share on other sites

-1 is automatic work offset numbering. If you change planes or origins it will automatically increment to the next unused work offset.

 

Making a post not use 0 as the first available work offset (G54 for many people) can be risky, you may not get the work offset you thought you were going to get if the automatic (-1) work offset numbering is ever used.

 

Making zero start at G54.1P1 is fairly common.

 

 

HTH

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