Showing results for 
Search instead for 
Do you mean 
Reply
Solved! Go to solution

Axis indexing after, start event. combine of NX / Post problem

Hello

 

NX CAM often leaves its tool vector as is after earlyer operation, if next operation can be done with same vector.

 

But I am having problem with millturn machine post.

When starting a polar mode operation that could be done with same tool vector that previus operation problem arises.

This machines polar mode must be initialized at C 0 degrees.

 

I can do this by using UDE "rotate" at start event, every time by hand.

 

But caling later in initial move, this same "rotate" command it wont update tool vectors?

 

How can I update / rotate tool vector during initial / start move?

I all ready tried MOM_reload_kinematics after caling MOM_rotate with correct parameters.

 

 

 

6 REPLIES
Solution
Solution
Accepted by topic author jsskangas
‎08-31-2016 02:25 AM

Re: Axis indexing after, start event. combine of NX / Post problem

You can create a custom command in "END OF PATH" in your PP. This will use the ROTATE ude to put C back to 0 after every operation.

 

proc PB_CMD_jbv_rotate_ude_emulate {} {

#PLace in END OF PATH to emulate a ROTATE UDE. This

# will set C axis back to "0" after every OP.

 

global mom_command_status mom_rotate_axis_type

global mom_rotation_mode mom_rotation_angle

 

set mom_command_status ACTIVE

set mom_rotate_axis_type CAXIS

set mom_rotation_mode ABSOLUTE

set mom_rotation_angle 0

 

MOM_rotate

}

 

 

Re: Axis indexing after, start event. combine of NX / Post problem

Tool vector should remain 0,0,1 for XZC logic I have seen in out of the box posts. Then (without consideration of the plus/minus 360 options) the XZC post logic will determine the rotary positions by rotating to positive X (only solution.) NX thinks it is a 5 axis post during XZC - the post does the math.

 

So: you can spin C to zero - if your machine has more than 0-359.999 (more limit range than 360) then the shortest path from where it was to the next position can be relevant. In that case - set mom_prev_rot_ang_4th and reload kinematics so NX is updated (and the post logic.)

NX10.03
Windows 7 Pro

Re: Axis indexing after, start event. combine of NX / Post problem

Hello

 

I dont like to use XZC post, this is different mode of machine.

Y values are fed to C axis and machine it self compensates and keeps track that X dont go negative side.

 

 

Re: Axis indexing after, start event. combine of NX / Post problem

Thanks 

 

Newer even thought it that way.

This solves that problem.

 

 

Re: Axis indexing after, start event. combine of NX / Post problem

I should have known it was G12.1 mode since you had to turn to C0. You should use a separate C address for the Y and then still make NX aware of C as above.

NX10.03
Windows 7 Pro

Re: Axis indexing after, start event. combine of NX / Post problem

Hello

 

G12.1 mode indeed.

Works now perfectly, thanks.

Learn online





Solution Information