cancel
Showing results for 
Search instead for 
Did you mean: 

need my post to output MCS_goto instead of mom_pos

Experimenter
Experimenter

hello All,

 

i need my post to output MCS_goto instead of mom_pos

 

can some one help me with this ?

 

by the way i read that there was a project in NX9.0 to do this

can some one give me info on this ?

 

thank youy all

 

yannick.

7 REPLIES

Re: need my post to output MCS_goto instead of mom_pos

Phenom
Phenom

Assuming a postbuilder post - there is probably a PB_CMD_before_motion command. In it - put this code:

 

global mom_pos mom_mcs_goto

set mom_pos(0) $mom_mcs_goto(0)

set mom_pos(1) $mom_mcs_goto(1)

set mom_pos(2) $mom_mcs_goto(2)

NX10.03
Windows 7 Pro

Re: need my post to output MCS_goto instead of mom_pos

Experimenter
Experimenter
thanks !!!

i will try this out !

but may be i will need a little bit more help
to output this only for simultanious 5 axis toolpaths

thanks again

Re: need my post to output MCS_goto instead of mom_pos

Experimenter
Experimenter
i did the change .
it seems to work for 3+2 operations but still it wont output
the wanted XYZ values in 5 axis simultanious toolpaths

Re: need my post to output MCS_goto instead of mom_pos

Phenom
Phenom

I would look at the block template that puts out the 5 axis XYZ's. Is it using "mom_pos"? Another thought is that the higher level "MOM_before_motion" is setting mom_pos to something else after "PB_CMD_before_motion" changes it. There are lots of possibilities. I know that NX does not reload mom_pos between MOM_before_motion and the move events (because I do it in many posts.)

NX10.03
Windows 7 Pro

Re: need my post to output MCS_goto instead of mom_pos

Esteemed Contributor
Esteemed Contributor

 I would create a new post using the Siemens 840D control, and see if (at least the XYZ/4th/5th) output is what you want.They do (or at least they used to do) a lot of putzing behind the scenes to output data the way Siemens wants it.

 

If it is what you need, then:

Either adapt the rest of the siemens post to what you need...

or extract the bits you need from the Siemens post and add the to your post.

 

Ken

Ken Akerboom Sr CAx Systems Engr, Moog, Inc.
Production: NX10.0.3.5 MP5 + patch/TC11.2
I'd rather be e-steemed than e-diseaseled


Re: need my post to output MCS_goto instead of mom_pos

Experimenter
Experimenter

hi everybody !

 

thank you all for your tips.

but i figured out how to solve my problem !

 

in Nx 9.0.....   i started out with the sim08 post for Fanuc.

and in the program start sequence there is a custom command called customize output

 

in there , i found 3 options for output  G68 or G68.2 , axis or vector and finaly  tcp_fix_table or tcp_fix_machine .

 

now this 3rd option is the holy grale for me !!!   lol

it was set to TCP_FIX_MACHINE   and in my case i simply needed to set it to TCP_fix_TABLE

and voila !!!!!

 

now i just need to do a few minor adjustement to make the program look like we are used to see it and i will be all set !!!!

 

thanks again everybody !

 

work hard !

play even harder !

Re: need my post to output MCS_goto instead of mom_pos

Phenom
Phenom

Great. I am reluctant to answer post questions when person is asking about the OTB posts because I haven't used them much. When it is clear that someone is asking about them I would expect Siemens to answer - or someone that has experience with using them.

NX10.03
Windows 7 Pro

Learn online





Solution Information