Re: [Emc-users] two e-stop switches

2008-12-03 Thread John Thornton
yea, I was typing faster than thinking... wow that is slow... John On 3 Dec 2008 at 4:00, acondit wrote: > John Thornton <[EMAIL PROTECTED]> writes: > > > > > First you have to "load" an or2 in your hal file with: > > > > loadrt or2 > > > > You need to connect the two inputs to your phys

Re: [Emc-users] two e-stop switches

2008-12-03 Thread John Thornton
Hi Les If your selling machines you have to be super extra careful and try and make them idiot resistant. John On 3 Dec 2008 at 9:25, Leslie Newell wrote: > Hi Len, > > Sorry if I came on a bit strong there but I do a lot of repairs on > CNC > machines. I have seen what happens when things

Re: [Emc-users] two e-stop switches

2008-12-03 Thread Leslie Newell
Hi Len, Sorry if I came on a bit strong there but I do a lot of repairs on CNC machines. I have seen what happens when things go wrong and it isn't pretty. If you are selling these machines I would still be carefule with the EStops just in case. Apart from that rant, this is an interesting thr

Re: [Emc-users] two e-stop switches

2008-12-02 Thread acondit
John Thornton <[EMAIL PROTECTED]> writes: > > First you have to "load" an or2 in your hal file with: > > loadrt or2 > > You need to connect the two inputs to your physical inputs with net. Lets say you used pin > 10 and 11 of the parallel port to bring your signals in... then connect the

Re: [Emc-users] two e-stop switches

2008-12-02 Thread Len Shelton
Thanks John and others. Very helpful. >Len -Original Message- From: John Thornton [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 02, 2008 6:20 PM To: Enhanced Machine Controller EEMC" Subject: Re: [Emc-users] two e-stop switches there are lots of good examples on the w

Re: [Emc-users] two e-stop switches

2008-12-02 Thread John Thornton
there are lots of good examples on the wiki site this is one http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Simple_Remote_Pendant Bringing up the word e stop always gets the "ESTOP Police" :) to respond. in this case you need an or2 like in the other example I sent... John On 2 Dec 2008 at 17:23,

Re: [Emc-users] two e-stop switches

2008-12-02 Thread John Thornton
The standard way is to wire the switches in series using the n/c contact. So I assume you have some valid reason for wanting to do it with two inputs... like your machine is so huge you need to know which switch is in the stop condition. What you need is to "or" the inputs using the or2 compo

Re: [Emc-users] two e-stop switches

2008-12-02 Thread Len Shelton
>> Never rely on a computer for EStop or limits. Yeah - I get that. But these machines are tiny little desktop routers. We don't even use limits, because they will quietly crash and stall the motors without damaging anything. I am not a newbie, I just don't know how to join two pins to a single

Re: [Emc-users] two e-stop switches

2008-12-02 Thread Leslie Newell
Hi Len, Never rely on a computer for EStop or limits. Your EStop and limit switches should all be part of a chain of switches that directly kill the supply. The computer should obviously be notified that an EStop has occurred but it should not be able to prevent an EStop. In the case of limit

Re: [Emc-users] two e-stop switches

2008-12-02 Thread Emory Smith
Oops, sorry. Your last email came in as I was responding. Emory On Tue, Dec 2, 2008 at 17:41, Emory Smith <[EMAIL PROTECTED]> wrote: > Thanks for bringing this up. > EMC has provisions for soft limits set in the ini file, hard limit > switches (some of mine also > serve as Home switches) and E(mer

Re: [Emc-users] two e-stop switches

2008-12-02 Thread Emory Smith
Thanks for bringing this up. EMC has provisions for soft limits set in the ini file, hard limit switches (some of mine also serve as Home switches) and E(mergency)-Stop switches. My E-stop switches (big Allen-Bradley N.O. buttons with guards) are tied to the estop input pin and a relay to kill pow

Re: [Emc-users] two e-stop switches

2008-12-02 Thread Len Shelton
it to iocontrol.0.emc-enable-in and it complained that that was already assigned. >Len -Original Message- From: Jack Coats [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 02, 2008 5:02 PM To: Enhanced Machine Controller (EMC) Subject: Re: [Emc-users] two e-stop switches e-stop

Re: [Emc-users] two e-stop switches

2008-12-02 Thread Jack Coats
e-stop would be manual switches. Not limit switches. Stuart Stevenson wrote: > for the plus and minus limits? > > On Tue, Dec 2, 2008 at 3:10 PM, Len Shelton <[EMAIL PROTECTED]> wrote: > >> How do I configure hal to handle two e-stop switches on two different pins? >> >> >> >> Thanks, >> >>

Re: [Emc-users] two e-stop switches

2008-12-02 Thread Stephen Wille Padnos
Len Shelton wrote: >How do I configure hal to handle two e-stop switches on two different pins? > > If you're looking for two inputs to stop EMC2, you can easily do that with an "or" component (or "and" if you're using negative logic). A better way to do it is to use an input as active low, an

Re: [Emc-users] two e-stop switches

2008-12-02 Thread Stuart Stevenson
for the plus and minus limits? On Tue, Dec 2, 2008 at 3:10 PM, Len Shelton <[EMAIL PROTECTED]> wrote: > How do I configure hal to handle two e-stop switches on two different pins? > > > > Thanks, > >>Len > > - > This SF.Net em

Re: [Emc-users] two e-stop switches

2008-12-02 Thread Emory Smith
Why do you need them on different pins? You could wire two NO switches in parallel or two NC switches in series. Each set would be handled by a single pin. Emory On Tue, Dec 2, 2008 at 15:10, Len Shelton <[EMAIL PROTECTED]> wrote: > How do I configure hal to handle two e-stop switches on two diff

[Emc-users] two e-stop switches

2008-12-02 Thread Len Shelton
How do I configure hal to handle two e-stop switches on two different pins? Thanks, >Len - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Mobli