You will need 2 post processors; this is typically a mill and a lathe.
Choose which post will be the “Master” and which will be linked to the master
Open the Master post in post Builder. On the Program and Tool Path tab select Linked Posts.
Activate Link other Posts to this post
Enter a Head command – for example this is the mill post then enter Mill as the Head command.
Click New to link other posts to this one. For example a lathe post.
Enter the Head command – Lathe Then click select name and browse for the Lathe post. Note: they should be in the same directory as the other posts that are going to be linked together. Now the posts are linked but this is only half of the battle.
In NX you will need to add a User Defined Event to call the different posts.
The UDE needs to be in a method object or a program group. I like to use methods that way I only have one program group.
Create a method for mill and one for turn.
From the operation navigator right click on the mill method and select Object | Start Events. Add a HEAD event and enter Mill as the name – this is what will call the mill post. Do the same with the Lathe method and add the Head UDE with lathe as the name.
Now when you create your operations use the Mill or Lathe methods respectively.
Your Method view should look something like this.
Mill_method – the one with the head UDE
Rough_mill
Milling_opertation_1
Milling_operation_2
Lathe_method
Rough_turn
Lathe_operation_01
See the attached image.
John Joyce
Tata Technologies iKS
1675 Larimer St.
Denver, CO
www.myigetit.com
Is it possible to control which linked post to be used thru "post builder" instead of a UDE in NX?
For instance, I have a post called: "Haas_Master" and linked to "Haas_Master" are 4 posts that are variants of each other on based on which fixture is used, determines which of these posts are going to be used.
Perhaps controlled by a windows prompt for a string or value?
I've inserted the following code within a custom command, at the very top of "Start of Program" in post builder. I've tested this and it seems to work.
global mom_head_name
set mom_head_name "name of required head"
MOM_head
"name of required head" could be a variable determined thru a prompt, so.... the only thing now is to create some sort of prompt, maybe using a radial button thru which the required post is selected.