Estop loop problem

More
03 Dec 2019 01:01 #151801 by markd
Estop loop problem was created by markd
I am having a problem getting the Estop Loop working as I would like. There is a NC external Estop connected to input00 which works as expected with axis. The problem is that I need output07 connected to the Estop loop to control a relay.

The Estop and the axis control need to be out of Estop for the relay to be on.
Here is the relevent code.

# --- ESTOP-OUT ---
net estop-out hm2_5i25.0.7i77.0.0.output-07

# ---estop signals---
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

Thanks in advance for any help
MarkD

File Attachment:

File Name: MiniLathe3...2-02.hal
File Size:11 KB

File Attachment:

File Name: MiniLathe3...2-02.ini
File Size:3 KB
Attachments:

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

More
03 Dec 2019 14:01 #151864 by andypugh
Replied by andypugh on topic Estop loop problem
Maybe
will help?

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

More
03 Dec 2019 16:27 #151887 by bevins
Replied by bevins on topic Estop loop problem

markd wrote: I am having a problem getting the Estop Loop working as I would like. There is a NC external Estop connected to input00 which works as expected with axis. The problem is that I need output07 connected to the Estop loop to control a relay.

The Estop and the axis control need to be out of Estop for the relay to be on.
Here is the relevent code.

# --- ESTOP-OUT ---
net estop-out hm2_5i25.0.7i77.0.0.output-07

# ---estop signals---
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

Thanks in advance for any help
MarkD

File Attachment:

File Name: MiniLathe3...2-02.hal
File Size:11 KB

File Attachment:

File Name: MiniLathe3...2-02.ini
File Size:3 KB


You need to use estop-latch.0.fault-out

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

More
04 Dec 2019 17:26 #152012 by markd
Replied by markd on topic Estop loop problem
Thank you to both as your replies showed the error of my ways.
I added the line

net estop-out <= estop-latch.0.fault-out

The Estop loop now works as expected.

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

Time to create page: 0.090 seconds
Powered by Kunena Forum