Machsupport Forum

Mach Discussion => Brains Development => Topic started by: chucky on February 20, 2008, 02:40:41 PM

Title: Newby – brains to turn the coolant on/off ?
Post by: chucky on February 20, 2008, 02:40:41 PM
I am trying to make a brain to turn the coolant on only when the G-code is running and the Z-axis gets with-in .125 from the part and lower.

Any hints?

My coolant or mist is on output 4

thx chuck
Title: Re: Newby – brains to turn the coolant on/off ?
Post by: poppabear on February 20, 2008, 11:31:26 PM
Ok here is a brain,

It looks at the Run LED, and Z position dro, (assumes -Z is going down into your work, and 0 is the work top surface).
it then turns on output4 when z is less than .125

scott
Title: Re: Newby – brains to turn the coolant on/off ?
Post by: chucky on February 21, 2008, 08:54:52 AM
Thanks a million poppabear it works like a champ and helped me figure out how this works.