Axis configuration not fully working on 2.9.6
- Fabse
- Offline
- New Member
-
Less
More
- Posts: 4
- Thank you received: 0
04 Oct 2025 16:49 #335821
by Fabse
Axis configuration not fully working on 2.9.6 was created by Fabse
Hey guys,
my config works as i want it on linuxcnc 2.9.4. After updating to 2.9.5 (or 2.9.6) it does not anymore. It mainly is the pendant that is not working as before. I use a china pendant (XHC WHB04B). Most buttons don't work anymore. For example when staring my machine, I hit the "reset" button. With version 2.9.4 I can home my machine after that. With 2.9.6 nothing happens. Control via GUI seems to work just fine.
I think the problem must be related to one of these, or maybe both points in the changelog:
I hope someone of the pros on this forum can help me. I don't know how to solve this on my own.
my config works as i want it on linuxcnc 2.9.4. After updating to 2.9.5 (or 2.9.6) it does not anymore. It mainly is the pendant that is not working as before. I use a china pendant (XHC WHB04B). Most buttons don't work anymore. For example when staring my machine, I hit the "reset" button. With version 2.9.4 I can home my machine after that. With 2.9.6 nothing happens. Control via GUI seems to work just fine.
I think the problem must be related to one of these, or maybe both points in the changelog:
- halui: on startup, set the first configured axis as ‘is-selected’ instead of X
- halui: Don’t create ‘halui.axis.’- pins for unconfigured axes
I hope someone of the pros on this forum can help me. I don't know how to solve this on my own.
Please Log in or Create an account to join the conversation.
- Aciera
-
- Offline
- Administrator
-
Less
More
- Posts: 4508
- Thank you received: 2013
04 Oct 2025 17:22 #335822
by Aciera
Replied by Aciera on topic Axis configuration not fully working on 2.9.6
If your config would need any of those pins it would not start up at all but fail with an error about a missing hal pin. The first place to troubleshoot your issue is to open the halshow tool and check the signals coming from the pendant.
The following user(s) said Thank You: rodw
Please Log in or Create an account to join the conversation.
- Fabse
- Offline
- New Member
-
Less
More
- Posts: 4
- Thank you received: 0
04 Oct 2025 17:32 #335824
by Fabse
Replied by Fabse on topic Axis configuration not fully working on 2.9.6
Thank you for your quick response! I didn't think about it that way... So I don't have to worry about the pins not being created?
What could be the reason for some of the signals not being connected correctly? I mean, it was working on 2.9.4 after all. I managed to solve a lot of problems while setting up my machine, most of them thanks to posts on this forum. This issue i can not wrap my head around.
But I will do what you suggest and check the signals.
What could be the reason for some of the signals not being connected correctly? I mean, it was working on 2.9.4 after all. I managed to solve a lot of problems while setting up my machine, most of them thanks to posts on this forum. This issue i can not wrap my head around.
But I will do what you suggest and check the signals.
Please Log in or Create an account to join the conversation.
- Aciera
-
- Offline
- Administrator
-
Less
More
- Posts: 4508
- Thank you received: 2013
04 Oct 2025 17:50 #335825
by Aciera
No. Hal connections are created on startup when the hal files are read. If a hal pin used in any of your hal files was missing the config would not start at all. So your problem is not because of 'signals not being connected correctly'.
One thing to do is start your config from the terminal and check the output in the terminal. Another is to check the XHC WHB04B hal component using the halshow tool to confirm button press events are actually reaching your hal connections.
Replied by Aciera on topic Axis configuration not fully working on 2.9.6
So I don't have to worry about the pins not being created?
No. Hal connections are created on startup when the hal files are read. If a hal pin used in any of your hal files was missing the config would not start at all. So your problem is not because of 'signals not being connected correctly'.
One thing to do is start your config from the terminal and check the output in the terminal. Another is to check the XHC WHB04B hal component using the halshow tool to confirm button press events are actually reaching your hal connections.
The following user(s) said Thank You: rodw, Fabse
Please Log in or Create an account to join the conversation.
- Fabse
- Offline
- New Member
-
Less
More
- Posts: 4
- Thank you received: 0
06 Oct 2025 11:53 #335915
by Fabse
Replied by Fabse on topic Axis configuration not fully working on 2.9.6
Ok, today I had the opportunity to check my signals. I started with analyzing the "reset" button, which is supposed to turn on/off the machine. When on version 2.9.4 the button toggles "halui.machine.on", which then activates "halui.machine.is-on". This is what I expected to see.
When on 2.9.6 I see that "halui.machine.on" is toggled, but i never get the "halui.machine.is-on" to become true. It isn't even true when I switch on the machine via the F2 key. The machine functions, but this pin never says it is on.
How could this be explained?
When on 2.9.6 I see that "halui.machine.on" is toggled, but i never get the "halui.machine.is-on" to become true. It isn't even true when I switch on the machine via the F2 key. The machine functions, but this pin never says it is on.
How could this be explained?
Please Log in or Create an account to join the conversation.
- Aciera
-
- Offline
- Administrator
-
Less
More
- Posts: 4508
- Thank you received: 2013
06 Oct 2025 15:41 #335923
by Aciera
Replied by Aciera on topic Axis configuration not fully working on 2.9.6
If you open one of the sim configs and check "halui.machine.is-on" does it go true when you enable the machine with the gui button?
Please Log in or Create an account to join the conversation.
- Aciera
-
- Offline
- Administrator
-
Less
More
- Posts: 4508
- Thank you received: 2013
06 Oct 2025 17:03 #335927
by Aciera
Replied by Aciera on topic Axis configuration not fully working on 2.9.6
I've just built the current 2.9 branch (ie 2.9.6) and tested "halui.machine.is-on" reacting to "halui.machine.on" and "halui.machine.is-off", works for me in both tested guis (axis, gmoccapy)
Please Log in or Create an account to join the conversation.
- Fabse
- Offline
- New Member
-
Less
More
- Posts: 4
- Thank you received: 0
06 Oct 2025 18:44 #335932
by Fabse
Replied by Fabse on topic Axis configuration not fully working on 2.9.6
Hey and thanks for the effort!
I tried a sim config and set the "halui.maschine.on" and I get "halui.maschine.is-on" to change state to on. With off it works in the other direction.
I then tried the same thing with my config (pendant off) and it works! When I turn my pendant on things go down hill... I then press the reset button on the pendant and I can get my "halui.maschine.is-on" to get stuck either on or off. If it is stuck, it does not change whith the GUI button either.
This is beyond confusing to me. Why does my cofig do that from version 2.9.5 onward?
I tried a sim config and set the "halui.maschine.on" and I get "halui.maschine.is-on" to change state to on. With off it works in the other direction.
I then tried the same thing with my config (pendant off) and it works! When I turn my pendant on things go down hill... I then press the reset button on the pendant and I can get my "halui.maschine.is-on" to get stuck either on or off. If it is stuck, it does not change whith the GUI button either.
This is beyond confusing to me. Why does my cofig do that from version 2.9.5 onward?
Please Log in or Create an account to join the conversation.
Time to create page: 0.151 seconds