How to Add a New Machine to ISV?
Steps Create machine tool model assembly in NX Add kinematics to the assembly Add new machine tool to library Create machine tool driver Test a part by retrieving your new machine tool from the library
Model Machine Tool 1 In NX, model each moving machine part as a separate component Make a NX assembly of all the components that make-up the machine tool Each component should be located as when the machine tool is in its “rest” state Use assembly mating conditions!
Set Up of Machine Components in NX 1 Inside …\MACH\resource\library\machine\graphics add a new machine directory. Make sure that the NAME of the directory and the K-assembly are the same as the machine tool name in the library
Create Kinematics Tree Inserting K-components 2 z_slide Select application machine tool builder In this machine, we have 3 linear slides: x_slide, y_slide, and z_slide Use tmb (third mouse button) and select Insert-K component to add these slides Make sure that the tree has its correct branches (parent-child relationship is very important) y_slide x_slide chine_base m a
Create Kinematics Tree (cont.) 2 For this machine, we only need two junctions (coordinate systems): machine_zero tool_mount (x should point along the tool axis) zc yc xc tool_mount XC
Create Kinematics Tree (cont.) 2 Inserting Axis Limits Every K-component in your model that moves needs to be assigned a reference coordinate system, the type of axis, and its limits Highlight a K-component and with TMB select Insert Axis Give a name to the axis (e.g. x) Select the Junction that you want to use as the reference coordinate system Define if it is linear or rotary Define its limits
Modification of the Machine Tool Library 3 Add an entry for your new machine in: …\MACH\resource\library\machine\ascii\machine_database.dat this is pointing to the .dat file that defines the post to be used Inside …\MACH\resource\postprocessor create post_mtd_mill_3x.dat with entry: ############################################################################### # my mill 3axis config file - Event Handler and Definition file for a mill machine tool post_mtd_mill_3x,${UGII_CAM_POST_DIR}post_mtd_mill_3x.tcl,${UGII_CAM_POST_DIR}post_mtd_mill_3x.def name of the post (give this name in Post Builder) post tcl file (this will be created by Post Builder) post def file (this will be created by Post Builder)
Machine Library in Resource Manager 3 Resource Manager is supported by ISV in NX2 Please contact: Torsten Beste in Cypress, California if you need help to set-up your Resource Library
Create Machine Tool Driver in Post Builder 4 Start Post Builder Give a name to the post Configure the post for your machine In this case we are making a post for a 3-axis milling machine
Create Machine Tool Driver in Post Builder (cont.) 4 Create Machine Tool Driver in Post Builder (cont.) Under Output Settings-> Other Options: Turn on Generate Virtual NC Controller
Create Machine Tool Driver in Post Builder (cont.) 4 Under Program & Tool Path, select Custom Command Select PB_CMD_vnc____map_machine_tool axes
Create Post in Post Builder (cont.) 4 Create Post in Post Builder (cont.) #++++++++++++++++++++++++++++++++++++++++++ # Fetch physical axes (machine tool model). set mom_sim_mt_axis(X) X set mom_sim_mt_axis(Y) Y set mom_sim_mt_axis(Z) Z switch $mom_sim_num_machine_axes { "4" { set mom_sim_mt_axis(4) A } "5" { set mom_sim_mt_axis(4) B set mom_sim_mt_axis(5) C #+++++++++++++++++++++++++++++++++++++++++++++++++ # Define a component as ZCS base to be referenced in PB_VNC_csys. set mom_sim_zcs_base “X_SLIDE" #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ # Define spindle component and its junction for mounting tools. set mom_sim_spindle_comp “SPINDLE" set mom_sim_spindle_jct “TOOL_MOUNT_JCT" Edit the file to match your machine tool kinematic configuration When done save the post section not used for this post
Files Created by Post Builder 4 Files Created by Post Builder Once Post Builder is closed, it creates the following files in directory …\MACH\resource\postprocessor: post_mtd_mill_3x.pui post_mtd_mill_3x.tcl post_mtd_mill_3x.def post_mtd_mill_3x_vnc.tcl this file is the machine tool driver WARNING: Do not edit this file directly. Use ONLY Post Builder!
Test a Part by Retrieving Your Machine Tool 5 Retrieve test part: \\fsnac2\camparts\is_v\parts\isv_demo_part.prt Go into Manufacturing-> Machine Tool View, double click on Generic Machine and select our new milling machine: three_axis_vert If necessary, reposition your machine to your part ADD your part to the kinematics model You are ready for simulation