Machsupport Forum

Mach Discussion => Brains Development => Topic started by: zarzul on August 03, 2009, 03:27:53 PM

Title: never wrote a brain but would like to try, auto shutdown timer
Post by: zarzul on August 03, 2009, 03:27:53 PM
I haven't done any brains yet but would like to try to do one. 
I need to do an estop or reset based on a timer.
If I haven't hit the cycle start in 5 minutes I would like to shutdown the machine using the estop or reset button.

Can anyone give me a little help?
I don't know where to start?
Thanks
Arnie
Title: Re: never wrote a brain but would like to try, auto shutdown timer
Post by: poppabear on August 03, 2009, 05:20:42 PM
Hey Arnie,

    Here is a Brian for you that does what you want.  Note: you have to have "Enable1" (enabled in your ports/pins cfg). The logic is based on that one.

The screen shot, and Brian is attached.

scott
Title: Re: never wrote a brain but would like to try, auto shutdown timer
Post by: zarzul on August 04, 2009, 08:54:11 AM
Scott,

Thanks for doing all the work!!   I will try it out.

Arnie