Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: Zero Cool on May 07, 2011, 06:25:04 PM

Title: E-Stop LED Output/Pin Output
Post by: Zero Cool on May 07, 2011, 06:25:04 PM
Is it possible to have Mach toggle an output Port Pin on and off when in E-Stop??

 I want to add a large red light to the Mill that will run off a solid state relay. If there is a way to have Mach turn on or off an output pin, i can find a way to do it. It would be extra nice if it would "flash" the pin but i would be happy with just on or off LOL!


Zc
Title: Re: E-Stop LED Output/Pin Output
Post by: Hood on May 07, 2011, 06:26:47 PM
How about using one of the enable outputs?
Hood
Title: Re: E-Stop LED Output/Pin Output
Post by: Zero Cool on May 07, 2011, 06:30:19 PM
OOOOHHHH...hmmm yeah that would work. good idea! good idea! I hadn't thought about that.
Title: Re: E-Stop LED Output/Pin Output
Post by: Hood on May 07, 2011, 06:34:30 PM
I think all outputs switch off when Mach is in E-Stop but the benefit of the enables is they will switch on without any additional means when Mach comes out of reset, so they sound like the ideal way. Also a NC relay would work the light perfectly as Mach would open the relay thus switching the light off when not in E-Stop. Flashing would require some additional components but I think you get flashing LEDs which may be worth looking into.
Hood
Title: Re: E-Stop LED Output/Pin Output
Post by: Zero Cool on May 07, 2011, 06:39:53 PM
I will play with this a bit.

 I have some nice 25 amp Solid state relays with LED inputs that can run of the printer port directly. it wouldn't flash but it would light up a 60watt bulb just fine. but i could also use the port to trigger a 555 timer and a SSR and then i could flash the bulb.