Machsupport Forum

Mach Discussion => Brains Development => Topic started by: rufan on July 24, 2013, 08:08:06 AM

Title: Something is Ignoring the commands
Post by: rufan on July 24, 2013, 08:08:06 AM
I have setup a Brain to see when an Axis Fails, then Estop must be triggered.
But for some reason only the last line is working (OEMTR#4)
Tested signals > brain is detecting the signal and Estop turn GREEN but Mach3 do not Estop for OEMTR#2 and OEMTR#3

Brains code:
OEMTRIGGER#2 > No-Operation > Estop
OEMTRIGGER#3 > No-Operation > Estop
OEMTRIGGER#4 > No-Operation > Estop

Only OEMTRIGGER#4 is working perfect

What I am doing wrong?
Title: Re: Something is Ignoring the commands
Post by: JGB2288 on November 15, 2013, 10:34:50 PM
Hi rufan,
I think that now I have a issue ver similar than you, just only follow the last order , I have posted as well today.
Did y ou found any solution or where you was wrong?
Maybe you can give me light if I follow your steps.
Thanks !
Title: Re: Something is Ignoring the commands
Post by: cncalex on November 19, 2013, 12:02:53 PM
Hi rufan,

see pict.

alex
Title: Re: Something is Ignoring the commands
Post by: poppabear on November 23, 2013, 08:49:08 AM
Rufan,

the issue is, Brains is top down processing, if the first line turns it "off" and it hits the second line that says its OK, it turns off, etc.  so, only your LAST command is valid.

Here is the fix,  Take your 3 inputs and pipe them into an "OR" block, then the output of the "OR" block goes to a Single E-Stop button push.

scott