Since updating the mom variables into the interpreter takes a considerable amount of time, the turbo variables are used instead of mom variables to construct the block templates in the *.def file.
The following table shows the equivalent turbo variable to the mom variables:
MOM Variable |
Equivalent Turbo Variable |
$mom_pos(0) |
^POSX |
$mom_pos(1) |
^POSY |
$mom_pos(2) |
^POSZ |
$mom_sys_cutcom_code($mom_cutcom_status ) |
^sys_cutcom_code(CUTCOM_STATUS) |
$mom_sys_circle_code($mom_arc_direction) |
^sys_circle_code(ARC_DIRECTION) |
$mom_sys_output_code($mom_output_mode) |
^sys_output_code(OUTPUT_MODE) |
$mom_sys_cutcom_plane_code( $mom_cutcom_plane) |
^sys_cutcom_plane_code(CUTCOM_PLANE) |
$mom_pos_arc_center(0)- $mom_prev_pos(0) |
^CENTERX --- See note |
$mom_pos_arc_center(1)- $mom_prev_pos(1) |
^CENTERY --- See note |
$mom_pos_arc_center(2)- $mom_prev_pos(2) |
^CENTERZ --- See note |
$feed |
^FEED |
$mom_spindle_speed |
^SPINDLE_SPEED |
$mom_sys_spindle_direction_code( $mom_spindle_direction) |
^sys_spindle_direction_code( SPINDLE_DIRECTION) |
$mom_sys_linear_code |
^sys_linear_code |
$mom_cutcom_adjust_register |
^cutcom_adjust_register |
$mom_sys_coolant_code( $mom_coolant_status) |
^sys_coolant_code(COOLNT_STATUS) |
$mom_sys_adjust_code |
^sys_adjust_code |
$mom_sys_rapid_code |
^sys_rapid_code |
$mom_tool_adjust_register |
^tool_adjust_register |
$mom_seqnum |
^SEQNUM |
If you use a mom variable in a block template, turbo mode will not be used, and the performance will be slower than without turbo mode.
The values for the ^CENTERX , ^CENTERY, ^CENTERZ are calculated by the postprocessor based on the value defined for "mom_sys_cir_vector" in the handler.