Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

NX6 Post Builder variables

Status
Not open for further replies.

i0wa

Industrial
Oct 4, 2009
51
Hi everybody!
I get an error when in Cutcom_on event the X and Y coordinates added as not like usual $mom_pos(0) and (1), but $mom_nxt_pos(0).. mom_nxt_post must output the next coordinate to go - so it's written in help file.
Has anybody had the same problem with this variable? How could I solve the problem?
 
Replies continue below

Recommended for you

Are you adding the X and Y to the Cutcom on event?

I always add the Cutcom code(G40,G41,G42) to the Linear feed motion and the Cutcom Off G40 to the Rapid event.

Make it optional and modal. This should work for most machines.



John Joyce
Tata Technologies
1675 Larimer St.
Denver, CO

NX5,6 Solid Works, Solid Edge
 
It's already added in liner or circular motion by default, but doesn't work exactly as I want, so I have deleted cutcom status (G41, G42) and adjust register (D) as well. The line below must be automatically generated without any adds in Machine Control in NX itself. The cutter correction must be activated just by selecting Finish with correction in non-cutting moves.
I need output code like this:
N0001 G41 X0 Y0 D01
where X0 and Y0 - it X- and Y-coordinate of next goto point.
It is highly recommended that cutcom activation looked like this.

But I get something like this:
N0001 G41 D01
N0002 X0 Y0
 
Start with a fresh post.... OR put everything back to normal.

Add a custom command like this;

MOM_force once G_cutcom X Y D

Once you have this made, add this custom command to the "CUTCOM ON" event.
Presto.

J
 
OK I see what you mean.

This is going to sound strange but on the cutcom on event remove the G41 and D words.
Then add them on the linear feed moves so it is combined with the motion.

or

As Jayden recommended add the MOM_force once G_cutcom X Y D



John Joyce
Tata Technologies
1675 Larimer St.
Denver, CO

NX5,6 Solid Works, Solid Edge
 
Ok, but have I to turn on cutcom in NX (Machine Cotrol -> Cutcom -> add)?
 
Thaks a lot!
I forgot to tick output box. Didn't pay attention ;)
Solved!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor