Cancel
Showing results for 
Search instead for 
Did you mean: 

ADD COOLANT ON STATUS

Pioneer
Pioneer

Hello ,

 

We want to add coolant status on (M08) to next to first cutting line,

 

If i insert the start marker flag in the user defined events ,

 

The coolant status on(M08) is added to upper line of first cutting move.

 

You can see at the below pic. ;

 

Can anyone help me about this issue???

Untitled.png

10 REPLIES

Re: ADD COOLANT ON STATUS

Genius
Genius

In Postbuilder, go to Program & Tool Path tab, Program tab, Tool Path - Machine Control, remove the M8 from the Coolant On section. Then add an M8 to the end of the Tool Path - Motion, Linear Move section.

Mike Diamond, CNC Programmer, Orizon Aerostructures Inc.

Production: NX10.0.3.5, Vericut 7.4.1, ICAM V21
Development: VB.NET, Tcl/Tk
Testing: NX11

Re: ADD COOLANT ON STATUS

Esteemed Contributor
Esteemed Contributor

Is M8 the ONLY coolant code you need output?

     If "yes" you can stop reading now :-)

 

If you need multiple codes (e.g. M51 for "thru" and M7 for "mist") all output in the same operation, removing the M8 from coolant on event may result in un-expected output.

Imagine you have these UDEs in you "start of path" events:

Coolant On / Flood

Coolant On / Mist

Coolant On / Thru

 

All you will get is an M51, as each "Coolant on" wil over-ride the same variables, and only the last UDE's values will be in effect by the time of the first motion is output.

Yes, you can use "Marker" UDEs ("Start_Marker", etc.) to get around this, but that is somewhat hokey.

If this is the case, you will need to add some tcl logic to the "Coolant on" event, and possibly more words to the block where the coolant gets turned on.

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: ADD COOLANT ON STATUS

Genius
Genius

Thank you for pointing out my lack of specifying the different coolant ons Ken. I should have included to add an M_coolant - M8 Coolant Code (FLOOD,MIST,ON.) if you have multiple coolant options.

 

I have used my way with no problems for quite a while, but in all honesty I have never even thought of using multiple coolant ons in the same operation, I would have just made a separate operation when the coolant needed changed. :-)

Mike Diamond, CNC Programmer, Orizon Aerostructures Inc.

Production: NX10.0.3.5, Vericut 7.4.1, ICAM V21
Development: VB.NET, Tcl/Tk
Testing: NX11

Re: ADD COOLANT ON STATUS

PLM World Member Phenom PLM World Member Phenom
PLM World Member Phenom

When we use Thru coolant we also like to have the flood coolant on at the same time.

I have the coolant/on on the initial move. I added  a block after the initial Z move to output a M08 with conditional output

 

global mom_coolant_mode

if { [ info exists mom_coolant_mode ] && $mom_coolant_mode == "THRU" } {
   return 1
   } else {
   return 0
   }

 

colant.JPG

John Joyce, Manufacturing Engineer,
Senior Aerospace Connecticut
www.senioraeroct.com
Production: NX11.0.2.7, Vericut 8.0.3
Development: Tcl/Tk

Re: ADD COOLANT ON STATUS

Legend
Legend

I use the following tcl logic for multiple coolant:
1) On each UDE "Coolant On" I don't output coolant command but add all coolant modes into my global list.
2) Before cutting insert the procedure to output coolant templates for this list.
3) On UDE "CoolantOff" clear this list.

Re: ADD COOLANT ON STATUS

Esteemed Contributor
Esteemed Contributor

My coolant logic (for most posts, there are some exceptions)

- I don't like to force users into using the "marker" UDEs to delay coolant "on" codes to where they should be output

- I want to support multiple coolant codes per operation.

 

I have a bunch of tcl code that does the following:

Proc 1: Sets a variable saying "delay the coolant output".  Added to "start of program" and "end of path"

Proc 2: In "Coolant on" event

- if "delay the coolant output" variable is set, add coolant code to "pending" list

- if not set, output M code in a block by itself

Proc 3: Add this to initial/first move evens.  Put this where you want coolant to come out (e.g. just before or after first move, or wherever)

- clears "delay the coolant output" variable 

- outputs any "pending" list coolants

 

 

 

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: ADD COOLANT ON STATUS

Pioneer
Pioneer

Hello and thanks to everyone for interest and answer,

 

first of all my first goal is output the coolant-on where i want,

 

second i did your advice;

**remove M08  from Program & Tool Path tab, Program tab, Tool Path - Machine Control - coolant on...

**add an M8 to the end of the Tool Path - Motion, Linear Move 

but i got the result below pic.;

post.png

 

so as you see, i got the M08 from every Linear-move,

but i need to see M08 only my first Linear move after tool change ,

that's all i need...

Re: ADD COOLANT ON STATUS

Legend
Legend

Not to have multiple output, the block M8 should be defined as modal and without force output.

Re: ADD COOLANT ON STATUS

Genius
Genius

Like Frobi said, right click the M08 block in the Linear Move to make sure it is not set to Force Output. If that is set correctly next check in N/C Data Definitions - Word Tab for M_coolant and make sure it is set to Modal. 

Mike Diamond, CNC Programmer, Orizon Aerostructures Inc.

Production: NX10.0.3.5, Vericut 7.4.1, ICAM V21
Development: VB.NET, Tcl/Tk
Testing: NX11

Learn online





Solution Information