Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

CAM Post Process Trouble selecting WCS G code 2

Status
Not open for further replies.

Buckshott00

Bioengineer
Aug 10, 2010
229
Hello All,

I am working UGNX 7.5.2 windows XP pro 32 bit.

I am using the post builder and I am trying to get a post to select the correct Work Coordinate system G Code.

I think the default value is 0 then it has a command $mom_work_coordinate_number + 53.

I want to set it so that in my turning operations it selects between G54 and G55. Actually all of G54-G59 would be good, but I can't even get it to select correctly now.

Any advice would be much appreciated.

Thanks.
 
Replies continue below

Recommended for you

In your MCS interface are you clicking details and the putting 1-6 in the offset window?
 
Shags72,

Thank you, yes I am. Using that G block and adding the offset I am able to get one of the Coordinate systems I need.

However, we use multiple bump stops and have a different WCS after each bump.

Does this mean I have to add multiple MCS spindles to get it to work properly?
 
Either that or use an insert but I don't really like using those. I would have to look further to see if there is another way of doing this on a lathe. Haven't done that before.
 
Thanks again for your help. It is working with multiple MCS spindles, but I don't know if that is the best way to set it up. I will keep playing with it.

Thanks again for your help
 
Buckshott00,

You are doing it correctly.

If you want a different offset, you make a unique MCS.

"Hard Coding" anything into the post is asking for trouble in the future, in my opinion.

J

NX 6.0.5.3
 
Thanks Jaydenn,

So if I have a millturn machine,Z=0 is the finished face of the turnpart. I want to use G54 for Turning and milling, G55 For Facing using a Front Stop, I would use 2 different MCS spindles.

Can I nest them and still get the desired results? I guess I am confused about and Z axis offset when it appears (for this part) that NX is compensating for the Z offset already.

Does that make sense?
 
That has always been how I handle things.

I make my workpiece the "parent" and as many MCS's as I need are the children.

GEOMETRY
|
--->WORKPIECE
|
|---->MCS-G54
|---->MCS-G55
|---->MCS-G56

All of my mcs's are oriented exactly the same. The only difference is the fixture offset number.

Keep in mind that I don't typically program for a mill-turn, so there may be some other "better" way I am unaware of.

J

NX 6.0.5.3
 
Thanks again J,

That's how I ended up doing it. The only thing I wasn't sure of was placement of the MCS's when adding new ones. It seems odd to place a Machine Coordinate somewhere different to accommodate a work coordinate.

Thanks,
--Jake
 
Looking through the program, I lost my Z 0's on the face of the part but I think I can figure out how to fix it. Thanks again guys
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor