NX 5 axis post for Fanuc Hurco that needs vector for rotation as UVW

2021-10-06T23:26:35Z
NX for Manufacturing

Summary


Details

How can you obtain mom_tool_axis variable to print out?

Solution

##The custom command below will print out the 4th and 5th value of the rotary## angle as well as the 3,4 & 5 value of mom_tool_axis when tag to the Rapid## event## 

global mom_posglobal mom_tool_axis 

MOM_output_literal " -------- $mom_pos(3)"MOM_output_literal " -------- $mom_pos(4)" 

if {[info exists mom_tool_axis(0)]} { MOM_output_text "mom_tool_axis = $mom_tool_axis(0), $mom_tool_axis(1), $mom_tool_axis(2)"} else { MOM_output_text "mom_tool_axis not defined"} 

Notes

KB Article ID# PL8007956

Contents

SummaryDetails

Associated Components

Manufacturing Post Builder