Cancel
Showing results for 
Search instead for 
Did you mean: 

Mazak Tool number with decimal point

Pioneer
Pioneer

Good Afternoon,

 

We are currently creating a post processor for our Mazak Integrex machines but the programmer has asked me about a tool number issue?

 

Our machine uses tool numbers with decimal points but when tried to select a new tool within the NX enviroment he is getting the following message -

mazak_tool_dec.jpg

 

Is it possible to change this in the CAM enviroment so it will accept decimal points?

From a post perspective I could pull the tool number from an attribute, but I'd thought I'd ask about this option first.

 

Thanks in advance,

Craig.

9 REPLIES

Re: Mazak Tool number with decimal point

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

What is the part before and what the one after the period?

 

If the format is {tool number}.{tool register}, then the PP will have to combine the separate fields into one.

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: Mazak Tool number with decimal point

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

Is this for Mazatrol tool data?

 

What I do:

1) note that each 'dot" number can be a completely different tool (T1.1 could be a lathe tool, T1.2 could be an end mill)

2) For the main tool number, I use the NX tool number

3) for the "dot" number, I use the tool adjust value

- note I check that the adjust is a valid value (0 - 26 are valid, except not 10 and not 20, and if a "heavy" tool not 0) (I have a "Mazak Heavy Tool" UDE to flag NX if the tool is a "heavy" tool), also to set the offset by 60)

4) For post output

- I output the base T number in the T word

- I create a new word (e.g. T_dot), set the prefix to ".", set the value to "$mom_tool_adjust_register+$moog_heavy_tool_adjust_offset"

- order the T_dot word just after T

- Where needed (tool change & tool length adjust out) I put the 2 words in the block with no block separator between them

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: Mazak Tool number with decimal point

In NX, the tool number is an integer.

Generally, this should be handled in the post as already mentioned.

 

If you really must see it in NX, there are some other options, but I would try to avoid them and just do the work in the post.

1. Use another field such as description.

2. Use the Pocket ID - this means the 12.34 would come from the pocket, not the tool.

3. If the tools are retrieved from the library, add a user defined tool parameter. This would be the most elegant, but requires customization.

 

Mark Rief
Retired Siemens

Re: Mazak Tool number with decimal point

Pioneer
Pioneer

Thanks guys - tool adjust register did it!!

Re: Mazak Tool number with decimal point

Solution Partner Creator Solution Partner Creator
Solution Partner Creator

Hi,

 

How did you change the tool adjust register with decimal point?

 

Thanks.

 

Joy

Re: Mazak Tool number with decimal point

Pioneer
Pioneer

You can build an output string up in the post.....

 

defs.jpgdefine the variablesstring.jpgbuild the output string

 

 

Re: Mazak Tool number with decimal point

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

re:


@mj wrote:

 

How did you change the tool adjust register with decimal point?

 


The period is part of the WORD definition in the post

(like the "X" word has a prefix "X", the word I use for the ".nn" has a prefix ".")

so if the adjust is set to "1", the WORD output by the post is ".01"

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: Mazak Tool number with decimal point

PLM World Member Creator PLM World Member Creator
PLM World Member Creator

Hi Ken,

 

are you familiar with this error?

 

error.JPG

Re: Mazak Tool number with decimal point

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

Not specifically, but it looks to me like you either:

1) Forgot to define a local variable "tchange" with the required value

or

2) Forgot to add a "global tchange" to the beginning of the function

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


Learn online





Solution Information