Cancel
Showing results for 
Search instead for 
Did you mean: 

Post Processor avoid to post program for 4 axis machine on a 3 axis machine

Experimenter
Experimenter

Hi all,

Into our working environment, we work with different machines : 4 with 3 axis and 1 with 4 axis.  The thing is that our "toolpath designer" worked on a program for a 4 axis but when he posted it with the post processor, he choose a .pui for a 3 axis machine.

 

So my question is : how to make validation in the 3 axis machine .pui file to detect that the head is not in a vertical position (0 degree).  So if the head have an angle, stop the post processor.  I've tried to check some mom variable but for most of them, as the pui file is configured for a 3 axis machine, the angle variable for the head causes error in the post...

 

I hope I am clear enough.

Thanks in advance for your help.

7 REPLIES

Re: Post Processor avoid to post program for 4 axis machine on a 3 axis machine

Gears Phenom Gears Phenom
Gears Phenom

Forget about editing pui.

when you want to validate motion in 3ax postprocesor you have to do it in tcl - ofcourse via Postbuilder (!)

 

(PUI - only call tcl, def and tells to postbuilder what you will see from tcl,def)

 

 

---------------------------------------------
#♫ PB, 5ax, itnc, nx, vericut ♫ #

Re: Post Processor avoid to post program for 4 axis machine on a 3 axis machine

Experimenter
Experimenter

Thanks Gears Phenom,

 

I didn't explain right.  What I ment is, when I work in Post Builder in TCL, is there a way to identify if the toolpath we created with NX is based on a 4 axis machine in a post for a 3 axis machine?  I've checked lots of mom variables but those I've checked caused the post processor to stopped with errors in my 3 axis post processor...

 

 

Re: Post Processor avoid to post program for 4 axis machine on a 3 axis machine

Siemens Valued Contributor Siemens Valued Contributor
Siemens Valued Contributor

 

In initial_move and first_move you can check the variable mom_tool_axis.

If mom_tool_axix(2) is less than 1.000 then you have a tool or part rotation.

Re: Post Processor avoid to post program for 4 axis machine on a 3 axis machine

Experimenter
Experimenter

Thanks Javi, it worked!!!  

 

I'm happy!!!  lolll

Re: Post Processor avoid to post program for 4 axis machine on a 3 axis machine

Experimenter
Experimenter

Another question relatively to your solution.  Is there a reason why you use it into initial_move and first_move.  Will it be reliable to use this mom variable in the Start_of_Program?  I'm asking because the earlier I can identify the problem, the faster I can stop the post process.

 

Thanks again!!! Smiley Happy

Re: Post Processor avoid to post program for 4 axis machine on a 3 axis machine

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

It is because the variable is not defined (or if is defined, it is not guaranteed to be correct) until the initial or first move event.

 

The difference in timing is (from my experience) not great enought to matter.

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


Re: Post Processor avoid to post program for 4 axis machine on a 3 axis machine

Experimenter
Experimenter
Ok Thanks a lot for your help!!! Smiley Happy Really helpfull!

Learn online





Solution Information