I am trying to save one of my existing posprocessors into a new one.
I have a 4-axis milling posprocessor with the 4-th axis defined as YZ plane of rotation and word Leader 'A'.
I am trying to make a new post processor from that one, except for my 4th axis plane of rotation will be XY plane and the word Leader needs to be 'C'.
In Machine Tool / Fourth Axis Menu I changed the World Leader to C and Plane of Rotation to XY, but of course this did not do the trick yet. I also tried to change the $mom_out_angle_pos(0) to (2) everywhere in the post where I could find it, but realized that this variable does not exists - prabobly because the post was made using 4-axis template years ago.
What is the easiest way of doing this?
You could try making a New post and in the Controller area - select User's and Browse for the original post. This will bring in any custom commands. I have had beter success doing this rather than fighting with PB to get the output I need.
Also note that the mom_out_angle_pos array:
mom_out_angle_pos(0) = 4th axis.
mom_out_angle_pos(1) = 5th axis (if it exists).
However the 4th & 5th axes are defined in rotary axis definition section, 4th is always (0) and 5th is always (1).
Production: NX10.0.3.5 MP16/TC11.2
I'd rather be e-steamed than e-diseaseled
I tried a brand new 4-axis post and also a new using my old post as a teplate and I cannot get the angular output to come out. I am rotating about Z-axis and doing milling along X and Y axis. No post will give me angular outputs if I set my 4-th axis rotation to be XY plane. Not Sure what I am doing wrong here...
I am trying to write a simple milling post that can do milling on live-tooling lathe. My Z-axis for MCS will be set to a typical horizontal lathe Z. My milling is done by positioning the workpiece around the Z-axis and milling. So my tool axis is set to be perpendicular to Z.
What would be the best post template to start with for something like that?
Have you tried using the LOCK AXIS UDE? Soundds like you need to Lock the X axis and set the Locked Plane to the XY
Try this at the start of the path and then shut it off at the end of path.
I tried using UDE and it had no effect on my output :-(
I must be missing here something ....
What I do not understand is why is it that when I set up a 4 axis milling post and set my 4th axis to be XY plane, any milling in NX that is done using positioning of the forth axis results in $mom_out_angle_pos(0)=0.000
As long as that is zero I will never get any rotational output from the postbuilder, right?
OK, so let me try to explain this another way. I am on a small live tooling lathe (Y can mill).
How do I set up my milling posprocessor so that I get the following...
See the quick example pic. Let's say the 'green' cylinder represents my collet and I am holding a 'blue' part in it. I want my MCS to be set up as shown. Now I want to mill 6 sides shown in 'red', with a toolpath as shown.
My output should look something like this:
G0 X1. Z3. C0.
G0 X1. Z3. C60.
G0 X1. Z3. C120.
How do I set up my post?