cancel
Showing results for 
Search instead for 
Did you mean: 

Post Builder Coolant Issue

Experimenter
Experimenter

Hi All

 

I have an issue with coolant output when I try to used Flood,Mist,Tap,Thru,

 

If I set coolant on and off with machine control events I get the result I’m after see below

 

1st - operation start of path event coolant on, end of path event coolant off 

2nd - operation no coolant

3rd - operation start of path event coolant on, end of path event coolant off

 

%
O0001 (111111 A EXPORT ON OFF)
G40G80G49G17
(OPNAME- A_DROP_4.8)
G00G91G30Z0.0
G30X0.0Y0.0
G90T313
M06
M08 (Coolant on)
G54
T350
S5199M03
X104.782Y39.916
G43Z81.H313
G73X104.782Y39.916Z32.758R51.F676.Q14.
G80
G00Z81.
M09 (Coolant off)
M05
(OPNAME- A_DROP_11.8)
G00G91G30Z0.0
G30X0.0Y0.0
G90T350
M06
G54
T315
S1500M03
X-149.691Y-99.794
G43Z81.H350
G73X-149.691Y-99.794Z27.R51.F150.Q35.
G80
G00Z81.
M05
(OPNAME- A_DROP_5.8)
G00G91G30Z0.0
G30X0.0Y0.0
G90T315
M06
M08 (Coolant on)
G54
T131
S4000M03
X-149.691Y99.794
G43Z81.H315
G73X-149.691Y99.794Z27.R51.F300.Q17.
G80
G00Z81.
M09 (Coolant off)
M05
G91G30Z0.0
G30X0.0Y0.0
M02
%

 

If I set the first operation to have thru coolant as well

 

1st - operation start of path event coolant on & thru, end of path event coolant off 

2nd - operation no coolant

3rd - operation start of path event coolant on, end of path event coolant off

 

I get coolant thru M26 on the third operation & not coolant on M08

 

%

O0001 (111111 A EXPORT ON OFF)
G40G80G49G17
(OPNAME- A_DROP_4.8)

G00G91G30Z0.0
G30X0.0Y0.0
G90T313
M06
M08 (Coolant on)
M26 (Coolant Thru)
G54
T350
S5199M03
X104.782Y39.916
G43Z81.H313
G73X104.782Y39.916Z32.758R51.F676.Q14.
G80
G00Z81.
M09 (Coolant off)
M05
(OPNAME- A_DROP_11.8)
G00G91G30Z0.0
G30X0.0Y0.0
G90T350
M06
G54
T315
S1500M03
X-149.691Y-99.794
G43Z81.H350
G73X-149.691Y-99.794Z27.R51.F150.Q35.
G80
G00Z81.
M05
(OPNAME- A_DROP_5.8)
G00G91G30Z0.0
G30X0.0Y0.0
G90T315
M06
M26 (Coolant Thru)( This should be coolant on M08)
G54
T131
S4000M03
X-149.691Y99.794
G43Z81.H315
G73X-149.691Y99.794Z27.R51.F300.Q17.
G80
G00Z81.
M09 (Coolant off)
M05
G91G30Z0.0
G30X0.0Y0.0
M02
%

 

I tried to set the mom coolant mode to blank & mom coolant status to undefined after spindle off M05. But I still get coolant thru on the last operation when I should get coolant on?

 

 

 

 

 

5 REPLIES

Re: Post Builder Coolant Issue

Phenom
Phenom

Assuming you are using out of the box coolant code - this is what you probably have in your post:

#=============================================================
proc MOM_coolant_off { } {
#=============================================================
   COOLANT_SET
   MOM_do_template coolant_off
}


#=============================================================
proc MOM_coolant_on { } {
#=============================================================
   COOLANT_SET
}


#=============================================================
proc COOLANT_SET { } {
#=============================================================
  global mom_coolant_status mom_coolant_mode
  if { $mom_coolant_status == "UNDEFINED" } { return }
  if { $mom_coolant_status != "OFF" } { set mom_coolant_status ON }
  if { $mom_coolant_status == "ON" } {
    if { $mom_coolant_mode != "" } {
      set mom_coolant_status $mom_coolant_mode
    }
  }
}

 

which will keep one status for coolant. So - the second operation that turns on coolant will issue the current coolant active (in this case $mom_sys_coolant_code($mom_coolant_status) or $mom_sys_coolant_code(THRU).)

 

 

NX10.03
Windows 7 Pro

Re: Post Builder Coolant Issue

Esteemed Contributor
Esteemed Contributor

Unless you fiddle with post logic, I would tend to discourage use of "on" and encourage use of specific options ("Flood" or whatever).

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: Post Builder Coolant Issue

Experimenter
Experimenter

Thanks

 

Using Flood solves the problem. The logic in COOLANT_SET (ugpost_base.tcl) was not what I expected

 

 

Re: Post Builder Coolant Issue

Esteemed Contributor
Esteemed Contributor

To "encourage" this use, you COULD edit the ude.cdl file and remove the "On" option from the Coolant UDE   ;-)

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: Post Builder Coolant Issue

Experimenter
Experimenter

Thanks

 

I removed the "On" option from the Coolant UDE (ude.cdl file)

 

This stops any chance of getting the wrong coolant code

Learn online





Solution Information