E-Stop Warning Light - how do i connect???

  • deltagirl
  • deltagirl's Avatar Topic Author
  • Visitor
  • Visitor
26 Nov 2009 05:16 - 28 Nov 2009 13:39 #1201 by deltagirl
i want to make a light turn on when the e-stop button is pressed or when the e-stop, via software, is pressed.

I have EMC2 (2.3.4)
I have a 6Vdc Relay (6Vdc - 1A/125VAC)
I have a 12Vdc 200mA MAX light
I have a separate 12Vdc 3A source for the light

pin 13 - GND
= 5Vdc / 1A ( e-stop working 100%, just a on/off switch, believe the 1K resistor in front of pin is a pull up to make it give steady 5Vdc)

pin 1, 8, 9 - GND
= 3.3Vdc / 1A (i think i need those pull up resistors to make it 5 volts, not sure what to do)


QUESTION:
When E-Stop pressed (either hardware/software)it makes input go high, how do i make an output (eg: pin1) go high so i can put a relay in to turn on light

TRIED:
setting output pin1 to "E-Stop Output"..... didn't seem to work, tried variations of inverted for in and outputs.... nothing

ok any help would be grateful
Last edit: 28 Nov 2009 13:39 by deltagirl.

Please Log in or Create an account to join the conversation.

More
02 Dec 2009 03:47 #1225 by BMG
www.linuxcnc.org/component/option,com_mo...rc/Itemid,8/lang,en/

Drop into the IRC Chat (Java client link above) and check with other EMC power users there on how to set this up.

They should get you going pretty quickly.

Please Log in or Create an account to join the conversation.

More
07 Dec 2009 04:21 #1266 by ldmarsaglia
Hello,

I think you can use halui to do this, there are three pins in halui for the E-stop, and one of those pins is a hal output pin that tells the state of the E-stop button.

You only need to link this pin to a pin in your hardware driver (parport, mesa board)

Here is the information.

www.linuxcnc.org/docview/html//gui_halui.html

I hope i could help you.

Best regards.

Leonardo.

Please Log in or Create an account to join the conversation.

More
07 Dec 2009 06:34 #1267 by cmorley
Setting output pin1 to "E-Stop Output" should work. (I assume your using stepconf) I checked the hal file output .
I wonder if pin 1 on the parport is not responding?
Use halmeter to check the signal 'estop-out'. It should be false during an estop and true otherwise.

Please Log in or Create an account to join the conversation.

More
09 Dec 2009 12:31 - 09 Dec 2009 12:32 #1272 by BigJohnT
Chris, I have seen pin 1 not work on a few parallel ports that I have.

John
Last edit: 09 Dec 2009 12:32 by BigJohnT.

Please Log in or Create an account to join the conversation.

Time to create page: 0.240 seconds
Powered by Kunena Forum