Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: 4lowie on April 10, 2015, 09:08:42 AM

Title: Brain play.....
Post by: 4lowie on April 10, 2015, 09:08:42 AM
Hi all
Just started to have a look at the brain function and have a question. Mainly I can't find cycle start command in the brain editor list.

I want to have cycle start trigger output 1 and  stop (not estop) turn it off again.

At the moment I have a start in m code but if I hit stop,  it stops motor on output 1 but won't restart when I hit cycle start again.

I thought if I use the brain I could trigger output 1 from start cycle and stop buttons.

Once this is sorted id like to add a remote start stop button via inputs.

Appreciate any help on this.

Thanks Dave
Title: Re: Brain play.....
Post by: stirling on April 11, 2015, 05:22:26 AM
You'd be far better off using a screen editor and putting the code straight into the buttons
Title: Re: Brain play.....
Post by: ger21 on April 11, 2015, 07:10:13 AM
Can you monitor LED 904 and have it trigger the output?
Title: Re: Brain play.....
Post by: 4lowie on April 11, 2015, 08:52:12 AM
Thanks guys
Couldn't find LED 904.

Also had a look at the screen editor program but couldn't see how to change command.

O we'll, I'll keep playing.
Title: Re: Brain play.....
Post by: ger21 on April 11, 2015, 09:05:27 AM
Sorry, it's 804

LED 804 is the Run LED.
Create a brain to activate Output 1 whenever LED 804 is on. It should do exactly what you want to do.
Title: Re: Brain play.....
Post by: 4lowie on April 12, 2015, 08:05:36 AM
Found the led 804, so what command do I tell it to do? I tried getting to trigger at >0 but that didn't do it.....

Cheers
Title: Re: Brain play.....
Post by: Hood on April 13, 2015, 02:18:38 PM
No Operation Pass Signal would most likely be what you want.
Hood