×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

nx6 postbuilder, custom commands

nx6 postbuilder, custom commands

nx6 postbuilder, custom commands

(OP)
Hi all,
I need some help with a few things that should be simple, but they are not.

First, I need a way to output G17, G18 and G19.
My machine is a full 5 axis with dual rotary tables.
So, the workplane is always G17 unless you use a 90º head, which I am.

Sounds simple (and it should be), but it's not working at all.
I need it output immediatly after the tool change and be based on the head vector (90º milling head).
for example, if I am using an angle head along the x axis, I need to put the machine in G19(yz) so the arcs and Cut Comp will work.
I want this code output even if I'm not using dcomp and even if I am not using arcs.
In the current postbuilder, If I add the "ARC PLANE WORD" to my initial move event, it works...BUT it is one operation behind i.e. The first operation gets NO CODE and the second operation gets the code from the first operation and so on.
And if there is no head vector, i.e. No milling head, I need G17 output.

Second, I want to add a custom command that will send the machine home (G91 G28 Z0.0) ONLY IF the next operation has a different tool axis (machine rotation) that current.
basically a super safe post that always pulls z away before it rotates regardless of avoidance settings in NX.

Thanks!!!

JAY

RE: nx6 postbuilder, custom commands

Since the G17 is the default, put it in your startup operation, then have the rotary axis moves control the G18, G19.

I have to leave the details to the UG Post experts as I haven't used it since NX1. Everything you describe is possible in the post.
 

"Wildfires are dangerous, hard to control, and economically catastrophic."

Ben Loosli

RE: nx6 postbuilder, custom commands

(OP)
Thanks Ben,

It's not as simple as just putting G17 in the startup operation because I'll need to jump back and forth between all the planes, depending on the angle head being used and the type of milling I'm doing.

I need the system to check the head axis status and output the correct PLANE code for each and every operation, everytime.

And the rotary moves will have no impact on the plane...
if it were just rotary table moves, it would always be G17.

The wrench I am throwing in, is the angle heads. The angle head vector is going to determine the plane.

J

RE: nx6 postbuilder, custom commands

This will require a custom proc

The mom variables are mom_kin_holder1_orientation
If you have more than one head then it should be incremented.

I would use the review tool to see which variables are available.

This will return a string value of POSX,POSY,POSZ,NEGX,NEGY,NEGZ

You can then test for one of these values and output the correct code.  If none are active teh n default to G17
You may need to create a new G code and block.

Sounds like fun winky smile
 

John Joyce
Tata Technologies
1675 Larimer St.
Denver, CO
www.myigetit.com

NX3,4,5,6 Solid Works, Pro/e, Solid Edge

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources