MOM Setup Events

This section describes the setup events and their associated parameters.

Event

Class

Description

MOM Variable

MOM_before_output

Setup Events

This event occurs before the data in the global mom_o_buffer is output.

mom_o_buffer

MOM_end_of_group

Setup Events

This event occurs at the end of the group.  The name of the group is the group name that is ending.  There is an end of group paired with each start of group events.

mom_group_name

MOM_end_of_path

Setup Events

This event occurs at the end of every path.

 

MOM_end_of_program

Setup Events

This event occurs at the end of program.

 

MOM_first_tool

Setup Events

This event occurs when the first tool in the toolpath is encountered. 

mom_next_tool_name, mom_next_tool_number

MOM_machine_mode

Setup Events

This event occurs when the machine mode changes between MILL, TURN, WEDM, and PUNCH. This event may be used to re-load the tcl and def files for a different post that can handle the kinematics of the new machine mode.  Note that MILL mode uses x,y,z,i,j,k to determine the tool position for three linear axes and two rotaries, TURN mode defines that the output is x,0,z only, WEDM mode defines the coordinates to be x,y,z,i,j,k where i,j,k is used to determine the slope of the wire and PUNCH mode means that only x,y will be meaningful.

Note: The MOM_machine_mode event is output before events such as MOM_start_of_program and MOM_start_of_group so that the machine mode is set correctly before beginning the program.

mom_machine_mode, mom_prev_machine_mode

MOM_msys

Setup Events

This event occurs at the beginning of each tool path.  It is used by the CLSF output function to describe the relationship between the coordinate system used to generate the tool path and the absolute coordinate system in NX. 

mom_msys_origin(3), mom_msys_matrix(9)

MOM_spindle_off

Setup Events

This event occurs when a spindle off UDE is active in End Post machine control.  This event is used to turn the spindle off.

mom_spindle_status, mom_spindle_text

MOM_spindle_css

Setup Events

This event occurs when the spindle UDE is active in the Start Post machine control dialog in the operation or attached to a group.  Much of this data (mom_spindle_mode, mom_spindle_speed, mom_spindle_direction, mom_spindle_rpm, mom_spindle_maximum_rpm) will be output as operation level data and output with the Start of Operation event. This data is used to start the spindle at a constant surface speed mode (SFM or SMM). The MOM_spindle_rpm event may be used if you need to control the order of post commands in the CLSF. This event is unnecessary in NX2 if you output using the sequences in Post Builder.  Before NX2 you will still need to specify spindle range and any spindle text with the spindle UDE.

mom_spindle_status, mom_spindle_range, mom_spindle_mode, mom_spindle_speed, mom_spindle_direction, mom_spindle_rpm, mom_spindle_maximum_rpm, mom_spindle_text

MOM_end_of_group

Setup Events

This event occurs at the end of the group.  The name of the group is the group name that is ending.  There is an end of group paired with each start of group events.

mom_group_name

MOM_spindle_rpm

Setup Events

This event occurs when the spindle UDE is active in the Start Post machine control dialog in the operation or attached to a group.  Much of this data (mom_spindle_mode, mom_spindle_speed, mom_spindle_direction, mom_spindle_rpm, mom_spindle_maximum_rpm) will be output as operation level data and output with the Start of Operation event.   This data is used to start the spindle in RPM mode.  The MOM_spindle_rpm event may be used if you need to control the order of post commands in the CLSF.  This event is unnecessary in NX2 if you output using the sequences in Postbuilder.  Before NX2 you will still need to specify spindle range and any spindle text with the spindle UDE.

mom_spindle_status, mom_spindle_range, mom_spindle_mode, mom_spindle_speed, mom_spindle_direction, mom_spindle_rpm, mom_spindle_maximum_rpm, mom_spindle_text

MOM_start_of_group

Setup Events

This event occurs at the start of the group.

Note: MOM_start_of_program and MOM_start_of_group are delayed and combined with MOM_machine_mode into one MOM_start_of_program event. This delay makes the information needed for output files and groups available, and allows group names to be used at the start of a program as the program name.

mom_group_name, mom_parent_group_name

MOM_start_of_path

Setup Events

This event occurs at the start of each operation.  The operation data generated will vary depending on the operation type.  At this time all of the operation parameters, parameters of the tool used in the operation and display parameters will be output.  Note that if the operation causes a machine mode event because the mom_machine_mode (MILL, TURN, WEDM, PUNCH) changes, the operation data will be output with the machine control event.

mom_lathe_spindle_axis, mom_next_tool_status, mom_operation_type, mom_tool_insert_width, mom_tool_tip_offset, mom_tool_x_imaginery_offset, mom_tool_z_imaginery_offset, mom_path_name, mom_tool_name, mom_tool_number, mom_tool_adjust_register, mom_tool_type, mom_tool_parameter_count, mom_tool_diameter, mom_tool_corner1_radius, mom_tool_equipment, mom_tool_shape, mom_tool_gage_length, mom_tool_taper_angle, mom_tool_tip_angle, mom_tool_corner1_x, mom_tool_corner1_y, mom_tool_flute_length, mom_tool_corner2_radius, mom_tool_corner2_x, mom_tool_corner2_y, mom_tool_holder_width, mom_tool_lead_angle, mom_tool_heel_angle, mom_tool_holder_height, mom_tool_orient_angle, mom_tool_insert_width, mom_tool_left_radius, mom_tool_right_radius, mom_tool_max_depth, mom_tool_insert_angle, mom_wire_guides_upper_plane, mom_wire_guides_lower_plane, mom_tool_barrel_radius, mom_tool_barrel_y, mom_tool_shank_diameter, mom_tool_orientation, mom_tool_work_side, mom_tool_track_side, mom_paint_arrow, mom_paint_feed, mom_paint_line_number, mom_paint_path_type, mom_paint_pattern, mom_paint_silhoutte_percentage, mom_paint_speed, mom_paint_speed_value, mom_paint_tool, mom_tool_display_type, mom_tool_display_frequency

MOM_start_of_program

Setup Events

This event occurs at the start of the program.  Note that when this event is generated, only information available at the program level will generated.  No operation data is available.

Note: MOM_start_of_program and MOM_start_of_group are delayed and combined with MOM_machine_mode into one MOM_start_of_program event. This delay makes the information needed for output files and groups available, and allows group names to be used at the start of a program as the program name.

mom_date, mom_logname, mom_next_tool_name, mom_next_tool_number, mom_part_name, mom_part_unit

MOM_sync

Setup Events

This event occurs during the postprocessing of a channel in the syncronization editor.  Each sync mark is output once in each of the channels.

mom_sync_number, mom_sync_affected, mom_sync_primary

MOM_tool_change

Setup Events

This event occurs at the beginning of an operation if there was a change in the tool from the previous operation.

mom_next_tool_name, mom_next_tool_number, mom_next_tool_status