- Posts: 198
- Thank you received: 0
External E-Stop
- Project_Hopeless
- Topic Author
- Offline
- Elite Member
-
LinfieldGarage wrote: I know this is an old thread but it helped me get my estop working.
Here is a working config from my system running Master branch 2.8 and a Mesa 7i96 board. My estop button is N/C and is a 24 volt input to GPIO 010 on the Mesa board. Just change the last line for your particular board and GPIO pin.
# ---estop signals---
# create a signal for the estop loopback
#config from BigJohn#
loadrt estop_latch
addf estop-latch.0 servo-thread
net estop-loopout iocontrol.0.emc-enable-in <= estop-latch.0.ok-out
net estop-loopin iocontrol.0.user-enable-out => estop-latch.0.ok-in
net estop-reset iocontrol.0.user-request-enable => estop-latch.0.reset
net remote-estop estop-latch.0.fault-in <= hm2_[HOSTMOT2](BOARD).0.gpio.010.in_not
Is there a simple way to have an on screen popup indicating the external E-Stop was pressed. Something like you get with the axis limits?
If I accidentally bump an external button it would be nice to know it was an external button and perhaps which one.
Please Log in to join the conversation.
- tommylight
-
- Offline
- Administrator
-
- Posts: 22010
- Thank you received: 3
Please Log in to join the conversation.
Please Log in to join the conversation.
- Project_Hopeless
- Topic Author
- Offline
- Elite Member
-
- Posts: 198
- Thank you received: 0
I did my best to to try and get a message to post, however I'm stuck. I'm nut understanding the syntax.tommylight wrote: linuxcnc.org/docs/html/man/man9/message.9.html
Here is my HAL for handling the external estop, this is working correctly.
I'm getting this error. With a Mesa 7i76e card how do I make the HAL connection?
Please Log in to join the conversation.
- tommylight
-
- Offline
- Administrator
-
- Posts: 22010
- Thank you received: 3
should beProject_Hopeless wrote: I'm trying to post the mesage like so.
Code:# my message setup External E-Stop loadrt message names=xestop messages="External E-Stop" setp xestop estop-latch.0.fault-in <= hm2_[HOSTMOT2](BOARD).0.gpio.010.in_not # active low, N/C=open
Please Log in to join the conversation.
Replace this line
Please Log in to join the conversation.
- dennis.lewis5
- Offline
- New Member
-
- Posts: 19
- Thank you received: 0
If you have any interest please let me know.
Please Log in to join the conversation.
dennis.lewis5 wrote: I cannot speak to the messaging you asked about but I am working on a system to tell me if the e-stop is the pc (as in startup) a local e-stop (one mounted on the machine) or a remote e-stop. The system simply operates a beacon and the flashing rate of the beacon indicates the trouble spot. It will force the pc into e-stop if local or remote.
If you have any interest please let me know.
Yes, please. Most people here learn better by examples then reading abstract manuals. So I am certainly interested in your system.
Please Log in to join the conversation.
- dennis.lewis5
- Offline
- New Member
-
- Posts: 19
- Thank you received: 0
If you would like to build one I have boards available as well as the pic micro.
Regards, Dennis
And Happy New Year.
Attachment not found
Attachment not found
Please Log in to join the conversation.
Please Log in to join the conversation.
