External E-Stop
10 Sep 2012 21:22 #24134
by BigJohnT
External E-Stop was created by BigJohnT
Is there a way to connect up an external E-Stop without using Classicladder?
Thanks
John
Thanks
John
Please Log in or Create an account to join the conversation.
10 Sep 2012 21:29 - 10 Sep 2012 21:44 #24136
by BigJohnT
Replied by BigJohnT on topic Re:External E-Stop
This seems to work ok. You still have to toggle F1 after clearing an external e-stop. The pyvcp checkbox simulates the external e-stop switch.
John
loadrt and2
addf and2.0 servo-thread
net estop-in iocontrol.0.emc-enable-in <= and2.0.out
net internal-estop and2.0.in1 <= iocontrol.0.user-enable-out
net remote-estop and2.0.in0 halui.estop.activate <= pyvcp.e-stop
John
Last edit: 10 Sep 2012 21:44 by BigJohnT.
Please Log in or Create an account to join the conversation.
- skunkworks
- Offline
- Moderator
Less
More
- Posts: 376
- Thank you received: 150
11 Sep 2012 15:46 #24166
by skunkworks
Replied by skunkworks on topic Re:External E-Stop
I seem to remember that the estop_latch comp replicates the 4th ladder example here wiki.linuxcnc.org/cgi-bin/wiki.pl?Sample_HAL_And_ClassicLadder
iirc - I actually tested it for someone...
sam
iirc - I actually tested it for someone...
sam
Please Log in or Create an account to join the conversation.
11 Sep 2012 16:36 #24167
by BigJohnT
Replied by BigJohnT on topic Re:External E-Stop
Hi Sam
Here is the code you linked for me (for lurkers).
I added a not to the external estop so on is not a fault as is normal with estop chains.
Thanks
John
Here is the code you linked for me (for lurkers).
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 resetestop iocontrol.0.user-request-enable estop-latch.0.reset
(and you would have to hook estop_latch.0.fault-in to your external estop.)
I added a not to the external estop so on is not a fault as is normal with estop chains.
Thanks
John
Please Log in or Create an account to join the conversation.
11 Sep 2012 19:29 #24171
by Rick G
Replied by Rick G on topic Re:External E-Stop
Hi John,
On my joypad I just use..
# joypad estop button
net estopbutton input.0.btn-base3 => halui.estop.activate
As the button is just a monetary contact.
Rick G
On my joypad I just use..
# joypad estop button
net estopbutton input.0.btn-base3 => halui.estop.activate
As the button is just a monetary contact.
Rick G
Please Log in or Create an account to join the conversation.
Time to create page: 0.191 seconds