- Posts: 3981
- Thank you received: 994
External E-Stop
- BigJohnT
- Offline
- Administrator
-
cparsons wrote: I am trying to get my estop to work - and saw your example, I am going to do some experimenting but wondered if the line
net remote-estop estop-latch.0.fault-in <= parport.0.pin-in10-not
should be
net remote-estop estop-latch.0.fault-in <= parport.0.pin-10-in-not
I also wondered what the line 'addf estop-latch.0 servo-thread' does - I don't have servos, I have stepper motors??
Regards
Chris
If you don't have normally closed estop then yes you need to change the input.
The "servo-thread" is for some reason unknown to me means the slower thread with math and has nothing to do with the drives you may be using.
JT
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
-
- Posts: 22011
- Thank you received: 7491
regards,
Tom
Please Log in or Create an account to join the conversation.
- OT-CNC
- Offline
- Platinum Member
-
- Posts: 617
- Thank you received: 75
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 <= parport.0.pin-in10-not
Thanks for posting this. My E-stop circuit is now improved.
I'd like to add my limits to the estop circuit through software if necessary. As physically wired, I can't run the limits in series with the estop. What is your opinion on this? This would protect the machine only from a drive failure. I'm using DMM servo drives in step mode and I don't know how they would react if an encoder wiring would fail down the road. Runaway? Or is it safe enough to rely on a drive enable signal to disable the drive? Linking the limit signal to disable the drives?
Please Log in or Create an account to join the conversation.
- LinfieldGarage
- Offline
- Junior Member
-
- Posts: 37
- Thank you received: 11
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
Please Log in or Create an account to join the conversation.
- rodw
- Offline
- Platinum Member
-
- Posts: 12170
- Thank you received: 4153
On estop, we turn on a red warning light and disable the stepper drives. (All stepper controller (dis)enable lines are tied to the one output.)
Please Log in or Create an account to join the conversation.
- pl7i92
- Offline
- Platinum Member
-
- Posts: 1872
- Thank you received: 358
you can Home against the switches and restart at the nearest Clearenc hight at all time
Please Log in or Create an account to join the conversation.