Problem with toogle2nist component

More
27 Nov 2020 03:43 #190393 by rootboy
Replied by rootboy on topic Problem with toogle2nist component
Try adding a toggle component to feed your toggle2nist component. The toggle component comes with a debounce delay, which sounds like what you need.

net toggle-ok toggle.1.in <= or2.1.out
net togglesig toggle2nist.0.in <= toggle.1.out
net toggleon halui.program.pause <= toggle2nist.0.on
net toggleoff halui.program.resume <= toggle2nist.0.off

Found here:

pastebin.com/NFHf6Px9

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

More
28 Nov 2024 12:07 #315456 by andypugh
Replied by andypugh on topic Problem with toogle2nist component
This should have been fixed now:
github.com/LinuxCNC/linuxcnc/commit/0bc9...000f4da3e4ba393b65c3

The new version is only in the development version of LinuxCNC at the moment.

You can install it on your own installation with:
1) Install LinuxCNC dev to get the "halcompile" tool.
sudo apt-get install linuxcnc-uspace-dev

2) Download this file and save it to your PC
raw.githubusercontent.com/LinuxCNC/linux...nts/toggle2nist.comp

3) Install it
sudo halcompile --install toggle2nist.comp

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

Time to create page: 0.049 seconds
Powered by Kunena Forum