cancel
Showing results for 
Search instead for 
Did you mean: 

PB...Tool Breakage Detection

Valued Contributor
Valued Contributor

Hello.
Post Builder question.

At the end of each tool change, I call up an M55, to check for tool breakage....if broken, machine stops.

The M55 code works fine for solid carbide(EM, drills) but the system faults out(machine alarms out) when using large size indexable face mill, indexable shell mill, trepanning tool..etc. The plunger(round cyclinder) contacts the hollow part of cutter body & not the inserts...

Currently I'm outputting the code as a MOM_output_literal statements...is it possible to add logic instead? eg. in Tool Description, image below, if post sees word "INDEXABLE", omit M55..& if description is empty, output M55...or something along that line...?

We use OOTB NX tools (no tool library) & we do not use TC...

...
...
MOM_output_literal "G0 G91 G28 Z0."
MOM_output_literal "G90"
MOM_output_literal "()"
MOM_output_literal "()"
MOM_output_literal "M55 (Tool Hive Tool Breakage Detection Plunger Check)"
MOM_output_literal "()"
MOM_output_literal "()"
...
...

 

Tool Description.png


Thanks in advance.
Kal.

NX 9.0.3.4 MP12
PB 9.0.3.2
Vericut7.3.4

Testing NX 11.0.2.7 MP3
7 REPLIES

Re: PB...Tool Breakage Detection

Phenom
Phenom

 

if {![string match "*INDEXABLE*" $mom_cutter_description]} {

MOM_output_literal "M55"

}

---------------------------------------------
#♫ PB, 5ax, itnc, nx, vericut ♫ #

Re: PB...Tool Breakage Detection

Esteemed Contributor
Esteemed Contributor

If you want to apply more detailed logic, I do something similar.

I use mom_tool_ug_type, mom_tool_ug_subtype, and mom_tool_diameter

 

If your tool probe has "off center" capability (i.e. so you can touch off one insert of a large face mill) you may need a UDE to specify angle, but you can also use mom_tool_corner1_radius, etc.

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: PB...Tool Breakage Detection

Valued Contributor
Valued Contributor
Hello Juraj.
If tool indexable, I'd like the post to skip M55...

Additionally, is it possible to add another logic…if word LASER in the tool description, output the following…

MOM_output_literal "G65 P9863 T$mom_tool_number H-.010 S3000"

Kal.
NX 9.0.3.4 MP12
PB 9.0.3.2
Vericut7.3.4

Testing NX 11.0.2.7 MP3

Re: PB...Tool Breakage Detection

Valued Contributor
Valued Contributor
Hello Ken.
Not applicable to the plunger...it resides inside the tool changer..tool stationary & it moves along "z" to check for breakage...
I do another question related to this situation...which I'm going to post as a separate thread..
Kal.
NX 9.0.3.4 MP12
PB 9.0.3.2
Vericut7.3.4

Testing NX 11.0.2.7 MP3

Re: PB...Tool Breakage Detection

Legend
Legend
Juraj is right
"!" This symbol means is equal to 0 he will put M55
for exact string It is the same thing that symbol "!="
With string match with "*string*" it is a part or entire string
@mkn
Production: NX11.0.2.7,VERICUT 7.3.3
Development: Tcl/Tk, Gnuplot
www.deshors-tiremold.com

Re: PB...Tool Breakage Detection

Phenom
Phenom

hi,

if {![string match "*INDEXABLE*" $mom_cutter_description]} {

MOM_output_literal "M55"

}

 

= if it isnt indexable , do.

also means: if indexable, do nothing.

-----------------------

add:

if {![string match "*INDEXABLE*" $mom_cutter_description]} {

 

    if {[string match "*LASER*" $mom_cutter_description]} {

    MOM_output_literal "G65 P9863 T$mom_tool_number H-.010 S3000"

    } else {

    MOM_output_literal "M55"

    }

 

}

 

you can program any logic you want

http://www.tcl.tk/man/tcl8.5/TclCmd/contents.htm

 

---------------------------------------------
#♫ PB, 5ax, itnc, nx, vericut ♫ #

Re: PB...Tool Breakage Detection

Valued Contributor
Valued Contributor
Thanks MKN.
NX 9.0.3.4 MP12
PB 9.0.3.2
Vericut7.3.4

Testing NX 11.0.2.7 MP3

Learn online





Solution Information