Problem with toogle2nist component

More
1 year 9 months ago #319578 by blazini36

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.
Code:
sudo apt-get install linuxcnc-uspace-dev 2) Download this file and save it to your PC https://raw.githubusercontent.com/LinuxCNC/linuxcnc/refs/heads/master/src/hal/components/toggle2nist.comp 3) Install it [code]sudo halcompile --install toggle2nist.comp
[/code]
 
Problem with toggle2nist is the name of the is-on pin. Halui uses the is-on name as an output for lots of pins so it tripped me up expecting that to be an output pin. It's an input pin that absolutely must be connected to the is-on output or the component can't transition to the next state. They should have named it "on-state" or something.

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

More
7 months 4 weeks ago #343717 by maxi177
Did the fixed version of toggle2nist made it to a released version of linuxcnc? I'm not really familiar with git, so I can't tell myself...

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

More
7 months 3 weeks ago #343900 by andypugh
No, there hasn't been a 2.10 release, and that was the development version when my email was sent.

This is the state of the .comp in the 2.9.8 release tag.
github.com/LinuxCNC/linuxcnc/blob/v2.9.8...nts/toggle2nist.comp

(no debounce pins)

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

Time to create page: 0.058 seconds
Powered by Kunena Forum