Home / Siemens NX / Reloading Multi-channel and mill-turn machines siemens NX

Reloading Multi-channel and mill-turn machines siemens NX

To reload multi-channel and mill-turn machines, you must define kinematic chains for each channel. Each chain:

  • Is a set of kinematic components that connect the part to a tool carrier.

  • Requires its own linked post.

The following example creates two chains for a simple mill-turn. The first chain is from the milling tool to the part. The second chain is from the turning tool to the part.

  1. In the Machine Tool Builder, create a new classification, mill_main, and use this classification for each component of the milling chain.

  2. Set the axis for each component of the chain to NC Axis.

  3. In the milling linked post for this chain, modify the PB_CMD_reload_iks_parameters function as follows:

    #=============================================================
        proc PB_CMD_reload_iks_parameters { } {
        #=============================================================
        # This command overloads new IKS params from a machine model.(NX4)
        # It will be executed automatically at the start of each path
        # or when CSYS has changed.
        #
           global mom_csys_matrix
           global mom_kin_iks_usage
          #----------------------------------------------------------
          # Set a classification to fetch kinematic parameters from
          # a particular set of Machine Components of a machine.
          # - Default is NONE.
          #----------------------------------------------------------
           set custom_classification MILL_MAIN
           if { [info exists mom_kin_iks_usage] && $mom_kin_iks_usage == 1 } {
              if [info exists mom_csys_matrix] {
                 if [llength [info commands MOM_validate_machine_model] ] {
                    if { [MOM_validate_machine_model] == "TRUE" } {
                       MOM_reload_iks_parameters "$custom_classification"
                       MOM_reload_kinematics
                    }
                 }
              }
           }
        }
    
  4. In the Machine Tool Builder, create a new classification, turn_main, and use this classification for each component of the turning chain.

  5. Set the axis for each component of the chain to NC Axis.

  6. In the turning linked post for this chain, modify the PB_CMD_reload_iks_parameters function to reference turn_main.

Leave a Reply

Your email address will not be published. Required fields are marked *