Cancel
Showing results for 
Search instead for 
Did you mean: 

NC Post Prcessing - Turning - mom varirable

Experimenter
Experimenter

Hi,

 

Quyery on - NC Post Building - Turning

 

I am looking for mom variable in turning operation at 'Tool Orientation' tab. check box name - "Flip tool around holder' . How I can pull these check box information to the post for coding.

 

Please help for the above...

 

Thanks in advance..

 

 

 

 

3 REPLIES

Re: NC Post Prcessing - Turning - mom varirable

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

Have you tried enabling the review tool for the post run and check the variables there?

Stefan Pendl, Systemmanager CAx, HAIDLMAIR GmbH
Production: NX10.0.3, VERICUT 8.2, FBM, MRL 3.1.7 | TcUA 10.1 MP7 Patch 0 (10.1.7.0) | TcVis 11.4
Development: C (ITK), .NET, Tcl/Tk Testing: NX12.0 | AWC 3.4 Preparing: NX12.0

Employees of the customers, together we are strong Smiley Wink
How to Get the Most from Your Signature in the Community
NX Customization - Best Practice Guide

Re: NC Post Prcessing - Turning - mom varirable

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

Can't find the variable right now but...

1) "Flip tool around holder" generates a "rotate" event (handled by the "MOM_rotate" proc in the MILL post in linked mill-turn post situation).  In newer mill posts, there is this code at the beginning of the "MOM_rotate" proc:

if { [info exists mom_machine_mode] && [string match "TURN" 
     $mom_machine_mode] } { 
     if [CMD_EXIST PB_CMD_handle_lathe_flash_tool] {
          PB_CMD_handle_lathe_flash_tool 
     } 
     return
}

 

So if this is a linked post, add a custom command "PB_CMD_handle_lathe_flash_tool" and see if it is correctly called.  I'd assume the variable is set to either "0" or "1"

 

2) If this is a straight lathe post (no linked mill post) you could try adding a proc "MOM_rotate" and see what happens

 

3) I'd suggest using the "Moog_show_globals" (see thread with it) - run twice (once flipped, once not) save the info windows to 2 separate text files and compare them  to find what is different.

Ken Akerboom Sr CAx Systems Engr, Moog, Inc.
Production: NX10.0.3.5 MP16/TC11.2
I'd rather be e-steamed than e-diseaseled


Re: NC Post Prcessing - Turning - mom varirable

PLM World Member Builder PLM World Member Builder
PLM World Member Builder

Very Simple use

 

mom_use_a_axis

 

its either 0 or 1 depending if the tools is flip or not

Learn online





Solution Information