configuring estop_latch

More
17 Nov 2012 02:53 #26685 by sliptonic
I have a 5i25/7i77 combo that I'm using in a retrofit bridgeport clone. I'd like to implement the estop circuit like in example 4: wiki.linuxcnc.org/cgi-bin/wiki.pl?Sample_HAL_And_ClassicLadder

I'm told that the estop_latch component works this way. I'm trying to understand how to make this work through pncconf without hand editing the main .hal file.

I've added the following to my custom.hal file but since iocontrol.0.emc-enable-in is already linked to estop-out it fails. Any suggestions?


# 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 <= hm2_5i25.0.7i77.0.0.input-00-not

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

More
17 Nov 2012 04:07 - 17 Nov 2012 04:09 #26686 by BigJohnT
Replied by BigJohnT on topic configuring estop_latch
unlinkp them first (above the net estop... lines).

linuxcnc.org/docs/html/hal/basic_hal.html#_unlinkp


John
Last edit: 17 Nov 2012 04:09 by BigJohnT.

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

More
17 Nov 2012 09:51 #26694 by Todd Zuercher
Here is how I did it with my 5i25-7i77 set up. I did use pnc config but I don't remember if I modified this part by hand. I think I did change something but I can't remember what.

net estop-out hm2_5i25.0.7i77.0.0.output-02
net estop-ext <= hm2_5i25.0.7i77.0.0.input-14
net estop-out <= iocontrol.0.user-enable-out
net estop-ext => iocontrol.0.emc-enable-in

I ran the wire from the above 7i77output to my e-stop switches, then on the other side of the e-stop chain, I connected 2 wires one that went back to the above 7i77 input, and the other one to a series of relays and contractors that shut off every thing I wanted turned off. This might not be the right/best way, but it is working well for me.

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

More
17 Nov 2012 12:44 - 17 Nov 2012 12:44 #26698 by cmorley
Replied by cmorley on topic configuring estop_latch
To use PNCconf to do this

on the advanced page select include classicladder PLC
check the estop program
make sure the include hal connections is selected.

You must select a input signal on the mesa page for this program.
select an input pin and select external control estop-in

and that should be it. when that input is false estop is on.

That page you referenced is VERY out of date (it actually says that) but the ladder program is the same.

Chris M
Last edit: 17 Nov 2012 12:44 by cmorley.

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

More
17 Nov 2012 21:14 - 17 Nov 2012 21:15 #26707 by BigJohnT
Replied by BigJohnT on topic configuring estop_latch
Chris,

Did you see the estop_latch component thread? It does the same thing but without classicladder.

linuxcnc.org/index.php/english/forum/47-...5861-external-e-stop

John
Last edit: 17 Nov 2012 21:15 by BigJohnT.

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

More
18 Nov 2012 11:48 #26736 by cmorley
Replied by cmorley on topic configuring estop_latch
No I hadn't - I'm behind the times :)

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

Moderators: cmorley
Time to create page: 0.121 seconds
Powered by Kunena Forum