CAM Post Process Trouble selecting WCS G code
CAM Post Process Trouble selecting WCS G code
(OP)
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.
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.





RE: CAM Post Process Trouble selecting WCS G code
RE: CAM Post Process Trouble selecting WCS G code
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?
RE: CAM Post Process Trouble selecting WCS G code
RE: CAM Post Process Trouble selecting WCS G code
Thanks again for your help
RE: CAM Post Process Trouble selecting WCS G code
RE: CAM Post Process Trouble selecting WCS G code
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
RE: CAM Post Process Trouble selecting WCS G code
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?
RE: CAM Post Process Trouble selecting WCS G code
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
RE: CAM Post Process Trouble selecting WCS G code
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
RE: CAM Post Process Trouble selecting WCS G code