MOM Kinematic Variables

mom Variable

Class

Description

Possible Values

Data Type

Default

mom_kin_4th_axis_ang_offset

Kinematics

Defines an angular value that is added to fourth axis rotary angle.  This is used when a tool axis of (0,0,1) does not result in a position of zero position.

 

Numeric Value

0.0.

mom_kin_4th_axis_direction

Kinematics

Defines how the fourth axis rotary positions will be output.  The mom variable mom_out_angle_pos(0) will contain the rotary value.  For example move table or head from 90 to 45 degrees.   MAGNITUDE_DETERMINES_DIRECTION would output: Shortest 45, CLW 405, CCLW 45.  SIGN_DETERMINES_DIRECTION would output: Shortest -45, CLW 45, CCLW -45.

MAGNITUDE_DETERMINES_DIRECTION, SIGN_DETERMINES_DIRECTION

String

 

mom_kin_4th_axis_incr_switch

Kinematics

Determines whether the fourth axis rotary coordinates will be incremental or absolute.  This value is toggled ON or OFF in the machine tool dialog in Postbuilder.

ON (incremental) or OFF (absolute)

String

OFF

mom_kin_4th_axis_leader

Kinematics

The leader for the fourth axis.  This is typically A, B or C. 

 

String

 

mom_kin_4th_axis_limit_action

Kinematics

Defines the action that takes place when there is a rotary axis violation for the fourth axis.  The options are to output a warning or to retract to a clearance plane, rotate the axis, and re-engage to the part.

Warning or Retract / Reengage

String

Warning

mom_kin_4th_axis_max_limit

Kinematics

The maximum rotary position of the fourth axis.

 

Numeric Value

999.999

mom_kin_4th_axis_min_incr

Kinematics

Defines the resolution of your table or head.  Enter one if your table or head positions to one degree increments.  For full contouring axis, enter .001.

Any number greater than zero.

Numeric Value

0.001

mom_kin_4th_axis_min_limit

Kinematics

The minimum rotary position of the fourth axis.

 

Numeric Value

-999.999

mom_kin_4th_axis_point

Kinematics

Defines a point along the fourth axis for both orthogonal and non-orthogonal machines.

Real Numbers

Numeric Array(3)

0,0,0

mom_kin_4th_axis_rotation

Kinematics

Defines the direction of rotation of the rotary axis.  Occasionally tables are installed incorrectly.  The setting allows you to compensate for tables that rotate in a non-standard manner.  In the XY plane, looking down the Z axis from positive to negative, rotation to a larger angle is standard.  In the ZX plane, looking down the Y axis from positive to negative, rotation to a larger angle is stand.   In the YZ plane, looking down the X axis from positive to negative, rotation to a larger angle is stand.

STANDARD, REVERSE

String

 

mom_kin_4th_axis_type

Kinematics

Defines how the rotary axis rotates.  If Head, then tool itself tilts about a pivot point.  If Table, then the part rotates.

Head or Table

String

 

mom_kin_4th_axis_vector

Kinematics

Defines the plane of rotation to allow for non-orthogonal axis.

Real numbers, need not be a unit vector. Vector will be unitized by the system.

Numeric Array(3)

 

mom_kin_4th_axis_zero

Kinematics

Defines an offset that will be added the rotary position.  This offset is used when a (0,0,1) tool axis results in angle other than zero.

 

Numeric Value

0

mom_kin_5th_axis_ang_offset

Kinematics

Defines an angular value that is added to fifth axis rotary angle.  This is used when a tool axis of (0,0,1) does not result in a position of zero position.

 

Numeric Value

0.0.

mom_kin_5th_axis_direction

Kinematics

Defines how the fifth axis rotary positions will be output.  The mom variable mom_out_angle_pos(1) will contain the C208rotary value.  For example move table or head from 90 to 45 degrees.   MAGNITUDE_DETERMINES_DIRECTION would output: Shortest 45, CLW 405, CCLW 45.  SIGN_DETERMINES_DIRECTION would output: Shortest -45, CLW 45, CCLW -45.

MAGNITUDE_DETERMINES_DIRECTION, SIGN_DETERMINES_DIRECTION

String

 

mom_kin_5th_axis_incr_switch

Kinematics

Determines whether the fifth axis rotary coordinates will be incremental or absolute.  This value is toggled ON or OFF in the machine tool dialog in Postbuilder.

ON (incremental) or OFF (absolute)

String

OFF

mom_kin_5th_axis_leader

Kinematics

The leader for the fourth axis.  This is typically A, B or C. 

 

String

 

mom_kin_5th_axis_limit_action

Kinematics

Defines the action that takes place when there is a rotary axis violation for the fifth axis.  The options are to output a warning or to retract to a clearance plane, rotate the axis, and re-engage to the part.

Warning or Retract / Reengage

String

Warning

mom_kin_5th_axis_max_limit

Kinematics

The minimum rotary position of the fifth axis.

Any number greater than zero.

Numeric Value

-999.999

mom_kin_5th_axis_min_incr

Kinematics

Defines the resolution of your table or head.  Enter one if your table or head positions to one degree increments.  For full contouring axis, enter .001.

Any number greater than zero.

Numeric Value

0.001

mom_kin_5th_axis_min_limit

Kinematics

The maximum rotary position of the fifth axis.

 

Numeric Value

999.999

mom_kin_5th_axis_point

Kinematics

Defines a point along the fifth axis for both orthogonal and non-orthogonal machines.

Real Numbers

Numeric Arrah(3)

0,0,0

mom_kin_5th_axis_rotation

Kinematics

Defines the direction of rotation of the rotary axis.  Occasionally tables are installed incorrectly.  The setting allows you to compensate for tables that rotate in a non-standard manner.  In the XY plane, looking down the Z axis from positive to negative, rotation to a larger angle is standard.  In the ZX plane, looking down the Y axis from positive to negative, rotation to a larger angle is stand.   In the YZ plane, looking down the X axis from positive to negative, rotation to a larger angle is stand.

STANDARD, REVERSE

String

 

mom_kin_5th_axis_type

Kinematics

Defines how the rotary axis rotates.  If Head, then tool itself tilts about a pivot point.  If Table, then the part rotates.

Head or Table

String

 

mom_kin_5th_axis_vector

Kinematics

Defines the plane rotation to allow for non-orthogonal axis.

Real numbers, need not be a unit vector. Vector will be unitized by the system.

Numeric Array(3)

 

mom_kin_5th_axis_zero

Kinematics

Defines an offset that will be added the rotary position.  This offset is used when a (0,0,1) tool axis results in angle other than zero.

 

Numeric Value

0

mom_kin_arc_output_mode

Kinematics

Defines how circles will be output by the post.  Only circles generated in the operation can be output as circles.  LINEAR will output linear moves based on the tolerances defined on the arc in the operation.  QUADRANT will output circles only on quadrant boundaries.  FULL_CIRCLE will output arcs up to 360 degrees. 

FULL_CIRCLE, QUADRANT, LINEAR

String

FULL_CIRCLE

mom_kin_arc_valid_plane

Kinematics

Defines the planes that arcs will be output.  XYZ means XY, YZ or ZX.  Lathe posts can only output in the XZ plane.  ANY is not currently available from NX.

XYZ, XY, YZ, ZX, ANY

String

 

mom_kin_caxis_rotary_pos

Kinematics

Used for mill turns to establish a base C axis position.

0-360

Numeric Value

0

mom_kin_clamp_time

Kinematics

Defines the time to be used in time calculations for clamping operations.

Any number greater than or equal to zero.

Numeric Value

2 seconds.

mom_kin_coordinate_system_type  

Kinematics

Defines the type of coordinate system defined in the NX operation. LOCAL is the default. This coordinate system type can be used to define a G54 type work coordinate system. MAIN can be used to output coordinates that are relative to the main or master coordinate system. The main coordinate system is defined as the one that defines the machine tool zero. CSYS defines a coordinate system that is local, but uses a postprocessor that outputs G68 or G7 (cycle 19) to define a working coordinate system.

LOCAL, MAIN, or CSYS  

Integer

LOCAL

mom_kin_dependent_head

Kinematics

For lathe only. Defines the name of the dependent head. This name is specified on the TURRET UDE or the machine dialog in the operation.  When the dependent head is specified in the operation the distance from the dependent head to the independent head is applied.  The distance is defined with the mom variables mom_kin_ind_to_dependent_head_x and mom_kin_ind_to_dependent_head_z

FRONT, REAR, RIGHT, LEFT, SIDE, SADDLE, NONE

String

NONE

mom_kin_head_spindle_axis

 

Defines the spindle axis for the current head. Also establishes the initial head orientation for the machine tool. This variable is also updated when a new head is selected during the postprocessing of the NC program.

 

 

 

mom_kin_helical_arc_output_mode

Kinematics

Defines how the helix motion will be output by NX Post.  Only helical motion in the operation can be output as helix blocks by the post.  NX Post will output the helix as a series of linear gots, a helix for every quadrant, a helix for each 360 degrees or one helix for the entire circle.  LINEAR will output the entire helix with linear moves based on the tolerances defined for the arc in the operation.  QUADRANT will output a helix record for each 90 degrees of helix.  FULL_CIRCLE will output helix record for each 360 degrees of helix.  END_POINT will ouput entire helix  into a single block.  Each postprocessor will then format the helix data.

FULL_CIRCLE, QUADRANT, LINEAR,END_POINT  

String

FULL_CIRCLE

mom_kin_iks_usage

Kinematics

Determines which version of inverse kinematics solver (IKS) to use. The IKS defines how X,Y,Z,I,J,K values are converted to X,Y,Z,A,B for four and five axis machine tools. 

Set mom_kin_iks_usage to 1 to use the new IKS from NX 3 or later. If you don’t set the variable or set it to any value other than 1, the old IKS from NX 2 will be used, and there should be no changes in the output.

If you’re using Post Builder 3.4 or later, mom_kin_iks_usage is set to 1 and the new IKS is used. If you are using any other posts for complex machines, you must set this variable to 1 to use the new method.

Note: Non-orthogonal axes and the head object are only available with the new IKS.

1 or 0

 

Numeric

0

mom_kin_ind_to_dependent_head_x

Kinematics

For Lathe only, the distance from the independent head to the dependent head along the X axis.

 

Numeric Value

0

mom_kin_ind_to_dependent_head_z

Kinematics

For Lathe only, the distance from the independent head to the dependent head along the X axis.

 

Numeric Value

0

mom_kin_independent_head

Kinematics

For lathe only.  Defines the name of the independent head.  This name is specified on the TURRET UDE or the machine dialog in the operation.  When the independent head is specified in the operation the distance from the dependent head to the independent head is not applied . 

FRONT, REAR, RIGHT, LEFT, SIDE, SADDLE, NONE

String

NONE

mom_kin_is_turbo_output

Kinematics

Defines whether the post will use the special turbo block templates and ignore all custom commands for Linear, Circular and Rapid moves.  This mode will optimize performance by a factor of 6-7.

TRUE or FALSE

String

FALSE

mom_kin_linearization_flag

Kinematics

Defines whether linearization will be on by default.  This can be changed during post runtime with the LINTOL UDE.

 

String

F

mom_kin_linearization_tol

Kinematics

The default linearization tolerance used when LINTOL/ON is specified or linearization is turned on by default.

Any number greater than or equal to zero.

Numeric Value

.001.

mom_kin_machine_resolution

Kinematics

Defines the resolution used for rounding all coordinate data.  By default this value is synchronized with the number of digits, if you change the number of digits, you must also change this value.

Any number greater than or equal to zero.

Numeric Value

.0001 or inch posts and .001 for metric posts.

mom_kin_machine_type

Kinematics

Defines the basic machine type.  The type of machine determines how motion and post commands will be processed and output.

3_axis_mill, 3_axis_mill_turn, 4_axis_head, 4_axis_table, 5_axis_dual_table, 5_axis_dual_head, 5_axis_head_table, 2_axis_wedm, 4_axis_wedm, 2_axis_lathe.

String

3_axis_mill

mom_kin_machine_zero_offset

Kinematics

Defines the position of the center of the Machine Coordinate System (zero position of the NC program).

Real numbers.

Numeric Arrah(3)

(0,0,0)

mom_kin_max_arc_radius

Kinematics

Defines largest arc radius that can be programmed.  Any arc with a radius larger than the maximum will output as linear gotos.

Any number greater than zero.

Numeric Value

999.9999

mom_kin_max_fpm

Kinematics

Defines the maximum IPM or MMPM allowed.

Any number greater than zero.

Numeric Value

600 IPM and 15000 MMPM for mills and 400 IPM and 10000 MMPM for lathes.

mom_kin_max_fpr

Kinematics

Defines the maximum IPR or MMPR allowed.

Any number greater than zero.

Numeric Value

100 IPR and 100 MMPR.

mom_kin_min_arc_length

Kinematics

Defines the smallest arc that can be output before the post defaults to linear interpolation.

Any number greater than zero.

Numeric Value

.0001 for inch and .001 for metric.

mom_kin_min_fpm

Kinematics

Defines the minimum IPM or MMPM that can be output.

Any number greater than zero.

Numeric Value

.1 IPM and .01 MMPM for mills and .1 IPM and 1.0 MMPM for lathes.

mom_kin_min_fpr

Kinematics

Defines the minimum IPR or MMPR that can be output.

Any number greater than zero.

Numeric Value

.01 IPR and .001 MMPR.

mom_kin_nurbs_output_type

Nurbs

Defines output format for nurbs output.  BSPLINE is for Fanuc controls, HEIDENHAIN_POLY is for Heidenhain controls and SIEMENS_POLY is for Siemens controls.  These basic output formats may also work for other control types.

BSPLINE, HEIDENHAIN_POLY, SIEMENS_POLY

String

 

mom_kin_output_unit

Kinematics

Defines the units for all coordinate and feed rate output.  NX Post will convert the input coordinates and feed rates units into the mom_kin_output_unit if they are different.

IN or MM

String

 

mom_kin_pivot_dist_vec  

Kinematics

For four and five axis tilting head machine tools only. Defines the vector from the pivot point of the tilting rotary axis to gage point.  This vector is added to the tool length to determine the effective length of the tool. If the mom variable mom_kin_pivot_gauge_offset is also set, the mom variable mom_kin_pivot_dist_vec will be used. If mom_kin_pivot_gauge_offset is set and mom_kin_pivot_dist_vec is not set, then the post will use the vector (0,0,mom_kin_pivot_gauge_offset) as the pivot offset vector.

 

Numeric Array(3)

(0,0,0)

mom_kin_pivot_guage_offset

Kinematics

Same as mom_kin_pivot_gauge_offset.

 

mom_kin_pivot_to_gauge_dist

Kinematics

Same as mom_kin_pivot_gauge_offset.

 

mom_kin_rapid_feed_rate

Kinematics

Defines the rapid traverse for the machine tool.  This value is used for time calculations for all rapid and positioning moves.

Any number greater than or equal to zero.

Numeric Value

400 posts for inch and 10000 for metric posts.

mom_kin_read_ahead_next_motion

Kinematics

Defines whether the post will read ahead for the next motion.  If this variable is defined to any value, the read ahead will take place.  The read ahead will also keep track of all post commands encountered while reading ahead.  See the variables in the class Read_Ahead for details.

 

String

Unset

mom_kin_reengage_distance

Kinematics

Used by the function that automatically retracts and re-engages when a rotary limit is violated.  Establishes the distance above the part along the spindle axis to re-engage.

Any number greater than or equal to zero.

Numeric Value

.1.

mom_kin_retract_plane

Kinematics

Used by the function that automatically retracts and re-engages when a rotary limit is violated.  Establishes either a cylindrical clearance for four axis or a spherical clearance for five axis distance above the part for the tool to retract.  The distance is measured from the center

Any number greater than or equal to zero.

Numeric Value

10.0.

mom_kin_rotary_axis_method

Kinematics

Determines whether the previous rotary position or value of 0.0 will be output when there are an infinite number of solutions.

PREVIOUS or ZERO

 

 

mom_kin_rotary_reengage_feedrate

Kinematics

Used by the function that automatically retracts and re-engages when a rotary limit is violated.  Establishes the feed rate used to re-engage the part after the retraction has taken place.

Any number greater than zero.

Numeric Value

10 IPM.

mom_kin_spindle_axis

Kinematics

Defines a vector that establishes the spindle axis of the machine tool.  For three axis posts it is always (0,0,1).  May be set to (1,0,0) or (-1,0,0) for mill turns.  Otherwise it is set to (0,0,1).  Is used for simulated cycles, rotary axis re-engage and mill turns.

Real numbers, need not be a unit vector. Vector will be unitized by the system.

Numeric Array(3)

 

mom_kin_tool_change_time

Kinematics

Defines the time to be added to total machine time for tool changes.

Any number greater than or equal to zero.

Numeric Value

12 seconds.

mom_kin_tool_tracking_height

Kinematics

For four or five axis milling machines only.  Defines the height on the tool where distance calculations will be made.  This is very useful when swarfing.  The default value is zero, which represents the tool tip.

Any number greater than or equal to zero.

Numeric Value

 

mom_kin_wire_tilt_output_type

Kinematics

Defines how the post will output four axis wire EDM.  

If ANGLES, then mom_pos(3) and mom_pos(4) will represent the Q and R words for the Agie type machines.  

If COORDINATES, then mom_pos(3) and mom_pos(4) will represent the U and V values for the Mitsubishi type machines or AGIE Vision type machines. These values are incremental from mom_pos(1) and mom_pos(2) respectively.

ANGLES, COORDINATES

String

COORDINATES

mom_kin_x_axis_limit

Kinematics

Maximum travel for the X axis.  Use the custom command pb_cmd_check_travel_limits.tcl to generate warnings.

Any number greater than or equal to zero.

Numeric Value

40 (inch) and 1000 (metric).

mom_kin_y_axis_limit

Kinematics

Maximum travel for the Y axis.  Use the custom command pb_cmd_check_travel_limits.tcl to generate warnings.

Any number greater than or equal to zero.

Numeric Value

40 (inch) and 1000 (metric).

mom_kin_z_axis_limit

Kinematics

Maximum travel for the Z axis.  Use the custom command pb_cmd_check_travel_limits.tcl to generate warnings.

Any number greater than or equal to zero.

 

Numeric Value

35 (inch) and 1000 (metric).

MOM_update_kinematics

Kinematics

Maps the following legacy kinematics variables to the current kinematics variables, and is required after specifying them:

  • mom_kin_4th_axis_center_offset

  • mom_kin_5th_axis_center_offset

  • mom_kin_pivot_gauge_offset

 

1 or 0

Numeric Value

1