MOM Post Commands

Mom Variable

Class

Description

Possible Values

Data Type

Default

mom_auxfun

Post Commands

The value entered in AUXFUN UDE.

Any number greater than or equal to zero.

Integer

 

mom_auxfun_text

Post Commands

The appended text entered in the AUXFUN UDE.

Any string 66 characters or less.

String

 

mom_auxfun_text_defined

Post Commands

Flag defining if AUXFUN appended text has been entered

0 (no text), 1 (text defined)

Integer

 

mom_axis_position

Post Commands

The axis value for set_axis UDE.

ZAXIS or WAXIS

String

ZAXIS

mom_axis_position_value

Post Commands

The position for the SET/ZAXIS,n or SET/WAXIS,n in the set_axis UDE.

 

Numeric Value

 

mom_axis_position_value_defined

Post Commands

Flag defining if the set_axis position has been defined.

0 (no text), 1 (text defined)

Integer

 

mom_clamp_axis

Post Commands

The axis option selected from CLAMP UDE.  The AUTO option will initiate auto-clamping in Postbuilder created four axis posts.

XAXIS, YAXIS, ZAXIS, AAXIS, BAXIS, CAXIS, AUTO

String

 

mom_clamp_status

Post Commands

Clamping status of the selected axis.

ON, OFF, AXISON, AXISOFF

String

 

mom_clamp_text

Post Commands

The appended text entered in the CLAMP UDE.

Any string 66 characters or less.

String

 

mom_clamp_text_defined

Post Commands

Flag defining if CLAMP appended text has been entered.

0 (no text), 1 (text defined)

Integer

 

mom_coolant_mode

Post Commands

Defines the type of coolant desired.

ON, FLOOD, MIST, TAP

String

 

mom_coolant_text

Post Commands

The appended text entered in the COOLNT UDE.

Any string 66 characters or less.

String

 

mom_coolant_text_defined

Post Commands

Flag defining if COOLNT appended text has been entered.

0 (no text), 1 (text defined)

Integer

 

mom_coordinate_output_mode

Post Commands

For mill turn only. Defines the status of the UDE SET/POLAR. ON means that the output will be in polar coordinates.
OFF means the output will be in normal Cartesian coordinates.

ON or OFF

String

ON

mom_cut_wire_text

Post Commands

The appended text entered in the CUT/WIRE UDE.

Any string 66 characters or less.

String

 

mom_cut_wire_text_defined

Post Commands

Flag defining if CUT/WIRE appended text has been entered.

0 (no text), 1 (text defined)

Integer

 

mom_cutcom_adjust_register

Post Commands

The value of the cutcom adjust register in CUTCOM UDE.

Any number greater than or equal to zero.

Integer

 

mom_cutcom_adjust_register_defined

Post Commands

Flag defining if the cutcom adjust register has been specified in CUTCOM UDE.

0 (no ), 1 (yes)

Integer

 

mom_cutcom_angle

Post Commands

Angle specified for Engage/Retract cutcom method in the machine control dialog in the operation.

 

Numeric Value

10

mom_cutcom_distance

Post Commands

Cutcom distance specified for Engage/Retract cutcom method in the machine control dialog in the operation.

Any number greater than or equal to zero.

Numeric Value

0.1

mom_cutcom_mode

Post Commands

Defines the cutcom direction in the CUTCOM UDE.

LEFT, RIGHT, ON

String

ON

mom_cutcom_plane

Post Commands

Defines the cutcom plane in the CUTCOM UDE.

NONE, XYPLAN, YZPLAN, ZXPLAN

String

NONE

mom_cutcom_plane_output_flag

Post Commands

Flag defining if the cutcom plane has been specified in CUTCOM UDE.

0 (no text), 1 (text defined)

Integer

 

mom_cutcom_register

Post Commands

The cutcom register defined in the machine control dialog in the operation. May be overridden by the cutcom register on the tool.

Any number greater than or equal to zero.

Integer

 

mom_cutcom_register_output_flag

Post Commands

Flag defining if the cutcom register has been specified in machine control dialog in the operation.

0 (no text), 1 (text defined)

Integer

 

mom_cutcom_text

Post Commands

The appended text entered in CUTCOM UDE.

Any string 66 characters or less.

String

 

mom_cutcom_text_defined

Post Commands

Flag defining if CUTCOM appended text has been entered.

0 (no text), 1 (text defined)

Integer

 

mom_cutcom_type

Post Commands

The type of cutter compensation requested in the machine control dialog.

1 Retract/Engage, 2 Wall.

Integer

 

mom_def_sequence_frequency

Post Commands

The initial value of the frequency parameter for the SEQUENCE command in the definition file.

Any number greater than zero.

Integer

1

mom_def_sequence_increment

Post Commands

The initial value of the increment parameter for the SEQUENCE command in the definition file.

Any number greater than zero.

Integer

10

mom_def_sequence_maximum

Post Commands

The initial value of the maximum sequence number parameter for the SEQUENCE command in the definition file.

Any number greater than zero.

Integer

0

mom_def_sequence_start

Post Commands

The initial value of the start sequence number for the SEQUENCE command in the definition file.

Any number greater than zero.

Integer

10

mom_delay_mode

Post Commands

Defines the mom variable that will be used for the delay UDE. Seconds will use mom_delay_value, revolutions will use the mom_delay_revs 

SECONDS or REVOLUTIONS

Integer

 

mom_delay_revs

Post Commands

The delay value in revolutions for revolutions mode in the DELAY UDE.

Any number greater than zero.

Integer

 

mom_delay_text

Post Commands

The appended text entered in DELAY UDE.

Any string 66 characters or less.

String

 

mom_delay_text_defined

Post Commands

Flag defining if DELAY appended text has been entered

0 (no text), 1 (text defined)

Integer

 

mom_delay_value

Post Commands

The delay value in seconds for seconds mode in the DELAY UDE.

Any number greater than zero.

Numeric Value

 

mom_flush_guides

Post Commands

For Wire EDM only, setting of the FLUSH guide parameter.

NONE, UPPER, LOWER, ALL

String

 

mom_flush_pressure

Post Commands

For Wire EDM only, setting of the FLUSH pressure parameter.

NONE, LOW, MEDIUM, HIGH, REGISTER

String

 

mom_flush_register

Post Commands

For Wire EDM only, setting of the FLUSH register parameter.

Any number greater than or equal to zero.

Integer

 

mom_flush_tank

Post Commands

For Wire EDM only, setting of the FLUSH/TANK parameter.

IN, OUT

String

 

mom_flush_tank_text

Post Commands

The appended text entered in FLUSH/TANK UDE.

Any string 66 characters or less.

String

 

mom_flush_tank_text_defined

Post Commands

Flag defining if FLUSH/TANK appended text has been entered

0 (no text), 1 (text defined)

Integer

 

mom_head_name

Post Commands

This value is used to switch between posts for linked posts.

Any string 66 characters or less.

String

 

mom_head_name_defined

Post Commands

Flag defining if HEAD has been programmed.

0 (no ), 1 (yes)

Integer

 

mom_head_text

Post Commands

The appended text entered in SELECT/HEAD UDE.

Any string 66 characters or less.

String

 

mom_head_text_defined

Post Commands

Flag defining if SELECT/HEAD appended text has been entered

0 (no text), 1 (text defined)

Integer

 

mom_head_type

Post Commands

Value of the head for the SELECT/HEAD UDE.

FRONT,REAR,RIGHT,LEFT,SIDE,SADDLE

String

 

mom_load_tool_number_defined

Post Commands

Flag defining if the tool number has been specified in the LOAD or TURRET UDE.

0 (no text), 1 (text defined)

Integer

 

mom_lock_axis

Post Commands

The axis to be locked for the SET/LOCK UDE.  The post will convert the FOURTH and FIFTH parameters into the applicable rotary axis (A,B or C).

When using Lock Axis for five axis machine tools, and the fifth axis rotation method is set to reverse, set mom_kin_rotary_axis_method to zero. To do this, uncomment the following line in the post builder custom PB_CMD_revise_new_iks file:

set mom_kin_rotary_axis_method  "ZERO"

 

XAXIS, YAXIS, ZAXIS, AAXIS,
BAXIS, CAXIS, FOURTH, FIFTH

String

 

mom_lock_axis_plane

Post Commands

The plane to be locked for the SET/LOCK UDE.  You must enter a valid plane for five axis machines.  You do not need to enter an axis for four axis machines.

XYPLAN, YZPLAN, ZXPLAN, NONE.

String

 

mom_lock_axis_value

Post Commands

The position or angle to lock the axis or plane.

 

Numeric Value

0.0.

mom_lock_axis_value_defined

Post Commands

Flag defining if the lock axis value has been entered

0 (no ), 1 (yes)

Integer

 

mom_modes_text

Post Commands

The appended text entered in the SET/MODE UDE.

Any string 66 characters or less.

String

 

mom_modes_text_defined

Post Commands

Flag defining if SET/MODE appended text has been entered

0 (no text), 1 (text defined)

Integer

 

mom_number_of_ranges

Post Commands

You can use this variable to define the maximum number of ranges for the custom commands PB_CMD_spindle_sfm_range_select  or PB_CMD_spindle_rpm_range_select.

0-9

Integer

9

mom_operator_message

Post Commands

The text of the operator message.  The post will add a control out string to the beginning and a control out string to the end.  You can specify these in Post Builder. 

Any string 66 characters or less.

String

 

mom_operator_message_defined

Post Commands

Flag defining if the operator message text has been entered

0 (no ), 1 (yes)

Integer

 

mom_opskip_text

Post Commands

The appended text entered in the OPSKIP UDE.

Any string 66 characters or less.

String

 

mom_opskip_text_defined

Post Commands

Flag defining if OPSKIP appended text has been entered

0 (no text), 1 (text defined)

Integer

 

mom_opstop_text

Post Commands

The appended text entered in the OPSTOP UDE.

Any string 66 characters or less.

String

 

mom_opstop_text_defined

Post Commands

Flag defining if OPSTOP appended text has been entered

0 (no text), 1 (text defined)

Integer

 

mom_origin

Post Commands

For four and five axis posts, defines the distance from the origin of the MCS to center of the rotary table.
For other posts, an offset from the MCS origin to the machine tool coordinate center.

 

Numeric Array(3)

(0,0,0).

mom_origin_text

Post Commands

The appended text entered in the ORIGIN UDE.

Any string 66 characters or less.

String

 

mom_origin_text_defined

Post Commands

Flag defining if ORIGIN appended text has been entered

0 (no text), 1 (text defined)

Integer

 

mom_overide_oper_param

Post Commands

From the Cutter Compensation UDE and Tool Length Compensation UDE. Specifies whether the UDE values override the values entered in the Tool group of the operation dialog box.

0 (no), 1 (yes)

Integer

 1

mom_parallel_to_axis

Post Commands

The value of the SET/MODE UDE to control how parallel axes will be output in the post.

ZAXIS, WAXIS or VAXIS.

String

 

mom_power_text

Post Commands

The appended text entered in the POWER UDE.

Any string 66 characters or less.

String

 

mom_power_text_defined

Post Commands

Flag defining if POWER appended text has been entered

0 (no text), 1 (text defined)

Integer

 

mom_power_value

Post Commands

For Wire EDM only, the power setting for wire EDM operations.

Any number greater than or equal to zero.

Numeric Value

 

mom_pprint

Post Commands

The text of the PPRINT UDE. The post will replace the first '(' with a control out string to the beginning and the next ')' with a control out string.
You can specify the control out and control in strings in Post Builder. 

Any string 66 characters or less.

String

 

mom_pprint_defined

Post Commands

Flag defining if the PPRINT UDE text has been entered

0 (no ), 1 (yes)

Integer

 

mom_prefun

Post Commands

The value of the PREFUN UDE.

Any number greater than or equal to zero.

Integer

 

mom_prefun_text

Post Commands

The appended text entered in the PREFUN UDE.

Any string 66 characters or less.

String

 

mom_prefun_text_defined

Post Commands

Flag defining if PREFUN appended text has been entered

0 (no text), 1 (text defined)

Integer

 

mom_rotate_axis_type

Post Commands

Defines the axis to be rotated for ROTATE UDE.

TABLE, HEAD, AAXIS, BAXIS, CAXIS

String

 

mom_rotation_angle

Post Commands

Defines the angle to rotate to for the ROTATE UDE. The value may be incremental, absolute or to a modulo 360 angle.

 

Numeric Value

 

mom_rotation_angle_defined

Post Commands

Flag defining if the ROTATE angle has been entered.

0 (no ), 1 (yes)

Integer

 

mom_rotation_direction

Post Commands

Defines the direction to rotate the table for the ROTATE UDE.

CLW, CCLW, NONE

String

 

mom_rotation_mode

Post Commands

Defines how the mom_rotation_angle will be applied.

NONE, ABSOLUTE, INCREMENTAL, ANGLE.

String

 

mom_rotation_reference_mode

Post Commands

Defines the status of ROTREF.  Currently not used.

ON or OFF

String

 

mom_rotation_text

Post Commands

The appended text entered in the ROTATE UDE.

Any string 66 characters or less.

String

 

mom_rotation_text_defined

Post Commands

Flag defining if ROTATE appended text has been entered

0 (no text), 1 (text defined)

Integer

 

mom_seqnum

Post Commands

The current sequence number.

Any number greater than zero.

Integer

 

mom_sequence_frequency

Post Commands

The value of the frequency parameter for the SEQNO UDE.

Any number greater than zero.

Integer

1

mom_sequence_increment

Post Commands

The value of the increment parameter for the SEQNO UDE.

Any number greater than zero.

Integer

10

mom_sequence_mode

Post Commands

Defines how the sequence number will be output. ON will reinstate the output of the sequence number. OFF will suppress sequence numbers. N will turn on sequence numbers starting with N. AUTO is currently not used.

ON, OFF, N, AUTO.

String

OFF

mom_sequence_number

Post Commands

The value for the next sequence number for the SEQNO UDE.

Any number greater than zero.

Integer

10

mom_sequence_text

Post Commands

The appended text entered in the SEQNO UDE.

Any string 66 characters or less.

String

 

mom_sequence_text_defined

Post Commands

Flag defining if SEQNO appended text has been entered

0 (no text), 1 (text defined)

Integer

 

mom_spindle_direction

Post Commands

Returns the direction of the spindle.

CLW, CCLW or NONE

String

 

mom_spindle_maximum_rpm

Post Commands

Defines the maximum spindle rpm allowed in an operation.  This value can only be output with the SPINDL UDE.  It is not available on the feeds and speeds dialog.

Any number greater than zero.

Numeric Value

 

mom_spindle_maximum_rpm_defined

Post Commands

Flag defining if the SPINDL MAXRPM parameter has been entered

0 (no ), 1 (yes)

Integer

 

mom_spindle_mode

Post Commands

Returns the output mode of the spindle.

RPM or SFM

String

 

mom_spindle_range

Post Commands

Defines a spindle range.  This value can be output with the SPINDL UDE.
You can use a custom command in Post Builder to automatically derive the spindle range from the rpm.

1 through 9

String

 

mom_spindle_range_defined

Post Commands

Flag defining if the SPINDL RANGE parameter has been entered

0 (no ), 1 (yes)

Integer

 

mom_spindle_rpm

Post Commands

Defines the rpm of the spindle when in RPM mode.  In SFM mode represents the equivalent rpm at the first cut radius.

Any number greater than or equal to zero.

Numeric Value

 

mom_spindle_speed

Post Commands

The value of either SFM or RPM. 

Any number greater than or equal to zero.

Numeric Value

 

mom_spindle_speed_defined

Post Commands

Flag defining if the SPINDL speed parameter has been entered

0 (no ), 1 (yes)

Integer

 

mom_spindle_text

Post Commands

The appended text entered in the SPINDL UDE.

Any string 66 characters or less.

String

 

mom_spindle_text_defined

Post Commands

Flag defining if SPINDL appended text has been entered

0 (no text), 1 (text defined)

Integer

 

mom_stop_text

Post Commands

The appended text entered in the STOP UDE.

Any string 66 characters or less.

String

 

mom_stop_text_defined

Post Commands

Flag defining if STOP appended text has been entered

0 (no text), 1 (text defined)

Integer

 

mom_tool_adj_reg_defined

Post Commands

Flag defining if the adjust register parameter has been entered in the tool dialog.

0 (no ), 1 (yes)

Integer

 

mom_tool_adjust_register

Post Commands

Returns the value of the tool length adjust register.

Any number greater than or equal to zero.

Integer

 

mom_tool_change_type

Post Commands

Defines the type of tool change.  If type is AUTO, then the auto tool change event marker will be executed.
If type is MANUAL, then the manual tool change event marker will be executed.

AUTO or MANUAL. 

String

 

mom_tool_head

Post Commands

Defines the name of the current head used by a two turret lathe.

FRONT,REAR,RIGHT,LEFT,SIDE,SADDLE

String

 

 

mom_tool_number

Post Commands

Returns tool number of the current tool.

Any number greater than or equal to zero.

Numeric Value

 

mom_tool_use

Post Commands

Defines an array that contains the tool number and machine time for each tool.
Where 'tn' represent the tool number and 'mtime' represents the machining time in mom_tool_use(tn,mtime)

Any number greater than or equal to zero.

Numeric Array (n,t)

 

mom_translate

Post Commands

The values from the TRANS UDE command.

 

Numeric Array(3)

 

mom_work_coordinate_number

Post Commands

Value output by the ZERO/N UDE.  This value can be added to 53 to generate the Fanuc coordinate system codes.

0-6

Integer