problem setting up external e stop

More
14 May 2016 15:26 #74650 by markd
I have been able to get the estop chain working except that I need output07 to drive a relay. There is no change in the state of output07 when the software estop is toggled. I have attached my hal file. Can anyone point me in the right direction to fix this problem.

File Attachment:

File Name: MiniLathe.hal
File Size:0 KB

.
Attachments:

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

More
14 May 2016 15:32 #74651 by markd

File Attachment:

File Name: MiniLathe-2.hal
File Size:11 KB


Here is the file
Attachments:

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

More
15 May 2016 10:47 - 15 May 2016 10:51 #74676 by cncbasher
you appear to have the estop commented out ?
# net estop-out <= iocontrol.0.user-enable-out
# net estop-ext => iocontrol.0.emc-enable-in

you may when using mesa cards need to invert the output
what relay / module are you using on the output ?
Last edit: 15 May 2016 10:51 by cncbasher.

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

More
15 May 2016 14:09 #74680 by markd
Thank you for the reply'. I need to activate a solid state relay which controls power to the drives and VFD.

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

More
16 May 2016 09:26 #74732 by cncbasher
you should be fine in that case , but watch that you may need to invert the output pin as i previously said

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

More
16 May 2016 13:03 #74741 by markd
Thanks the estop chain is now working as required. I will now start the hardware check out. Although I have been using LinuxCNC for a while now this is the first time hand coding my hal files. I expect to run into other unforeseen problems.

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

Time to create page: 0.063 seconds
Powered by Kunena Forum