if {[info exists mom_next_oper_has_tool_change]} {
if {$mom_next_oper_has_tool_change == "YES"} {
# Stage for MOM_reload_kinematics
global mom_prev_pos
global mom_pos
global mom_prev_out_angle_pos
global mom_out_angle_pos
global mom_prev_rot_ang_4th
global mom_prev_rot_ang_5th
global mom_rotation_angle
set mom_prev_pos(0) 0.0
set mom_prev_pos(1) 0.0
set mom_prev_pos(2) 0.0
set mom_prev_pos(3) 0.0
set mom_prev_pos(4) 0.0
set mom_pos(0) 0.0
set mom_pos(1) 0.0
set mom_pos(2) 0.0
set mom_pos(3) 0.0
set mom_pos(4) 0.0
set mom_prev_out_angle_pos(0) 0.0
set mom_prev_out_angle_pos(1) 0.0
set mom_out_angle_pos(0) 0.0
set mom_out_angle_pos(1) 0.0
set mom_prev_rot_ang_4th 0.0
set mom_prev_rot_ang_5th 0.0
set mom_rotation_angle 0.0
MOM_reload_variable -a mom_prev_pos
MOM_reload_variable -a mom_pos
MOM_reload_variable -a mom_prev_out_angle_pos
MOM_reload_variable -a mom_out_angle_pos
MOM_reload_variable mom_prev_rot_ang_4th
MOM_reload_variable mom_prev_rot_ang_5th
MOM_reload_variable mom_rotation_angle