External E-Stop

More
10 years 2 months ago #78775 by BigJohnT
Replied by BigJohnT on topic External E-Stop

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
  • Moderator
More
10 years 2 months ago #78776 by tommylight
Replied by tommylight on topic External E-Stop
The first line has an error at "....in10-not....", should be ".....10-in-not".
regards,
Tom

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

More
10 years 2 months ago #79737 by OT-CNC
Replied by OT-CNC on topic External E-Stop
# estop
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.

More
7 years 9 months ago - 7 years 9 months ago #124257 by LinfieldGarage
Replied by LinfieldGarage on topic External E-Stop
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
Last edit: 7 years 9 months ago by LinfieldGarage.
The following user(s) said Thank You: ikkuh, Project_Hopeless, rgb

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

More
7 years 9 months ago #124266 by rodw
Replied by rodw on topic External E-Stop
I might as well post his here too. The docs and examples never show how you can create an estop chain that included multiple switches chained together in software. Its not always convenient to wire all functions that should trigger an estop to a single input. This example has a hardwired estop, an estop button on a pendant. Additionally, if the plasma torch breaks away, this triggers an estop too.

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.)
Code:
loadrt estop_latch count=3 addf estop-latch.0 servo-thread addf estop-latch.1 servo-thread addf estop-latch.2 servo-thread # --- ESTOP CHAIN STARTS --- net latch-reset iocontrol.0.user-request-enable net latch-ok-in iocontrol.0.user-enable-out net latch-ok-in => estop-latch.0.ok-in net latch0-out <= estop-latch.0.ok-out net latch0-out => estop-latch.1.ok-in net latch1-out <= estop-latch.1.ok-out net latch1-out => estop-latch.2.ok-in net latch-reset => estop-latch.0.reset net latch-reset => estop-latch.1.reset net latch-reset => estop-latch.2.reset net latch-out iocontrol.0.emc-enable-in <= estop-latch.2.ok-out net estop-out estop-latch.2.fault-out # --- EXTERNAL ESTOP SWITCH --- net external-estop <= hm2_7i76e.0.7i76.0.0.input-00 net external-estop => estop-latch.0.fault-in # --- PENDANT ESTOP SWITCH --- net pendant-estop <= hm2_7i76e.0.7i76.0.0.input-26-not net pendant-estop => estop-latch.1.fault-in # --- TORCH BREAKAWAY E-STOP --- net torch-breakaway <= hm2_7i76e.0.7i76.0.0.input-06 net torch-breakaway => estop-latch.2.fault-in # --- E-STOP STEPPER DRIVE DISABLE --- net estop-out hm2_7i76e.0.7i76.0.0.output-05 # --- E-STOP RED WARNING LIGHT --- net estop-out hm2_7i76e.0.7i76.0.0.output-00 # --- ESTOP CHAIN ENDS ---
The following user(s) said Thank You: BigJohnT, ikkuh, Sadmeatball, DoWerna, Unlogic

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

More
7 years 7 months ago #127503 by pl7i92
Replied by pl7i92 on topic External E-Stop
Software E-stop is always good but as it is realy a need shout down the motor power by press not in Software
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.

Time to create page: 0.733 seconds
Powered by Kunena Forum