Not the answer to your question, but from other equipment (real big stuff) I have the experience that it can be helpful to be able to tell which driver tripped and which E-stop was pressed.
Yesterday I checked half of my wiring just to notice that I had pulled the mushroom button that deactivates the spindle drive.
I would have thought you need then to connect the estop-ext to some pin (estop-ext beeing the "wire" it must be connected to some pin of the hal)
(beware half knowledge ahead!
estop-ext is something that you make up for a name (it might as well be the_blue_wire grey-dog or any other name); hm2_7i96s.0.inm.00.input-04-not is the input pin of the 7i95 card created by some software that others made.
I think you need to also connect your estop-ext to the corresponding hal pin of a software that someone made. A pin name that is existing somewhere in the system.
There are two lines in my hal file. They are not together so I had to use CTRL-F to find both.
Code:
net estop-ext <= parport.0.pin-11-in-not
net estop-ext => iocontrol.0.emc-enable-in
Basically
- read: "net" (make a connection with an imaginary wire) "estop-ext" (I want to name the wire estop-ext so that I remember in two years what it was for) <= (for Info the signal comes form somewhere and goes into said wire) parport.0.in-11-in-not (the connection goes to the input pin 11-of parport 0 and the signal is on when the input is not energized)
...for you instead of parport.0.input-11-not it should be hm2_7i96s.0.inm.00.input-04-not ...
- read: 'net' (make a connection with an imaginary wire) "estop-ext' (this wire was alread invented, so just connect the other end of it) => (for info when the wire has a signal it is transported from said wire to somewhere) iocontro.0.emc-enable-in (input of some software
called iocontrol.0.emc)
E-stop pulled:
- the parport pin is high, so the parport.0.pin-11-in-not is low (red dot in HAl watch)
- The iocontrol.0.emc-enable-in is high (yellow dot in HAL watch)
E-stop pressed
- the parport parport.0.pin-11-in-not is high (yellow dot)
- the iocontrol.0.emc-enable-in is low (red dot )
- power button on axis user interface is greyed out and nothing moves
Sorry for beeing long winded, but I hope you can make sense out of it. And I will be able to follow my own advice on Saturday!