04-30-2015 07:07 AM
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..
04-30-2015 09:28 AM
Have you tried enabling the review tool for the post run and check the variables there?
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
How to Get the Most from Your Signature in the Community
NX Customization - Best Practice Guide
04-30-2015 10:01 AM - edited 04-30-2015 10:02 AM
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.
Production: NX10.0.3.5 MP16/TC11.2
I'd rather be e-steamed than e-diseaseled
04-30-2015 10:44 AM
Very Simple use
mom_use_a_axis
its either 0 or 1 depending if the tools is flip or not