Showing results for 
Search instead for 
Do you mean 
Reply
Solved! Go to solution

Mazak Tool number with decimal point

[ Edited ]

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 -

 

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

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.0, FBM, MRL 3.1.4 | TcUA 10.1 MP7 Patch 0 (10.1.7.0) | TcVis 10.1
Development: VB.NET, Tcl/Tk    Testing: NX11.0 EAP, NX12.0 EAP

How to Get the Most from Your Signature in the Community
Solution
Solution
Accepted by topic author cs3672
‎11-20-2015 05:01 AM

Re: Mazak Tool number with decimal point

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 MP5 + patch/TC11.2
I'd rather be e-steemed 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

Thanks guys - tool adjust register did it!!

Re: Mazak Tool number with decimal point

Hi,

 

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

 

Thanks.

 

Joy

Re: Mazak Tool number with decimal point

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

 

define the variablesdefine the variablesbuild the output stringbuild the output string

 

 

Re: Mazak Tool number with decimal point

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 MP5 + patch/TC11.2
I'd rather be e-steemed than e-diseaseled


Re: Mazak Tool number with decimal point

Hi Ken,

 

are you familiar with this error?

 

error.JPG

Re: Mazak Tool number with decimal point

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 MP5 + patch/TC11.2
I'd rather be e-steemed than e-diseaseled


Learn online





Solution Information