mom Variables |
Class |
Description |
Possible Values |
Data Types |
Default |
mom_alt_pos |
Motion |
The alternate machine tool coordinates (X,Y,Z,fourth axis,fifth axis) for the current goto. This value is different than mom_pos if the kinematics of the machine tool is five axis. Otherwise, mom_alt_pos will be the same as mom_pos. For five axis machine tools, there is always at least two valid solutions when converting the input coordinates (X,Y,Z,I,J,K) into machine tool coordinates (X,Y,Z,A,B). The optimal solution will be mom_pos, the alternate solution will be mom_alt_pos. |
|
Numeric Array(5) |
|
mom_arc_angle |
Motion |
The total number of degrees for the current arc. |
0-360 |
Numeric Value |
|
mom_arc_axis |
Motion |
The circle axis vector. |
Unit vector. |
Numeric Array(3) |
|
mom_arc_center |
Motion |
The center of the circle. |
|
Numeric Array(3) |
|
mom_arc_direction |
Motion |
The direction of the circle. |
CLW or CCLW |
String |
|
mom_arc_intol_fraction |
Motion |
The percentage of the tolerance that is intol. A value of .5 defines the intol equal to the outtol. |
0 to 1.0 |
Numeric Value |
|
mom_arc_mode |
Motion |
The value of the SET/MODE UDE to control how arcs will be output in the post. |
LINEAR, CIRCULAR |
String |
|
mom_arc_radius |
Motion |
Radius of the current arc. |
Any number greater than zero. |
Numeric Value |
|
mom_arc_tolerance |
Motion |
Total tolerance that was used to generate the current arc. |
Any number greater than zero. |
Numeric Value |
|
mom_arc_tool_diameter |
Motion |
The diameter of the tool used to drive the arc. |
Any number greater than zero. |
Numeric Value |
|
mom_arc_tool_radius |
Motion |
The radius of the tool used to drive the arc. |
Any number greater than zero. |
Numeric Value |
|
mom_contact_center |
Motion |
Defines the ball center for the 3-D contact output mode. For bull end tools the center of the corner radius will be output. If mom_contact_status is OFF, the tool end position will be output as the ball center. This feature is only available for variable axis surface contouring |
|
Numeric Array(3) |
|
mom_contact_normal |
Motion |
Defines the normal vector from the contact point to the ball center for the 3-D contact output mode. If mom_contact_status is OFF, the tool axis will be output as the normal vector. This feature is only available for variable axis surface contouring. |
|
Numeric Array(3) |
|
mom_contact_point |
Motion |
Defines the contact point for 3-D contact output mode. If mom_contact_status is OFF, the tool end position will be output as the mom_contact_point. This feature is only available for variable axis surface contouring. |
|
Numeric Array(3) |
|
mom_contact_status |
Motion |
Defines the status of the contact data when the tracking mode is 3-D cutter compensation mode. ON means that the tool is making contact with part or drive surface and 3-D cutter compensation mode is active. This feature is only available for variable axis surface contouring. |
ON or OFF |
String |
OFF |
mom_csys_matrix |
Motion |
Matrix that defines the mapping from the current local coordinate system to the main coordinate system. This matrix will be output with MOM_csys event only. The first nine elements will be a 3X3 matrix. The 10th through 12th elements represent the origin. |
|
Numeric Array(12) |
|
mom_current_motion |
Motion |
Same as mom_motion_event. |
|
|
|
mom_cutter_data_output_indicator |
Motion |
Defines the current output mode. A value of 0 means that the output is tool end. Both 2-D contact contour and 3-D cutter compensation modes are inactive. A value of 1 means that the output is 2-D contact contour. The values in mom_pos represent the tool contact positions. A value of 2 means that the output is 3-D cutter compensation mode. The mom variable mom_tool_tracking_type will define the what data is being output. The subtypes of 3-D are ball, contact or tool tip. |
0, 1 or 2 |
Integer |
0 |
mom_from_alt_pos |
Motion |
The alt_pos coordinate values of the FROM position. See mom_alt_pos for a general description of alt_pos. |
|
Numeric Array(5) |
|
mom_from_pos |
Motion |
The mom_pos coordinate values of the FROM position. |
|
Numeric Array(5) |
|
mom_from_ref_pos |
Motion |
For Lathe only, the FROM position in machine coordinates that represented without the XOFF and YOFF being applied. |
|
Numeric Array(5) |
|
mom_gohome_alt_pos |
Motion |
The alt_pos coordinate values of the GOHOME position. See mom_alt_pos for a general description of alt_pos. |
|
Numeric Array(5) |
|
mom_gohome_pos |
Motion |
The mom_pos coordinate values of the GOHOME position. |
|
Numeric Array(5) |
|
mom_gohome_ref_pos |
Motion |
Defines the position of the GOHOME in reference point coordinates. |
|
Numerical Array(3) |
|
mom_helix_direction |
Motion |
Same as mom_arc_direction |
|
|
|
mom_helix_pitch |
Motion |
Defines the pitch of the helix for a helix_move event. |
|
Numeric Value |
|
mom_iks_usage |
Motion |
|
0 or 1 |
Number |
Unset |
mom_init_alt_pos |
Motion |
Defines the alternate machine tool positions of the origin of the current MSYS. The mom_init_alt_pos(3) and mom_init_alt_pos(4) represent the alternate rotary axis positions that the machine tool needs to position to before the start of an operation that is using controller coordinate systems such as G68 or G125. This information is only created for CSYS coordinate systems in the MOM_set_csys event. The alternate positions can be used if the mom_init_pos positions are not optimal. |
|
Numeric Array(5) |
|
mom_init_out_angle_pos |
Motion |
Defines the formatted values of mom_init_pos(3) and mom_init_pos(4). These values may contain a negative value, a value greater than 360 or less than 0. |
|
Numeric Array(2) |
|
mom_init_pos |
Motion |
Defines the machine tool positions of the origin of the current MSYS. The mom_init_pos(3) and mom_init_pos(4) represent the rotary axis positions that the machine tool needs to position to before the start of an operation that is using controller coordinate systems such as G68 or G125. This information is only created for CSYS coordinate systems in the MOM_set_csys event. |
|
Numeric Array(5) |
|
mom_last_pos |
Motion |
The previous tool position. Not the same mom_prev_pos. The retracto position will be used following canned cycles. |
|
Numeric Array(3) |
|
mom_last_z_pos |
Motion |
Equivalent to mom_last_pos(2). The previous Z position. |
|
Numeric Value |
|
mom_lathe_spindle_axis |
Motion |
Defines the meaning of the input coordinates. The standard output mode and mode used by Postbuilder is MCSZ. |
MCSX or MCSZ |
String |
MCSZ |
mom_mcs_goto |
Motion |
The tool path goto point as it would be output to a CLSF. The position is output with respect to current MCS programmed in the operation. |
|
Numeric Array(3) |
|
mom_motion_distance |
Motion |
Distance from the previous point to current point. |
Any number greater than or equal to zero. |
Numeric Value |
|
mom_motion_event |
Motion |
The current motion type. For each of these motion types, an event is generated by the system. For example, if the current motion type is linear_move, the event that is generated is MOM_linear_move. |
initial_move, rapid_move, linear_move, circular_move, drill_move, drill_dwell_move, drill_deep_move, drill_break_chip_move, tap_move , bore_move, bore_dwell_move, bore_drag_move, bore_no_drag_move, bore_manual, bore_manual_dwell_move, thread_move, lathe_thread_move |
String |
|
mom_motion_type |
Motion |
Motion type from the operation. |
UNDEFINED, RAPID, ENGAGE, CUT, RETRACT, FIRST_CUT, APPROACH, STEPOVER, DEPARTURE, RETURN, TRAVERSAL, SIDECUT, FROM, GOHOME, GOHOME_DEFAULT, CYCLE. |
String |
|
mom_out_angle_pos |
Motion |
For four and five axis machine tools only. Formatted angles for the fourth and fifth axes. These values may contain a negative value or a value greater than 360 or less than 0. mom_out_angle_pos(0) is the fourth axis and mom_out_angle_pos(1) is the fifth axis. |
|
Numeric Array(2) |
|
mom_pos |
Motion |
Defines the machine tool coordinates of the goto point. For Lathes, this is the X and Z positions of the tool tip. For four and five milling machines, mom_pos(3) and mom_pos(4) represent the fourth and fifth axis rotary positions. The rotary positions are between 0 and 360. For three axis mill turns, the output is X, Z and C. For WEDM machines, mom_pos(3) and mom_pos(4) are used for 4-axis output to represent data based on the kinematics variable mom_kin_wire_tilt_output_type. |
|
Numeric Array(5) |
|
mom_pos_arc_axis |
Motion |
The circle axis vector in the machine tool coordinate system. |
|
Numeric Array(3) |
|
mom_pos_arc_center |
Motion |
The circle center in the machine tool coordinate system. |
|
Numeric Array(3) |
|
mom_pos_arc_plane |
Motion |
Principal plane of the arc in the machine tool coordinate system. The circle in the MCS may not have been in a principal, but after rotation for a four or five axis post, the resulting circle must be in a principal plane. |
XY, ZX, YZ |
String |
|
mom_prev_alt_pos |
Motion |
The machine tool coordinates of the previous goto point. This is the previous version of mom_pos. |
|
Numeric Array(3) |
|
mom_prev_mcs_goto |
Motion |
The previous goto point in MCS output mode. The previous version of mom_mcs_goto. |
|
Numeric Array(3) |
|
mom_prev_out_angle_pos |
Motion |
The previous values of mom_out_angle_pos. mom_prev_out_angle_pos(0) is the fourth axis and mom_prev_out_angle_pos(1) is the fifth axis. |
|
Numeric Array(2) |
|
mom_prev_pos |
Motion |
The previous values of mom_pos. |
|
Numeric Array(5) |
|
mom_prev_ref_pos |
Motion |
For Lathe only. The previous version of mom_ref_pos. |
|
Numeric Array(3) |
|
mom_prev_rot_ang_4th |
Motion |
Same as mom_prev_out_angle_pos(0) |
|
Numeric Value |
|
mom_prev_rot_ang_5th |
Motion |
Same as mom_prev_out_angle_pos(1) |
|
Numeric Value |
|
mom_prev_tool_axis |
Motion |
The previous version of mom_tool_axis. |
Unit vector. |
Numeric Array(3) |
|
mom_ref_pos |
Motion |
For Lathe only. The turret reference gotos. These coordinates will be output without resetting the machine zero on every tool change like the tool tip output method requires. The mom_ref_pos(0) coordinate is the mom_pos(0) plus mom_tool_x_offset and the mom_ref_pos(2) coordinate is the mom_pos(2) plus mom_tool_z_offset. |
|
Numeric Array(3) |
|
mom_ref_pos_arc_center |
Motion |
For Lathe only. The arc center in reference position coordinates. |
|
Numeric Array(3) |
|
mom_rotary_delta_4th |
Motion |
The angular difference between mom_out_angle_pos(0) and mom_prev_out_angle_pos(0) |
|
Numeric Value |
|
mom_rotary_delta_5th |
Motion |
The angular difference between mom_out_angle_pos(1) and mom_prev_out_angle_pos(1) |
|
Numeric Value |
|
mom_sys_lathe_x_double |
Motion |
For lathe only. Defines the factor used to produce radius or diameter programming. If the value is 2.0, the X and I coordinates will represent diameter values. |
1.0 or 2.0 |
Numerical Value |
1 |
mom_sys_lathe_x_factor |
Motion |
For lathe only. Defines the factor used to mirror the X axis. A value of -1.0 will mirror the X and I words. |
1.0 or -1.0 |
Numerical Value |
1 |
mom_sys_lathe_z_factor |
Motion |
For lathe only. Defines the factor used to mirror the Z axis. A value of -1.0 will mirror the Z and K words. |
1.0 or -1.0 |
Numerical Value |
2 |
mom_tool_axis |
Motion |
For milling machines only. Defines orientation of the tool with respect to MCS of the operation. Is used by the post to calculate the fourth and fifth axis rotary positions. |
Unit vector. |
Numeric Array(3) |
(0,0,1). |
mom_tool_offset |
Motion |
The tool offsets defined in the MCS. For Lathes, the XOFF is mom_tool_offset(0), the YOFF is mom_tool_offset(1) and mom_tool_offset(2) is always 0.0._ For Milling machines, the ZOFF is mom_tool_offset(2) and mom_tool_offset(0) and mom_tool_offset(1) are set to 0.0. |
|
Numeric Array(3) |
(0,0,0) |
mom_tool_offset_defined |
Motion |
Indicates whether the tool offsets have been defined in the operation. |
undefined is 0, defined is 1 |
Integer |
|
mom_tool_tracking_type |
Motion |
Defines the type of output that will be output as mom_pos for the 3-D contact output. The type of output is defined the NX operation. The mom variable mom_tool_tracking_type is available only for variable axis surface contouring. BALL will use the ball nose center as mom_pos. CONTACT will use the tool contact point as mom_pos. TIP will use the tool tip as mom_pos. TIP is the normal output and default mode. The mom variable mom_tool_tracking_type will be valid only if mom_cutter_data_output_indicator equals 2. |
BALL, CONTACT or TIP |
Integer |
TIP |
mom_tool_x_offset |
Motion |
For Lathe, the YOFF value from the tool or TURRET UDE. This may also contain any offset for the distance between the independent spindle and the dependent. For Milling machines, this is set to zero. This offset is in the machine tool coordinate system. The mom_ref_pos(0) coordinate is the mom_pos(0) plus mom_tool_x_offset. |
|
Numeric Value |
|
mom_tool_x_offset_defined |
Motion |
Indicates whether the mom_tool_x_offset has been specified in the operation. |
undefined is 0, defined is 1 |
Integer |
|
mom_tool_y_offset |
Motion |
This offset is set to zero for both mills and lathes. |
|
Numeric Value |
|
mom_tool_y_offset_defined |
Motion |
Currently always set to zero. |
undefined is 0, defined is 1 |
Integer |
|
mom_tool_z_offset |
Motion |
For Lathe, the XOFF value from the tool or TURRET UDE. This may also contain any offset for the distance between the independent spindle and the dependent. For Milling machines, this is the ZOFF value from the tool or LOAD UDE. This offset is in the machine tool coordinate system. The C335 |
|
Numeric Value |
|
mom_tool_z_offset_defined |
Motion |
Indicates whether the mom_tool_z_offset has been specified in the operation. |
undefined is 0, defined is 1 |
Integer
|
|
mom_tracking_point_diameter |
Motion |
When the tool path is 2-D contact, the radial diameter of the tracking point is applied to the tool path between the CUTCOM/ON and CUTCOM/OFF commands when output contact contour tool path. |
|
Numeric Value |
0 |
mom_tracking_point_distance |
Motion |
When the tool path is 2-D contact, the axial distance of the tracking point is applied to the whole tool path, except the FROM and GOHOME tool position. |
|
Numeric Value |
|
mom_tracking_point_name |
Motion |
When the tool path is 2-D contact, this is the name of the current tracking point. |
|
String
|
|
mom_upper_pos_arc_center |
Motion |
Defines the center of an arc on the upper plane for 4-axis Wire EDM operations. Use this to create conic records in the NC code. |
|
Numeric Array (3) |
|
mom_upper_arc_direction |
Motion |
Defines the arc direction of an arc on the upper plane for 4-axis Wire EDM operations. Use this to create conic records in the NC code. |
CLW or CCLW |
String |
|
mom_wall_stock |
Motion |
Defines the stock to be applied to the wall in milling operations. |
|
Numeric Value |
|
|
|
|
|
|
|