Move Event Common Parameters

The following section describes the parameters that are common to all Move events (unless otherwise noted).

Common Parameter Definitions

mom_alt_pos(0)

The machine tool alternate X coordinate of the endpoint of a motion.

mom_alt_pos(1)

The machine tool alternate Y coordinate of the endpoint of a motion.

mom_alt_pos(2)

The machine tool alternate Y coordinate of the endpoint of a motion.

mom_alt_pos(3)

The machine tool alternate 4th axis coordinate of the endpoint of a motion.

mom_alt_pos(4)

The machine tool alternate 5th axis coordinate of the endpoint of a motion.

mom_feed_rate

The feed rate per minute of the move.

mom_feed_rate_number

Feedrate in units/minute divided by the distance moved.

mom_feed_rate_mode

The programmed feed rate mode for the move.

Values:

IPM

 

IPR

 

MMPM

 

MMPR

mom_feed_rate_output_mode

The programmed feed rate output mode for the move.

Values:

IPM

 

IPR

 

MMPM

mom_feed_rate_per_rev

The feedrate per revolution of the move.

mom_last_z_pos

The Z position where the tool had been previously.

mom_mcs_coord_mode

The MCS coordinate mode.

Values:

GOTO

 

GODELTA

mom_mcs_go_delta(0)

Delta X from the previous MCS end point (valid only when mom_mcs_coord_mode is GODELTA).

mom_mcs_go_delta(1)

Delta Y from the previous MCS end point (valid only when mom_mcs_coord_mode is GODELTA).

mom_mcs_go_delta(2)

Delta Z from the previous MCS end point (valid only when mom_mcs_coord_mode is GODELTA).

mom_mcs_goto(0)

The X coordinate of the endpoint of the move in the MCS.

mom_mcs_goto(1)

The Y coordinate of the endpoint of the move in the MCS.

mom_mcs_goto(2)

The Z coordinate of the endpoint of the move in the MCS.

mom_motion_distance

Distance from the previous to the current point.

mom_motion_type

The type of motion.

Values:

UNDEFINED

 

RAPID

 

ENGAGE

 

CUT

 

RETRACT

 

FIRST_CUT

 

APPROACH

 

STEPOVER

 

DEPARTURE

 

RETURN

 

TRAVERSAL

 

SIDECUT

 

FROM

 

GOHOME
(uses the x, y, z, coordinates specified in the GOHOME/ statement)

 

GOHOME_DEFAULT
(uses the x, y, z, coordinates specified for FROM)

 

CYCLE

mom_nxt_arc_angle

The arc angle of the next circular motion in degrees.

mom_nxt_arc_direction

The arc direction of the next circular motion.

Values:

CLW

 

CCLW

mom_nxt_arc_tool_diameter

The diameter of the tool used for the next circular motion.

mom_nxt_arc_tool_radius

The diameter of the tool used for the next circular motion.

mom_nxt_arc_tolerance

The arc tolerance of the next circular motion.

mom_nxt_event (0 ... n)

An array containing the event names encountered before the next motion event.

mom_nxt_event_count

The number of events encountered before the next motion event.

mom_next_feed_rate

The feedrate of the next motion in FPM.

mom_nxt_feed_rate_mode

The programmed feedrate mode of the next motion.

Values:

IPM

 

IPR

 

MMPM

 

MMPR

mom_nxt_feed_rate_output_mode

The programmed feedrate output mode of the next motion.

Values:

IPM

 

IPR

 

MMPM

 

MMPR

 

INVERSE

mom_nxt_feed_rate_per_rev

The feedrate of the next motion in FPR.

mom_nxt_intol_arc_fraction

The arc intol fraction of the next circular move.

mom_nxt_invert_arc_center (5)

Machine tool alternate arc center coordinates for the next circular motion in mill mode.

mom_nxt_mcs_coord_mode

The MCS coordinate mode of the next motion.

Values:

GOTO

 

GODELTA

mom_nxt_mcs_goto (3)

 

mom_nxt_motion_event

Name of the next motion event, e.g. linear_move.

mom_nxt_motion_type

The type of the next motion.

Values:

UNDEFINED

 

RAPID

 

ENGAGE

 

CUT

 

RETRACT

 

FIRST_CUT

 

APPROACH

 

STEPOVER

 

DEPARTURE

 

RETURN

 

TRAVERSAL

 

SIDECUT

 

FROM

 

GOHOME (uses the x, y, z, coordinates specified in the GOHOME/ statement)

 

GOHOME_DEFAULT (uses the x, y, z coordinates specified for FROM)

 

CYCLE

mom_nxt_pos_arc_axis (3)

Rotated arc axis i, j, k.

mom_nxt_pos_arc_center (3)

Machine tool arc center coordinates for the next circular motion in lathe mode.

mom_nxt_pos_arc_center (5)

Machine tool arc center coordinates for the next circular motion in mill mode.

mom_nxt_ref_pos_arc_center (3)

Machine tool reference point coordinates for the next circular motion in lathe mode.

mom_nxt_tool_axis (3)

 

mom_out_angle_pos(0)

The formatted output angle for the 4th axis determined by the axis direction kinematic (mom_kin_4th_axis_direction).

mom_out_angle_pos(1)

The formatted output angle for the 5th axis determined by the axis direction kinematic (mom_kin_5th_axis_direction).

mom_paint_color

Color number

Values: 0 to 15

mom_pos(0)

The machine tool X coordinate of the endpoint of the move.

mom_pos(1)

The machine tool Y coordinate of the endpoint of the move.

mom_pos(2)

The machine tool Z coordinate of the endpoint of the move

mom_pos(3)

The machine tool 4th axis coordinate of the endpoint of the move.

mom_pos(4)

The machine tool 5th axis coordinate of the endpoint of the move.

mom_prev_alt_pos(0)

The previous machine tool alternate X coordinate of the endpoint of a motion.

mom_prev_alt_pos(1)

The previous machine tool alternate Y coordinate of the endpoint of a motion.

mom_prev_alt_pos(2)

The previous machine tool alternate Z coordinate of the endpoint of a motion.

mom_prev_alt_pos(3)

The previous machine tool alternate 4th axis coordinate of the endpoint of a motion.

mom_prev_alt_pos(4)

The previous machine tool alternate 5th axis coordinate of the endpoint of a motion.

mom_prev_mcs_goto(0)

The previous X coordinate of the endpoint of the move in the MCS.

mom_prev_mcs_goto(1)

The previous Y coordinate of the endpoint of the move in the MCS.

mom_prev_mcs_goto(2)

The previous Z coordinate of the endpoint of the move in the MCS.

mom_prev_pos(0)

The previous machine tool X coordinate of the endpoint of the move.

mom_prev_pos(1)

The previous machine tool Y coordinate of the endpoint of the move.

mom_prev_pos(2)

The previous machine tool Z coordinate of the endpoint of the move.

mom_prev_pos(3)

The previous machine tool 4th axis coordinate of the endpoint of the move.

mom_prev_pos(4)

The previous machine tool 5th axis coordinate of the endpoint of the move.

mom_prev_ref_pos(0)

The previous turret reference position. (lathe only)

mom_prev_ref_pos(1)

The previous turret reference position. (lathe only)

mom_prev_ref_pos(2)

The previous turret reference position. (lathe only)

mom_prev_ref_pos(3)

The previous turret reference position. (lathe only)

mom_prev_ref_pos(4)

The previous turret reference position. (lathe only)

mom_prev_tool_axis(0)

The previous I component of the tool axis.

mom_prev_tool_axis(1)

The previous J component of the tool axis.

mom_prev_tool_axis(2)

The previous K component of the tool axis.

mom_ref_pos(0)

The turret reference position. (lathe only)

mom_ref_pos(1)

The turret reference position. (lathe only)

mom_ref_pos(2)

The turret reference position. (lathe only)

mom_ref_pos(3)

The turret reference position. (lathe only)

mom_ref_pos(4)

The turret reference position. (lathe only)

mom_tool_axis(0)

The I component of the tool axis.

mom_tool_axis(1)

The J component of the tool axis.

mom_tool_axis(2)

The K component of the tool axis.