On 22 September 2010 10:26, Mark Wendt <[email protected]> wrote:

> Pressing either one
> of those two Estop switches shows their respective "LED" light go out,
> but the state of the iocontrol.0.emc-enable-in "LED" never changes.

Reading the docs: http://www.linuxcnc.org/docview/html//config_emc2hal.html

It seems that emc-enable-in needs to be driven false to operate. I
assume that your switches are true normally, and go false when
activated.

I bet that pressing both switches works as anticipated.

I got the logic wrong. This is your current truth-table:

in0 in1 out
 0   0    0
 0   1    1
 1   0    1
 1   1    1

Which means that the e-stop will only activate with both switches pressed.
I think you need to swap the "or2" for an "and2" (or an extra "and2"
if you already have one or more).

in0 in1 out
 0   0    0
 0   1    0
 1   0    0
 1   1    1


-- 
atp

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to