Showing results for 
Search instead for 
Did you mean: 

Adding a value to a cutcom D offset


I have an older Fanuc that setup guys always add 40 to the D# for cutcom. For example T5 would be D45, T11 would be D51 I tried several different ways and keep getting a error when posting.


{$mom_cutcom_adjust_register+40} <<<<<< does not work.


$mom_cutcom_adjust_register + 40  <<<<<< worked yesterday, but somehow no longer works. 




Glenn Balon
Production: NX 12.0.2 MP7 Primarily CAM

Re: Adding a value to a cutcom D offset

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

The DEF file should contain the following line for your D word wherever it is used:

D[$mom_cutcom_adjust_register + 40]

So you should not include the curly braces.

Stefan Pendl, Systemmanager CAx, HAIDLMAIR GmbH
Production: NX10.0.3, VERICUT 8.2, FBM, MRL 3.1.7 | TcUA 10.1 MP7 Patch 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

Learn online

Solution Information